Function geometric_audit

Source
pub fn geometric_audit(
    brep: &ExactBRep,
    tolerance: Tolerance,
) -> GeometricHealth
Expand description

Audit the geometric consistency of an exact B-rep.

Complements the topological audit: this one evaluates curves and surfaces and compares positions, so it needs a tolerance and can only report agreement to within it.

Checks performed:

  • every edge’s start and end vertex lies on the edge’s own 3D curve;
  • every pcurve, mapped through its face’s surface, lands on the 3D curve of the edge it trims.