Skip to content

Add Extents.extent method for Rect2 #196

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

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

felixcremer
Copy link
Contributor

This has been pirated in Tyler and should rather live in GeometryBasics.
This would enable us to use this method in PyramidScheme without having to depend on Tyler for example.

I put the definition into the GeoInterface file because for me the Extents is an extension of the GeoInterface.

I am not sure, whether it would make sense to also provide the extent functionality also for higher dimensional rectangles or other geometry types, but the Rect2 is needed for the subsetting in Tyler.

@rafaqz

This has been pirated in Tyler and should rather live in GeometryBasics.
@rafaqz
Copy link
Contributor

rafaqz commented Jun 13, 2023

Thanks! Good to fix that type piracy.

(Also Extends doesnt actually extend GeoInterface, its not really Geo specific)

@felixcremer
Copy link
Contributor Author

Bump

@SimonDanisch SimonDanisch merged commit cb78c2a into JuliaGeometry:master Jul 18, 2023
@felixcremer felixcremer deleted the fc/extent branch July 18, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants