deegree 2.2 (2008/12/22 11:33 build-3038-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: 9343 $ $Date: 2007-12-27 14:30:32 +0100 (Do, 27 Dez 2007) $

Author:
Andreas Poth

Method Summary
 LineString getAsLineString()
          returns the curve as LineString
 Point getEndPoint()
          returns the last point of the curve
 double getLength()
          returns the length of the curve in units of the related spatial reference system
 Point getStartPoint()
          returns the first point of the curve
 

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.2 (2008/12/22 11:33 build-3038-official)

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