|
SimpleFastOpenAtomicVisualiser
|
#include <triangle.h>

Go to the source code of this file.
Functions | |
| template<class T > | |
| void | centreMesh (std::vector< Trixel< T > > &mesh) |
| Centre a triangulation at (0,0,0). | |
Variables | |
| template<class T > | |
| const T | phi = (1.0+2.23606797749979)*0.5 |
| Golden ratio. | |
| template<class T > | |
| const std::vector< vec3< T > > | DODECAHEDRON_VERTICES |
| A centred Dodecahedron's vertices. | |
| template<class T > | |
| const std::vector< Trixel< T > > | DODECAHEDRON |
| A centred Dodecahedron's triangulation. | |
| template<class T > | |
| const T | ICOSAHEDRON_X = 0.525731112119133606 |
| Golden ratio scaled for a unit icosahedron. | |
| template<class T > | |
| const T | ICOSAHEDRON_Z = 0.850650808352039932 |
| 1 scaled for a unit icosahedron. | |
| template<class T > | |
| const std::vector< vec3< T > > | ICOSAHEDRON_VERTICES |
| A centred Icosahedron's vertices. | |
| template<class T > | |
| const std::vector< Trixel< T > > | ICOSAHEDRON |
| A centred Icosahedrons's triangulation. | |
| template<class T > | |
| const std::vector< vec3< T > > | OCTAHEDRON_VERTICES |
| A centred Octahedron's vertices. | |
| template<class T > | |
| const std::vector< Trixel< T > > | OCTAHEDRON |
| A centred Octahedron's triangulation. | |
| template<class T > | |
| const T | INV_SQRT3 = 1.0/1.7320508075688772 |
| template<class T > | |
| const std::vector< vec3< T > > | TETRAHEDRON_VERTICES |
| A centred Tetrahedron's vertices. | |
| template<class T > | |
| const std::vector< Trixel< T > > | TETRAHEDRON |
| A centred Tetrahedron's triangulation. | |
| template<class T > | |
| const T | INV_SQRT2 = 1.0/1.4142135623730951 |
| template<class T > | |
| const std::vector< vec3< T > > | CUBE_VERTICES |
| A centred Cube's vertices. | |
| template<class T > | |
| const std::vector< Trixel< T > > | CUBE |
| A centred Cube's triangulation. | |
| template<class T > | |
| const T | SQRT3 = 1.7320508075688772 |
| template<class T > | |
| const T | SQRT6 = 2.449489742783178 |
| template<class T > | |
| const T | C = 0.5021179759100816 |
| template<class T > | |
| const std::vector< vec3< T > > | TRIAUGMENTED_TRIANGULAR_PRISM_VERTICES |
| A centred Triagmented triangular prism's vertices. | |
| template<class T > | |
| const std::vector< Trixel< T > > | TRIAUGMENTED_TRIANGULAR_PRISM |
| A centred Triagmented triangular prism's triangulation. | |
Centre a triangulation at (0,0,0).
| T | numeric type. |
| mesh | the triangulation to centre. |
A centred Cube's triangulation.
| T | numeric type. |
A centred Cube's vertices.
| T | numeric type. |
A centred Dodecahedron's triangulation.
| T | numeric type. |
A centred Dodecahedron's vertices.
| T | numeric type. |
A centred Icosahedrons's triangulation.
| T | numeric type. |
A centred Icosahedron's vertices.
| T | numeric type. |
Golden ratio scaled for a unit icosahedron.
| T | numeric type. |
1 scaled for a unit icosahedron.
| T | numeric type. |
A centred Octahedron's triangulation.
| T | numeric type. |
A centred Octahedron's vertices.
| T | numeric type. |
Golden ratio.
| T | numeric type. |
A centred Tetrahedron's triangulation.
| T | numeric type. |
A centred Tetrahedron's vertices.
| T | numeric type. |
A centred Triagmented triangular prism's triangulation.
| T | numeric type. |
A centred Triagmented triangular prism's vertices.
| T | numeric type. |