deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.spatialschema
Interface Curve

All Superinterfaces:
GenericCurve, Geometry, OrientableCurve, OrientablePrimitive, Primitive, Serializable
All Known Implementing Classes:
CurveImpl

public interface Curve
extends OrientableCurve, GenericCurve

The interface defines the access to curve geometries. Curves are made of one or more curve segments.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from interface org.deegree.model.spatialschema.Geometry
BUFFER_CAP_BUTT, BUFFER_CAP_ROUND, BUFFER_CAP_SQUARE
 
Method Summary
 CurveSegment getCurveSegmentAt(int index)
          returns the curve segment at the passed index
 CurveSegment[] getCurveSegments()
           
 int getNumberOfCurveSegments()
          returns the number of segments building the curve
 
Methods inherited from interface org.deegree.model.spatialschema.OrientableCurve
getCurveBoundary
 
Methods inherited from interface org.deegree.model.spatialschema.OrientablePrimitive
getOrientation, setOrientation
 
Methods inherited from interface org.deegree.model.spatialschema.Geometry
contains, contains, difference, distance, getBoundary, getBuffer, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, getTolerance, intersection, intersects, isEmpty, isWithinDistance, setTolerance, translate, union
 
Methods inherited from interface org.deegree.model.spatialschema.GenericCurve
getAsLineString, getEndPoint, getLength, getStartPoint
 

Method Detail

getNumberOfCurveSegments

int getNumberOfCurveSegments()
returns the number of segments building the curve

Returns:
number of segments

getCurveSegmentAt

CurveSegment getCurveSegmentAt(int index)
                               throws GeometryException
returns the curve segment at the passed index

Parameters:
index - to get
Returns:
segment at passed index position
Throws:
GeometryException

getCurveSegments

CurveSegment[] getCurveSegments()
                                throws GeometryException
Returns:
all segments of a Curve
Throws:
GeometryException

deegree 2.3 (2010/04/09 10:10 build-4-official)

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