Distance2d Op

Distance2d

Calculates the Distance between two 2d points


<p>Updates the output (<code>Distance</code>) every time one of the values changes.</p>


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


INPUT PORTS


x1 (Number)

<p>X-coordinate of the first point</p>

y1 (Number)

<p>Y-coordinate of the first point</p>

x2 (Number)

<p>X-coordinate of the second point</p>

y2 (Number)

<p>Y-coordinate of the second point</p>

OUTPUT PORTS


distance (Number)

<p>The distance between point 1 and point 2</p>


Patches using Distance2d

  • Examples
  • Public
  • My Patches