public class IlpGeographicPolygon extends IlpGeographicPolyPoints
Example: The position of Washington is
new IlpGeographicPosition("39D11'N","76D51'W")
.
Glossary: latitude/longitude.
IlpGeographicPositionConverter
Constructor and Description |
---|
IlpGeographicPolygon(IlpGeographicPosition[] positions)
Creates a geographic position.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfPoints()
Returns the number of points in the polygon.
|
IlpGeographicPosition |
getPoint(int index)
Returns a specific point (0 <= index < getNumberOfPoints()).
|
IlpGeographicPosition[] |
getPoints()
Returns the array of points.
|
equals, getPosition, getPositions, hashCode, setPositions, toString
public IlpGeographicPolygon(IlpGeographicPosition[] positions)
public int getNumberOfPoints()
getNumberOfPoints
in class IlpGeographicPolyPoints
public IlpGeographicPosition getPoint(int index)
public IlpGeographicPosition[] getPoints()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.