org.deegree.geometry.primitive.segments
Interface Circle

All Superinterfaces:
Arc, ArcString, CurveSegment
All Known Implementing Classes:
DefaultCircle

public interface Circle
extends Arc

An Arc whose ends coincide to form a simple closed loop.

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
 Point getMidPoint()
          Returns the mid-point of the circle.
 Measure getRadius(Unit requestedUnits)
          Returns the radius of the circle.
 
Methods inherited from interface org.deegree.geometry.primitive.segments.Arc
getPoint1, getPoint2, getPoint3
 
Methods inherited from interface org.deegree.geometry.primitive.segments.ArcString
getControlPoints, getNumArcs
 
Methods inherited from interface org.deegree.geometry.primitive.segments.CurveSegment
getCoordinateDimension, getEndPoint, getSegmentType, getStartPoint
 

Method Detail

getMidPoint

Point getMidPoint()
Returns the mid-point of the circle.

Returns:
the mid-point

getRadius

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

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


Copyright © 2011. All Rights Reserved.