23#ifndef VCL_ALGORITHMS_MESH_CREATE_TETRAHEDRON_H
24#define VCL_ALGORITHMS_MESH_CREATE_TETRAHEDRON_H
26#include <vclib/mesh.h>
47template<FaceMeshConcept MeshType>
50 using PositionType = MeshType::Vertex::PositionType;
52 PositionType(1, 1, 1),
53 PositionType(-1, 1, -1),
54 PositionType(-1, -1, 1),
55 PositionType(1, -1, -1));
78template<FaceMeshConcept MeshType, Po
int3Concept PositionType>
80 const PositionType& p0,
81 const PositionType& p1,
82 const PositionType&
p2,
83 const PositionType&
p3)
87 m.addVertices(p0, p1,
p2,
p3);
A class representing a box in N-dimensional space.
Definition box.h:46
MeshType createTetrahedron()
Creates a simple tetrahedron mesh with the following point positions:
Definition tetrahedron.h:48