Public Member Functions | Friends

NURBSCurveOnSurface Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSCVCurve.

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

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

#include <surf_api.h>

Inheritance diagram for NURBSCurveOnSurface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSCurveOnSurface (void)
virtual DllExport  ~NURBSCurveOnSurface (void)
DllExport NURBSCurveOnSurface operator= (const NURBSCurveOnSurface &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 NURBSCurveOnSurface ( void  )
Remarks:
Constructor. The data members are initialized as follows:

mType = kNCurveOnSurface;

mpObject = NULL;

mpNSet = NULL;

mParentId = 0;

mParentIndex = -1;

mTrim = FALSE;

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

Member Function Documentation

DllExport NURBSCurveOnSurface& operator= ( const NURBSCurveOnSurface curve )
Remarks:
Assignment operator.
Parameters:
const NURBSCurveOnSurface& 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 into 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 specified parent object.
DllExport NURBSId GetParentId ( )
Remarks:
Returns the NURBSId of the parent. 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 surface toggle.
DllExport void SetTrim ( BOOL  trim )
Remarks:
Sets the state of the trim surface toggle.
Parameters:
BOOL trim

TRUE to trim the surface at the curve; FALSE to not 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 surface is trimmed.
Parameters:
BOOL flip

TRUE for on; FALSE for off.

Friends And Related Function Documentation

friend class NURBSSet [friend]

NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface
NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface NURBSCurveOnSurface