|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jts.noding.snapround.MCIndexPointSnapper
"Snaps" all SegmentStrings in a SpatialIndex containing
MonotoneChains to a given HotPixel.
| Nested Class Summary | |
class |
MCIndexPointSnapper.HotPixelSnapAction
|
| Field Summary | |
static int |
nSnaps
|
| Constructor Summary | |
MCIndexPointSnapper(java.util.Collection monoChains,
SpatialIndex index)
|
|
| Method Summary | |
boolean |
snap(HotPixel hotPixel)
|
boolean |
snap(HotPixel hotPixel,
SegmentString parentEdge,
int vertexIndex)
Snaps (nodes) all interacting segments to this hot pixel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int nSnaps
| Constructor Detail |
public MCIndexPointSnapper(java.util.Collection monoChains,
SpatialIndex index)
| Method Detail |
public boolean snap(HotPixel hotPixel,
SegmentString parentEdge,
int vertexIndex)
hotPixel - the hot pixel to snap toparentEdge - the edge containing the vertex, if applicable, or nullvertexIndex - the index of the vertex, if applicable, or -1
true if a node was added for this pixelpublic boolean snap(HotPixel hotPixel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||