Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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