public abstract class SinglePassNoder extends Object implements Noder
Noders 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
SegmentStrings. |
abstract Collection |
getNodedSubstrings()
Returns a
Collection of fully noded SegmentStrings. |
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)
SegmentStrings.
Some Noders may add all these nodes to the input SegmentStrings;
others may only add some or none at all.computeNodes in interface NodersegStrings - a collection of SegmentStrings to nodepublic abstract Collection getNodedSubstrings()
Collection of fully noded SegmentStrings.
The SegmentStrings have the same context as their parent.getNodedSubstrings in interface NoderCopyright © 2024. All rights reserved.