IGCardinalSpline

The IGCardinalSpline class provides a cubic matrix spline whose curve interpolates the control points. IGCardinalSpline is one of several lightweight classes derived from IGCurve2D. Its sole purpose is to render unambiguous the constructors for cubic splines having similar arguments. The tension parameter controls how tightly the curve interpolates the control polyline. This value ranges from 0.0, which is so tight it's almost the control mesh, to 1.0 which is fairly loose.


IGCardinalSpline - Member Functions and Data by Group

Constructors & Destructor

Use the constructors and destructor in this group to create and destroy objects of class IGGardinalSpline.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IGCardinalSpline
This constructor creates an object of class IGCardinalSpline. The tension parameter controls how tightly the curve interpolates the points.


Overload 1
Copy constructor.
public:
IGCardinalSpline(const IGCardinalSpline&)
Use the copy constructor to create an IGCardinalSpline 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 2
Creates a curve as a cubic matrix spline, using the given value.
public:
IGCardinalSpline( const IGPoint2DArray& points, GCoordinate tension = 1.0 )
Use this constructor to create a curve as a cubic matrix spline, whose curve interpolates the control points.

points
The control points.
tension
A value that controls how tightly the curve interpolates the points. 0<=tension<=1. The default value is 1.0.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IGCardinalSpline - Inherited Member Functions and Data

Inherited Public Functions

IBaseCurve
IGCurve2D

Inherited Public Data

Inherited Protected Functions

IBaseCurve
IGCurve2D

Inherited Protected Data