Web Dynpro API Documentation

com.sap.tc.webdynpro.clientserver.uielib.graphics.api
Class WDGeoPosition

java.lang.Object
  |
  +--com.sap.tc.webdynpro.clientserver.uielib.graphics.api.WDGeoPosition

public final class WDGeoPosition
extends java.lang.Object

Geographic position in WGS84 format.


Constructor Summary
WDGeoPosition()
          Creates a new geoPosition at 0, 0, 0
WDGeoPosition(double longitude, double latitude)
          Creates a new geoPosition with the given longitude and latitude, altitude is set to zero.
WDGeoPosition(double longitude, double latitude, double altitude)
          Creates a new geoPosition with the given longitude, latitude and altitude
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the two positions have the same latitudes and longitudes.
 double getAltitude()
           
 double getLatitude()
           
 double getLongitude()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WDGeoPosition

public WDGeoPosition()
Creates a new geoPosition at 0, 0, 0

WDGeoPosition

public WDGeoPosition(double longitude,
                     double latitude)
Creates a new geoPosition with the given longitude and latitude, altitude is set to zero.

WDGeoPosition

public WDGeoPosition(double longitude,
                     double latitude,
                     double altitude)
Creates a new geoPosition with the given longitude, latitude and altitude
Method Detail

getLongitude

public double getLongitude()

getLatitude

public double getLatitude()

getAltitude

public double getAltitude()

equals

public boolean equals(java.lang.Object obj)
Returns true if the two positions have the same latitudes and longitudes.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15