Public Member Functions | Friends

NURBSProjectNormalCurve Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSCurve, Class Point2.

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

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.

#include <surf_api.h>

Inheritance diagram for NURBSProjectNormalCurve:
Inheritance graph
[legend]

List of all members.

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]

NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve
NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve NURBSProjectNormalCurve