Detailed Description
- See also:
- Class NURBSTextureSurface,
Class NURBSObject, Class Point2.
- Description:
- This class is available in release 3.0 and later only.
This class holds a single texture vertex in a NURBS texture
surface. Methods are available to get and set the point in various
formats.
- Data Members:
- protected:
double mX, mY;
The position of the point.
#include <surf_api.h>
List of all
members.
Public Member Functions
|
DllExport |
NURBSTexturePoint () |
virtual
DllExport Point2 |
GetPosition (TimeValue t) |
virtual
DllExport void |
GetPosition (TimeValue t, float &x, float &y) |
virtual
DllExport void |
GetPosition (TimeValue t, double &x, double &y) |
DllExport
void |
SetPosition (TimeValue t, Point2 pt) |
DllExport
void |
SetPosition (TimeValue t, float x, float y) |
DllExport
void |
SetPosition (TimeValue t, double x, double y) |
DllExport
void |
SetIndices (int uIndex, int vIndex) |
Protected Attributes
|
double |
mX |
double |
mY |
int |
mUIndex |
int |
mVIndex |
Constructor & Destructor Documentation
Member Function Documentation
virtual DllExport Point2 GetPosition |
( |
TimeValue |
t |
) |
[virtual] |
- Parameters:
- TimeValue t
The time at which to get the position.
virtual DllExport void GetPosition |
( |
TimeValue |
t, |
|
|
float & |
x, |
|
|
float & |
y |
|
) |
|
[virtual] |
- Parameters:
- TimeValue t
The time at which to get the position.
float& x
The x position is returned here.
float& y
The y position is returned here.
virtual DllExport void GetPosition |
( |
TimeValue |
t, |
|
|
double & |
x, |
|
|
double & |
y |
|
) |
|
[virtual] |
- Parameters:
- TimeValue t
The time at which to get the position.
double& x
The x position is returned here.
double& y
The y position is returned here.
DllExport void SetPosition |
( |
TimeValue |
t, |
|
|
Point2 |
pt |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to set the position.
Point2 pt
The position to set.
DllExport void SetPosition |
( |
TimeValue |
t, |
|
|
float |
x, |
|
|
float |
y |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to set the position.
float x
The x coordinate to set.
float y
The y coordinate to set.
DllExport void SetPosition |
( |
TimeValue |
t, |
|
|
double |
x, |
|
|
double |
y |
|
) |
|
|
- Parameters:
- TimeValue t
The time at which to set the position.
double x
The x coordinate to set.
double y
The y coordinate to set.
DllExport void SetIndices |
( |
int |
uIndex, |
|
|
int |
vIndex |
|
) |
|
|
Member Data Documentation
NURBSTexturePoint NURBSTexturePoint
NURBSTexturePoint NURBSTexturePoint NURBSTexturePoint
NURBSTexturePoint NURBSTexturePoint NURBSTexturePoint
NURBSTexturePoint NURBSTexturePoint
NURBSTexturePoint NURBSTexturePoint
NURBSTexturePoint NURBSTexturePoint NURBSTexturePoint
NURBSTexturePoint NURBSTexturePoint NURBSTexturePoint
NURBSTexturePoint NURBSTexturePoint