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
Summary:
Pull Request resolved: #577
We want to be able to pin certain vertices to be a specific distance apart. This has some similarities to the PointTriangleVertexErrorFunction since it is a mesh-mesh distance, but should work better for long distances.
Recall that the point-triangle error function defines a local space using the triangle plane and normal, and the target point is rigidly attached in this space. This works well when you are close to the triangle, but as you get far away from the triangle you end up with a very large moment arm torquing the triangle (basically the error function may "prefer" to rotate the triangle rather than actually changing the distance).
For this reason it makes sense to have a much simpler point-to-point error that just acts on vertices, it won't be able to constrain the location rigidly in the same way (since there is no rigid frame defined on an individual vertex) but it should be numerically well-behaved.
Reviewed By: jeongseok-meta
Differential Revision: D82848960
fbshipit-source-id: 723f84b58fa365ee269f793033ff4081bb0f8bd1
0 commit comments