#include <nprism.h>
Public Member Functions | |
NPrismSpec () | |
Creates a new uninitialised prism specifier. | |
NPrismSpec (unsigned long newTetIndex, int newEdge) | |
Creates a new prism specifier containing the given values. | |
NPrismSpec (const NPrismSpec &cloneMe) | |
Creates a new prism specifier that is a clone of the given specifier. | |
NPrismSpec & | operator= (const NPrismSpec &cloneMe) |
Copies the values from the given prism specifier into this specifier. | |
bool | operator== (const NPrismSpec &other) const |
Determines if this and the given prism specifier contain identical information. | |
Public Attributes | |
unsigned long | tetIndex |
The index in the triangulation of the tetrahedron containing the prism. | |
int | edge |
The edge of the tetrahedron that is contained in this prism. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const NPrismSpec &spec) |
Writes the given prism specifier to the given output stream. |
If a tetrahedron contains normal quads, slicing along these quads splits the tetrahedron into two triangular prisms (and possibly some additional product regions). Each triangular prism contains two of the vertices and one of the edges of the original tetrahedron.
|
Creates a new uninitialised prism specifier.
|
|
Creates a new prism specifier containing the given values.
|
|
Creates a new prism specifier that is a clone of the given specifier.
|
|
Copies the values from the given prism specifier into this specifier.
|
|
Determines if this and the given prism specifier contain identical information.
|
|
Writes the given prism specifier to the given output stream.
The prism specifier will be written as a pair
|
|
The edge of the tetrahedron that is contained in this prism.
|
|
The index in the triangulation of the tetrahedron containing the prism.
|