Public Member Functions

NURBSIndependentPoint Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSPoint.

Description:
This class is available in release 2.0 and later only.

This class is used to create an independent, free-standing point. There are methods to set the position of the point in various floating point formats and operators to compare points.

All methods of this class are implemented by the system.

#include <surf_api.h>

Inheritance diagram for NURBSIndependentPoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSIndependentPoint (void)
virtual DllExport  ~NURBSIndependentPoint (void)
DllExport NURBSIndependentPoint operator= (const NURBSIndependentPoint &pt)
DllExport BOOL  operator== (const NURBSIndependentPoint &pt)
DllExport BOOL  operator!= (const NURBSIndependentPoint &pt)
DllExport void  SetPosition (TimeValue t, Point3 pt)
DllExport void  SetPosition (TimeValue t, float x, float y, float z)
DllExport void  SetPosition (TimeValue t, double x, double y, double z)

Constructor & Destructor Documentation

DllExport NURBSIndependentPoint ( void  )
Remarks:
Constructor. The data members are initialized as follows:

mType = kNPoint;

mX = mY = mZ = 0.0;
virtual DllExport ~NURBSIndependentPoint ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

DllExport NURBSIndependentPoint& operator= ( const NURBSIndependentPoint pt )
Remarks:
Assignment operator.
Parameters:
const NURBSIndependentPoint& pt

The point to assign.
DllExport BOOL operator== ( const NURBSIndependentPoint pt )
Remarks:
Equality operator. Compares if the X, Y and Z coordinates are equal.
Parameters:
const NURBSIndependentPoint& pt

The point to compare.
Returns:
TRUE if equal; otherwise FALSE.
DllExport BOOL operator!= ( const NURBSIndependentPoint pt )
Remarks:
Inequality operator. Compares if the X, Y and Z coordinates are not equal.
Parameters:
const NURBSIndependentPoint& pt

The point to compare.
Returns:
TRUE if any of the coordinates are not equal; otherwise FALSE.
DllExport void SetPosition ( TimeValue  t,
Point3  pt 
)
Remarks:
Sets the position of the point at the specified time (as a Point3).
Parameters:
TimeValue t

Specifies the time to set the position.

Point3 pt

The position to set.
DllExport void SetPosition ( TimeValue  t,
float  x,
float  y,
float  z 
)
Remarks:
Sets the position of the point at the specified time (as floats).
Parameters:
TimeValue t

Specifies the time to set the position.

float x

The X position to set.

float y

The Y position to set.

float z

The Z position to set.
DllExport void SetPosition ( TimeValue  t,
double  x,
double  y,
double  z 
)
Remarks:
Sets the position of the point at the specified time (as doubles).
Parameters:
TimeValue t

Specifies the time to set the position.

double x

The X position to set.

double y

The Y position to set.

double z

The Z position to set.
Operators:

NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint
NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint NURBSIndependentPoint