GeoPolylineOverlap
object GeoPolylineOverlap
Geometric overlap between two GeoPolylines.
Functions
Link copied to clipboard
fun calculateOverlapPercentage(polyline1: GeoPolyline, polyline2: GeoPolyline, thresholdInMeters: Int): Double?
Returns the percentage [0..100] of polyline1 that overlaps polyline2 within thresholdInMeters, or null if the overlap cannot be computed (either polyline has fewer than two points).