#include </usr1/tp517/Tumble/trunk/src/tumble/celltuple.h>
Collaboration diagram for CellTuple< Vertex, Edge, Face >:
Public Member Functions | |
CellTuple () | |
Create an empty Tuple with NULL for each Cell. | |
CellTuple (Vertex *nv, Edge *ne, Face *nf) | |
Create an empty Tuple with given Cells. | |
CellTuple (const CellTuple &tup) | |
The copy constructor. | |
CellTuple & | operator= (const CellTuple &tup) |
The assignmnet operator. | |
bool | operator== (const CellTuple &other) const |
Do we represent the same tuple. | |
bool | operator!= (const CellTuple &other) const |
void | print () |
Print info. | |
void | print_detail () |
Print each Cell individually. | |
Public Attributes | |
Vertex * | v |
A pointer to the Vertex. | |
Edge * | e |
A pointer to the Edge. | |
Face * | f |
A pointer to the Face. |
A CellTuple is the essential datastructure for representing a topological position within a CellComplex. In general a cell tuple is a contruct of Brison (ref?) that gives a handle within a CellComplex. It consists of one Cell from each dimention. In two dimenstion, this equates to a triple of Vertex, Edge, and Face.
A CellComplex takes a Tuple as one of its templated types. When using a BezierMesh, one uses a BezierTuple, and when using a BoundaryMesh, one uses a BoundaryTuple
Definition at line 20 of file celltuple.h.
CellTuple< Vertex, Edge, Face >::CellTuple | ( | Vertex * | nv, | |
Edge * | ne, | |||
Face * | nf | |||
) | [inline] |
Create an empty Tuple with given Cells.
nv | The Vertex of the new Tuple | |
ne | The Edge of the new Tuple | |
nf | The Face of the new Tuple |
Definition at line 36 of file celltuple.h.
CellTuple& CellTuple< Vertex, Edge, Face >::operator= | ( | const CellTuple< Vertex, Edge, Face > & | tup | ) | [inline] |
The assignmnet operator.
Definition at line 46 of file celltuple.h.
References CellTuple< Vertex, Edge, Face >::e, CellTuple< Vertex, Edge, Face >::f, and CellTuple< Vertex, Edge, Face >::v.
bool CellTuple< Vertex, Edge, Face >::operator== | ( | const CellTuple< Vertex, Edge, Face > & | other | ) | const [inline] |
Do we represent the same tuple.
Definition at line 54 of file celltuple.h.
References CellTuple< Vertex, Edge, Face >::e, CellTuple< Vertex, Edge, Face >::f, and CellTuple< Vertex, Edge, Face >::v.
Referenced by CellTuple< Vertex, Edge, Face >::operator!=().
bool CellTuple< Vertex, Edge, Face >::operator!= | ( | const CellTuple< Vertex, Edge, Face > & | other | ) | const [inline] |
Definition at line 59 of file celltuple.h.
References CellTuple< Vertex, Edge, Face >::operator==().
Here is the call graph for this function:
void CellTuple< Vertex, Edge, Face >::print | ( | ) | [inline] |
Print info.
Definition at line 64 of file celltuple.h.
References CellTuple< Vertex, Edge, Face >::e, CellTuple< Vertex, Edge, Face >::f, and CellTuple< Vertex, Edge, Face >::v.
void CellTuple< Vertex, Edge, Face >::print_detail | ( | ) | [inline] |
Print each Cell individually.
Definition at line 69 of file celltuple.h.
References CellTuple< Vertex, Edge, Face >::e, CellTuple< Vertex, Edge, Face >::f, and CellTuple< Vertex, Edge, Face >::v.
A pointer to the Vertex.
Definition at line 22 of file celltuple.h.
Referenced by BezierMesh::check_consistency(), BezierMesh::clean_insert_point(), Visualization::draw_tuple(), ConformalMesher::excavate_holes(), BezierMesh::insert_edge_midpoint(), BezierMesh::insert_point(), BezierMesh::locate_point_in_linear_mesh(), BezierMesh::locate_point_in_quadratic_triangle(), CellTuple< Vertex, Edge, Face >::operator=(), CellTuple< Vertex, Edge, Face >::operator==(), CellTuple< Vertex, Edge, Face >::print(), CellTuple< Vertex, Edge, Face >::print_detail(), BezierMesh::protect_boundarys(), BezierMesh::remove_vertex(), ConformalMesher::segment_appears(), EPSWrite::shade_triangle(), and BezierMesh::should_flip().
A pointer to the Edge.
Definition at line 23 of file celltuple.h.
Referenced by BezierMesh::check_consistency(), BezierMesh::clean_insert_point(), Visualization::draw_tuple(), ConformalMesher::excavate_holes(), BezierMesh::insert_edge_midpoint(), BezierMesh::insert_point(), BezierMesh::locate_point_in_linear_mesh(), BezierMesh::locate_point_in_quadratic_triangle(), CellTuple< Vertex, Edge, Face >::operator=(), CellTuple< Vertex, Edge, Face >::operator==(), CellTuple< Vertex, Edge, Face >::print(), CellTuple< Vertex, Edge, Face >::print_detail(), BezierMesh::protect_boundarys(), BezierMesh::remove_vertex(), BezierMesh::replace_control_point(), ConformalMesher::segment_appears(), EPSWrite::shade_triangle(), and Visualization::visual_locate().
A pointer to the Face.
Definition at line 24 of file celltuple.h.
Referenced by BezierMesh::check_consistency(), BezierMesh::clean_insert_point(), Visualization::draw_tuple(), BezierMesh::insert_edge_midpoint(), BezierMesh::locate_point(), BezierMesh::locate_point_in_linear_mesh(), BezierMesh::locate_point_in_quadratic_triangle(), CellTuple< Vertex, Edge, Face >::operator=(), CellTuple< Vertex, Edge, Face >::operator==(), CellTuple< Vertex, Edge, Face >::print(), CellTuple< Vertex, Edge, Face >::print_detail(), BezierMesh::remove_vertex(), BezierMesh::replace_control_point(), and Visualization::visual_locate().