AutoMovie API
    Preparing search index...

    Function pointInPlanarRing

    • Whether a point lies inside a closed ring by the even-odd rule, casting a ray along +X.

      The answer is defined only for a point off the ring: both callers have already refused ring contact, so the point they probe never lies on an edge. The ring may be wound either way. Unlike the architecture graph's pointInPolygon, a boundary point is not classified as inside.

      Parameters

      Returns boolean

      True when the ray crosses the ring an odd number of times.