|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenlr.map.utils.NodeCheck
public final class NodeCheck
The Class NodeCheck checks the validity of a node. A node is invalid if it is not possible to leave a path at this node (no start of a deviation possible).
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
| Method Summary | |
|---|---|
static boolean |
isPair(Line line1,
Line line2)
Checks if line1 and line2 connect only two nodes and point into two different directions. |
static boolean |
isValidNode(Node n)
Checks if node n is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isValidNode(Node n)
n - the node
public static boolean isPair(Line line1,
Line line2)
line1 - the first lineline2 - the second line
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||