|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.mp.PositionArea
PositionArea class. A PositionArea has a center point (longitude, latitude) that represents
the mobile target's location. It can optionally have a number representing
the accuracy of the positioning. Depending on the provider, it can mean the
confidence of the positioning or the probability of the actual position
falls in the given area. If the positioner locates a mobile device in
a non-point area, you can get a Geometry
or Shape
object
representing the area.
Constructor Summary |
PositionArea(double lon,
double lat,
double accuracy,
oracle.sdoapi.geom.Geometry geom)
Constructor. |
PositionArea(double lon,
double lat,
double accuracy,
oracle.sdoapi.geom.Geometry geom,
java.awt.Shape shape,
double hUncertainty,
double vUncertainty,
double altitude,
Velocity velocity)
Constructor. |
Method Summary |
Type | Method |
---|---|
static java.awt.Shape |
geom2Shape(oracle.sdoapi.geom.Geometry geom)
Convinience function to convert a Oracle SDO Geometry object to a Shape object. |
double |
getAccuracy()
Get the accuracy of the positioning. |
double |
getAltitude()
Get the Altitude of the mobile object. |
double |
getCenterPointLatitude()
Get the position point latitude. |
double |
getCenterPointLongitude()
Get the position point longitude. |
oracle.sdoapi.geom.Geometry |
getGeometry()
Get the geometry of the PositionArea. |
double |
getHUncertainty()
Get the Horizontal uncertainty of the position. |
java.awt.Shape |
getShape()
Get the shape of the PositionArea. |
Velocity |
getVelocity()
Get the Velocity of the mobile object. |
double |
getVUncertainty()
Get the Vertical uncertainty of the position. |
java.lang.String |
toString()
toString. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PositionArea(double lon, double lat, double accuracy, oracle.sdoapi.geom.Geometry geom)
lon
- Longitude of the mobile position.lat
- Latitude of the mobile position.accuracy
- An integer representing the accuracy of the positioning.geom
- An Oracle spatial
geometry representing the position area of a mobile
device. Use null if a positioning provider does not provide a geometry.public PositionArea(double lon, double lat, double accuracy, oracle.sdoapi.geom.Geometry geom, java.awt.Shape shape, double hUncertainty, double vUncertainty, double altitude, Velocity velocity)
lon
- Longitude of the mobile position.lat
- Latitude of the mobile position.accuracy
- An integer representing the accuracy of the positioning.geom
- An Oracle spatial
geometry representing the position area of a mobile
device. Use null if a positioning provider does not provide a geometry.shape.
- A Shape
object representing the position area of
a mobile device.hUncertainty
- Horizontal uncertainty of the position area.vUncertainty
- Vertical uncertainty of the position area.altitude
- Altitude of the position.velocity
- A Velocity
object representing the velocity of the
the mobile target.Method Detail |
public double getAccuracy()
MPProvider
information in the PositionResult
to decide the exact meaning of
this value.Double.NaN
is returned.public oracle.sdoapi.geom.Geometry getGeometry()
Geometry
.public double getCenterPointLongitude()
public double getCenterPointLatitude()
public java.awt.Shape getShape()
public double getHUncertainty()
Double.NAN
is returned.public double getVUncertainty()
Double.NAN
is returned.public Velocity getVelocity()
Veloctiy
A Velocity
object representing the velocity of the mobile object. If velocity is not
available from the positioning server then null is returned.public double getAltitude()
Double.NAN
is returned.public java.lang.String toString()
toString
in class java.lang.Object
public static java.awt.Shape geom2Shape(oracle.sdoapi.geom.Geometry geom)
geom
- An Oracle SDO Geometry object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |