vcg::Triangle3< ScalarTriangleType > Class Template Reference
[Space]

#include <triangle3.h>

List of all members.

Public Types

typedef Box3< ScalarTypeBoxType
 The bounding box type.
typedef Point3< ScalarTypeCoordType
typedef ScalarTriangleType ScalarType

Public Member Functions

const CoordTypecP0 (const int j) const
const CoordTypecP1 (const int j) const
const CoordTypecP2 (const int j) const
bool InterpolationParameters (const CoordType &bq, ScalarType &a, ScalarType &b, ScalarType &_c) const
const CoordTypeP (const int j) const
CoordTypeP (const int j)
 Shortcut per accedere ai punti delle facce.
const CoordTypeP0 (const int j) const
CoordTypeP0 (const int j)
const CoordTypeP1 (const int j) const
CoordTypeP1 (const int j)
const CoordTypeP2 (const int j) const
CoordTypeP2 (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.

Detailed Description

template<class ScalarTriangleType>
class vcg::Triangle3< ScalarTriangleType >

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.


Member Typedef Documentation

template<class ScalarTriangleType >
typedef ScalarTriangleType vcg::Triangle3< ScalarTriangleType >::ScalarType

Definition at line 113 of file triangle3.h.


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


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:07 2013