Package org.geotools.gml3
Class CircleRadiusTolerance
- Object
-
- CircleRadiusTolerance
-
- All Implemented Interfaces:
LinearizationTolerance
public class CircleRadiusTolerance extends Object implements LinearizationTolerance
- Author:
- Erik van de Pol
-
-
Constructor Summary
Constructors Constructor Description CircleRadiusTolerance(double circleRadiusMultiplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getTolerance(Circle circle)
Returns the linearization tolerance for the arc linearization algorithm.
-
-
-
Method Detail
-
getTolerance
public double getTolerance(Circle circle)
Description copied from interface:LinearizationTolerance
Returns the linearization tolerance for the arc linearization algorithm.- Specified by:
getTolerance
in interfaceLinearizationTolerance
- Parameters:
circle
- The circle the Arc is part of. This circle is calculated during the Arc linearization algorithm.- Returns:
- The maximum distance after linearization, between the original Arc and the linearized Arc.
-
-