Whether an XZ point lies on a world surface's footprint, its edge included.
The footprint is the surface's polygon, an implicitly closed ring in plan.
A point within 1e-9 m of any edge is on the surface, because the edge of a
floor is still floor; otherwise the even-odd ray-crossing rule decides. The
answer is exact for a simple ring and arbitrary for a self-crossing one, and
an empty ring contains nothing. Height is not consulted.
Whether an XZ point lies on a world surface's footprint, its edge included.
The footprint is the surface's
polygon, an implicitly closed ring in plan. A point within 1e-9 m of any edge is on the surface, because the edge of a floor is still floor; otherwise the even-odd ray-crossing rule decides. The answer is exact for a simple ring and arbitrary for a self-crossing one, and an empty ring contains nothing. Height is not consulted.