#include <triangle.h>
Inheritance diagram for Triangle:
Public Member Functions | |
Constructors and Destructors | |
Triangle () throw () | |
Default constructor. | |
Triangle (const Triangle &triangle, bool deep=false) throw () | |
Copy constructor. | |
virtual | ~Triangle () throw () |
Destructor. | |
Assignments | |
void | set (const Triangle &triangle, bool deep=false) throw () |
Assign from another Triangle. | |
Triangle & | operator= (const Triangle &triangle) throw () |
Assign from another Triangle. | |
Accessors | |
void | setPoint (Position i, TrianglePoint *point) throw (Exception::IndexOverflow) |
Set one of the three points of the Triangle. | |
TrianglePoint * | getPoint (Position i) const throw (Exception::IndexOverflow) |
Return one of the three points of the Triangle. | |
void | remove (TriangleEdge *edge) throw () |
Remove an edge from the Triangle. | |
Predicates | |
virtual bool | operator== (const Triangle &) const throw () |
Equality operator. | |
virtual bool | operator!= (const Triangle &) const throw () |
Inequality operator. | |
virtual bool | operator *= (const Triangle &) const throw () |
Similarity operator. | |
Friends | |
Class friends | |
| |
class | TriangleEdge |
class | TrianglePoint |
class | TriangulatedSurface |
class | TriangulatedSphere |
class | TriangulatedSES |
class | TriangulatedSAS |
class | SESTriangulator |
class | SASTriangulator |
|
Default constructor. This method creates a new Triangle object. |
|
Copy constructor. Create a new Triangle object from another. |
|
Destructor. Destructs the Triangle object. |
|
Return one of the three points of the Triangle.
|
|
Similarity operator.
Reimplemented from GraphTriangle< TrianglePoint, TriangleEdge, Triangle >. |
|
Inequality operator.
Reimplemented from GraphTriangle< TrianglePoint, TriangleEdge, Triangle >. |
|
Assign from another Triangle. The Triangle object is linked to the neighbours of the Triangle object to assign from
|
|
Equality operator.
Reimplemented from GraphTriangle< TrianglePoint, TriangleEdge, Triangle >. |
|
Remove an edge from the Triangle. The edge is set to NULL.
|
|
Assign from another Triangle.
|
|
Set one of the three points of the Triangle.
|