public final class IntersectionUtilities
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static double |
findIntersectionPercentage(org.openstreetmap.atlas.geography.Polygon polygon,
org.openstreetmap.atlas.geography.Polygon otherPolygon)
Find the percentage of overlap for given
Polygons. |
public static double findIntersectionPercentage(org.openstreetmap.atlas.geography.Polygon polygon,
org.openstreetmap.atlas.geography.Polygon otherPolygon)
Polygons.polygon - Polygon to check for intersectionotherPolygon - Another Polygon to check against for intersection