NURBSSurfaceNormalCurve Class Reference
 
 
 
NURBSSurfaceNormalCurve Class Reference

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


#include <surf_api.h>

Inheritance diagram for NURBSSurfaceNormalCurve:
NURBSCurve NURBSObject MaxHeapOperators

Class Description

See also:
Class NURBSCurve.

Description:
This provides access to the Surface Normal Curve. This is a curve created at a specified distance from a surface and normal to it.

Note: The parent curve specified below must have one of the following types: surface-surface intersection, U Iso, V Iso, normal projected, vector projected, CV curve on surface, or point curve on surface.

Public Member Functions

DllExport  NURBSSurfaceNormalCurve (void)
virtual DllExport  ~NURBSSurfaceNormalCurve (void)
DllExport NURBSSurfaceNormalCurve operator= (const NURBSSurfaceNormalCurve &curve)
DllExport void  SetParent (int index)
DllExport void  SetParentId (NURBSId id)
DllExport int  GetParent ()
DllExport NURBSId  GetParentId ()
DllExport void  SetDistance (TimeValue t, double dist)
DllExport double  GetDistance (TimeValue t)

Friends

class  NURBSSet

Constructor & Destructor Documentation

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

mType = kNSurfaceNormalCurve;

mpObject = NULL;

mpNSet = NULL;

mParentId = 0;

mParentIndex = -1;
virtual DllExport ~NURBSSurfaceNormalCurve ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

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

The curve to assign.
DllExport void SetParent ( int  index )
Remarks:
Establishes the parent curve to use by passing its index in the NURBSSet.
Parameters:
int index

The index in the NURBSSet of the parent curve to use.
DllExport void SetParentId ( NURBSId  id )
Remarks:
Establishes the parent curve to use by passing its NURBSId.
Parameters:
NURBSId id

The id of the parent curve to use.
DllExport int GetParent ( )
Remarks:
Returns the index in the NURBSSet of the parent curve.
DllExport NURBSId GetParentId ( )
Remarks:
Returns the NURBSId of the parent curve.
DllExport void SetDistance ( TimeValue  t,
double  dist 
)
Remarks:
Set the distance along the normal of the curve from the surface at the specified time.
Parameters:
TimeValue t

The time at which to set the distance.

double dist

The distance along the normal from the surface to the curve.
DllExport double GetDistance ( TimeValue  t )
Remarks:
Returns the distance along the normal from the surface to the curve.
Parameters:
TimeValue t

The time at which to get the distance.

Friends And Related Function Documentation

friend class NURBSSet [friend]