ml transformation matrix of this Shape2D, mr transformation matrix of the point p
Compute the distance to the shortest point to the edge (SDF). Negative inside. Positive outside.
ml transformation matrix of this Shape2D, mr transformation matrix of the shape that
Returns the normal vector to the shortest point to the edge
Point projected to the closest edge