Distance2d Op

Distance2d

Calculates the Distance between two 2d points


Updates the output (Distance) every time one of the values changes.


Full Name
  • Ops.Math.Distance2d
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


x1 (Number)

X-coordinate of the first point

y1 (Number)

Y-coordinate of the first point

x2 (Number)

X-coordinate of the second point

y2 (Number)

Y-coordinate of the second point

OUTPUT PORTS


distance (Number)

The distance between point 1 and point 2


Patches using Distance2d

  • Examples
  • Public
  • My Patches