pub fn solid_from_mesh(
model: &mut Model,
mesh: &Triangulation,
options: &MeshSolidOptions,
tol: Tolerances,
) -> OgeomResult<MeshSolid>Expand description
Build a B-rep from a triangle mesh.
See the module documentation for the construction. A closed piece inside another becomes a void of the solid around it.
ยงErrors
OgeomError::Construction if the
mesh has no triangle with area, an index names a vertex that is not
there, or an option is not finite and positive.