Class MCIndexPointSnapper
- Namespace
- NetTopologySuite.Noding.Snapround
- Assembly
- NetTopologySuite.dll
"Snaps" all ISegmentStrings in a 
public class MCIndexPointSnapper- Inheritance
- 
      
      MCIndexPointSnapper
- Inherited Members
Constructors
MCIndexPointSnapper(ISpatialIndex<MonotoneChain>)
Initializes a new instance of the MCIndexPointSnapper class.
public MCIndexPointSnapper(ISpatialIndex<MonotoneChain> index)Parameters
- indexISpatialIndex<MonotoneChain>
Methods
Snap(HotPixel)
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
public bool Snap(HotPixel hotPixel)Parameters
- hotPixelHotPixel
- The hot pixel to snap to. 
Returns
- bool
- trueif a node was added for this pixel.
Snap(HotPixel, ISegmentString, int)
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
public bool Snap(HotPixel hotPixel, ISegmentString parentEdge, int hotPixelVertexIndex)Parameters
- hotPixelHotPixel
- The hot pixel to snap to. 
- parentEdgeISegmentString
- The edge containing the vertex, if applicable, or - null.
- hotPixelVertexIndexint
Returns
- bool
- trueif a node was added for this pixel.