OGS
|
Coordinate systems.
Definition at line 39 of file CoordinateSystem.h.
#include <CoordinateSystem.h>
Public Member Functions | |
CoordinateSystem (unsigned char coord) | |
User provided coordinate system. | |
CoordinateSystem (const Element &ele) | |
Decides for a given element. | |
CoordinateSystem (const GeoLib::AABB &bbox) | |
Decides a coordinate system from a bounding box. | |
unsigned char | getType () const |
get this coordinate type | |
unsigned | getDimension () const |
get dimension size | |
bool | hasX () const |
has X dimension | |
bool | hasY () const |
has Y dimension | |
bool | hasZ () const |
has z dimension | |
Private Attributes | |
unsigned char | _type |
|
inlineexplicit |
User provided coordinate system.
Definition at line 43 of file CoordinateSystem.h.
|
explicit |
Decides for a given element.
Definition at line 49 of file CoordinateSystem.cpp.
References _type, getDimension(), MeshLib::Element::getDimension(), MeshLib::Element::getNodes(), MeshLib::Element::getNumberOfNodes(), getType(), MeshLib::CoordinateSystemType::X, MeshLib::CoordinateSystemType::Y, and MeshLib::CoordinateSystemType::Z.
|
explicit |
Decides a coordinate system from a bounding box.
Definition at line 75 of file CoordinateSystem.cpp.
|
inline |
get dimension size
Definition at line 55 of file CoordinateSystem.h.
References hasY(), and hasZ().
Referenced by CoordinateSystem().
|
inline |
get this coordinate type
Definition at line 52 of file CoordinateSystem.h.
References _type.
Referenced by CoordinateSystem().
|
inline |
has X dimension
Definition at line 70 of file CoordinateSystem.h.
References _type, and MeshLib::CoordinateSystemType::X.
|
inline |
has Y dimension
Definition at line 73 of file CoordinateSystem.h.
References _type, and MeshLib::CoordinateSystemType::Y.
Referenced by getDimension().
|
inline |
has z dimension
Definition at line 76 of file CoordinateSystem.h.
References _type, and MeshLib::CoordinateSystemType::Z.
Referenced by getDimension().
|
private |
Definition at line 79 of file CoordinateSystem.h.
Referenced by CoordinateSystem(), getType(), hasX(), hasY(), and hasZ().