org.deegree.model.spatialschema
Interface GenericCurve
- All Known Subinterfaces: 
 - Curve, CurveSegment, LineString
 
- All Known Implementing Classes: 
 - CurveImpl, CurveSegmentImpl, LineStringImpl
 
public interface GenericCurve
The interface defines the bais of curves and curve segments.
 
 -----------------------------------------------------
 
- Version:
 
  - $Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Thu, 18 Jun 2009) $
          
 
- Author:
 
  - Andreas Poth
 
 
getLength
double getLength()
- Returns:
 - the length of the curve in units of the related spatial reference system
 
 
getStartPoint
Point getStartPoint()
- Returns:
 - the first point of the curve
 
 
getEndPoint
Point getEndPoint()
- Returns:
 - the last point of the curve
 
 
getAsLineString
LineString getAsLineString()
                           throws GeometryException
- Returns:
 - the curve as LineString
 - Throws:
 GeometryException
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org