Package org.locationtech.jts.noding
Interface Noder
- All Known Implementing Classes:
BoundaryChainNoder
,BoundarySegmentNoder
,IteratedNoder
,MCIndexNoder
,MCIndexSnapRounder
,ScaledNoder
,SegmentExtractingNoder
,SimpleNoder
,SinglePassNoder
,SnappingNoder
,SnapRoundingNoder
,ValidatingNoder
public interface Noder
Computes all intersections between segments in a set of
SegmentString
s.
Intersections found are represented as SegmentNode
s and added to the
SegmentString
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
Modifier and TypeMethodDescriptionvoid
computeNodes
(Collection segStrings) Computes the noding for a collection ofSegmentString
s.Returns aCollection
of fully nodedSegmentString
s.
-
Method Details
-
computeNodes
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
Collection getNodedSubstrings()Returns aCollection
of fully nodedSegmentString
s. The SegmentStrings have the same context as their parent.- Returns:
- a Collection of SegmentStrings
-