Changeset 36090 in osm
- Timestamp:
- 2023-05-30T20:00:40+02:00 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/TurnRestrictionBuilder.java
r35976 r36090 176 176 * <pre> 177 177 * to1 to2 178 * ------------- >o -------------->178 * -------------> o --------------< 179 179 * ^ 180 180 * | from … … 347 347 public static boolean isConnectingNode(Way w1, Way w2, Node n) { 348 348 if (isStartNode(w1, n)) { 349 return isStartNode(w2, n) | isEndNode(w2, n); 349 return isStartNode(w2, n) || isEndNode(w2, n); 350 350 } else if (isEndNode(w1, n)) { 351 return isStartNode(w2, n) | isEndNode(w2, n); 351 return isStartNode(w2, n) || isEndNode(w2, n); 352 352 } 353 353 return false;
Note:
See TracChangeset
for help on using the changeset viewer.