Skip to main content

check_containment

Function check_containment 

Source
pub fn check_containment(
    bounding: Tolerance,
    bounded: Tolerance,
) -> OgeomResult<()>
Expand description

Check the containment rule tol(vertex) >= tol(edge) >= tol(face) for a boundary relationship.

docs/DATA_MODEL.md §5. A parent entity’s boundary must be at least as uncertain as the entity it bounds, or the boundary does not reliably lie on it.

§Errors

OgeomError::Invariant if bounding is tighter than bounded.