public class MCIndexNoder extends SinglePassNoder
SegmentStrings using a index based
on MonotoneChains and a SpatialIndex.
The SpatialIndex used should be something that supports
envelope (range) queries efficiently (such as a Quadtree}
or STRtree (which is the default index provided).| Modifier and Type | Class and Description |
|---|---|
class |
MCIndexNoder.SegmentOverlapAction |
segInt| Constructor and Description |
|---|
MCIndexNoder() |
MCIndexNoder(SegmentIntersector si) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeNodes(Collection<NodedSegmentString> segments)
Computes the noding for a collection of
SegmentStrings. |
SpatialIndex |
getIndex() |
List<MonotoneChain> |
getMonotoneChains() |
Collection<NodedSegmentString> |
getNodedSubstrings()
Returns a
Collection of fully noded SegmentStrings. |
setSegmentIntersectorpublic MCIndexNoder()
public MCIndexNoder(SegmentIntersector si)
public void computeNodes(Collection<NodedSegmentString> segments)
SinglePassNoderSegmentStrings.
Some Noders may add all these nodes to the input SegmentStrings;
others may only add some or none at all.computeNodes in interface NodercomputeNodes in class SinglePassNodersegments - a collection of SegmentStrings to nodepublic SpatialIndex getIndex()
public List<MonotoneChain> getMonotoneChains()
public Collection<NodedSegmentString> getNodedSubstrings()
SinglePassNoderCollection of fully noded SegmentStrings.
The SegmentStrings have the same context as their parent.getNodedSubstrings in interface NodergetNodedSubstrings in class SinglePassNoderCopyright © 2015 Revolution Systems Inc.. All rights reserved.