deegree 2.5 (2011/06/29 09:44 build-8-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

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

Method Summary
 boolean contains(Geometry gmo)
          The Boolean valued operation "contains" shall return TRUE if this Geometry contains another Geometry.
 CoordinateSystem getCoordinateSystem()
           
 int getNumberOfPoints()
           
 Position getPositionAt(int index)
           
 Position[] getPositions()
           
 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)
Parameters:
index - to get the curve
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.

Parameters:
gmo -
Returns:
true if this geometry intersects with given geometry.

contains

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

Parameters:
gmo -
Returns:
true if this geometry contains given geometry.

deegree 2.5 (2011/06/29 09:44 build-8-official)

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