Package org.locationtech.jts.simplify
Class LineSegmentIndex
- java.lang.Object
-
- org.locationtech.jts.simplify.LineSegmentIndex
-
class LineSegmentIndex extends java.lang.Object
An spatial index on a set ofLineSegment
s. Supports adding and removing items.
-
-
Constructor Summary
Constructors Constructor Description LineSegmentIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(LineSegment seg)
void
add(TaggedLineString line)
java.util.List
query(LineSegment querySeg)
void
remove(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)
-
-