Calculate the Signed Distance Transform of arbitrary polygon
How would you calculate the Signed Distance Function of a polygon, described by an arbitrary set of points. The polygon could be concave or convex. Assume that the points are stored in a std::vector with counter-clockwise winding.
Aucun commentaire:
Enregistrer un commentaire