|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCoastlineShape
Represents one coastline shape.
Method Summary | |
void |
addPoint(LatLon p)
Add a point to the shape. |
float[] |
getLatitudes()
Get latitudes of the shape. |
float[] |
getLongitudes()
Get longitudes of the shape. |
boolean |
isInBoudingBox(float maxLat,
float maxLon,
float minLat,
float minLon)
Test if the shape is in given bounding box. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean isInBoudingBox(float maxLat, float maxLon, float minLat, float minLon)
maxLat
- maximum of latitude of bounding boxmaxLon
- maximum of longitude of bounding boxminLat
- minimum of latitude of bounding boxminLon
- minimum of longitude of bounding box
public float[] getLatitudes()
public float[] getLongitudes()
public void addPoint(LatLon p)
p
- one point on the shape.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |