Package org.locationtech.jts.noding
Interface Noder
-
- All Known Implementing Classes:
MCIndexNoder,MCIndexSnapRounder,ScaledNoder,SinglePassNoder
public interface NoderComputes all intersections between segments in a set ofSegmentStrings. Intersections found are represented asSegmentNodes and added to theSegmentStrings 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 voidcomputeNodes(Collection segStrings)Computes the noding for a collection ofSegmentStrings.CollectiongetNodedSubstrings()Returns aCollectionof fully nodedSegmentStrings.
-
-
-
Method Detail
-
computeNodes
void computeNodes(Collection segStrings)
Computes the noding for a collection ofSegmentStrings. Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.- Parameters:
segStrings- a collection ofSegmentStrings to node
-
getNodedSubstrings
Collection getNodedSubstrings()
Returns aCollectionof fully nodedSegmentStrings. The SegmentStrings have the same context as their parent.- Returns:
- a Collection of SegmentStrings
-
-