MCIndexNoder class

Nodes a set of {@link SegmentString}s using a index based on {@link MonotoneChain}s and a {@link SpatialIndex}. The {@link SpatialIndex} used should be something that supports envelope (range) queries efficiently (such as a Quadtree} or {@link STRtree} (which is the default index provided).

@version 1.7

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
idCounter int
getter/setter pair
index SpatialIndex
getter/setter pair
monoChains List
getter/setter pair
nodedSegStrings List
getter/setter pair
nOverlaps int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segInt SegmentIntersectorN?
getter/setter pairinherited

Methods

add(SegmentString segStr) → void
computeNodes(List inputSegStrings) → void
Computes the noding for a collection of {@link SegmentString}s. Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.
override
getIndex() SpatialIndex
getMonotoneChains() List
getNodedSubstrings() List
Returns a {@link List} of fully noded {@link SegmentString}s. The SegmentStrings have the same context as their parent.
override
intersectChains() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSegmentIntersector(SegmentIntersectorN segInt) → void
Sets the SegmentIntersector to use with this noder. A SegmentIntersector will normally add intersection nodes to the input segment strings, but it may not - it may simply record the presence of intersections. However, some Noders may require that intersections be added.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited