regionContainsCoordinates

fun regionContainsCoordinates(lngLatAlt: LngLatAlt, regionCoordinates: ArrayList<LngLatAlt>): Boolean

Determine if a coordinate is contained within a polygon.

Return

If coordinate is in polygon.

Parameters

lngLatAlt

Coordinates to test as LngLatAlt.

regionCoordinates

An ArrayList of the points of the polygon to test.