Rodin::External::MMG::Mesh::Builder class

Class used to build MMG::Mesh instances.

Constructors, destructors, conversion operators

Builder() defaulted
Default constructor.
Builder(const Builder&) deleted
Deleted copy constructor.
Builder(Builder&& other)
Move constructor.

Public functions

auto operator=(Builder&& other) -> Builder&
Move assignment.
auto corner(Index vertexIdx) -> Builder&
Adds the vertex to the corner index.
auto ridge(Index edgeIdx) -> Builder&
Adds the edge to the ridge index.
auto finalize() -> Mesh
Finishes construction of the MMG::Mesh and returns it.