|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.noding.SinglePassNoder com.vividsolutions.jts.noding.MCIndexNoder
public class MCIndexNoder
Nodes a set of SegmentString
s using a index based
on MonotoneChain
s and a SpatialIndex
.
The SpatialIndex
used should be something that supports
envelope (range) queries efficiently (such as a Quadtree
or STRtree
(which is the default index provided).
Nested Class Summary | |
---|---|
class |
MCIndexNoder.SegmentOverlapAction
|
Field Summary |
---|
Fields inherited from class com.vividsolutions.jts.noding.SinglePassNoder |
---|
segInt |
Constructor Summary | |
---|---|
MCIndexNoder()
|
Method Summary | |
---|---|
void |
computeNodes(java.util.Collection inputSegStrings)
Computes the noding for a collection of SegmentString s. |
SpatialIndex |
getIndex()
|
java.util.List |
getMonotoneChains()
|
java.util.Collection |
getNodedSubstrings()
Returns a Collection of fully noded SegmentString s. |
Methods inherited from class com.vividsolutions.jts.noding.SinglePassNoder |
---|
setSegmentIntersector |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MCIndexNoder()
Method Detail |
---|
public java.util.List getMonotoneChains()
public SpatialIndex getIndex()
public java.util.Collection getNodedSubstrings()
SinglePassNoder
Collection
of fully noded SegmentString
s.
The SegmentStrings have the same context as their parent.
getNodedSubstrings
in interface Noder
getNodedSubstrings
in class SinglePassNoder
public void computeNodes(java.util.Collection inputSegStrings)
SinglePassNoder
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 class SinglePassNoder
inputSegStrings
- a collection of SegmentString
s to node
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |