Skip to main content

fill_hole

Function fill_hole 

Source
pub fn fill_hole(
    mesh: &mut HalfedgeMesh,
    boundary: HalfedgeId,
    options: &HoleFillOptions,
) -> Result<HoleFillReport, HoleFillError>
Expand description

Fill the hole bounded by boundary, a boundary halfedge of mesh.

See the module documentation for the method. The result is deterministic: the same mesh and halfedge give the same patch, ids included.

ยงErrors

HoleFillError; the mesh is unchanged on every error.