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).| Modifier and Type | Field and Description |
|---|---|
protected SegmentIntersector |
segInt |
| Constructor and Description |
|---|
SinglePassNoder() |
SinglePassNoder(SegmentIntersector segInt) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
computeNodes(Collection<NodedSegmentString> segStrings)
Computes the noding for a collection of
SegmentStrings. |
abstract Collection<NodedSegmentString> |
getNodedSubstrings()
Returns a
Collection of fully noded SegmentStrings. |
void |
setSegmentIntersector(SegmentIntersector segInt)
Sets the SegmentIntersector to use with this noder.
|
protected SegmentIntersector segInt
public SinglePassNoder()
public SinglePassNoder(SegmentIntersector segInt)
public abstract void computeNodes(Collection<NodedSegmentString> 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<NodedSegmentString> getNodedSubstrings()
Collection of fully noded SegmentStrings.
The SegmentStrings have the same context as their parent.getNodedSubstrings in interface Noderpublic void setSegmentIntersector(SegmentIntersector segInt)
segInt - Copyright © 2015 Revolution Systems Inc.. All rights reserved.