Replies: 3 comments
|
I see the confusion. Definitely at the very least the documentation for the I originally choose not to put the word |
0 replies
|
Actually, one small counterpoint to the point about squared distances being unanimous: Some parameters are actually not squared, such as |
0 replies
|
Yes, you are right dhat and dmin are unsquared. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Just spent some time scratching my head with
CollisionConstraints::compute_minimum_distance. The documentation says it returns the minimum distance, but I found this in the implementation:// NOTE: Actually distance squaredI realize that you're basically working with squared distances throughout (although for an outside user it is not clear if this holds in all cases), but it's still very confusing that "distance", which is a very unambiguously defined term in my opinion, actually means "squared distance". In my opinion, it would reduce confusion a lot for the new users and possible contributors if squared distances were always marked as such, e.g. by using naming like
compute_squared_distance,compute_distance2or similar.(I labeled this as "bug" as, if you take the documentation and function names at their face value, what is returned is not what the naming suggests)
All reactions