public class IndexedNestedRingTester
extends java.lang.Object
LinearRing
s are
nested inside another ring in the set, using a spatial
index to speed up the comparisons.Modifier and Type | Field and Description |
---|---|
private GeometryGraph |
graph |
private SpatialIndex |
index |
private Coordinate |
nestedPt |
private java.util.List |
rings |
private Envelope |
totalEnv |
Constructor and Description |
---|
IndexedNestedRingTester(GeometryGraph graph) |
Modifier and Type | Method and Description |
---|---|
void |
add(LinearRing ring) |
private void |
buildIndex() |
Coordinate |
getNestedPoint() |
boolean |
isNonNested() |
private GeometryGraph graph
private java.util.List rings
private Envelope totalEnv
private SpatialIndex index
private Coordinate nestedPt
public IndexedNestedRingTester(GeometryGraph graph)
public Coordinate getNestedPoint()
public void add(LinearRing ring)
public boolean isNonNested()
private void buildIndex()