Public Types | Public Member Functions | Protected Attributes
vcg::Triangle2< SCALAR_TYPE > Class Template Reference

#include <triangle2.h>

List of all members.

Public Types

typedef Point2< ScalarTypeCoordType
typedef SCALAR_TYPE ScalarType
typedef Triangle2< ScalarTypeTriangleType

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 &L1, ScalarType &L2, ScalarType &L3) const
bool IsCCW ()
 retutn true if the face is contuerclockwise oriented
CoordTypeP (const int j)
 Shortcut per accedere ai punti delle facce.
const CoordTypeP (const int j) 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) const
void PointDistance (const CoordType &q, ScalarType &dist, CoordType &p) const
 return the distance to the point q and neighors point p
 Triangle2 ()
 Triangle2 (const CoordType &p0, const CoordType &p1, const CoordType &p2)

Protected Attributes

Point2< ScalarType_v [3]
 Vector of vertex pointer incident in the face.

Detailed Description

template<class SCALAR_TYPE>
class vcg::Triangle2< SCALAR_TYPE >

Templated class for storing a generic triangle in a 2D 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 triangle2.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:23