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

#include <GD_TrimPiece.h>

+ Inheritance diagram for GD_TrimPieceRBezCurve:

Public Member Functions

 GD_TrimPieceRBezCurve ()
 
 ~GD_TrimPieceRBezCurve () override
 
void buildCoeff (UT_MatrixF &A, int index1, int index2)
 
GD_TrimPiececopy () override
 
GD_TrimPiececut (float u1, float u2) const override
 
int intersect (GD_TrimPiece &curve, UT_Array< GD_TrimHitInfo > &hitlist, float tol=0.0001F) override
 
int intersect (GD_TrimPieceRBezCurve &curve, UT_Array< GD_TrimHitInfo > &hitlist, int depth, float tol=0.0001F)
 
int intersectQR (GD_TrimPieceRBezCurve &curve, UT_Array< GD_TrimHitInfo > &hitlist, float tol=0.0001F)
 
int intersectIsoparm (float val, int isoparm, UT_Array< GD_TrimHitInfo > &hitlist, float tol=1E-4F, int depth=4) override
 
int evaluateUnit (float u, UT_Vector2 &pos) const override
 
int evaluateUnit (float u, UT_Vector2 &pos, UT_Vector2 &der, UT_Vector2 &der2) const override
 
GD_FacecreateFace (GD_Detail *gdp) override
 
unsigned getPrimitiveTypeId () const override
 
void splitInHalf (GD_TrimPieceRBezCurve *left, GD_TrimPieceRBezCurve *right, float tol=1E-4F) const
 
int splitAt (GD_TrimPieceRBezCurve *left, GD_TrimPieceRBezCurve *right, float ucut, float tol=1E-4F) const
 
- Public Member Functions inherited from GD_TrimPiece
 GD_TrimPiece ()
 
virtual ~GD_TrimPiece ()
 
virtual int64 getMemoryUsage (bool inclusive) const
 
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 ()
 
virtual void buildBBox ()
 
void print () const
 

Additional Inherited Members

- 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 124 of file GD_TrimPiece.h.

Constructor & Destructor Documentation

GD_TrimPieceRBezCurve::GD_TrimPieceRBezCurve ( )
GD_TrimPieceRBezCurve::~GD_TrimPieceRBezCurve ( )
override

Member Function Documentation

void GD_TrimPieceRBezCurve::buildCoeff ( UT_MatrixF A,
int  index1,
int  index2 
)
GD_TrimPiece* GD_TrimPieceRBezCurve::copy ( )
overridevirtual

Implements GD_TrimPiece.

GD_Face* GD_TrimPieceRBezCurve::createFace ( GD_Detail gdp)
overridevirtual

Implements GD_TrimPiece.

GD_TrimPiece* GD_TrimPieceRBezCurve::cut ( float  u1,
float  u2 
) const
overridevirtual

Implements GD_TrimPiece.

int GD_TrimPieceRBezCurve::evaluateUnit ( float  u,
UT_Vector2 pos 
) const
overridevirtual

Implements GD_TrimPiece.

int GD_TrimPieceRBezCurve::evaluateUnit ( float  u,
UT_Vector2 pos,
UT_Vector2 der,
UT_Vector2 der2 
) const
overridevirtual

Implements GD_TrimPiece.

unsigned GD_TrimPieceRBezCurve::getPrimitiveTypeId ( ) const
inlineoverridevirtual

Implements GD_TrimPiece.

Definition at line 169 of file GD_TrimPiece.h.

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

Implements GD_TrimPiece.

int GD_TrimPieceRBezCurve::intersect ( GD_TrimPieceRBezCurve curve,
UT_Array< GD_TrimHitInfo > &  hitlist,
int  depth,
float  tol = 0.0001F 
)
int GD_TrimPieceRBezCurve::intersectIsoparm ( float  val,
int  isoparm,
UT_Array< GD_TrimHitInfo > &  hitlist,
float  tol = 1E-4F,
int  depth = 4 
)
overridevirtual

Implements GD_TrimPiece.

int GD_TrimPieceRBezCurve::intersectQR ( GD_TrimPieceRBezCurve curve,
UT_Array< GD_TrimHitInfo > &  hitlist,
float  tol = 0.0001F 
)
int GD_TrimPieceRBezCurve::splitAt ( GD_TrimPieceRBezCurve left,
GD_TrimPieceRBezCurve right,
float  ucut,
float  tol = 1E-4F 
) const
void GD_TrimPieceRBezCurve::splitInHalf ( GD_TrimPieceRBezCurve left,
GD_TrimPieceRBezCurve right,
float  tol = 1E-4F 
) const

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