deegree 2.5 (2011/06/29 09:44 build-8-official)

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 (Do, 18 Jun 2009) $

Author:
Andreas Poth

Method Summary
 LineString getAsLineString()
           
 Point getEndPoint()
           
 double getLength()
           
 Point getStartPoint()
           
 

Method Detail

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org