Class TestCaseGeometryFunctions

java.lang.Object
org.locationtech.jtstest.function.TestCaseGeometryFunctions

public class TestCaseGeometryFunctions extends Object
Geometry functions which augment the existing methods on Geometry, for use in XML Test files. This is the default used in the TestRunner, and thus all the operations in this class should be named differently to the Geometry methods (otherwise they will shadow the real Geometry methods).

If replacing a Geometry method is desired, this can be done via the -geomfunc argument to the TestRunner.

Author:
Martin Davis
  • Constructor Details

    • TestCaseGeometryFunctions

      public TestCaseGeometryFunctions()
  • Method Details

    • bufferMitredJoin

      public static Geometry bufferMitredJoin(Geometry g, double distance)
    • densify

      public static Geometry densify(Geometry g, double distance)
    • minClearance

      public static double minClearance(Geometry g)
    • minClearanceLine

      public static Geometry minClearanceLine(Geometry g)