org.deegree.model.spatialschema
Interface Curve
- All Superinterfaces:
- GenericCurve, Geometry, OrientableCurve, OrientablePrimitive, Primitive, java.io.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 $
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 |
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org