Nurbs class.
Public Member Functions |
|
__init__ (str pName, object pObject=None) | |
Constructor. |
|
SurfaceBegin () | |
Begin NURBS definition. |
|
SurfaceEnd () | |
End NURBS definition. |
|
SurfaceEditBegin () | |
Begin NURBS surface edition. |
|
SurfaceEditEnd () | |
End NURBS surface edition. |
|
ControlPointsBegin () | |
Begin NURBS control points edition. |
|
ControlPointsEnd () | |
End NURBS control points edition. |
|
SetControlWeight (int pIndex, float pWeight) | |
Set weight of control point. |
|
float | GetControlWeight (int pIndex) |
Get weight of control point. |
|
SetControlMultiplicity (int pUorV, int pIndex, int pMultiplicity) | |
Set multiplicity (number of "instances") of
control point. |
|
int | GetControlMultiplicity (int pUorV, int pIndex) |
Get multiplicity (number of "instances") of
control point. |
|
SetControlKnotValue (int pUorV, int pIndex, float pKnotValue) | |
Set knot vector value of control point.
|
|
float | GetControlKnotValue (int pUorV, int pIndex) |
Get knot vector value of control point.
|
|
int | GetKnotCount (int pUorV) |
Number of knot vectors. |
|
Public Attributes |
|
FBPropertyBase | UOrder |
Read Write Property: Nurbs U order.
|
|
FBPropertyBase | VOrder |
Read Write Property: Nurbs V order.
|
|
FBPropertyNurbType | UNurbType |
Read Write Property: Nurbs Type for U
direction. |
|
FBPropertyNurbType | VNurbType |
Read Write Property: Nurbs Type for V
direction. |
Constructor.
pName | Name of Nurbs. |
pObject | For internal use only(default=NULL). |
Reimplemented from FBSurface.
SurfaceBegin | ( | ) |
SurfaceEnd | ( | ) |
SurfaceEditBegin | ( | ) |
SurfaceEditEnd | ( | ) |
ControlPointsBegin | ( | ) |
ControlPointsEnd | ( | ) |
Set weight of control point.
pIndex | Index of control point to set weight at. |
pWeight | Weight of control point. |
Get weight of control point.
pIndex | Index of control point to get weight from. |
pIndex
.Set multiplicity (number of "instances") of control point.
pUorV | 1 if V multiplicity, 0 if U multlipicity. |
pIndex | Index of control point to set multiplicity for. |
pMultiplicity | Multiplicity value for control point at
pIndex . |
Get multiplicity (number of "instances") of control point.
pUorV | 1 if V multiplicity, 0 if U multlipicity. |
pIndex | Index of control point to get multiplicity for. |
Set knot vector value of control point.
pUorV | 1 if V knot vector, 0 if U knot vector. |
pIndex | Index of control point to set knot value for. |
pKnotValue | Knot value for control point at pIndex . |
Get knot vector value of control point.
pUorV | 1 if V knot vector, 0 if U knot vector. |
pIndex | Index of control point to set knot value for. |
Number of knot vectors.
pUorV | 1 if V knot vector, 0 if U knot vector. |
FBPropertyBase UOrder |
Read Write Property: Nurbs U order.
FBPropertyBase VOrder |
Read Write Property: Nurbs V order.
FBPropertyNurbType UNurbType |
Read Write Property: Nurbs Type for U direction.
FBPropertyNurbType VNurbType |
Read Write Property: Nurbs Type for V direction.