![]() |
OGS
|
Coordinate systems.
Definition at line 38 of file CoordinateSystem.h.
#include <CoordinateSystem.h>
Public Member Functions | |
CoordinateSystem (unsigned char coord) | |
User provided coordinate system. More... | |
CoordinateSystem (const Element &ele) | |
Decides for a given element. More... | |
CoordinateSystem (const GeoLib::AABB &bbox) | |
Decides a coordinate system from a bounding box. More... | |
unsigned char | getType () const |
get this coordinate type More... | |
unsigned | getDimension () const |
get dimension size More... | |
bool | hasX () const |
has X dimension More... | |
bool | hasY () const |
has Y dimension More... | |
bool | hasZ () const |
has z dimension More... | |
Private Member Functions | |
unsigned char | getCoordinateSystem (const GeoLib::AABB &bbox) const |
Private Attributes | |
unsigned char | _type |
|
inlineexplicit |
|
explicit |
Decides for a given element.
Definition at line 17 of file CoordinateSystem.cpp.
References _type, getCoordinateSystem(), getDimension(), MeshLib::Element::getDimension(), MeshLib::Element::getNodes(), MeshLib::Element::getNumberOfNodes(), getType(), MeshLib::CoordinateSystemType::X, MeshLib::CoordinateSystemType::Y, and MeshLib::CoordinateSystemType::Z.
|
inlineexplicit |
Decides a coordinate system from a bounding box.
Definition at line 48 of file CoordinateSystem.h.
|
private |
Definition at line 43 of file CoordinateSystem.cpp.
References GeoLib::AABB::getMaxPoint(), GeoLib::AABB::getMinPoint(), MeshLib::CoordinateSystemType::X, MeshLib::CoordinateSystemType::Y, and MeshLib::CoordinateSystemType::Z.
Referenced by CoordinateSystem().
|
inline |
get dimension size
Definition at line 57 of file CoordinateSystem.h.
References hasY(), and hasZ().
Referenced by CoordinateSystem().
|
inline |
get this coordinate type
Definition at line 54 of file CoordinateSystem.h.
References _type.
Referenced by CoordinateSystem().
|
inline |
|
inline |
has Y dimension
Definition at line 75 of file CoordinateSystem.h.
References _type.
Referenced by getDimension().
|
inline |
has z dimension
Definition at line 78 of file CoordinateSystem.h.
References _type.
Referenced by getDimension().
|
private |
Definition at line 83 of file CoordinateSystem.h.
Referenced by CoordinateSystem(), getType(), hasX(), hasY(), and hasZ().