lundi 23 janvier 2017

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.

Diagram of polygon

Aucun commentaire:

Enregistrer un commentaire