libigl-python-bindings
libigl-python-bindings copied to clipboard
Documentation for igl.principal_curvature(): output order is incorrect
The documentation for principal curvature states that the output is: pd1, pd2, pv1, pv2 = principal_curvature(v, f)
where pd1 and pv1 are maximal direction and value, respectively, and pd2 and pv2 are the corresponding minimals. The function, however, returns them in the opposite order:
pd2, pd1, pv2, pv1 = principal_curvature(v, f)
An easy test is simply to compare the values.
Hi Michael,
This is fixed very recently https://github.com/libigl/libigl/pull/1767