|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.noding.snapround.SegmentSnapper
Constructor Summary | |
SegmentSnapper()
|
Method Summary | |
boolean |
addSnappedNode(Coordinate snapPt,
SegmentString segStr,
int segIndex)
Adds a new node (equal to the snap pt) to the segment if the snapPt is within tolerance of the segment |
static boolean |
isWithinTolerance(Coordinate p,
Coordinate p0,
Coordinate p1)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SegmentSnapper()
Method Detail |
public static boolean isWithinTolerance(Coordinate p, Coordinate p0, Coordinate p1)
public boolean addSnappedNode(Coordinate snapPt, SegmentString segStr, int segIndex)
snapPt
- segStr
- segIndex
-
true
if a node was added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |