get_distance
get_distance(from, to)
Return the distance between 2 points
Syntaxe
var result = get_distance(from=[x1,y1], to=[x2,y2])
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
from | yes | - | List of points [x1,y1] |
to | yes | - | List of points [x2,y2] |
get_distance(from, to)
Return the distance between 2 points
var result = get_distance(from=[x1,y1], to=[x2,y2])
| Name | Required | Default | Description |
|---|---|---|---|
from | yes | - | List of points [x1,y1] |
to | yes | - | List of points [x2,y2] |