|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.network.IlpGeographicPolyPoints
ilog.cpl.network.IlpGeographicPolygon
public class IlpGeographicPolygon
This class describes a polygon on the earth's surface, given a set of longitude and latitude.
Example: The position of Washington is
new IlpGeographicPosition("39D11'N","76D51'W").
Glossary: latitude/longitude.
IlpGeographicPositionConverter| Constructor Summary | |
|---|---|
IlpGeographicPolygon(IlpGeographicPosition[] positions)
Creates a geographic position. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class ilog.cpl.network.IlpGeographicPolyPoints |
|---|
equals, getPosition, getPositions, hashCode, setPositions, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlpGeographicPolygon(IlpGeographicPosition[] positions)
| Method Detail |
|---|
public int getNumberOfPoints()
getNumberOfPoints in class IlpGeographicPolyPointspublic IlpGeographicPosition getPoint(int index)
public IlpGeographicPosition[] getPoints()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||