public final class GeoLinearRing extends Object
GeoPolygon.| Constructor and Description |
|---|
GeoLinearRing(List<GeoPosition> coordinates)
Constructs a new linear ring with the passed coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<GeoPosition> |
getCoordinates()
Unmodifiable representation of the
geometric positions representing this linear ring. |
int |
hashCode() |
public GeoLinearRing(List<GeoPosition> coordinates)
coordinates - The coordinates of the linear ring.NullPointerException - If coordinates is null.IllegalArgumentException - If coordinates has less than 4 elements or the first and last elements
aren't equivalent.public List<GeoPosition> getCoordinates()
geometric positions representing this linear ring.geometric positions representing this linear
ring.Copyright © 2021 Microsoft Corporation. All rights reserved.