Class: TGHermiteSpline

Declaration: Curve.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TGCurve

Inherited By:

None.

Purpose:

TGHermiteSpline is one of several lightweight classes derived from TGCurve whose sole purpose is to disambiguate the constructors for cubic splines having similar arguments. Applications shouldn't define variables of type TGHermiteSpline. Instead, use TGCurve and rely on TGHermiteSpline only for its constructor. For example: TGCurve myCurve =TGHermiteSpline( points ); This creates a curve as a cubic matrix spline, where the curve is defined by point/tangent pairs.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive from this class.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TGHermiteSpline::TGHermiteSpline

  1. TGHermiteSpline (const TGPointArray & points)
  2. TGHermiteSpline ()
  3. TGHermiteSpline (const TGHermiteSpline &)

Interface Category:

API.

Purpose:

  1. Creates a curve as a cubic matrix spline, where the curve is defined by point/tangent pairs.
  2. Default constructor.
  3. Copy constructor.

Calling Context:

  1. Call this function directly.
  2. Called by the stream-in operators. You can also call this function directly.
  3. Called to copy an object. You can also call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TGHermiteSpline::~TGHermiteSpline

virtual ~ TGHermiteSpline ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.