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: 31641 $
Author:
Markus Schneider , last edited by: $Author: mschneider $

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)


Copyright © 2011. All Rights Reserved.