Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtain corner vertices of Regions #326

Open
pmaggi-astro opened this issue Oct 1, 2020 · 3 comments
Open

Obtain corner vertices of Regions #326

pmaggi-astro opened this issue Oct 1, 2020 · 3 comments

Comments

@pmaggi-astro
Copy link

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

@dhomeier
Copy link
Contributor

Something like RectanglePixelRegion.corners, but for RectangleSkyRegion?

@pmaggi-astro
Copy link
Author

Yes, exactly

@ManonMarchand
Copy link
Member

Related to #554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants