/*
* 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;
import com.vividsolutions.jts.geom.CoordinateSequence;
/**
* <p>This interface maps LinearRing element.</p>
*
* <pre>
* <element name="LinearRing" type="kml:LinearRingType" substitutionGroup="kml:AbstractGeometryGroup"/>
*
* <complexType name="LinearRingType" final="#all">
* <complexContent>
* <extension base="kml:AbstractGeometryType">
* <sequence>
* <element ref="kml:extrude" minOccurs="0"/>
* <element ref="kml:tessellate" minOccurs="0"/>
* <element ref="kml:altitudeModeGroup" minOccurs="0"/>
* <element ref="kml:coordinates" minOccurs="0"/>
* <element ref="kml:LinearRingSimpleExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
* <element ref="kml:LinearRingObjectExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
* <element name="LinearRingSimpleExtensionGroup" abstract="true" type="anySimpleType"/>
* <element name="LinearRingObjectExtensionGroup" abstract="true" substitutionGroup="kml:AbstractObjectGroup"/>
* </pre>
*
* @author Samuel Andrés
* @module
*/
public interface LinearRing extends AbstractGeometry {
/**
*
* @return
*/
CoordinateSequence getCoordinateSequence();
/**
*
* @return
*/
boolean getExtrude();
/**
*
* @return
*/
boolean getTessellate();
/**
*
* @return
*/
AltitudeMode getAltitudeMode();
/**
*
* @param extrude
*/
void setExtrude(boolean extrude);
/**
*
* @param tesselate
*/
void setTessellate(boolean tesselate);
/**
*
* @param altitudeMode
*/
void setAltitudeMode(AltitudeMode altitudeMode);
}