Skip to content

Project OpenGeode

class HybridSolidBuilder

cpp
Inherits from SolidMeshBuilder<dimension>
Inherits from SolidMeshBuilder<dimension>

Functions

create

cpp
public std::unique_ptr<HybridSolidBuilder<dimension> > create(HybridSolid<dimension> & mesh)
public std::unique_ptr<HybridSolidBuilder<dimension> > create(HybridSolid<dimension> & mesh)

create_tetrahedron

cpp
public index_t create_tetrahedron(const std::array<index_t, 4> & vertices)
public index_t create_tetrahedron(const std::array<index_t, 4> & vertices)

Create a new tetrahedron from four vertices.

vertices [in] The four vertices defining the tetrahedron to create

return the index of the created tetrahedron

create_hexahedron

cpp
public index_t create_hexahedron(const std::array<index_t, 8> & vertices)
public index_t create_hexahedron(const std::array<index_t, 8> & vertices)

Create a new hexahedron from four vertices.

vertices [in] The eight vertices defining the hexahedron to create

return the index of the created hexahedron

create_prism

cpp
public index_t create_prism(const std::array<index_t, 6> & vertices)
public index_t create_prism(const std::array<index_t, 6> & vertices)

Create a new prism from four vertices.

vertices [in] The six vertices defining the prism to create

return the index of the created prism

create_pyramid

cpp
public index_t create_pyramid(const std::array<index_t, 5> & vertices)
public index_t create_pyramid(const std::array<index_t, 5> & vertices)

Create a new pyramid from four vertices.

vertices [in] The five vertices defining the pyramid to create

return the index of the created pyramid

copy

cpp
public void copy(const HybridSolid<dimension> & hybrid_solid)
public void copy(const HybridSolid<dimension> & hybrid_solid)

HybridSolidBuilder

cpp
protected void HybridSolidBuilder<dimension>(HybridSolid<dimension> & mesh)
protected void HybridSolidBuilder<dimension>(HybridSolid<dimension> & mesh)

class HybridSolidBuilder

cpp
Inherits from SolidMeshBuilder<3U>
Inherits from SolidMeshBuilder<3U>

Geode-solutions' documentation website