public class SimpleNoder extends SinglePassNoder
SegmentStrings by
performing a brute-force comparison of every segment to every other one.
This has n^2 performance, so is too slow for use on large numbers
of segments.segInt| Constructor and Description |
|---|
SimpleNoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeNodes(Collection<NodedSegmentString> inputSegStrings)
Computes the noding for a collection of
SegmentStrings. |
Collection<NodedSegmentString> |
getNodedSubstrings()
Returns a
Collection of fully noded SegmentStrings. |
setSegmentIntersectorpublic void computeNodes(Collection<NodedSegmentString> inputSegStrings)
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 SinglePassNoderinputSegStrings - a collection of SegmentStrings to nodepublic 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.