public final class PolygonCoordinates
extends java.lang.Object
Constructor and Description |
---|
PolygonCoordinates(java.util.List<Position> exterior,
java.util.List<Position>... holes)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<Position> |
getExterior()
Gets the exterior of the polygon.
|
java.util.List<java.util.List<Position>> |
getHoles()
Gets the holes in the polygon.
|
int |
hashCode() |
java.lang.String |
toString() |
public java.util.List<Position> getExterior()
public java.util.List<java.util.List<Position>> getHoles()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object