Class MCIndexSnapRounder
- java.lang.Object
-
- org.locationtech.jts.noding.snapround.MCIndexSnapRounder
-
- All Implemented Interfaces:
Noder
@Deprecated public class MCIndexSnapRounder extends java.lang.Object implements Noder
Deprecated.Not robust. UseSnapRoundingNoderinstead.Uses Snap Rounding to compute a rounded, fully noded arrangement from a set ofSegmentStrings. Implements the Snap Rounding technique described in papers by Hobby, Guibas & Marimont, and Goodrich et al. Snap Rounding assumes that all vertices lie on a uniform grid; hence the precision model of the input must be fixed precision, and all the input vertices must be rounded to that precision.This implementation uses a monotone chains and a spatial index to speed up the intersection tests.
KNOWN BUGS
This implementation is not fully robust.- Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description MCIndexSnapRounder(PrecisionModel pm)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcomputeNodes(java.util.Collection inputSegmentStrings)Deprecated.Computes the noding for a collection ofSegmentStrings.voidcomputeVertexSnaps(java.util.Collection edges)Deprecated.Snaps segments to all vertices.java.util.CollectiongetNodedSubstrings()Deprecated.Returns aCollectionof fully nodedSegmentStrings.
-
-
-
Constructor Detail
-
MCIndexSnapRounder
public MCIndexSnapRounder(PrecisionModel pm)
Deprecated.
-
-
Method Detail
-
getNodedSubstrings
public java.util.Collection getNodedSubstrings()
Deprecated.Description copied from interface:NoderReturns aCollectionof fully nodedSegmentStrings. The SegmentStrings have the same context as their parent.- Specified by:
getNodedSubstringsin interfaceNoder- Returns:
- a Collection of SegmentStrings
-
computeNodes
public void computeNodes(java.util.Collection inputSegmentStrings)
Deprecated.Description copied from interface:NoderComputes 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.- Specified by:
computeNodesin interfaceNoder- Parameters:
inputSegmentStrings- a collection ofSegmentStrings to node
-
computeVertexSnaps
public void computeVertexSnaps(java.util.Collection edges)
Deprecated.Snaps segments to all vertices.- Parameters:
edges- the list of segment strings to snap together
-
-