grapa.shared.varia.get_point_closest_to_xy

grapa.shared.varia.get_point_closest_to_xy(curve: Curve, x, y, alter='', offsets=False)

Return the data point closest to the x,y values. Priority on x, compares y only if equal distance on x