/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2010, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.data.kml.model;
/**
* <p>This interface maps Location element.</p>
*
* <pre>
* <element name="Location" type="kml:LocationType" substitutionGroup="kml:AbstractObjectGroup"/>
*
* <complexType name="LocationType" final="#all">
* <complexContent>
* <extension base="kml:AbstractObjectType">
* <sequence>
* <element ref="kml:longitude" minOccurs="0"/>
* <element ref="kml:latitude" minOccurs="0"/>
* <element ref="kml:altitude" minOccurs="0"/>
* <element ref="kml:LocationSimpleExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
* <element ref="kml:LocationObjectExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
* <element name="LocationSimpleExtensionGroup" abstract="true" type="anySimpleType"/>
* <element name="LocationObjectExtensionGroup" abstract="true" substitutionGroup="kml:AbstractObjectGroup"/>
* </pre>
*
* @author Samuel Andrés
* @module
*/
public interface Location extends AbstractObject {
/**
*
* @return
*/
double getLongitude();
/**
*
* @return
*/
double getLatitude();
/**
*
* @return
*/
double getAltitude();
/**
*
* @param longitude
*/
void setLongitude(double longitude);
/**
*
* @param latitude
*/
void setLatitude(double latitude);
/**
*
* @param altitude
*/
void setAltitude(double altitude);
}