|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
inline |
Normalized distance from an anchor point using the specified metric.
| anchor | Reference point |
| radius | Normalizing distance (output is 1.0 at this distance) |
| metric | Distance computation strategy |
Returns raw normalized distance. Compose with transfer_curve, smoothstep, sigmoid, or any ScalarField via chain() to shape the result.
Definition at line 49 of file TendencyFactories.hpp.
References CHEBYSHEV, EUCLIDEAN, EUCLIDEAN_SQUARED, MayaFlux::Kinesis::Tendency< D, R >::fn, and MANHATTAN.
Referenced by minimum_spanning_tree(), project_onto_plane(), ray_cast(), and relative_neighborhood_graph().
Here is the caller graph for this function: