vcg::Triangle2< SCALAR_TYPE > Class Template Reference
[Space]

#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 &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)
void PointDistance (const CoordType &q, ScalarType &dist, CoordType &p) const
 return the distance to the point q and neighors point p
 Triangle2 (const CoordType &p0, const CoordType &p1, const CoordType &p2)
 Triangle2 ()

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 43 of file triangle2.h.


Member Typedef Documentation

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

Definition at line 46 of file triangle2.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