Package org.geotools.gml3
Class AbsoluteTolerance
- Object
-
- AbsoluteTolerance
-
- All Implemented Interfaces:
LinearizationTolerance
public class AbsoluteTolerance extends Object implements LinearizationTolerance
- Author:
- Erik van de Pol
-
-
Constructor Summary
Constructors Constructor Description AbsoluteTolerance(double tolerance)
-
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.
-
-