|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.geo.GeoArray.Adapter
An abstract parent implementation class of GeoArray that handles common methods.
Nested Class Summary |
Nested classes inherited from class com.bbn.openmap.geo.GeoArray |
GeoArray.Adapter, GeoArray.Double, GeoArray.Float, GeoArray.Mutable |
Constructor Summary | |
GeoArray.Adapter()
|
Method Summary | |
double |
area()
Computes the area of a polygon on the surface of a unit sphere. |
double[] |
toLLDegrees()
Convert the GeoArray to an array of decimal degree values, alternating lat, lon, lat, lon. |
double[] |
toLLRadians()
Convert the GeoArray to an array of radian values, alternating lat, lon, lat, lon. |
Geo[] |
toPointArray()
Convert the GeoArray to an array of Geos. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bbn.openmap.geo.GeoArray |
closeArray, equals, get, get, getSize, removeDups |
Constructor Detail |
public GeoArray.Adapter()
Method Detail |
public Geo[] toPointArray()
toPointArray
in interface GeoArray
public double[] toLLDegrees()
toLLDegrees
in interface GeoArray
public double[] toLLRadians()
toLLRadians
in interface GeoArray
public double area()
area
in interface GeoArray
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |