deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.geometry.primitive.segments
Interface OffsetCurve

All Superinterfaces:
CurveSegment
All Known Implementing Classes:
DefaultOffsetCurve

public interface OffsetCurve
extends CurveSegment

A CurveSegment that is defined by a base Curve and an offset vector.

Version:
$Revision$
Author:
Markus Schneider , last edited by: $Author$

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment
CurveSegment.CurveSegmentType
 
Method Summary
 Curve getBaseCurve()
          Returns the Curve that the curve segment's definition is based on.
 Point getDirection()
          Returns the direction of the offset from the base Curve.
 Measure getDistance(Unit uom)
          Returns the distance from the base Curve.
 
Methods inherited from interface org.deegree.geometry.primitive.segments.CurveSegment
getCoordinateDimension, getEndPoint, getSegmentType, getStartPoint
 

Method Detail

getBaseCurve

Curve getBaseCurve()
Returns the Curve that the curve segment's definition is based on.

Returns:
the Curve used as the base geometry

getDistance

Measure getDistance(Unit uom)
Returns the distance from the base Curve.

Parameters:
uom - units-of-measure that the distance shall be expressed as, or null for units of the underlying coordinate system
Returns:
the distance in the the requested uom

getDirection

Point getDirection()
Returns the direction of the offset from the base Curve.

Returns:
the direction of the offset (to be understood as an offset vector)

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>