public class TextIntersectionCheckerTree extends Objectimplements TextIntersectionChecker
TextIntersectionChecker interface based on an rtree for efficient retrieval of objects and JTS for primitive intersection testing.
| Constructor and Description |
|---|
TextIntersectionCheckerTree()
|
public void add(float[][] boxes)
TextIntersectionChecker
add in interface
TextIntersectionChecker
boxes - the boxes to mark as occupied.
public boolean isValid(float[][] boxes)
TextIntersectionChecker
isValid in interface
TextIntersectionChecker
boxes - the boxes an object would occupy.