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