ConvexDecomposition::CTri Class Reference

List of all members.

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 (const double *p1, const double *p2, const double *p3, unsigned int i1, unsigned int i2, unsigned int i3)
 CTri (void)
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

ConvexDecomposition::CTri::CTri ( void   )  [inline]

Definition at line 161 of file concavity.cpp.

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

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.

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

Definition at line 357 of file concavity.cpp.

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

Definition at line 351 of file concavity.cpp.

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

Definition at line 184 of file concavity.cpp.

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

Definition at line 197 of file concavity.cpp.

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

Definition at line 340 of file concavity.cpp.

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

Definition at line 177 of file concavity.cpp.

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

Definition at line 212 of file concavity.cpp.

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

Definition at line 320 of file concavity.cpp.

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

Definition at line 293 of file concavity.cpp.

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.

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

Definition at line 306 of file concavity.cpp.

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

Definition at line 326 of file concavity.cpp.


Member Data Documentation

Definition at line 427 of file concavity.cpp.

Definition at line 428 of file concavity.cpp.

Definition at line 429 of file concavity.cpp.

Definition at line 426 of file concavity.cpp.

Definition at line 430 of file concavity.cpp.

Definition at line 431 of file concavity.cpp.

Definition at line 432 of file concavity.cpp.

Definition at line 421 of file concavity.cpp.

Definition at line 422 of file concavity.cpp.

Definition at line 423 of file concavity.cpp.

Definition at line 424 of file concavity.cpp.

Definition at line 418 of file concavity.cpp.

Definition at line 419 of file concavity.cpp.

Definition at line 420 of file concavity.cpp.

Definition at line 425 of file concavity.cpp.

Definition at line 433 of file concavity.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


convex_decomposition
Author(s): John Ratcliff
autogenerated on Fri Jan 11 09:51:05 2013