NURBSPointCurveOnSurface Class Reference
 
 
 
NURBSPointCurveOnSurface Class Reference

This reference page is linked to from the following overview topics: NURBS Surface Classes.


#include <surf_api.h>

Inheritance diagram for NURBSPointCurveOnSurface:
NURBSPointCurve NURBSCurve NURBSObject MaxHeapOperators

Class Description

See also:
Class NURBSPointCurve.

Description:
This class provides access to the point curve on surface parameters. These curves can be used for trimming the surface they lie on.

Public Member Functions

DllExport  NURBSPointCurveOnSurface (void)
virtual DllExport  ~NURBSPointCurveOnSurface (void)
DllExport
NURBSPointCurveOnSurface
operator= (const NURBSPointCurveOnSurface &curve)
DllExport void  SetParent (int index)
DllExport void  SetParentId (NURBSId id)
DllExport int  GetParent ()
DllExport NURBSId  GetParentId ()
DllExport BOOL  GetTrim ()
DllExport void  SetTrim (BOOL trim)
DllExport BOOL  GetFlipTrim ()
DllExport void  SetFlipTrim (BOOL flip)

Friends

class  NURBSSet

Constructor & Destructor Documentation

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

mType = kNPointCurveOnSurface;

mpObject = NULL;

mpNSet = NULL;

mParentId = 0;

mParentIndex = -1;

mTrim = FALSE;

mFlipTrim = FALSE;
virtual DllExport ~NURBSPointCurveOnSurface ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

DllExport NURBSPointCurveOnSurface& operator= ( const NURBSPointCurveOnSurface curve )
Remarks:
Assignment operator.
Parameters:
const NURBSPointCurveOnSurface& curve

The curve to assign.
DllExport void SetParent ( int  index )
Remarks:
Sets the index in the NURBSSet of the parent surface.
Parameters:
int index

The index in the NURBSSet of the parent surface.
DllExport void SetParentId ( NURBSId  id )
Remarks:
Sets the NURBSId of the parent.
Parameters:
NURBSId id

The id to set.
DllExport int GetParent ( )
Remarks:
Returns the index in the NURBSSet of the parent surface.
DllExport NURBSId GetParentId ( )
Remarks:
Returns the NURBSId of the parent surface. Note that a NURBSId won't be valid until the object has been instantiated in the scene.
DllExport BOOL GetTrim ( )
Remarks:
Returns the state of the trim toggle.
DllExport void SetTrim ( BOOL  trim )
DllExport BOOL GetFlipTrim ( )
Remarks:
Returns the state of the trim flip toggle.
DllExport void SetFlipTrim ( BOOL  flip )
Remarks:
Sets the state of the trim flip toggle. This controls which portion of the parent surface is trimmed.
Parameters:
BOOL flip

TRUE for flipped; FALSE for not.

Friends And Related Function Documentation

friend class NURBSSet [friend]