Public Member Functions | Friends

NURBSMultiCurveTrimSurface Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSSurface.

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

This class provides access to the Multicurve Trim Surface which is a surface that is trimmed by multiple curves forming a loop.

#include <surf_api.h>

Inheritance diagram for NURBSMultiCurveTrimSurface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSMultiCurveTrimSurface (void)
virtual DllExport  ~NURBSMultiCurveTrimSurface (void)
DllExport
NURBSMultiCurveTrimSurface
operator= (const NURBSMultiCurveTrimSurface &surf)
DllExport void  SetNumCurves (int num)
DllExport int  GetNumCurves (void)
DllExport int  AppendCurve (int index)
DllExport int  AppendCurve (NURBSId id)
DllExport void  SetParent (int pnum, int index)
DllExport void  SetParentId (int pnum, NURBSId id)
DllExport int  GetParent (int pnum)
DllExport NURBSId  GetParentId (int pnum)
DllExport void  SetSurfaceParent (int index)
DllExport void  SetSurfaceParentId (NURBSId id)
DllExport int  GetSurfaceParent ()
DllExport NURBSId  GetSurfaceParentId ()
DllExport BOOL  GetFlipTrim ()
DllExport void  SetFlipTrim (BOOL flip)

Friends

class  NURBSSet

Constructor & Destructor Documentation

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

mType = kNMultiCurveTrimSurface;

mpObject = NULL;

mpNSet = NULL;

mParentId.SetCount(0);

mParentIndex.SetCount(0);

mSurfaceId = NULL;

mSurfaceIndex = -1;

mFlipTrim = FALSE;

virtual DllExport ~NURBSMultiCurveTrimSurface ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

DllExport NURBSMultiCurveTrimSurface& operator= ( const NURBSMultiCurveTrimSurface surf )
Remarks:
Assignment operator.
Parameters:
const NURBSMultiCurveTrimSurface& surf

The surface to assign.
DllExport void SetNumCurves ( int  num )
Remarks:
Sets the number of curves used for the trim loop.
Parameters:
int num

The number of curves to use.

DllExport int GetNumCurves ( void  )
Remarks:
Returns the number of curves used for the trim loop.
DllExport int AppendCurve ( int  index )
Remarks:
Adds the specified curve (using a NURBSSet index) to the end of the list of curves comprising the trim loop.
Parameters:
int index

The index into the NURBSSet of the curve to add.
Returns:
The number of curves in the loop prior to appending.
DllExport int AppendCurve ( NURBSId  id )
Remarks:
Adds the specified curve (using a NURBSSet index) to the end of the list of curves comprising the trim loop.
Parameters:
NURBSId id

The id to use.
Returns:
The number of curves in the loop prior to appending.
DllExport void SetParent ( int  pnum,
int  index 
)
Remarks:
Sets the specified curve in the trim loop to the curve specified by an index into the NURBSSet.
Parameters:
int pnum

Zero based index of which curve to set.

int index

The index into the NURBSSet of the curve to use.
DllExport void SetParentId ( int  pnum,
NURBSId  id 
)
Remarks:
Sets the specified curve in the trim loop to the curve specified by a NURBSId.
Parameters:
int pnum

Zero based index of which curve to set.

NURBSId id

The id of the curve to use.
DllExport int GetParent ( int  pnum )
Remarks:
Returns the index in the NURBSSet of the specified parent object.
Parameters:
int pnum

Zero based index of which curve to get.
DllExport NURBSId GetParentId ( int  pnum )
Remarks:
Returns the NURBSId of the specified curve in the trim loop.
Parameters:
int pnum

Zero based index of which curve to get.
DllExport void SetSurfaceParent ( int  index )
Remarks:
Sets the surface that's trimmed by specifying it's index into the NURBSSet.
Parameters:
int index

The index in the NURBSSet of the surface.
DllExport void SetSurfaceParentId ( NURBSId  id )
Remarks:
Sets the surface that's trimmed by specifying it's NURBSId.
Parameters:
NURBSId id

The id of the surface.
DllExport int GetSurfaceParent ( )
Remarks:
Returns the index in the NURBSSet of the surface that is trimmed.
DllExport NURBSId GetSurfaceParentId ( )
Remarks:
Returns the NURBSId of the surface that's trimmed.
DllExport BOOL GetFlipTrim ( )
Remarks:
Returns the state of the flip trim flag. This controls which side of the curve is trimmed from the surface.
DllExport void SetFlipTrim ( BOOL  flip )
Remarks:
Sets the state of the flip trim flag.
Parameters:
BOOL flip

TRUE to flip; FALSE to not flip.
Operators:

Friends And Related Function Documentation

friend class NURBSSet [friend]

NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface
NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface NURBSMultiCurveTrimSurface