distancePow(x1, y1, x2, y2, pow) → {number}
Returns the distance between the two given set of coordinates at the power given.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
x1 | number | |||
y1 | number | |||
x2 | number | |||
y2 | number | |||
pow | number | <optional> | 2 |
Returns
number -
The distance between the two sets of coordinates.
- Source code: math/Math.js (Line 1009)
Please login to continue.