I was trying to obtain the UV coordinate of the nearest point (in the sense of orthogonal projection) on a surface for a given point. I tried a simple case with a point near a plane using GeomAPI_ProjectPointOnSurf. The NearestPoint function gives the correct result, but the UV seems wrong (and so is the point computed by UV). The UV coordinates are obtained by calling LowerDistanceParameters.
I created a nominalistic example in the attachment that reproduces this error. The plane has x-axis (0,-1,0), y-axis (0,0,1), z-axis (-1, 0, 0), location (-63.5, 4.30893, 0). When I tried to project a point (-64.5, 2.88691, -3.00001) onto the plane, the UV I got is (1.42202, -66.5). The U coordinate looks correct, but V coordinate is clearly off by a far margin. The same issue appears when I tried ShapeAnalysis_Surface. Perhaps I'm misunderstanding something, but it feels the projection shouldn't fail in such a simple case.