Distance function
Prototype: |
function Distance (const X1, Y1, X2, Y2 : double) : double; |
|
Description: |
Distance function calculates horizontal Euclidean distance between 2 points. |
|
Syntax: |
variable := Distance (X1, Y1, X2, Y2); |
|
Part |
Description |
|
variable |
A variable declared as a double |
|
X1, X2 |
X- coordinates of the first point |
|
Y1, Y2 |
Y-coordinates of the other point |
|
Return value: |
Distance between 2 points |
|
Note: This function is available since version X7.
See also:
ExtendLine; CombinePolygons; IntersectPolygons; FindLineIntersects; Distance; PolarToXY; Polar2XY; XYtoPolar; XY2polar
© 2024 IFER-Monitoring and Mapping Solutions