Class MCIndexPointSnapper.HotPixelSnapAction

java.lang.Object
org.locationtech.jts.index.chain.MonotoneChainSelectAction
org.locationtech.jts.noding.snapround.MCIndexPointSnapper.HotPixelSnapAction
Enclosing class:
MCIndexPointSnapper

public static class MCIndexPointSnapper.HotPixelSnapAction extends MonotoneChainSelectAction
  • Field Details

    • hotPixel

      private HotPixel hotPixel
    • parentEdge

      private SegmentString parentEdge
    • hotPixelVertexIndex

      private int hotPixelVertexIndex
    • isNodeAdded

      private boolean isNodeAdded
  • Constructor Details

    • HotPixelSnapAction

      public HotPixelSnapAction(HotPixel hotPixel, SegmentString parentEdge, int hotPixelVertexIndex)
  • Method Details

    • isNodeAdded

      public boolean isNodeAdded()
    • select

      public void select(MonotoneChain mc, int startIndex)
      Description copied from class: MonotoneChainSelectAction
      This method is overridden to process a segment in the context of the parent chain.
      Overrides:
      select in class MonotoneChainSelectAction
      Parameters:
      mc - the parent chain
      startIndex - the index of the start vertex of the segment being processed