You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know what is the expected result of this function, but it's returning: (2 * self.lat - barragem.lat), (2 * self.lng - barragem.lng) as we can see:
As long as I understood of the code, it first calculate the Euclidean distance and then it does a translation from the self location to a new one. In the cartesian plane result with a line with 3 points, where the self position encounters in the middle of the others 2. The function returns the translated position.
https://github.com/dieegom/brumadinho_location/blob/a252f2de7727c90026db38c4a25511abfb067bed/backend/utils.py#L29
I don't know what is the expected result of this function, but it's returning:
(2 * self.lat - barragem.lat), (2 * self.lng - barragem.lng)
as we can see:I couldn't follow the reasoning here.
The text was updated successfully, but these errors were encountered: