Calculate rotated rectangle size from known bounding box coordinates

前端 未结 2 957
北海茫月
北海茫月 2020-11-30 23:28

I read the Calculate Bounding box coordinates from a rotated rectangle to know how to calculate bounding box coordinates from a rotated rectangle. But in a special case as f

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 23:41

    You'll probably need something like affine transformation to discover point coordinates. And then using standard geometry formulas calculate the size.

提交回复
热议问题