Skip to content

Add to_polygon method to region classes#649

Open
larrybradley wants to merge 6 commits intoastropy:mainfrom
larrybradley:polygon-conv
Open

Add to_polygon method to region classes#649
larrybradley wants to merge 6 commits intoastropy:mainfrom
larrybradley:polygon-conv

Conversation

@larrybradley
Copy link
Member

This PR adds a to_polygon method to circle, ellipse, and rectangle (and annulus) pixel/sky region classes that returns a PolygonPixelRegion or PolygonSkyRegion approximation of the region.

The RectanglePixelRegion already had a to_polygon method.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant