Function detect_planes

Source
pub fn detect_planes<M: TriangleMeshView + ?Sized>(
    mesh: &M,
    tolerance: PlaneTolerance,
) -> Result<Vec<DetectedPlane>, PlaneError>
Expand description

The mesh cut into planar regions, largest first; triangles of no area belong to none.

ยงErrors

PlaneError for non-finite input or tolerance.