Interface GeomFactoryBase

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getSplineApproximationRatio()
      The maximum distance that the line segments used to approximate the curved segments are allowed to deviate from any point on the original curve.
      void setSplineApproximationRatio​(Double 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.
    • Method Detail

      • setSplineApproximationRatio

        void setSplineApproximationRatio​(Double 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.

        This function changes the ratio defined within the current factory. The other factories and the global value are not changed. For changing the global value, you must call AbstractGeomFactoryBase.setGlobalSplineApproximationRatio(Double).

        Parameters:
        distance - the maximal distance for approximating curves with segments. If the argument value is null or NaN, the global definition of the ratio is used by this factory.
        Since:
        14.0