|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.network.IlpGeographicPolyPoints
public abstract class IlpGeographicPolyPoints
An instance of this class describes a sequence
IlpGeographicPosition.
Subclasses are:
IlpGeographicPolyline: where the starting
point and end point usually differ and;
IlpGeographicPolygon: which describes
polygons.
| Constructor Summary | |
|---|---|
protected |
IlpGeographicPolyPoints()
Note that _numsegments can validly be 0. |
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Compares this object with another object. |
abstract int |
getNumberOfPoints()
Returns the number of points in the polyline. |
IlpGeographicPosition |
getPosition(int index)
Returns a specific point (0 <= index < getNumberOfPoints()). |
IlpGeographicPosition[] |
getPositions()
Returns the array of points. |
int |
hashCode()
|
protected void |
setPositions(IlpGeographicPosition[] pos)
Sets the array of points. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected IlpGeographicPolyPoints()
| Method Detail |
|---|
public abstract int getNumberOfPoints()
public IlpGeographicPosition getPosition(int index)
public IlpGeographicPosition[] getPositions()
protected void setPositions(IlpGeographicPosition[] pos)
public boolean equals(Object other)
IlpGeographicPolyline instances are considered equal if
all their segments and endpoints (if any) are the same.
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||