edp function

Compute the equal-distance projection of a point onto the xy plane