Package org.locationtech.jts.util
Class TestBuilderProxy
java.lang.Object
org.locationtech.jts.util.TestBuilderProxy
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isActive()
Tests whether the proxy is active (i.e.static void
showIndicator
(Geometry geom) static void
showIndicator
(Geometry geom, Color lineClr)
-
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
-
showIndicator
-