Package org.locationtech.jts.util
Class TestBuilderProxy
- java.lang.Object
-
- org.locationtech.jts.util.TestBuilderProxy
-
public class TestBuilderProxy extends java.lang.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 Summary
Constructors Constructor Description TestBuilderProxy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isActive()
Tests whether the proxy is active (i.e.static void
showIndicator(Geometry geom)
static void
showIndicator(Geometry geom, java.awt.Color lineClr)
-
-
-
Method Detail
-
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, java.awt.Color lineClr)
-
-