Distance2d Op
Calculates the Distance between two 2d points
Summary (oneliner)
<p>Updates the output (<code>Distance</code>) every time one of the values changes.</p>
Full Name
- Ops.Math.Distance2d
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch distance2d
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>