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
The current NaturalNeighbor::interpolate_gradient doc comment is a little brief, especially in regard to its example.
An improved version should give a more realistic example with non-constant gradients. Some easy variants would be e.g. interpolating points on a sphere (thus: the normal vector always points away from the origin) or calculating the "average" normal / gradient on the fly by fitting a plane through all adjacent vertices (which might be a useful real-world example!)
The text was updated successfully, but these errors were encountered:
The current
NaturalNeighbor::interpolate_gradient
doc comment is a little brief, especially in regard to its example.An improved version should give a more realistic example with non-constant gradients. Some easy variants would be e.g. interpolating points on a sphere (thus: the normal vector always points away from the origin) or calculating the "average" normal / gradient on the fly by fitting a plane through all adjacent vertices (which might be a useful real-world example!)
The text was updated successfully, but these errors were encountered: