Class MCIndexPointSnapper
java.lang.Object
org.locationtech.jts.noding.snapround.MCIndexPointSnapper
- Version:
- 1.7
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a "safe" envelope that is guaranteed to contain the hot pixel.booleanbooleansnap(HotPixel hotPixel, SegmentString parentEdge, int hotPixelVertexIndex) Snaps (nodes) all interacting segments to this hot pixel.
-
Constructor Details
-
MCIndexPointSnapper
-
-
Method Details
-
snap
Snaps (nodes) all interacting segments to this hot pixel. The hot pixel may represent a vertex of an edge, in which case this routine uses the optimization of not noding the vertex itself- Parameters:
hotPixel- the hot pixel to snap toparentEdge- the edge containing the vertex, if applicable, ornullhotPixelVertexIndex- the index of the hotPixel vertex, if applicable, or -1- Returns:
trueif a node was added for this pixel
-
snap
-
getSafeEnvelope
-