Computes the distance between two points. The points are given as two pairs of real cartesian coordinates (x1,y1) and (x2,y2).
Standard\Arithmetic\Distance
Name | Type | Description |
---|---|---|
x1 | real | X coordinate of first point. |
y1 | real | Y coordinate of first point. |
x2 | real | X coordinate of second point. |
y2 | real | Y coordinate of second point. |
Name | Type | Description |
---|---|---|
d | real | The distance between (x1,y1) and (x2,y2). |