Class TestBuilderProxy

java.lang.Object
org.locationtech.jts.util.TestBuilderProxy

public class TestBuilderProxy extends Object
A proxy to call TestBuilder functions dynamically. If TestBuilder is not present, functions act as a no-op.

This class is somewhat experimental at the moment, so is not recommended for production use.

Author:
Martin Davis
  • Constructor Details

    • TestBuilderProxy

      public TestBuilderProxy()
  • Method Details

    • isActive

      public static boolean isActive()
      Tests whether the proxy is active (i.e. the TestBuilder is available). This allows avoiding expensive geometry materialization if not needed.
      Returns:
      true if the proxy is active
    • showIndicator

      public static void showIndicator(Geometry geom)
    • showIndicator

      public static void showIndicator(Geometry geom, Color lineClr)