Skip to content
FutureBlitz

    Install

    Import std.math.polygon

    PointInPolygon

    std.math.polygon

    function

    Public Function PointInPolygon(point: Vec2, ring: Vec2[]): Bool

    Whether the point is in the ring or on its edge, by the nonzero rule.

    std/math/polygon.fb, line 133

    function

    Public Function PointInPolygon(point: Vec2, rings: Vec2[][]): Bool

    Whether the point is in the region or on one of its rings' edges, by the nonzero rule.

    std/math/polygon.fb, line 136

    Report an issue with this page or with FutureBlitz on GitHub.