ug4
|
only used to initialize a hexahedron. for all other tasks you should use VolumeDescriptor. More...
#include <grid_objects_3d.h>
Public Member Functions | |
HexahedronDescriptor () | |
HexahedronDescriptor (const HexahedronDescriptor &td) | |
HexahedronDescriptor (const VolumeVertices &vv) | |
HexahedronDescriptor (Vertex *v1, Vertex *v2, Vertex *v3, Vertex *v4, Vertex *v5, Vertex *v6, Vertex *v7, Vertex *v8) | |
uint | num_vertices () const |
Vertex * | vertex (size_t index) const |
Protected Attributes | |
Vertex * | m_vertex [8] |
only used to initialize a hexahedron. for all other tasks you should use VolumeDescriptor.
please be sure to pass the vertices in the correct order: v1, v2, v3, v4: bottom-vertices in counterclockwise order (if viewed from the top). v5, v6, v7, v8: top-vertices in counterclockwise order (if viewed from the top).
|
inline |
ug::HexahedronDescriptor::HexahedronDescriptor | ( | const HexahedronDescriptor & | td | ) |
ug::HexahedronDescriptor::HexahedronDescriptor | ( | const VolumeVertices & | vv | ) |
References m_vertex, ug::VolumeVertices::num_vertices(), and ug::VolumeVertices::vertex().
ug::HexahedronDescriptor::HexahedronDescriptor | ( | Vertex * | v1, |
Vertex * | v2, | ||
Vertex * | v3, | ||
Vertex * | v4, | ||
Vertex * | v5, | ||
Vertex * | v6, | ||
Vertex * | v7, | ||
Vertex * | v8 | ||
) |
References m_vertex.
|
inline |
|
inline |
Referenced by ug::Hexahedron::Hexahedron(), and HexahedronDescriptor().
|
protected |
Referenced by HexahedronDescriptor(), HexahedronDescriptor(), and HexahedronDescriptor().