geo icon indicating copy to clipboard operation
geo copied to clipboard

Union/Intersection for Rect

Open mfbehrens opened this issue 10 months ago • 3 comments

Currently, Rect has no union or intersection implementation.

mfbehrens avatar Mar 07 '25 20:03 mfbehrens

For now, you can access these methods by converting to a Polygon first using your_rect.to_polygon()

urschrei avatar Mar 09 '25 16:03 urschrei

Thanks for the interest. These implementations should probably be based on a trait definition and live in geo.

michaelkirk avatar Mar 29 '25 15:03 michaelkirk

I will have a look into it, maybe this evening. I will ask on DC if I have any questions.

mfbehrens avatar Mar 29 '25 15:03 mfbehrens