com.vividsolutions.jts.noding
Class SimpleNoder
- Noder
Nodes a set of
SegmentString
s 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.
SimpleNoder
public SimpleNoder()
computeNodes
public void computeNodes(Collection inputSegStrings)
Computes the noding for a collection of
SegmentString
s.
Some Noders may add all these nodes to the input SegmentStrings;
others may only add some or none at all.
- computeNodes in interface Noder
- computeNodes in interface SinglePassNoder
getNodedSubstrings
public Collection getNodedSubstrings()
Returns a Collection
of fully noded SegmentStrings
.
The SegmentStrings have the same context as their parent.
- getNodedSubstrings in interface Noder
- getNodedSubstrings in interface SinglePassNoder
- a Collection of SegmentStrings