#include <BALL/STRUCTURE/triangleEdge.h>
|
|
| TriangleEdge () |
|
| TriangleEdge (TrianglePoint *v1, TrianglePoint *v2) |
|
| TriangleEdge (const TriangleEdge &edge, bool deep=false) |
|
virtual | ~TriangleEdge () |
|
|
void | setPoint (Position i, TrianglePoint *point) |
|
TrianglePoint * | getPoint (Position i) const |
|
void | setTriangle (Position i, Triangle *triangle) |
|
Triangle * | getTriangle (Position i) const |
|
|
virtual bool | operator== (const TriangleEdge &) const |
|
virtual bool | operator!= (const TriangleEdge &) const |
|
virtual bool | operator*= (const TriangleEdge &) const |
|
| GraphEdge () |
|
| GraphEdge (const GraphEdge< TrianglePoint, TriangleEdge, Triangle > &edge, bool deep=false) |
|
| GraphEdge (TrianglePoint *vertex1, TrianglePoint *vertex2, Triangle *face1, Triangle *face2, Index index) |
|
virtual | ~GraphEdge () |
|
void | set (const GraphEdge< TrianglePoint, TriangleEdge, Triangle > &edge, bool deep=false) |
|
void | set (TrianglePoint *vertex0, TrianglePoint *vertex1, Triangle *face0, Triangle *face1, Index index) |
|
GraphEdge< TrianglePoint,
TriangleEdge, Triangle > & | operator= (const GraphEdge< TrianglePoint, TriangleEdge, Triangle > &edge) |
|
void | setVertex (Position i, TrianglePoint *vertex) |
|
TrianglePoint * | getVertex (Position i) const |
|
void | setFace (Position i, Triangle *face) |
|
Triangle * | getFace (Position i) const |
|
void | setIndex (Index index) |
|
Index | getIndex () const |
|
TrianglePoint * | other (const TrianglePoint *vertex) const throw (Exception::GeneralException) |
|
Triangle * | other (const Triangle *face) const throw (Exception::GeneralException) |
|
bool | substitute (const TrianglePoint *old_vertex, TrianglePoint *new_vertex) |
|
bool | substitute (const Triangle *old_vertex, Triangle *new_vertex) |
|
Triangle * | remove (const Triangle *face) |
|
void | revert () |
|
Generic TriangleEdge Class.
Definition at line 37 of file triangleEdge.h.
BALL::TriangleEdge::TriangleEdge |
( |
| ) |
|
Default constructor. This method creates a new TriangleEdge object.
BALL::TriangleEdge::TriangleEdge |
( |
const TriangleEdge & |
edge, |
|
|
bool |
deep = false |
|
) |
| |
Copy constructor. Create a new TriangleEdge object from another.
- Parameters
-
edge | the TriangleEdge object to be copied |
deep | if deep = false, all pointers are set to NULL (default). Otherwise the new TriangleEdge object is linked to the neighbours of the old TriangleEdge object. |
virtual BALL::TriangleEdge::~TriangleEdge |
( |
| ) |
|
|
virtual |
Return one of the two points of the TriangleEdge.
- Parameters
-
- Returns
- TrianglePoint* a pointer to the first point if i = 0, a pointer to the second point otherwise
Return one of the two triangles of the TriangleEdge.
- Parameters
-
- Returns
- Triangle* a pointer to the first triangle if i = 0, a pointer to the second triangle otherwise
Set one of the two points of the TriangleEdge.
- Parameters
-
i | the first point is changed if i = 0, the second otherwise |
point | a pointer to the new point |
Set one of the two triangles of the TriangleEdge.
- Parameters
-
i | change the first triangle, if i = 0, the second otherwise |
triangle | a pointer to the new triangle |