#include <surf_api.h>
Class Description
- See also:
- Class NURBSObject, NURBSConst Types, Class
Point3.
- Description:
- This class is used to create a dependent point that lies on a
curve or relative to it.
The point can either be on the curve or off the curve. If it is on
the curve, the U Position is the only control of its
location. The U Position specifies a location along the
curve (based on the curve's local U axis). There are three ways to
displace the point's location relative to the U position:
Offset moves the point according to a relative (object
space) X,Y,Z location.
Normal moves the point along the direction of the curve's
normal. (Negative values move it opposite to the normal.)
U Position
Tangent moves the point along the tangent of the U
Position.
All methods of this class are implemented by the system.
- Data Members:
- protected:
NURBSId mParentId;
The NURBSId of the parent curve.
int mParentIndex;
The index in the NURBSSet of the parent
curve.
NURBSConstType mCType;
The type of constraint in use.
Point3
mOffset;
The offset amount.
float mNormal;
The distance along the normal.
float mUTangent;
The distance along the tangent.
double mUParam;
Specifies the point along the parent curve.
BOOL mTrimCurve;
The point that is constrained to the curve may be used to trim the
curve.
BOOL mFlipTrim;
If TRUE the curve is trimmed from the point towards low parameter
space. If FALSE the curve is trimmed from the point towards high
parameter space.
Constructor & Destructor Documentation
Member Function Documentation
DllExport void Clean |
( |
NURBSIdTab |
ids |
) |
[protected] |
- Parameters:
- NURBSIdTab ids
A table with the IDs of each object in the NURBSSet.
Reimplemented from NURBSObject.
DllExport void SetParent |
( |
int |
index |
) |
|
- Parameters:
- int index
The parent index to set.
DllExport void SetParentId |
( |
NURBSId |
id |
) |
|
- Parameters:
- NURBSId id
The parent ID to set.
DllExport int GetParent |
( |
void |
|
) |
|
DllExport NURBSId
GetParentId |
( |
void |
|
) |
|
- Parameters:
- NURBSConstType type
Specifies the construction point type. See NURBSConst Types.
- Parameters:
- TimeValue t
Specifies the time at which the offset value is set.
Point3 pt
The offset to set in object space.
- Parameters:
- TimeValue t
Specifies the time at which the offset value is returned.
DllExport void SetUParam |
( |
TimeValue |
t, |
|
|
double |
param |
|
) |
|
|
- Parameters:
- TimeValue t
Specifies the time at which the value is set.
double param
The U parameter to set.
- Parameters:
- TimeValue t
Specifies the time at which the value is returned.
DllExport void SetNormal |
( |
TimeValue |
t, |
|
|
float |
dist |
|
) |
|
|
- Parameters:
- TimeValue t
Specifies the time at which the value is set.
float dist
The distance to set.
- Parameters:
- TimeValue t
Specifies the time at which the value is returned.
DllExport void SetUTangent |
( |
TimeValue |
t, |
|
|
float |
dist |
|
) |
|
|
- Parameters:
- TimeValue t
Specifies the time at which the value is set.
float dist
The distance to set.
- Parameters:
- TimeValue t
Specifies the time at which the value is returned.
DllExport BOOL GetTrimCurve |
( |
|
) |
|
DllExport void SetTrimCurve |
( |
BOOL |
trim |
) |
|
- Parameters:
- BOOL trim
TRUE to indicate this point is used to trim the curve; FALSE to
indicate the curve is not trimmed beyond the point.
DllExport BOOL GetFlipTrim |
( |
|
) |
|
DllExport void SetFlipTrim |
( |
BOOL |
flip |
) |
|
- Parameters:
- BOOL flip
TRUE to indicate the curve is trimmed from the point towards low
parameter space. Use FALSE to indicate the curve is trimmed from
the point towards high parameter space.
- Operators:
Friends And Related Function Documentation
Member Data Documentation