#include <surf_api.h>
Class Description
- See also:
- Class NURBSCurve.
- Description:
- This class defines a dependent chamfer curve. A chamfer is a
curve that creates a straight line corner between two parent
curves. Methods are availalble to get/set the parent indices and
ids, to get/set which ends of the curves are used for the chamfer,
get/set the trim settings for each curve, and to get/set the length
of the curve back from the selected end that represents the start
of the chamfer.
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.
DllExport BOOL GetEnd |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent curve number: 0 or 1.
DllExport void SetLength |
( |
TimeValue |
t, |
|
|
int |
pnum, |
|
|
double |
length |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to set the chamfer length.
int pnum
The parent curve number: 0 or 1.
double length
The chamfer length to set.
DllExport double GetLength |
( |
TimeValue |
t, |
|
|
int |
pnum |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to return the chamfer length.
int pnum
The parent curve number: 0 or 1.
DllExport BOOL GetTrimCurve |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent curve number: 0 or 1.
DllExport void SetTrimCurve |
( |
int |
pnum, |
|
|
BOOL |
trim |
|
) |
|
|
- Parameters:
- int pnum
The parent curve number: 0 or 1.
BOOL trim
TRUE to trim the curve beyond the chamfer; otherwise FALSE.
DllExport BOOL GetFlipTrim |
( |
int |
pnum |
) |
|
- Parameters:
- int pnum
The parent curve number: 0 or 1.
- Returns:
- TRUE if flip is set; FALSE it not.
DllExport void SetFlipTrim |
( |
int |
pnum, |
|
|
BOOL |
flip |
|
) |
|
|
- Parameters:
- int pnum
The parent curve number: 0 or 1.
BOOL flip
TRUE to flip; FALSE to not flip.
- Operators:
Friends And Related Function Documentation