Public Member Functions | Public Attributes | List of all members
ConvexDecomposition::CTri Class Reference

Public Member Functions

void addTri (unsigned int *indices, unsigned int i1, unsigned int i2, unsigned int i3, unsigned int &tcount) const
 
void addWeighted (WpointVector &list, ConvexDecompInterface *callback)
 
double area (void)
 
bool clip (const Vector3d< double > &start, Vector3d< double > &end) const
 
bool Concave (const Vector3d< double > &p, double &distance, Vector3d< double > &n) const
 
 CTri (void)
 
 CTri (const double *p1, const double *p2, const double *p3, unsigned int i1, unsigned int i2, unsigned int i3)
 
void debug (unsigned int color, ConvexDecompInterface *callback)
 
double Facing (const CTri &t)
 
double getVolume (ConvexDecompInterface *callback) const
 
bool hasIndex (unsigned int i) const
 
double planeDistance (const Vector3d< double > &p) const
 
double raySect (const Vector3d< double > &p, const Vector3d< double > &dir, Vector3d< double > &sect) const
 
bool samePlane (const CTri &t) const
 
bool sharesEdge (const CTri &t) const
 

Public Attributes

double mC1
 
double mC2
 
double mC3
 
double mConcavity
 
unsigned int mI1
 
unsigned int mI2
 
unsigned int mI3
 
Vector3d< double > mNear1
 
Vector3d< double > mNear2
 
Vector3d< double > mNear3
 
Vector3d< double > mNormal
 
Vector3d< double > mP1
 
Vector3d< double > mP2
 
Vector3d< double > mP3
 
double mPlaneD
 
int mProcessed
 

Detailed Description

Definition at line 158 of file concavity.cpp.

Constructor & Destructor Documentation

◆ CTri() [1/2]

ConvexDecomposition::CTri::CTri ( void  )
inline

Definition at line 161 of file concavity.cpp.

◆ CTri() [2/2]

ConvexDecomposition::CTri::CTri ( const double *  p1,
const double *  p2,
const double *  p3,
unsigned int  i1,
unsigned int  i2,
unsigned int  i3 
)
inline

Definition at line 163 of file concavity.cpp.

Member Function Documentation

◆ addTri()

void ConvexDecomposition::CTri::addTri ( unsigned int *  indices,
unsigned int  i1,
unsigned int  i2,
unsigned int  i3,
unsigned int &  tcount 
) const
inline

Definition at line 204 of file concavity.cpp.

◆ addWeighted()

void ConvexDecomposition::CTri::addWeighted ( WpointVector list,
ConvexDecompInterface callback 
)
inline

Definition at line 357 of file concavity.cpp.

◆ area()

double ConvexDecomposition::CTri::area ( void  )
inline

Definition at line 351 of file concavity.cpp.

◆ clip()

bool ConvexDecomposition::CTri::clip ( const Vector3d< double > &  start,
Vector3d< double > &  end 
) const
inline

Definition at line 184 of file concavity.cpp.

◆ Concave()

bool ConvexDecomposition::CTri::Concave ( const Vector3d< double > &  p,
double &  distance,
Vector3d< double > &  n 
) const
inline

Definition at line 197 of file concavity.cpp.

◆ debug()

void ConvexDecomposition::CTri::debug ( unsigned int  color,
ConvexDecompInterface callback 
)
inline

Definition at line 340 of file concavity.cpp.

◆ Facing()

double ConvexDecomposition::CTri::Facing ( const CTri t)
inline

Definition at line 177 of file concavity.cpp.

◆ getVolume()

double ConvexDecomposition::CTri::getVolume ( ConvexDecompInterface callback) const
inline

Definition at line 212 of file concavity.cpp.

◆ hasIndex()

bool ConvexDecomposition::CTri::hasIndex ( unsigned int  i) const
inline

Definition at line 320 of file concavity.cpp.

◆ planeDistance()

double ConvexDecomposition::CTri::planeDistance ( const Vector3d< double > &  p) const
inline

Definition at line 293 of file concavity.cpp.

◆ raySect()

double ConvexDecomposition::CTri::raySect ( const Vector3d< double > &  p,
const Vector3d< double > &  dir,
Vector3d< double > &  sect 
) const
inline

Definition at line 276 of file concavity.cpp.

◆ samePlane()

bool ConvexDecomposition::CTri::samePlane ( const CTri t) const
inline

Definition at line 306 of file concavity.cpp.

◆ sharesEdge()

bool ConvexDecomposition::CTri::sharesEdge ( const CTri t) const
inline

Definition at line 326 of file concavity.cpp.

Member Data Documentation

◆ mC1

double ConvexDecomposition::CTri::mC1

Definition at line 427 of file concavity.cpp.

◆ mC2

double ConvexDecomposition::CTri::mC2

Definition at line 428 of file concavity.cpp.

◆ mC3

double ConvexDecomposition::CTri::mC3

Definition at line 429 of file concavity.cpp.

◆ mConcavity

double ConvexDecomposition::CTri::mConcavity

Definition at line 426 of file concavity.cpp.

◆ mI1

unsigned int ConvexDecomposition::CTri::mI1

Definition at line 430 of file concavity.cpp.

◆ mI2

unsigned int ConvexDecomposition::CTri::mI2

Definition at line 431 of file concavity.cpp.

◆ mI3

unsigned int ConvexDecomposition::CTri::mI3

Definition at line 432 of file concavity.cpp.

◆ mNear1

Vector3d<double> ConvexDecomposition::CTri::mNear1

Definition at line 421 of file concavity.cpp.

◆ mNear2

Vector3d<double> ConvexDecomposition::CTri::mNear2

Definition at line 422 of file concavity.cpp.

◆ mNear3

Vector3d<double> ConvexDecomposition::CTri::mNear3

Definition at line 423 of file concavity.cpp.

◆ mNormal

Vector3d<double> ConvexDecomposition::CTri::mNormal

Definition at line 424 of file concavity.cpp.

◆ mP1

Vector3d<double> ConvexDecomposition::CTri::mP1

Definition at line 418 of file concavity.cpp.

◆ mP2

Vector3d<double> ConvexDecomposition::CTri::mP2

Definition at line 419 of file concavity.cpp.

◆ mP3

Vector3d<double> ConvexDecomposition::CTri::mP3

Definition at line 420 of file concavity.cpp.

◆ mPlaneD

double ConvexDecomposition::CTri::mPlaneD

Definition at line 425 of file concavity.cpp.

◆ mProcessed

int ConvexDecomposition::CTri::mProcessed

Definition at line 433 of file concavity.cpp.


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


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Mon Feb 28 2022 22:06:34