Project OpenGeode
class TetrahedralSolid
Inherits from SolidMesh<3U>Inherits from SolidMesh<3U>class TetrahedralSolid
Inherits from SolidMesh<dimension>Inherits from SolidMesh<dimension>Functions
create
public std::unique_ptr<TetrahedralSolid<dimension> > create()public std::unique_ptr<TetrahedralSolid<dimension> > create()Create a new TetrahedralSolid using default data structure.
create
public std::unique_ptr<TetrahedralSolid<dimension> > create(const MeshImpl & impl)public std::unique_ptr<TetrahedralSolid<dimension> > create(const MeshImpl & impl)Create a new TetrahedralSolid using a specified data structure.
impl [in] Data structure implementation
type_name_static
public NamedType type_name_static()public NamedType type_name_static()clone
public std::unique_ptr<TetrahedralSolid<dimension> > clone()public std::unique_ptr<TetrahedralSolid<dimension> > clone()polyhedron_edges_vertices
public PolyhedronEdgesVertices polyhedron_edges_vertices(index_t polyhedron)public PolyhedronEdgesVertices polyhedron_edges_vertices(index_t polyhedron)polyhedron_edges
public std::array<PolyhedronFacetEdge, 6> polyhedron_edges(index_t polyhedron)public std::array<PolyhedronFacetEdge, 6> polyhedron_edges(index_t polyhedron)polyhedron_facets_vertices
public PolyhedronFacetsVertices polyhedron_facets_vertices(index_t polyhedron)public PolyhedronFacetsVertices polyhedron_facets_vertices(index_t polyhedron)vertices_around_vertex
public typename SolidMesh<dimension>::VerticesAroundVertex vertices_around_vertex(index_t vertex_id)public typename SolidMesh<dimension>::VerticesAroundVertex vertices_around_vertex(index_t vertex_id)polyhedra_around_edge
public PolyhedraAroundEdge polyhedra_around_edge(const std::array<index_t, 2> & vertices)public PolyhedraAroundEdge polyhedra_around_edge(const std::array<index_t, 2> & vertices)polyhedra_around_edge
public PolyhedraAroundEdge polyhedra_around_edge(const std::array<index_t, 2> & vertices, index_t first_polyhedron)public PolyhedraAroundEdge polyhedra_around_edge(const std::array<index_t, 2> & vertices, index_t first_polyhedron)polyhedra_around_edge
public PolyhedraAroundEdge polyhedra_around_edge(const PolyhedronFacetEdge & edge)public PolyhedraAroundEdge polyhedra_around_edge(const PolyhedronFacetEdge & edge)polyhedron_adjacent_facet
public std::optional<PolyhedronFacet> polyhedron_adjacent_facet(const PolyhedronFacet & polyhedron_facet)public std::optional<PolyhedronFacet> polyhedron_adjacent_facet(const PolyhedronFacet & polyhedron_facet)opposite_edge_vertices
public array opposite_edge_vertices(index_t tetrahedron_id, const std::array<index_t, 2> & edge_vertices)public array opposite_edge_vertices(index_t tetrahedron_id, const std::array<index_t, 2> & edge_vertices)edge_incident_facets
public std::array<PolyhedronFacet, 2> edge_incident_facets(index_t tetrahedron_id, const std::array<index_t, 2> & edge_vertices)public std::array<PolyhedronFacet, 2> edge_incident_facets(index_t tetrahedron_id, const std::array<index_t, 2> & edge_vertices)Return the local indices of the two facets incident to the edge in tetrahedron.
tetrahedron_id [in] Index of tetrahedron.
edge_vertices [in] Indices of the two vertices of an edge.
warning throw an exception if edge_vertices are not tetrahedron vertices.
opposite_edge_incident_facets
public std::array<PolyhedronFacet, 2> opposite_edge_incident_facets(index_t tetrahedron_id, const std::array<index_t, 2> & edge_vertices)public std::array<PolyhedronFacet, 2> opposite_edge_incident_facets(index_t tetrahedron_id, const std::array<index_t, 2> & edge_vertices)Return the local indices of the two facets incident to the opposite edge in tetrahedron.
tetrahedron_id [in] Index of tetrahedron.
edge_vertices [in] Indices of the two vertices of an edge.
warning throw an exception if edge_vertices are not tetrahedron vertices.
tetrahedron
public Tetrahedron tetrahedron(index_t tetrahedron_id)public Tetrahedron tetrahedron(index_t tetrahedron_id)Return a geometrical Tetra from an element of the mesh.
triangle
public Triangle<dimension> triangle(const PolyhedronFacet & facet)public Triangle<dimension> triangle(const PolyhedronFacet & facet)Return a geometrical Triangle from a tetrahedron facet of the mesh.
TetrahedralSolid
protected void TetrahedralSolid<>()protected void TetrahedralSolid<>()TetrahedralSolid
protected void TetrahedralSolid<>(TetrahedralSolid<> && other)protected void TetrahedralSolid<>(TetrahedralSolid<> && other)operator=
protected TetrahedralSolid<> & operator=(TetrahedralSolid<> && other)protected TetrahedralSolid<> & operator=(TetrahedralSolid<> && other)