distance_pp — Calculate the distance between two points.
The operator distance_pp calculates the distance between pairs of points according to the following formula:
Row coordinate of the first point.
Column coordinate of the first point.
Row coordinate of the second point.
Column coordinate of the second point.
Distance between the points.
dev_open_window (0, 0, 512, 512, 'black', WindowHandle) draw_point (WindowHandle, Row1, Column1) gen_cross_contour_xld (Cross, Row1, Column1, 15, 0) draw_point (WindowHandle, Row2, Column2) gen_cross_contour_xld (Cross, Row2, Column2, 15, 0) distance_pp (Row1, Column1, Row2, Column2, Distance)
distance_pp returns 2 (H_MSG_TRUE).