Commonplace kernel API
    Preparing search index...

    Function detectSubRegionDispatch

    • Experimental

      Returns dispatch info iff face's outer loop is identical to ONE inner loop on a single host face — i.e. face is the inscribed face of a host's hole. Returns null otherwise.

      Conservative checks (all must hold):

      1. face has at least 3 outer-loop half-edges — or 1–2 when every one is curved (ADR-026 4c-0: an imprinted monogon circle).
      2. face has no inner loops itself (recursive inscriptions are out of scope; the kernel helper also rejects them).
      3. Every outer-loop half-edge's twin has a non-null face, and all twins share the SAME face. That face is the host.
      4. The set of twin half-edges matches one of the host's inner loops EXACTLY (same count, same half-edge identities).

      The "same face for every twin" check rules out coplanar-pair cases that don't go through inner-loop topology (e.g. two side- by-side squares sharing one edge); those are NOT sub-regions and route through planOffset's solid/sketch branches instead.

      Parameters

      Returns SubRegionDispatch | null

      2026-Q2

      experimental — stable-by target: 2027-Q1