#include <triangle3.h>
Public Types | |
typedef Box3< ScalarType > | BoxType |
The bounding box type. | |
typedef Point3< ScalarType > | CoordType |
typedef ScalarTriangleType | ScalarType |
Public Member Functions | |
const CoordType & | cP0 (const int j) const |
const CoordType & | cP1 (const int j) const |
const CoordType & | cP2 (const int j) const |
bool | InterpolationParameters (const CoordType &bq, ScalarType &a, ScalarType &b, ScalarType &_c) const |
const CoordType & | P (const int j) const |
CoordType & | P (const int j) |
Shortcut per accedere ai punti delle facce. | |
const CoordType & | P0 (const int j) const |
CoordType & | P0 (const int j) |
const CoordType & | P1 (const int j) const |
CoordType & | P1 (const int j) |
const CoordType & | P2 (const int j) const |
CoordType & | P2 (const int j) |
ScalarType | QualityFace () const |
Return the _q of the face, the return value is in [0,sqrt(3)/2] = [0 - 0.866.. ]. | |
Triangle3 (const CoordType &c0, const CoordType &c1, const CoordType &c2) | |
Triangle3 () | |
Protected Attributes | |
Point3< ScalarType > | _v [3] |
Vector of vertex pointer incident in the face. |
Templated class for storing a generic triangle in a 3D space. Note the relation with the Face class of TriMesh complex, both classes provide the P(i) access functions to their points and therefore they share the algorithms on it (e.g. area, normal etc...)
Definition at line 110 of file triangle3.h.
typedef ScalarTriangleType vcg::Triangle3< ScalarTriangleType >::ScalarType |
Definition at line 113 of file triangle3.h.