public static class MCIndexPointSnapper.HotPixelSnapAction extends MonotoneChainSelectAction
Modifier and Type | Field and Description |
---|---|
private HotPixel |
hotPixel |
private int |
hotPixelVertexIndex |
private boolean |
isNodeAdded |
private SegmentString |
parentEdge |
Constructor and Description |
---|
HotPixelSnapAction(HotPixel hotPixel,
SegmentString parentEdge,
int hotPixelVertexIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
isNodeAdded() |
void |
select(MonotoneChain mc,
int startIndex)
This method is overridden
to process a segment
in the context of the parent chain.
|
select
private HotPixel hotPixel
private SegmentString parentEdge
private int hotPixelVertexIndex
private boolean isNodeAdded
public HotPixelSnapAction(HotPixel hotPixel, SegmentString parentEdge, int hotPixelVertexIndex)
public boolean isNodeAdded()
public void select(MonotoneChain mc, int startIndex)
MonotoneChainSelectAction
select
in class MonotoneChainSelectAction
mc
- the parent chainstartIndex
- the index of the start vertex of the segment being processed