public abstract class SinglePassNoder extends Object implements Noder
Noder
s which make a single
pass to find intersections.
This allows using a custom SegmentIntersector
(which for instance may simply identify intersections, rather than
insert them).Constructor and Description |
---|
SinglePassNoder() |
SinglePassNoder(SegmentIntersector segInt) |
Modifier and Type | Method and Description |
---|---|
abstract void |
computeNodes(Collection segStrings)
Computes the noding for a collection of
SegmentString s. |
abstract Collection |
getNodedSubstrings()
Returns a
Collection of fully noded SegmentString s. |
void |
setSegmentIntersector(SegmentIntersector segInt)
Sets the SegmentIntersector to use with this noder.
|
public SinglePassNoder()
public SinglePassNoder(SegmentIntersector segInt)
public void setSegmentIntersector(SegmentIntersector segInt)
segInt
- public abstract void computeNodes(Collection segStrings)
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
segStrings
- a collection of SegmentString
s to nodepublic abstract Collection getNodedSubstrings()
Collection
of fully noded SegmentString
s.
The SegmentStrings have the same context as their parent.getNodedSubstrings
in interface Noder
Copyright © 2022. All rights reserved.