NURBSProjectNormalCurve Class Reference
 
 
 
NURBSProjectNormalCurve Class Reference

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


#include <surf_api.h>

Inheritance diagram for NURBSProjectNormalCurve:
NURBSCurve NURBSObject MaxHeapOperators

Class Description

See also:
Class NURBSCurve, Class Point2.

Description:
This class provides access to the Normal Proejcted Curve. A Normal Projected curve lies on a surface. It is based on an existing curve, which is projected onto the surface in the direction of the surface's normals.

Public Member Functions

DllExport  NURBSProjectNormalCurve (void)
virtual DllExport  ~NURBSProjectNormalCurve (void)
DllExport NURBSProjectNormalCurve operator= (const NURBSProjectNormalCurve &curve)
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 BOOL  GetTrim ()
DllExport void  SetTrim (BOOL trim)
DllExport BOOL  GetFlipTrim ()
DllExport void  SetFlipTrim (BOOL flip)
DllExport Point2  GetSeed ()
DllExport void  SetSeed (Point2 &seed)

Friends

class  NURBSSet

Constructor & Destructor Documentation

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

Member Function Documentation

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

The curve to assign.
DllExport void SetParent ( int  pnum,
int  index 
)
Remarks:
Sets the surface or curve used by specifying its index into the NURBSSet.
Parameters:
int pnum

Pass 0 for the surface and 1 for the curve.

int index

The index in the NURBSSet of the surface or curve.
DllExport void SetParentId ( int  pnum,
NURBSId  id 
)
Remarks:
Sets the surface or curve used by specifying its NURBSId.
Parameters:
int pnum

Pass 0 for the surface and 1 for the curve.

NURBSId id

The id of the surface or curve.
DllExport int GetParent ( int  pnum )
Remarks:
Returns the index in the NURBSSet of the surface or curve in use.
Parameters:
int pnum

Pass 0 for the surface and 1 for the curve.
DllExport NURBSId GetParentId ( int  pnum )
Remarks:
Returns the NURBSId of the surface or curve in use.
Parameters:
int pnum

Pass 0 for the surface and 1 for the curve.
DllExport BOOL GetTrim ( )
Remarks:
Returns the state of the trim flag. When set the surface is trimmed against the curve. When not set, the surface isn't trimmed
DllExport void SetTrim ( BOOL  trim )
Remarks:
Sets the state of the trim flag. When set the surface is trimmed against the curve. When not set, the surface isn't trimmed
Parameters:
BOOL trim

TRUE to trim; FALSE to not trim.
DllExport BOOL GetFlipTrim ( )
Remarks:
Returns the state of the trim flip flag. When set this trims the surface in the opposite direction
DllExport void SetFlipTrim ( BOOL  flip )
Remarks:
Sets the state of the trim flip flag. When set this trims the surface in the opposite direction
Parameters:
BOOL flip

TRUE to flip; FALSE to not flip.
DllExport Point2 GetSeed ( )
Remarks:
Returns the UV location of the seed value on the surface.
DllExport void SetSeed ( Point2 seed )
Remarks:
Sets the UV location of the seed value on the surface. If there is a choice of projections, the projection closest to the seed point is the one used to create the curve.
Parameters:
Point2& seed

The seed value to set.

Friends And Related Function Documentation

friend class NURBSSet [friend]