Package org.locationtech.jts.geom.util
Class ShortCircuitedGeometryVisitor
- java.lang.Object
-
- org.locationtech.jts.geom.util.ShortCircuitedGeometryVisitor
-
-
Constructor Summary
Constructors Constructor Description ShortCircuitedGeometryVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidapplyTo(Geometry geom)protected abstract booleanisDone()Reports whether visiting components can be terminated.protected abstract voidvisit(Geometry element)
-
-
-
Method Detail
-
applyTo
public void applyTo(Geometry geom)
-
visit
protected abstract void visit(Geometry element)
-
isDone
protected abstract boolean isDone()
Reports whether visiting components can be terminated. Once this method returns true, it must continue to return true on every subsequent call.- Returns:
- true if visiting can be terminated.
-
-