#include <surf_api.h>
Class Description
- See also:
- Class NURBSSurface, Class NURBSIndependentPoint.
- Description:
- This class defines a surface that uses points to describe its
shape. This class has methods to close the surface in U and V, set
the number of points in U and V, and get/set the points in U and V.
There is also a method to add additional points to the surface. The
point surface has a transformation matrix used to set the relative
position of the surface in a NURBSSet.
All methods of this class are implemented by the system.
Constructor & Destructor Documentation
Member Function Documentation
DllExport void CloseInU |
( |
void |
|
) |
|
DllExport void CloseInV |
( |
void |
|
) |
|
DllExport void SetNumPts |
( |
int |
u, |
|
|
int |
v |
|
) |
|
|
- Parameters:
-
u |
The number of points in U. Valid values are 2 and higher. |
v |
The number of points in V. Valid values are 2 and higher. |
DllExport int GetNumUPts |
( |
void |
|
) |
|
DllExport int GetNumVPts |
( |
void |
|
) |
|
DllExport void GetNumPts |
( |
int & |
u, |
|
|
int & |
v |
|
) |
|
|
- Parameters:
- int &u
The number in U is stored here.
int &v
The number in V is stored here.
- Parameters:
- int u
The zero based index of the point in the U direction.
int v
The zero based index of the point in the V direction.
- Parameters:
- int u
The zero based index of the point in the U direction.
int v
The zero based index of the point in the V direction.
NURBSIndependentPoint&
pt
The point to set.
- Parameters:
- TimeValue t
The time at which to set the matrix.
SetXFormPacket&
xPack
An instance of the XFormPacket class that describes the
properties of the transformation. See Class SetXFormPacket.
- Parameters:
- TimeValue t
The time at which to retrieve the matrix.
DllExport void Refine |
( |
TimeValue |
t, |
|
|
double |
u, |
|
|
double |
v, |
|
|
int |
U_V_Both |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to refine the surface.
double u
The location for the point in U space (range 0.0 to 1.0).
double v
The location for the point in V space (range 0.0 to 1.0).
int U_V_Both
This value must be 0, 1 or -1.
If 0 the refinement is done in u (and v is specified).
If 1 the refinement is done in v (and u is specified).
If -1 the refinement is done in both u and v (and both u and v must
be specified).
- Operators:
Friends And Related Function Documentation