Public Member Functions | Friends

NURBSSurfaceEdgeCurve Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSCurve.

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

This class defines a dependent edge curve. There are methods available to get/set the parent surface index and id, and get/set the parameter which determines the location on the surface the curve matches.

All methods of this class are implemented by the system.

#include <surf_api.h>

Inheritance diagram for NURBSSurfaceEdgeCurve:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSSurfaceEdgeCurve (void)
virtual DllExport  ~NURBSSurfaceEdgeCurve (void)
DllExport NURBSSurfaceEdgeCurve operator= (const NURBSSurfaceEdgeCurve &curve)
DllExport void  SetParent (int index)
DllExport void  SetParentId (NURBSId id)
DllExport int  GetParent (void)
DllExport NURBSId  GetParentId (void)
DllExport Point2  GetSeed ()
DllExport void  SetSeed (Point2 &seed)

Friends

class  NURBSSet

Constructor & Destructor Documentation

DllExport NURBSSurfaceEdgeCurve ( void  )
Remarks:
Constructr. The data members are initialized as follows:

mType = kNSurfaceEdgeCurve;

mpObject = NULL;

mpNSet = NULL;

mParentId = 0;

mParentIndex = -1;

mSeed = Point2(0.0, 0.0);
virtual DllExport ~NURBSSurfaceEdgeCurve ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

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

The curve to assign from.
DllExport void SetParent ( int  index )
Remarks:
Sets the NURBSId of the specified parent.
Parameters:
int index

The index into the NURBSSet of the parent surface.
DllExport void SetParentId ( NURBSId  id )
Remarks:
Sets the NURBSId of the specified parent.
Parameters:
NURBSId id

The id to set.
DllExport int GetParent ( void  )
Remarks:
Returns the index in the NURBSSet of the parent object.
DllExport NURBSId GetParentId ( void  )
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 Point2 GetSeed ( )
Remarks:
Returns the UV location of the seed value on the curve.
DllExport void SetSeed ( Point2 seed )
Remarks:
Sets the UV location of the seed value on the curve.
Parameters:
Point2& seed

The seed value to set.
Operators:

Friends And Related Function Documentation

friend class NURBSSet [friend]

NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve
NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve NURBSSurfaceEdgeCurve