Class: TGTensionSpline3D

Declaration: Curve3D.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TGCurve3D

Inherited By:

None.

Purpose:

TGTensionSpline3D is the 3-D equivalent of TGTensionSpline3D. TGTensionSpline3D is one of several lightweight classes derived from TGCurve3D whose sole purpose is to disambiguate the constructors for cubic splines having similar arguments. Applications shouldn't define variables of type TGTensionSpline3D. Instead, use TGCurve3D and rely on TGTensionSpline3D only for its constructor. For example: TGCurve3D myCurve =TGTensionSpline3D( points, tension, bias ); This creates a curve as a cubic matrix spline, where the curve is defined by points, and interpolation is controlled by bias and tension values. The number of points must be a multiple of four, or else an assertion will occur.

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: TGTensionSpline3D::TGTensionSpline3D

  1. TGTensionSpline3D (const TGPoint3DArray & points, GCoordinate tension, GCoordinate bias)
  2. TGTensionSpline3D ()
  3. TGTensionSpline3D (const TGTensionSpline3D &)

Interface Category:

API.

Purpose:

  1. Creates a curve as a cubic matrix spline, where the curve is defined by points, and interpolation is controlled by bias and tension values.
  2. Default constructor.
  3. Copy constructor.

Calling Context:

  1. Call this function directly.
  2. Called by the stream-in operators and directly.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TGTensionSpline3D::~TGTensionSpline3D

virtual ~ TGTensionSpline3D ()

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.