Public Member Functions | Friends

NURBSPointCurveOnSurface Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSPointCurve.

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

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

#include <surf_api.h>

Inheritance diagram for NURBSPointCurveOnSurface:
Inheritance graph
[legend]

List of all members.

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]

NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface
NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface NURBSPointCurveOnSurface