distance_pr — Calculate the distance between a point and a region.
The operator distance_pr calculates the distance between a point and one region. As input the coordinates of the points (Row,Column) and one region are expected. If a point is inside of the region, its minimum distance is zero. The parameters DistanceMin and DistanceMax return the result of the calculation.
Row coordinate of the point.
Column coordinate of the point.
Minimum distance between the point and the region.
Maximum distance between the point and the region.
gen_circle (Circle, 200, 200, 100.5) draw_point (WindowHandle, Row, Column) gen_cross_contour_xld (Cross, Row, Column, 15, 0) distance_pr (Circle, Row, Column, DistanceMin, DistanceMax)
distance_pr returns 2 (H_MSG_TRUE).
distance_pc, distance_lr, distance_sr, diameter_region
hamming_distance, select_region_point, test_region_point, smallest_rectangle2