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

Add BoundingBox2d.withDimensions and BoundingBox3d.withDimensions #130

Closed
MartinSStewart opened this issue Apr 5, 2020 · 0 comments
Closed

Comments

@MartinSStewart
Copy link

Similar to how we have Rectangle2d.withDimensions except there wouldn't be an angle parameter for the bounding box.

I found this useful to have when I wanted to take a 2d bounding box and make both dimensions equal to the dimension with the greatest length. I suspect constructing the bounding box with BoundingBox2d.from or BoundingBox2d.fromExtema would be more verbose and less intuitive.

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

No branches or pull requests

1 participant