In file triangulation/TriangulationTriangle3D.h:

class TriangulationPoint

a point lying on a triangulation

Inheritance:


Public Methods

const double* getCoordinates () const
returns the 3 barycentric coordinates of the point in a triangle
TriangulationTriangle3D* getTriangle () const
returns the triangle
void setPosition (const double c[3], TriangulationTriangle3D *t)
change the position of the point

Public

constructors
TriangulationPoint (const double c[3], TriangulationTriangle3D *t)
create a point from its 3 barycentric coordinates and its triangle
destructor
virtual ~TriangulationPoint ()
empty destructor

Protected Fields

double coordinates [3]
the three barycentric coordinates of the point in a triangle
TriangulationTriangle3D* triangle
the triangle where the point is defined

Documentation

a point lying on a triangulation
constructors

TriangulationPoint(const double c[3], TriangulationTriangle3D *t)
create a point from its 3 barycentric coordinates and its triangle
Parameters:
c - the 3 barycentric coordinates (sum=1)
t - the triangle (must not be 0)

destructor

virtual ~TriangulationPoint()
empty destructor

double coordinates[3]
the three barycentric coordinates of the point in a triangle

TriangulationTriangle3D* triangle
the triangle where the point is defined

const double* getCoordinates() const
returns the 3 barycentric coordinates of the point in a triangle

TriangulationTriangle3D* getTriangle() const
returns the triangle

void setPosition(const double c[3], TriangulationTriangle3D *t)
change the position of the point


Direct child classes:
TriangulationLandmark

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de