Talk:Convex hull: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 122:
: I get the problem : I tried this code on Kubuntu with Eclipse, it works !? But, on Windows 10 with Visual Studio C (or Code Blocks, or web site Codingame which uses gcc 9.2.1 mode C17) it doesn't. Anyway I keep asserting that the code is wrong : the function '''comp''' doesn't care of the coordinate y of the points and '''that is false''' !!! --[[User:Trap D|Trap D]] ([[User talk:Trap D|talk]]) 09:31, 24 December 2020 (UTC)
:: I just try with points {0,0},{5,0},{0,5},{5,5} on kubuntu and I get [(0, 0), (5, 0), (0, 5)] --[[User:Trap D|Trap D]] ([[User talk:Trap D|talk]]) 14:13, 24 December 2020 (UTC)
::: Hmm... I do not see how swapping changing the winding order could cause these sorts of discrepancies. Which suggests to me that the problem is elsewhere and swapping the first two arguments to ccw merely conceals the problem without actually fixing it.
::: That said, I also do not know how to isolate a problem which I do not have. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 18:59, 24 December 2020 (UTC)
6,951

edits