Changeset 6296 in josm for trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
- Timestamp:
- 2013-10-04T03:27:01+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
r6206 r6296 148 148 * PN^2 = (Axp + Byp + C)^2 / RS^2 that is the distance from P to the line 149 149 * 150 * so if PN^2 is less than PNmin^2 (initialized to tolerance) we can reject the line ;150 * so if PN^2 is less than PNmin^2 (initialized to tolerance) we can reject the line 151 151 * otherwise... determine if the projected poijnt lies within the bounds of the line: PR^2 - 152 152 * PN^2 <= RS^2 and PS^2 - PN^2 <= RS^2
Note:
See TracChangeset
for help on using the changeset viewer.