Public Member Functions | Protected Member Functions | Protected Attributes | Friends

NURBSCurveSurfaceIntersectionPoint Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSPoint.

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

This class is used to create a dependent point at the intersection of a curve and a surface.
Data Members:
protected:

NURBSId mParentId[2];

The NURBSIds of the parent surface and curve. Parent 0 should be the surface parent 1 should be the curve.

int mParentIndex[2];

The NURBSSet indexes of the parent surface and curve. Parent 0 should be the surface parent 1 should be the curve.

double mSeed;

The seed location is a U position along the length of the parent curve.

BOOL mTrimCurve;

The trim curve flag.

BOOL mFlipTrim;

The trim flip flag.

#include <surf_api.h>

Inheritance diagram for NURBSCurveSurfaceIntersectionPoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSCurveSurfaceIntersectionPoint (void)
virtual DllExport  ~NURBSCurveSurfaceIntersectionPoint (void)
DllExport
NURBSCurveSurfaceIntersectionPoint
operator= (const NURBSCurveSurfaceIntersectionPoint &pt)
DllExport void  SetSeed (double seed)
DllExport double  GetSeed ()
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  GetTrimCurve ()
DllExport void  SetTrimCurve (BOOL trim)
DllExport BOOL  GetFlipTrim ()
DllExport void  SetFlipTrim (BOOL flip)

Protected Member Functions

DllExport void  Clean (NURBSIdTab ids)

Protected Attributes

NURBSId  mParentId [2]
int  mParentIndex [2]
double  mSeed
BOOL  mTrimCurve
BOOL  mFlipTrim

Friends

class  NURBSSet

Constructor & Destructor Documentation

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

mType = kNCurveSurfaceIntersectionPoint;

mpObject = NULL;

mpNSet = NULL;

mParentId[0] = mParentId[1] = 0;

mParentIndex[0] = mParentIndex[1] = -1;

mSeed = 0.5;

mTrimCurve = FALSE;

mFlipTrim = FALSE;
virtual DllExport ~NURBSCurveSurfaceIntersectionPoint ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

DllExport void Clean ( NURBSIdTab  ids ) [protected]
Remarks:
This methods breaks the relation between this NURBSObject and a NURBSSet.
Parameters:
NURBSIdTab ids

A table with the IDs of each object in the NURBSSet.

Reimplemented from NURBSObject.

Remarks:
Assignment operator.
Parameters:
const NURBSCurveSurfaceIntersectionPoint &pt

The point to assign.
DllExport void SetSeed ( double  seed )
Remarks:
Sets the seed value.
Parameters:
double seed

The U position along the length of the parent curve.
DllExport double GetSeed ( )
Remarks:
Returns the seed value.
DllExport void SetParent ( int  pnum,
int  index 
)
Remarks:
Establishes the curve or surface used by specifying its index in the NURBSSet.
Parameters:
int pnum

Pass 0 for the surface; 1 for the curve.

int index

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

Pass 0 for the surface; 1 for the curve.

NURBSId id

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

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

Pass 0 for the surface; 1 for the curve.
DllExport BOOL GetTrimCurve ( )
Remarks:
Returns the state of the trim curve flag. TRUE causes trimming; FALSE does not.
DllExport void SetTrimCurve ( BOOL  trim )
Remarks:
Sets the state of the trim curve flag.
Parameters:
BOOL trim

TRUE to trim; FALSE to not trim.
DllExport BOOL GetFlipTrim ( )
Remarks:
Returns the state of the trim flip flag. TRUE for flipped; FALSE for not flipped.
DllExport void SetFlipTrim ( BOOL  flip )
Remarks:
Sets the state of the trim flip flag.
Parameters:
BOOL flip

TRUE to flip; FALSE to not flip.

Friends And Related Function Documentation

friend class NURBSSet [friend]

Member Data Documentation

NURBSId mParentId[2] [protected]
int mParentIndex[2] [protected]
double mSeed [protected]
BOOL mTrimCurve [protected]
BOOL mFlipTrim [protected]

NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint
NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint NURBSCurveSurfaceIntersectionPoint