|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.geo.GeoPoint.Impl
public static class GeoPoint.Impl
A standard implementation of GeoPoint.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.bbn.openmap.geo.GeoPoint |
---|
GeoPoint.Impl |
Field Summary | |
---|---|
protected java.lang.Object |
id
|
protected Geo |
point
|
Constructor Summary | |
---|---|
GeoPoint.Impl(double lat,
double lon)
Create a Impl from decimal degrees lat/lon coordinates. |
|
GeoPoint.Impl(double lat,
double lon,
boolean isDegrees)
Create a Impl from decimal degrees lat/lon coordinates. |
|
GeoPoint.Impl(Geo p)
|
Method Summary | |
---|---|
BoundingCircle |
getBoundingCircle()
compute a point and radius around the extent. |
java.lang.Object |
getID()
return an object that this extent represents. |
Geo |
getPoint()
return the current point as a Geo object |
java.lang.Object |
getPointId()
Deprecated. use getID() instead. |
void |
setID(java.lang.Object pid)
|
void |
setPointId(java.lang.Object pid)
Deprecated. use setID() instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Geo point
protected java.lang.Object id
Constructor Detail |
---|
public GeoPoint.Impl(Geo p)
public GeoPoint.Impl(double lat, double lon)
lat
- lon
- public GeoPoint.Impl(double lat, double lon, boolean isDegrees)
lat
- lon
- isDegrees
- flag to specify decimal degrees (true) or radians.Method Detail |
---|
public Geo getPoint()
GeoPoint
getPoint
in interface GeoPoint
public void setPointId(java.lang.Object pid)
public java.lang.Object getPointId()
public void setID(java.lang.Object pid)
public java.lang.Object getID()
GeoExtent
getID
in interface GeoExtent
public BoundingCircle getBoundingCircle()
GeoExtent
getBoundingCircle
in interface GeoExtent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |