Class NURBSPoint
See Also: Class NURBSObject, Class NURBSSurface, Class NURBSSet, Class NURBSControlVertex, Class NURBSCurve, Class NURBSFuseSurfaceCV, Class NURBSFuseCurveCV.
class NURBSPoint : public NURBSObject
Description:
This class is available in release 2.0 and later only.
This class describes a point in 3 space using double precision X, Y and Z coordinates. Methods are available for getting the point coordinates a floats, doubles or a Point3.
All methods of this class are implemented by the system.
Data Members:
protected:
double mX, mY, mZ;
The X, Y and Z coordinates for the point.
Methods:
Prototype:
Point3 GetPosition();
Remarks:
Returns the point position as a Point3.
Prototype:
void GetPosition(float& x, float& y, float& z);
Remarks:
Retrieves the point position using single precision.
Parameters:
float& x
The X coordinate is returned here.
float& y
The Ycoordinate is returned here.
float& z
The Z coordinate is returned here.
Prototype:
void GetPosition(double& x, double& y, double& z);
Remarks:
Retrieves the point position using double precision.
Parameters:
double& x
The X coordinate is returned here.
double& y
The Ycoordinate is returned here.
double& z
The Z coordinate is returned here.