net.agmodel.metsoap
Class Location

java.lang.Object
  |
  +--net.agmodel.metsoap.Location2D
        |
        +--net.agmodel.metsoap.Location

public class Location
extends Location2D

Represents a point on the earth's surface using a latitude and longitude and altitude.
Conforms to the JavaBean pattern to ensure easy SOAP serialization.
Copyright (c)2002 National Agricultural Research Center


Constructor Summary
Location()
           
 
Method Summary
 double getAltitude()
          Gets the altitude of the point
 void setAltitude(double alt)
          Specifies the altitude of the point
 
Methods inherited from class net.agmodel.metsoap.Location2D
getLatitude, getLongitude, setLatitude, setLongitude
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Location

public Location()
Method Detail

getAltitude

public double getAltitude()
Gets the altitude of the point
Returns:
the altitude in metres

setAltitude

public void setAltitude(double alt)
Specifies the altitude of the point
Parameters:
alt - the altitude in metres