public abstract class IlpGeographicPolyPoints extends Object implements IlpPosition
IlpGeographicPosition
.
Subclasses are:
IlpGeographicPolyline
: where the starting
point and end point usually differ and;
IlpGeographicPolygon
: which describes
polygons.
Modifier | Constructor and Description |
---|---|
protected |
IlpGeographicPolyPoints()
Note that _numsegments can validly be 0.
|
Modifier and Type | Method and Description |
---|---|
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()
Returns a hash code value for the object.
|
protected void |
setPositions(IlpGeographicPosition[] pos)
Sets the array of points.
|
String |
toString()
Converts the object into a human-readable format.
|
protected IlpGeographicPolyPoints()
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.public int hashCode()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.