I have coordinates of polygon bounding box, first bracket is the x coordinates, second is the y coordinates.
(148.41213249755577, 156.62462117931182, 161.0770759875118, 169.21802106108976, 171.53578439669775, 177.31429522801588, 171.7025899944188, 165.89430263865654, 164.03709560714134, 155.85755768504498, 152.3381684145277, 144.09367135708533, 148.41213249755577)
(212.51320231696795, 212.9654197878803, 211.25215507829296, 211.70582096911937, 211.83498166961178, 212.15699750932652, 223.56562737602863, 223.26504232165132, 222.18842269217154, 221.7624098796552, 221.57911041509468, 221.1497143523005, 212.51320231696795)
How can I compute area of that bounding box?
With rectangle is okay: (box[2] - box[0]) * (box[3] - box[1])
but for polygon I don't know. :/