pub fn simplify(
mesh: &Triangulation,
target: Target,
tol: Tolerances,
) -> OgeomResult<Simplified>Expand description
Decimate a mesh.
ยงErrors
OgeomError::Construction if the target is
not a positive count or a positive distance, a share is not in (0, 1], or
the mesh names a vertex it does not have;
OgeomError::Numeric with
Target::Verified if a vertex of a triangle is not finite;
OgeomError::Range if the mesh has more
than u32::MAX triangles.