-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Milestone
Description
Intersection between polygons is currently done like that (in javascript):
- a bounding box of the selection is done
- this selection bbox is tested for intersection of all the footprints
This does not work well for polygonal footprints, I suspect there is a bug to fix
First step would be to fix it in JS.
The next step would be to use https://github.com/cds-astro/cds-skyregion-rust for representing the shapes (on the rust side) and use it to do the intersection. This will also allow to compute sky intersection directly, it is currently not possible to retrieve the shapes intersecting a list of radec vertices on the sky because JS intersection are done on the screen.
This would require more work because I have to bind the shapes from JS to rust first.
Reactions are currently unavailable