Skip to main content

reanchor_periodic_rings

Function reanchor_periodic_rings 

Source
pub fn reanchor_periodic_rings(
    model: &mut Model,
    shape: &Shape,
    tol: Tolerances,
) -> OgeomResult<(Built, usize)>
Expand description

Re-anchor misaligned ring vertices so every periodic face can carry a seam.

Faces already whole pass through untouched; a shape with nothing to heal comes back as itself with an empty history.

§Errors

OgeomError::Construction if the shape is not a solid, or a broken face’s structure resists the repair, in which case nothing is modified.