Everynone
(Everynone)
4
Much simple then, see if you can adapt this:
This accounts for rotation of extents, those bits can be ignored if not applicable.
the right order the coordinates
I believe only you know what the right order is?
As in: how do we know where to start counting and which direction to go?