#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 & | cP (const int j) const |
const CoordType & | cP0 (const int j) const |
const CoordType & | cP1 (const int j) const |
const CoordType & | cP2 (const int j) const |
CoordType & | P (const int j) |
Shortcut per accedere ai punti delle facce. | |
const CoordType & | P (const int j) 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) const |
Triangle3 () | |
Triangle3 (const CoordType &c0, const CoordType &c1, const CoordType &c2) | |
int | VN () const |
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 42 of file triangle3.h.