Noder
MCIndexNoder
, SimpleNoder
public abstract class SinglePassNoder extends java.lang.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 | Description |
---|---|
SinglePassNoder() |
|
SinglePassNoder(SegmentIntersector segInt) |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
computeNodes(java.util.Collection segStrings) |
Computes the noding for a collection of
SegmentString s. |
abstract java.util.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(java.util.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 java.util.Collection getNodedSubstrings()
Collection
of fully noded SegmentString
s.
The SegmentStrings have the same context as their parent.getNodedSubstrings
in interface Noder
Copyright © 2018. All rights reserved.