#include <surf_api.h>
Class Description
- See also:
- Class NURBSCurve.
- Description:
- This class defines a dependent blend curve. A blend curve
connects the specified end of one curve to the specified end of
another, blending the curvature of the parents to create a smooth
curve between them. Methods are available to get/set the parent
indices and ids, to get/set the ends of the curves used for the
blend, and to get/set the tension values used.
All methods of this class are implemented by the system.
Constructor & Destructor Documentation
Member Function Documentation
DllExport void SetParent |
( |
int |
pnum, |
|
|
int |
index |
|
) |
|
|
- Parameters:
- int pnum
The parent number: 0 or 1.
int index
The index into the NURBSSet of the parent
object.
DllExport void SetParentId |
( |
int |
pnum, |
|
|
NURBSId |
id |
|
) |
|
|
- Parameters:
- int pnum
The parent number: 0 or 1.
NURBSId id
The id to set.
DllExport int GetParent |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent number: 0 or 1.
DllExport NURBSId
GetParentId |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent number: 0 or 1.
DllExport void SetEnd |
( |
int |
pnum, |
|
|
BOOL |
end |
|
) |
|
|
- Parameters:
- int pnum
The parent number: 0 or 1.
BOOL end
TRUE to use the end of the curve; FALSE to use the beginning. The
beginning of the curve has lesser parameter values than the
end.
DllExport BOOL GetEnd |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent number: 0 or 1.
- Returns:
- TRUE if the end of the curve is used; FALSE if the beginning is
used.
DllExport void SetTension |
( |
TimeValue |
t, |
|
|
int |
pnum, |
|
|
double |
ten |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to set the tension
int pnum
The parent number: 0 or 1.
double ten
The tension value to set.
DllExport double GetTension |
( |
TimeValue |
t, |
|
|
int |
pnum |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to get the tension
int pnum
The parent number: 0 or 1.
- Operators:
Friends And Related Function Documentation