Skip to main content

validate_manifold

Function validate_manifold 

Source
pub fn validate_manifold<S: Scalar>(
    params: &ValidationParameters<S>,
    model: &Model<S>,
) -> Result<(), Vec<GeopError>>
Expand description

validate plus two extra whole-model sanity checks that go beyond per-entity consistency: every edge is shared by exactly two coedges (a precondition the whole contains module’s ray-parity strategy relies on), and — the check that actually exercises that strategy — every shell classifies a batch of random points identically no matter which (non-degenerate) random ray direction was used to test them.