distance
Calculates the distance between two points
distance(
x1,
y1,
x2,
y2
)
Calculates the distance between two points
Syntaxe
distance(x1=0, y1=0, x2=10, y2=10)
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
x1 | yes | - | x-coordinate of the first point | |
y1 | yes | - | y-coordinate of the first point | |
x2 | yes | - | x-coordinate of the second point | |
y2 | yes | - | y-coordinate of the second point |