Package iofXml.v3
Class GeoPosition
java.lang.Object
iofXml.v3.GeoPosition
Defines a geographical position, e.g. of a control.
Java class for GeoPosition complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="GeoPosition">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="lng" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="lat" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="alt" type="{http://www.w3.org/2001/XMLSchema}double" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlt()The altitude (elevation above sea level), in meters.doublegetLat()The latitude.doublegetLng()The longitude.voidSets the value of the alt property.voidsetLat(double value) Sets the value of the lat property.voidsetLng(double value) Sets the value of the lng property.
-
Field Details
-
lng
protected double lngThe longitude. -
lat
protected double latThe latitude. -
alt
The altitude (elevation above sea level), in meters.
-
-
Constructor Details
-
GeoPosition
public GeoPosition()
-
-
Method Details
-
getLng
public double getLng()The longitude. -
setLng
public void setLng(double value) Sets the value of the lng property. -
getLat
public double getLat()The latitude. -
setLat
public void setLat(double value) Sets the value of the lat property. -
getAlt
The altitude (elevation above sea level), in meters.- Returns:
- possible object is
Double
-
setAlt
Sets the value of the alt property.
-