HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GD_TrimPiecePoly Class Reference

#include <GD_TrimPiece.h>

+ Inheritance diagram for GD_TrimPiecePoly:

Public Member Functions

 GD_TrimPiecePoly ()
 
virtual ~GD_TrimPiecePoly ()
 
virtual int64 getMemoryUsage (bool inclusive) const
 
virtual GD_TrimPiececopy ()
 
virtual GD_TrimPiececut (float u1, float u2) const
 
virtual int intersect (GD_TrimPiece &curve, UT_Array< GD_TrimHitInfo > &hitlist, float tol=0.0001F)
 
virtual int intersectIsoparm (float val, int isoparm, UT_Array< GD_TrimHitInfo > &hitlist, float tol=1E-4F, int depth=4)
 
virtual int evaluateUnit (float u, UT_Vector2 &pos) const
 
virtual int evaluateUnit (float u, UT_Vector2 &pos, UT_Vector2 &der, UT_Vector2 &der2) const
 
virtual GD_FacecreateFace (GD_Detail *gdp)
 
virtual unsigned getPrimitiveTypeId () const
 
void buildCurve (int idx)
 
void appendPoint (float x, float y)
 
- Public Member Functions inherited from GD_TrimPiece
 GD_TrimPiece ()
 
virtual ~GD_TrimPiece ()
 
void init (int order, float ustart, float ulength, int rational=1)
 
virtual void reverse ()
 
float length () const
 
virtual int evaluate (float u, UT_Vector2 &pos) const
 
virtual int evaluate (float u, UT_Vector2 &pos, UT_Vector2 &der) const
 
int checkStraight (void)
 
virtual void buildBBox ()
 
void print () const
 

Public Attributes

GD_TrimPieceRBezCurve myCurve
 
- Public Attributes inherited from GD_TrimPiece
GD_TrimPiecemyNext
 
float myUStart
 
float myULength
 
UT_Vector3Array myCV
 
UT_BoundingRect myBBox
 
int myRational
 
int myImplicitFlag
 
UT_MatrixF myXCoeff
 
UT_MatrixF myYCoeff
 
UT_MatrixF myWCoeff
 

Detailed Description

Definition at line 182 of file GD_TrimPiece.h.

Constructor & Destructor Documentation

GD_TrimPiecePoly::GD_TrimPiecePoly ( )
virtual GD_TrimPiecePoly::~GD_TrimPiecePoly ( )
virtual

Member Function Documentation

void GD_TrimPiecePoly::appendPoint ( float  x,
float  y 
)
void GD_TrimPiecePoly::buildCurve ( int  idx)
virtual GD_TrimPiece* GD_TrimPiecePoly::copy ( )
virtual

Implements GD_TrimPiece.

virtual GD_Face* GD_TrimPiecePoly::createFace ( GD_Detail gdp)
virtual

Implements GD_TrimPiece.

virtual GD_TrimPiece* GD_TrimPiecePoly::cut ( float  u1,
float  u2 
) const
virtual

Implements GD_TrimPiece.

virtual int GD_TrimPiecePoly::evaluateUnit ( float  u,
UT_Vector2 pos 
) const
virtual

Implements GD_TrimPiece.

virtual int GD_TrimPiecePoly::evaluateUnit ( float  u,
UT_Vector2 pos,
UT_Vector2 der,
UT_Vector2 der2 
) const
virtual

Implements GD_TrimPiece.

virtual int64 GD_TrimPiecePoly::getMemoryUsage ( bool  inclusive) const
inlinevirtual

Reimplemented from GD_TrimPiece.

Definition at line 189 of file GD_TrimPiece.h.

virtual unsigned GD_TrimPiecePoly::getPrimitiveTypeId ( ) const
inlinevirtual

Implements GD_TrimPiece.

Definition at line 223 of file GD_TrimPiece.h.

virtual int GD_TrimPiecePoly::intersect ( GD_TrimPiece curve,
UT_Array< GD_TrimHitInfo > &  hitlist,
float  tol = 0.0001F 
)
virtual

Implements GD_TrimPiece.

virtual int GD_TrimPiecePoly::intersectIsoparm ( float  val,
int  isoparm,
UT_Array< GD_TrimHitInfo > &  hitlist,
float  tol = 1E-4F,
int  depth = 4 
)
virtual

Implements GD_TrimPiece.

Member Data Documentation

GD_TrimPieceRBezCurve GD_TrimPiecePoly::myCurve

Definition at line 229 of file GD_TrimPiece.h.


The documentation for this class was generated from the following file: