Commonplace kernel API
    Preparing search index...

    Type Alias ContainmentResult

    ContainmentResult: "inside" | "outside" | "indeterminate"

    R2 — tri-state result of a point-in-face containment query.

    • 'inside' — the query point lies on the face's trimmed region (within the outer loop AND not inside any inner loop). Definitive.
    • 'outside' — the query point is definitively NOT on the face's trimmed region. Reasons include: off the face's plane / surface, outer-loop ray cast missed, or in an inner loop (hole).
    • 'indeterminate' — outer loop accepted the point, but at least one inner loop couldn't be checked due to degenerate projection (planar branch) or bilinear-inverse non-convergence (ruled branch). The point MIGHT be in a hole. The old boolean predicate silently defaulted to true in this case ("warn and continue"); callers that need a strict answer should treat 'indeterminate' as 'outside' (the conservative default for hole-routing).

    The public boolean wrapper pointInFaceTrimmed collapses 'indeterminate' to false. Callers that want to distinguish "definitely outside" from "couldn't tell" should use the tri-state variant pointInFaceTrimmedTriState.

    2026-Q2

    stable