Package org.locationtech.jts.simplify
Class LineSegmentIndex
- java.lang.Object
-
- org.locationtech.jts.simplify.LineSegmentIndex
-
class LineSegmentIndex extends java.lang.ObjectAn spatial index on a set ofLineSegments. Supports adding and removing items.
-
-
Constructor Summary
Constructors Constructor Description LineSegmentIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(LineSegment seg)voidadd(TaggedLineString line)java.util.Listquery(LineSegment querySeg)voidremove(LineSegment seg)
-
-
-
Field Detail
-
index
private Quadtree index
-
-
Method Detail
-
add
public void add(TaggedLineString line)
-
add
public void add(LineSegment seg)
-
remove
public void remove(LineSegment seg)
-
query
public java.util.List query(LineSegment querySeg)
-
-