Add consistency check for points definition
Currently, YAC does not check whether the `points` defined by the user (`def_points`) actually match with the associated grid definition. This was the reason for !564 not being detected earlier.
I would propose to add a check to the `points` definition:
- `CORNER`:
- have to match with grid vertices (with some tolerance)
- `CELL`:
- coarse check (cheap):
coordinates have to be inside the bounding circle
- fine check (expensive):
coordinates have to be inside the cell
- `EDGE`:
- coarse check (cheap):
distance between coordinates and vertices of associated edges is smaller then length of the edge
- fine check (expensive):
coordinates are on the edge
This would probably require some additional configuration option:
- `coordinates_missmatch_is_fatale`
- `coordinate_check: off/coarse/fine`
issue