#include <triang2d.h>
Inheritance diagram for Triang2D:
Public Methods | |
Triang2D () | |
Triang2D (int *c, int nc) | |
Triang2D (int *c, int nc, int nv) | |
Triang2D (Triang2D const &rhs) | |
Triang2D & | operator= (Triang2D const &rhs) |
~Triang2D () | |
void | DoCopy () |
void | Steal (int *c, int nc, int nv) |
int | NumOfCells () const |
int | NumOfVertices () const |
VertexIterator | FirstVertex () const |
EdgeIterator | FirstEdge () const |
FacetIterator | FirstFacet () const |
CellIterator | FirstCell () const |
Friends | |
class | Triang2D_VertexOnCellIterator |
class | Triang2D_FacetOnCellIterator |
class | Triang2D_Cell |
class | Triang2D_Vertex |
This class may act as a wrapper with reference-semantics for a plain array containing the cell-vertex connectivity. Value semantics may be enforced by a call to the member function DoCopy().
A copy by assignment or copy-ctor will always entail value-semantics on the copied-to side, i.e. make a full copy.
As this class also serves as a tutorial on how to adapt existing data structures to GrAL, the technical level was kept low, i.e. there are no complicated constructions for building element and iterators types out of generic components.
Definition at line 47 of file triang2d.h.
|
Definition at line 54 of file triang2d.h. |
|
Definition at line 56 of file triang2d.h. |
|
Definition at line 59 of file triang2d.h. |
|
Definition at line 7 of file triang2d.C. |
|
Definition at line 27 of file triang2d.C. |
|
Definition at line 15 of file triang2d.C. |
|
make a physical copy, if only referencing the grid, thus gaining ownership of cells. Definition at line 70 of file triang2d.C. |
|
set this to the connectivity given by c. Assume ownership of c *without* doing a copy. Definition at line 72 of file triang2d.C. Referenced by copy_cells. |
|
Definition at line 86 of file triang2d.h. Referenced by copy_cells. |
|
Definition at line 87 of file triang2d.h. |
|
Definition at line 331 of file triang2d.h. References grid_types_base_Triang2D::VertexIterator. |
|
Definition at line 335 of file triang2d.h. References grid_types_base_Triang2D::EdgeIterator. |
|
Definition at line 339 of file triang2d.h. References grid_types_base_Triang2D::FacetIterator. |
|
Definition at line 345 of file triang2d.h. References grid_types_base_Triang2D::CellIterator. |
|
Definition at line 81 of file triang2d.h. |
|
Definition at line 82 of file triang2d.h. |
|
Definition at line 83 of file triang2d.h. |
|
Definition at line 84 of file triang2d.h. |