#include </home/guntram/tmp/GrAL/gral/cartesian2d/include/Gral/Grids/Cartesian2D/stored-geometry.h>
Inherits GrAL::cartesian2d::dimension_dependend_extensions2d<stored_geometry_base<COORD>, stored_geometry<COORD>, point_traits<COORD>::dimension>.
Public Types | |
| typedef Segment< Edge, base > | segment_type |
| geometric representation of edges | |
| typedef Polygon2d< Face, base > | polygon_type |
| geometric representation of faces (cells) | |
Public Member Functions | |
| segment_type | segment (const Edge &e) const |
| get geometric representation for an edge | |
| polygon_type | polygon (const Face &f) const |
| get geometric representation for a face (cell) | |
| double | volume (const Edge &e) const |
| 1-dimensional volume of an edge | |
| double | length (const Edge &e) const |
| length of a (straight) edge | |
| double | volume (const Cell &c) const |
| 2-dimensional volume of a cell | |
| coord_type | center (const Edge &e) const |
| Midpoint of an edge. | |
| coord_type | center (const Cell &c) const |
| Center of inertia of a cell. | |
Constructors | |
| stored_geometry () | |
| Empty geometry. | |
| stored_geometry (const RegGrid2D &gg) | |
| Storage allocated, but coordinates not initialized. | |
This is a straight-line geometric embedding for the grid class RegGrid2D that simply stores the vertex coordinates. The type COORD of the coordinates is a template parameter.
If COORD lives in a 2-dimensional space, there is additionaly the functionality in dimension_dependend_extensions2d<BASE, GEOM, 2> available.
Definition at line 97 of file stored-geometry.h.
1.5.8