Public Member Functions | Protected Attributes

NURBSPoint Class Reference

This reference page is linked to from the following overview topics: Modeling, NURBS Point Classes.


Search for all occurrences

Detailed Description

See also:
Class NURBSObject, Class NURBSSurface, Class NURBSSet, Class NURBSControlVertex, Class NURBSCurve, Class NURBSFuseSurfaceCV, Class NURBSFuseCurveCV.

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.

#include <surf_api.h>

Inheritance diagram for NURBSPoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSPoint ()
virtual DllExport Point3  GetPosition (TimeValue t)
virtual DllExport void  GetPosition (TimeValue t, float &x, float &y, float &z)
virtual DllExport void  GetPosition (TimeValue t, double &x, double &y, double &z)

Protected Attributes

double  mX
double  mY
double  mZ

Constructor & Destructor Documentation

DllExport NURBSPoint ( )

Member Function Documentation

virtual DllExport Point3 GetPosition ( TimeValue  t ) [virtual]
Remarks:
Returns the point position as a Point3.
virtual DllExport void GetPosition ( TimeValue  t,
float &  x,
float &  y,
float &  z 
) [virtual]
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.
virtual DllExport void GetPosition ( TimeValue  t,
double &  x,
double &  y,
double &  z 
) [virtual]
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.

Member Data Documentation

double mX [protected]
double mY [protected]
double mZ [protected]

NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint
NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint NURBSPoint