org.deegree.geometry.primitive.segments
Interface ArcByCenterPoint

All Superinterfaces:
CurveSegment
All Known Subinterfaces:
CircleByCenterPoint
All Known Implementing Classes:
DefaultArcByCenterPoint, DefaultCircleByCenterPoint

public interface ArcByCenterPoint
extends CurveSegment

Circular CurveSegment that consists of a single arc only.

This variant of the arc requires that the points on the arc have to be computed instead of storing the coordinates directly. The control point is the center point of the arc plus the radius and the bearing at start and end. This representation can be used only in 2D.

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
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
 Angle getEndAngle()
          Returns the bearing of the arc at the end.
 Point getMidPoint()
          Returns the center point of the arc.
 Measure getRadius(Unit requestedUnits)
          Returns the radius of the arc.
 Angle getStartAngle()
          Returns the bearing of the arc at the start.
 
Methods inherited from interface org.deegree.geometry.primitive.segments.CurveSegment
getCoordinateDimension, getEndPoint, getSegmentType, getStartPoint
 

Method Detail

getMidPoint

Point getMidPoint()
Returns the center point of the arc.

Returns:
the center point of the arc

getRadius

Measure getRadius(Unit requestedUnits)
Returns the radius of the arc.

Parameters:
requestedUnits - units that the radius should be expressed as
Returns:
the radius of the arc

getStartAngle

Angle getStartAngle()
Returns the bearing of the arc at the start.

Returns:
the bearing of the arc at the start

getEndAngle

Angle getEndAngle()
Returns the bearing of the arc at the end.

Returns:
the bearing of the arc at the end


Copyright © 2011. All Rights Reserved.