Skip to content

polygon_distance builtin

polygon_distance(points, polygon, *, signed=False)

Plan distance from each point to the boundary of polygon, an (n, 2) ring or a Polylines (see Polylines.distance); signed makes inside points negative.

used in