Changeset 35978 in osm for applications/editors/josm/plugins/trustosm/src/org/openstreetmap
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/util/TrustAnalyzer.java
r34565 r35978 95 95 Node signedNode = TrustNode.generateNodeFromSigtext(signedPlaintext); 96 96 Node currentNode = (Node) trust.getOsmPrimitive(); 97 double dist = signedNode.g etCoor().greatCircleDistance(currentNode.getCoor());97 double dist = signedNode.greatCircleDistance(currentNode); 98 98 99 99 /** is distance between signed Node and current Node inside tolerance? */ … … 157 157 Node signedNode = signedSegment.get(i); 158 158 Node currentNode = nodes.get(i); 159 double dist = signedNode.g etCoor().greatCircleDistance(currentNode.getCoor());159 double dist = signedNode.greatCircleDistance(currentNode); 160 160 if (dist > tolerance) return false; 161 161 }
Note:
See TracChangeset
for help on using the changeset viewer.