/*
* 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 LineString element.</p>
*
* <pre>
* <element name="LineString" type="kml:LineStringType" substitutionGroup="kml:AbstractGeometryGroup"/>
*
* <complexType name="LineStringType" 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:LineStringSimpleExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
* <element ref="kml:LineStringObjectExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
* <element name="LineStringSimpleExtensionGroup" abstract="true" type="anySimpleType"/>
* <element name="LineStringObjectExtensionGroup" abstract="true" substitutionGroup="kml:AbstractObjectGroup"/>
* </pre>
*
* @author Samuel Andrés
* @module
*/
public interface LineString extends AbstractGeometry {
/**
*
* @return
*/
CoordinateSequence getCoordinateSequence();
/**
*
* @return the exetrude value.
*/
boolean getExtrude();
/**
*
* @return the tessalate value.
*/
boolean getTessellate();
/**
*
* @return the altitude mode.
*/
AltitudeMode getAltitudeMode();
/**
*
* @param extrude
*/
void setExtrude(boolean extrude);
/**
*
* @param tesselate
*/
void setTessellate(boolean tessellate);
/**
*
* @param altitudeMode
*/
void setAltitudeMode(AltitudeMode altitudeMode);
}