#[non_exhaustive]pub enum PinchPolicy {
Refuse,
Accept,
}Expand description
How a triangulation treats rings that touch at a single point (#262): a hole touching the outer ring or another hole at a vertex, an outer ring pinched at a vertex, or a vertex lying on another ring’s edge.
The region such rings bound is valid, but the surface an extrusion builds over it is not a two-manifold: the walls of the two rings meet along one edge, which four faces then share. So solids refuse it and regions and surface patches accept it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Refuse
Refuse touching rings with InvalidInput naming them. For anything
that must close into a two-manifold: extrusion and loft caps.
Accept
Triangulate the region the touching rings bound. For 2D regions and planar surface patches: a plan footprint that is a union of shadows touching at a corner, a space-boundary surface, a planar face of a B-rep (whose edges are the ring edges either way).