|
MayaFlux 0.5.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, distance(), EUCLIDEAN, EUCLIDEAN_SQUARED, MayaFlux::Kinesis::Tendency< D, R >::fn, MANHATTAN, and radius.
Referenced by distance(), project_onto_plane(), ray_cast(), and MayaFlux::Kinesis::SpatialIndex< PointT >::SpatialIndex().
Here is the call graph for this function:
Here is the caller graph for this function: