MinimumDiameter.getMinimumRectangle() fatally changes the input geometry in 1.20.0 #1082
Replies: 5 comments 2 replies
-
|
The PrecisionModel is by default BTW. |
Beta Was this translation helpful? Give feedback.
-
|
I can't reproduce this. Can you provide code for a Java class or function which demonstrates this behaviour? |
Beta Was this translation helpful? Give feedback.
-
|
I see the problem now: there is a code path in The fix is to copy the input array in this situation. |
Beta Was this translation helpful? Give feedback.
-
|
Fixed by #1083 |
Beta Was this translation helpful? Give feedback.
-
|
@Little5ive thanks for reporting this! |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
input geometry:
After running MinimumDiameter.getMinimumRectangle() to the linestring, it will be changed to :
the coordinates order was fatally changed.

Beta Was this translation helpful? Give feedback.
All reactions