Rev 4460 |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 4461 2020-03-03 14:03:50
- Author: gerd
- Log message:
- Improve isin function, patch is_in-function_v15.patch by Ticker Berkin
- adds Math.round to Coord.makeBetweenPoint();
- removes IsInUtil.insidePolygon() and changes callers to use isPointInShape()
- adds ON tolerance to isPointInShape() - I couldn't work out how to do
this with the winding algo, so changed it to crossing-point, which is
fine for mkgmap polygons.
- add some more tolerances to isLineInShape
- isLineInShape had comment:
// it is unlikely but not impossible that pTest is on boundary :(
and it returned the wrong result if it was. This contributed to the
difficulties with b14 (and b19). I've fixed it and, I think, improved
and simplified the running status setting
- fix spelling of rhumLine to rhumbLine