Currently the result of the Mbr changes depending the orientation of the rectangle which is quite annoying with particule analysis for which most of the time the orientation is not relevant.
I would suggest that in getMbrFromPoints:
width is always larger that height
and therefore aspectRatio is between 0 and 1
Not sure how easy this change is because maybe the angle also has to change if we invert width / height.
Currently the result of the Mbr changes depending the orientation of the rectangle which is quite annoying with particule analysis for which most of the time the orientation is not relevant.
I would suggest that in getMbrFromPoints:
Not sure how easy this change is because maybe the angle also has to change if we invert width / height.