Detailed Description
Nurbs class.
Definition at line 876 of file fbgeometry.h.
#include <fbgeometry.h>
List of all members.
Public Member Functions |
| FBNurbs (const char *pName, HIObject pObject=NULL) |
| Constructor.
|
virtual void | SurfaceBegin () |
| Begin NURBS definition.
|
virtual void | SurfaceEnd () |
| End NURBS definition.
|
virtual void | SurfaceEditBegin () |
| Begin NURBS surface edition.
|
virtual void | SurfaceEditEnd () |
| End NURBS surface edition.
|
virtual void | ControlPointsBegin () |
| Begin NURBS control points edition.
|
virtual void | ControlPointsEnd () |
| End NURBS control points edition.
|
virtual void | SetControlWeight (int pIndex, double pWeight) |
| Set weight of control point.
|
virtual double | GetControlWeight (int pIndex) |
| Get weight of control point.
|
virtual void | SetControlMultiplicity (int pUorV, int pIndex, int pMultiplicity) |
| Set multiplicity (number of "instances") of control point.
|
virtual int | GetControlMultiplicity (int pUorV, int pIndex) |
| Get multiplicity (number of "instances") of control point.
|
virtual void | SetControlKnotValue (int pUorV, int pIndex, double pKnotValue) |
| Set knot vector value of control point.
|
virtual double | GetControlKnotValue (int pUorV, int pIndex) |
| Get knot vector value of control point.
|
virtual int | GetKnotCount (int pUorV) |
| Number of knot vectors.
|
Public Attributes |
FBPropertyInt | UOrder |
| Read Write Property: Nurbs U order.
|
FBPropertyInt | 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 & Destructor Documentation
FBNurbs |
( |
const char * |
pName, |
|
|
HIObject |
pObject = NULL |
|
) |
| |
Constructor.
- Parameters:
-
pName | Name of Nurbs. |
pObject | For internal use only(default=NULL). |
Member Function Documentation
virtual void SurfaceBegin |
( |
| ) |
[virtual] |
Begin NURBS definition.
Reimplemented from FBSurface.
virtual void SurfaceEnd |
( |
| ) |
[virtual] |
End NURBS definition.
Reimplemented from FBSurface.
virtual void SurfaceEditBegin |
( |
| ) |
[virtual] |
Begin NURBS surface edition.
Reimplemented from FBSurface.
virtual void SurfaceEditEnd |
( |
| ) |
[virtual] |
End NURBS surface edition.
Reimplemented from FBSurface.
virtual void ControlPointsBegin |
( |
| ) |
[virtual] |
Begin NURBS control points edition.
Implements FBSurface.
virtual void ControlPointsEnd |
( |
| ) |
[virtual] |
End NURBS control points edition.
Reimplemented from FBSurface.
virtual void SetControlWeight |
( |
int |
pIndex, |
|
|
double |
pWeight |
|
) |
| [virtual] |
Set weight of control point.
- Parameters:
-
pIndex | Index of control point to set weight at. |
pWeight | Weight of control point. |
virtual double GetControlWeight |
( |
int |
pIndex | ) |
[virtual] |
Get weight of control point.
- Parameters:
-
pIndex | Index of control point to get weight from. |
- Returns:
- Weight of control point at index
pIndex
.
virtual void SetControlMultiplicity |
( |
int |
pUorV, |
|
|
int |
pIndex, |
|
|
int |
pMultiplicity |
|
) |
| [virtual] |
Set multiplicity (number of "instances") of control point.
- Parameters:
-
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 . |
virtual int GetControlMultiplicity |
( |
int |
pUorV, |
|
|
int |
pIndex |
|
) |
| [virtual] |
Get multiplicity (number of "instances") of control point.
- Parameters:
-
pUorV | 1 if V multiplicity, 0 if U multlipicity. |
pIndex | Index of control point to get multiplicity for. |
virtual void SetControlKnotValue |
( |
int |
pUorV, |
|
|
int |
pIndex, |
|
|
double |
pKnotValue |
|
) |
| [virtual] |
Set knot vector value of control point.
- Parameters:
-
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 . |
virtual double GetControlKnotValue |
( |
int |
pUorV, |
|
|
int |
pIndex |
|
) |
| [virtual] |
Get knot vector value of control point.
- Parameters:
-
pUorV | 1 if V knot vector, 0 if U knot vector. |
pIndex | Index of control point to set knot value for. |
virtual int GetKnotCount |
( |
int |
pUorV | ) |
[virtual] |
Number of knot vectors.
- Parameters:
-
pUorV | 1 if V knot vector, 0 if U knot vector. |
- Returns:
- Number of knot vectors on NURBS surface
Member Data Documentation
Read Write Property: Nurbs U order.
Definition at line 945 of file fbgeometry.h.
Read Write Property: Nurbs V order.
Definition at line 946 of file fbgeometry.h.
Read Write Property: Nurbs Type for U direction.
Definition at line 947 of file fbgeometry.h.
Read Write Property: Nurbs Type for V direction.
Definition at line 948 of file fbgeometry.h.
The documentation for this class was generated from the following file: