deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.spatialschema
Interface CurveSegment

All Superinterfaces:
GenericCurve
All Known Subinterfaces:
LineString
All Known Implementing Classes:
CurveSegmentImpl, LineStringImpl

public interface CurveSegment
extends GenericCurve

The interface defines the root of each unit building Curves

Author:
Andreas Poth, last edited by: $Author: apoth $

Method Summary
 boolean contains(Geometry gmo)
          The Boolean valued operation "contains" shall return TRUE if this Geometry contains another Geometry.
 CoordinateSystem getCoordinateSystem()
          returns the coordinate system of the curve segment
 int getNumberOfPoints()
          returns the number of points building the curve segment
 Position getPositionAt(int index)
          returns the curve position at the submitted index
 Position[] getPositions()
          returns all positions of the segement as array of Point
 boolean intersects(Geometry gmo)
          The Boolean valued operation "intersects" shall return TRUE if this Geometry intersects another Geometry.
 void reverse()
          reverses the direction of the curvesegment
 
Methods inherited from interface org.deegree.model.spatialschema.GenericCurve
getAsLineString, getEndPoint, getLength, getStartPoint
 

Method Detail

getNumberOfPoints

int getNumberOfPoints()
returns the number of points building the curve segment


getPositions

Position[] getPositions()
returns all positions of the segement as array of Point


getPositionAt

Position getPositionAt(int index)
returns the curve position at the submitted index


reverse

void reverse()
reverses the direction of the curvesegment


getCoordinateSystem

CoordinateSystem getCoordinateSystem()
returns the coordinate system of the curve segment


intersects

boolean intersects(Geometry gmo)
The Boolean valued operation "intersects" shall return TRUE if this Geometry intersects another Geometry. Within a Complex, the Primitives do not intersect one another. In general, topologically structured data uses shared geometric objects to capture intersection information.


contains

boolean contains(Geometry gmo)
The Boolean valued operation "contains" shall return TRUE if this Geometry contains another Geometry.


deegree 2.1 (2007/11/08 09:57 build-328-official)

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