Consistently I've been running into trouble when finding the closest point on a surface.
I've tried GeomAPI_ProjectPointOnSurf and Extrema_ExtPS, and also ShapeAnalysis_Surface.
Consistently I've been getting really bizarre results.
To give an example:
sas = ShapeAnalysis_Surface(srf)
uv = sas.ValueOfUV(pt, 1e-4)
Wow... garbage, and *way* out of the tolerance set.
Shouldnt such a method not raise an error rather than returning results that are out of scope?
So far most of my attempts projecting points to surface lead to grave errors.
Has anybody else had similar experience?