Package-level declarations
Functions
Link copied to clipboard
Takes a Point and a MultiPolygon and determines if the point resides inside the polygon. The polygon can be convex or concave. The function accounts for holes.
Takes a Point and a Polygon and determines if the point resides inside the polygon. The polygon can be convex or concave. The function accounts for holes.
fun pointInPolygon(position: Position, polygon: MultiPolygon, ignoreBoundary: Boolean = false): Boolean
Takes a Position and a MultiPolygon and determines if the point resides inside the polygon. The polygon can be convex or concave. The function accounts for holes.
Link copied to clipboard
fun pointOnLine(point: Point, line: LineString, ignoreEndVertices: Boolean = false, epsilon: Double? = null): Boolean
Returns true if a point is on a line. Accepts a optional parameter to ignore the start and end vertices of the linestring.
fun pointOnLine(position: Position, line: LineString, ignoreEndVertices: Boolean = false, epsilon: Double? = null): Boolean
Returns true if a position is on a line. Accepts a optional parameter to ignore the start and end vertices of the linestring.
Link copied to clipboard