IGHermiteSpline

The IGHermiteSpline class provides a cubic matrix spline whose curve is defined by point/tangent pairs. IGHermiteSpline is one of several lightweight classes derived from IGCurve2D. Its sole purpose is to disambiguate the constructors for cubic splines having similar arguments. Note the number of points must be a multiple of four (else assertion).


IGHermiteSpline - Member Functions and Data by Group

Constructors & Destructor

Use the constructors and destructor in this group to create an IGHermiteSpline object.


[view class]
~IGHermiteSpline
public:
virtual ~IGHermiteSpline()
Destroys the IGHermiteSpline object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IGHermiteSpline
Constructs an object of class IGHermiteSpline.


Overload 1
Creates a curve as a cubic matrix spline using the given value.
public:
IGHermiteSpline(const IGPoint2DArray& points)
Use this constructor to create a curve as a cubic matrix spline, whose curve is defined by point or tangent pairs.

points
The control points.

Exception

A

parameter assertion fails if the number of points is not a multiple of four.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Copy constructor.
public:
IGHermiteSpline(const IGHermiteSpline&)
Use this constructor to create an IGHermiteSpline object that is copied from the given one.

IGCardinalSpline
A constant reference to the spline to be copied

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Default constructor, which does nothing.
public:
IGHermiteSpline()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IGHermiteSpline - Inherited Member Functions and Data

Inherited Public Functions

IBaseCurve
IGCurve2D

Inherited Public Data

Inherited Protected Functions

IBaseCurve
IGCurve2D

Inherited Protected Data