code: public static void setGlobalSplineApproximationRatio(Double distance) {
  		if (distance == null || Double.isNaN(distance.doubleValue())) {
  			globalSplineApproximation = GeomConstants.SPLINE_APPROXIMATION_RATIO;
  		} else {
  			globalSplineApproximation = Math.max(0, distance);
  		}
  	}
docs: 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.
  
  <p>The replied value is the one shared (and may be overridden) by the
  geometry factories.
  
  <p>The default value of the ratio is specified by
  {@link GeomConstants#SPLINE_APPROXIMATION_RATIO}.
  
  @param distance the maximal distance for approximating curves with segments.
  If the argument value is {@code null} or NaN, the default value is assumed.
  @since 14.0
  @see GeomConstants#SPLINE_APPROXIMATION_RATIO