fix: LocalizeUsingTAxes missing fallback when query equals vanishing point

LocalizeUsingTAxes was missing a fallback when the query point P coincides with the vanishing point V, which would cause an assertion failure when creating the line PV. This was happening with a circular curve.

The fallback chosen was to use the perpendicular of the s-axis as the t-axis, which is similarly used as fallback in other places in the same function.

Note: I needed to enable a test suite that was missed during bazelization of the tests. However, one of the tests had to be disabled because it was failing. This will be fixed in !55 (merged).

Edited by Pedro Henriques

Merge request reports

Loading