Distance From a Point

https://github.com/nortikin/sverchok/assets/14288520/81fbca08-46c5-49a5-9ba3-2d7e5e7babf7

Functionality

https://github.com/nortikin/sverchok/assets/14288520/3a7b31e5-5fc4-4cb9-9699-ebbb1e7e3cfe

Inputs

Parameters

  • Metric.

    • Euclidean. Standard euclidean distance - sqrt(dx*dx + dy*dy + dz*dz)

    • Chebyshev. Chebyshev distance - abs(dx, dy, dz)

    • Manhattan. Manhattan distance - abs(dx) + abs(dy) + abs(dz)

    • Custom. Custom Minkowski metric defined by exponent factor

  • Exponent. Exponent for Minkowski metric. Only for Metric is “Custom”.

  • Falloff type.

  • Clamp. Restrict coefficient with R.

  • Center.

  • Amplitude

  • Coefficient

Outputs

  • Field

Examples of usage

https://github.com/nortikin/sverchok/assets/14288520/0b2fb4f0-ba5d-44d0-9e6c-a33d3f297370 https://github.com/nortikin/sverchok/assets/14288520/d5984e13-43c9-495e-9545-90055055b157