Recent content by emaybert

  1. E

    MHB How can I calculate the union of two rotated rectangles using an algorithm?

    Thank you for this. I really appreciate it. I will give it a go.
  2. E

    MHB How can I calculate the union of two rotated rectangles using an algorithm?

    Thank you so much for the feedback. I really appreciate it. It gave me a new perspective on solving the problem. I will try what you suggested. ~ed
  3. E

    MHB How can I calculate the union of two rotated rectangles using an algorithm?

    Thank you all for replying. Perhaps my usage of the word "union" was incorrect and "intersection" more appropriate. I had not considered collision detection, as I assumed that would simply tell me *if* they overlapped, not the polygon defining that overlap. For both rectangles R1 and R2, I...
  4. E

    MHB How can I calculate the union of two rotated rectangles using an algorithm?

    I'm trying to write an algorithm that will take in, as parameters, two rectangles R1 and R2 and calculate their union. R1 and R2 may be in rotated (independently), one may be completely inside the other, or they may not be overlapping at all. Example(Image): The algorithm I wrote currently...
Back
Top