public static void setGlobalSplineApproximationRatio ( Double distance ) { if ( distance == null || Double . isNaN ( distance . doubleValue ( ) ) ) { globalSplineApproximation = GeomConstants . SPLINE_APPROXIMATION_RATIO ; } else { globalSplineApproximation = Math . max ( 0 , distance ) ; } }
Change the maximum distance that the line segments used to approximate the curved segments are allowed to deviate from any point on the original curve .