Package org.locationtech.jts.noding
Interface Noder
-
- All Known Implementing Classes:
IteratedNoder
,MCIndexNoder
,MCIndexSnapRounder
,ScaledNoder
,SimpleNoder
,SimpleSnapRounder
,SinglePassNoder
public interface Noder
Computes all intersections between segments in a set ofSegmentString
s. Intersections found are represented asSegmentNode
s and added to theSegmentString
s in which they occur. As a final step in the noding a new set of segment strings split at the nodes may be returned.- Version:
- 1.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
computeNodes(java.util.Collection segStrings)
Computes the noding for a collection ofSegmentString
s.java.util.Collection
getNodedSubstrings()
Returns aCollection
of fully nodedSegmentString
s.
-
-
-
Method Detail
-
computeNodes
void computeNodes(java.util.Collection segStrings)
Computes the noding for a collection ofSegmentString
s. Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.- Parameters:
segStrings
- a collection ofSegmentString
s to node
-
getNodedSubstrings
java.util.Collection getNodedSubstrings()
Returns aCollection
of fully nodedSegmentString
s. The SegmentStrings have the same context as their parent.- Returns:
- a Collection of SegmentStrings
-
-