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

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:$, $Date:$
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
 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

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

]]>