Package-level declarations

Boolean operations for spatial relationships (e.g., contains, point-in-polygon).

Functions

Link copied to clipboard

Takes a Position and one or more Polygon and determines if the position resides inside the polygons. The polygons can be convex or concave. The function accounts for holes. A position on the boundary is considered to be inside.

fun PolygonGeometry.contains(pos: Position, ignoreBoundary: Boolean): Boolean

Takes a Position and one or more Polygon and determines if the position resides inside the polygons. The polygons can be convex or concave. The function accounts for holes.