Gets the closest point on detail mesh edges to a given point
Output parameter for the closest point
The tile containing the detail mesh
The polygon
The position to find closest point for
If true, only consider boundary edges
The squared distance to the closest point closest point
Gets the closest point on detail mesh edges to a given point