Parameters
- P
- The 3D point to project
- coincTol
- Relevant only when P lays on the surface. When the distance between P and its projection is smaller then this value, the projection is considered succesful.
- allowOutside
- When true, the projection is not constrained inside the surface domain
- proj
- The parametric coordinates of projection on surface to P