Public Member Functions

NURBSTrimPoint Class Reference

Search for all occurrences

Detailed Description

See also:
NURBS Trim Directions.
Description:
This class is available in release 2.0 and later only.

This class defines a point on a curve used to trim a portion of the curve from the point towards one of the ends of the curve. The trim point is defined by a parameter and a direction. For instance, consider a CV curve that exists in the parameter space from 0.0 to 1.0. If there is a trim point in the middle of the curve the parameter for the point would be 0.5. If the portion that was being trimmed off was from 0.5 to 1.0 then the trim direction would be positive.

All methods of this class are implemented by the system.

#include <surf_api.h>

Inheritance diagram for NURBSTrimPoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSTrimPoint (double parameter, NURBSTrimDirection direction)
DllExport double  GetParameter ()
DllExport NURBSTrimDirection  GetDirection ()

Constructor & Destructor Documentation

DllExport NURBSTrimPoint ( double  parameter,
NURBSTrimDirection  direction 
) [inline]
Remarks:
Constructor.
Parameters:
double parameter

This is point in parameter space at which the trim point exists.

NURBSTrimDirection direction

The positive or negative direction in parameter space of the portion that is being trimmed off. The direction can also be set to 'none' so no trimming is done.
                                                                             :
        mParameter(parameter), mDirection(direction) {}

Member Function Documentation

DllExport double GetParameter ( ) [inline]
Remarks:
Returns the point in parameter space at which the trim point exists.
{return mParameter; }
DllExport NURBSTrimDirection GetDirection ( ) [inline]
Remarks:
Returns the trim direction (positive, negative, or none) describing which portion of the curve is trimmed off.
{return mDirection; }

NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint
NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint NURBSTrimPoint