|
JTS Topology Suite version 1.13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.noding.snapround.MCIndexPointSnapper
public class MCIndexPointSnapper
"Snaps" all SegmentString
s in a SpatialIndex
containing
MonotoneChain
s to a given HotPixel
.
Nested Class Summary | |
---|---|
class |
MCIndexPointSnapper.HotPixelSnapAction
|
Field Summary | |
---|---|
static int |
nSnaps
|
Constructor Summary | |
---|---|
MCIndexPointSnapper(SpatialIndex index)
|
Method Summary | |
---|---|
boolean |
snap(HotPixel hotPixel)
|
boolean |
snap(HotPixel hotPixel,
SegmentString parentEdge,
int hotPixelVertexIndex)
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(SpatialIndex index)
Method Detail |
---|
public boolean snap(HotPixel hotPixel, SegmentString parentEdge, int hotPixelVertexIndex)
hotPixel
- the hot pixel to snap toparentEdge
- the edge containing the vertex, if applicable, or null
hotPixelVertexIndex
- the index of the hotPixel vertex, if applicable, or -1
true
if a node was added for this pixelpublic boolean snap(HotPixel hotPixel)
|
JTS Topology Suite version 1.13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |