Class WraparoundInEnvelope.Controller

java.lang.Object
org.apache.sis.geometry.WraparoundInEnvelope.Controller
All Implemented Interfaces:
Function<WraparoundTransform,WraparoundTransform>, UnaryOperator<WraparoundTransform>
Enclosing class:
WraparoundInEnvelope

static final class WraparoundInEnvelope.Controller extends Object implements UnaryOperator<WraparoundTransform>
Helper class for transforming an envelope with special checks for wraparounds. This class provides a translatable WraparoundTransform.transform(double[], int, double[], int, boolean) for enabling wraparounds that could not be applied in previous WraparoundInEnvelope.shift(double) executions. The translation is applied by calls to the translate() method, which should be invoked repetitively until it returns false.