Obtain corner vertices of Regions
- Dominant language
- Python
- Stars
- 65
- Forks
- 64
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 4
Description
A new method returning the corner vertices of regions, for instance the four corners of a RectangleSkyRegion, as an array of SkyCoord, would be useful.
Use case: to define a MoC of the region using [MOC.from_polygon](https://cds-astro.github.io/mocpy/examples/examples.html#create-a-moc-from-a-concave-polygon)
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no implementation files or tests. Start by locating the region classes and examining how RectangleSkyRegion represents its geometry and coordinates. Done means a consistent method returns corner SkyCoord arrays that can be passed to MOC.from_polygon, with appropriate coverage for the relevant region types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100