Skip to content

Matrix * Rectangle returns strange results #120

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

Closed
plut opened this issue Jan 13, 2021 · 1 comment
Closed

Matrix * Rectangle returns strange results #120

plut opened this issue Jan 13, 2021 · 1 comment

Comments

@plut
Copy link

plut commented Jan 13, 2021

julia> SA[1 1;1 -1]*GeometryBasics.Rect2D((0,0),(1,1))
GeometryBasics.HyperRectangle{2,Int64}([0,-1], [2,2])

This should return a rotated (and scaled) rectangle. Instead it returns a bounding box for the rotated rectangle. I understand that a bounding box for the rotated rectangle might be useful, but this definitively not a matrix multiplication.

@SimonDanisch
Copy link
Member

Well, we don't have a rotated rectangle type, so until we add that, we can't really return such a type.

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

2 participants