I don't find how to check whether a point belongs to a curve or a Surface.
I tried to use GeomAPI_ProjectPointOnCurve and GeomAPI_ProjectPointOnSurf, but this two functions don't work for all case. Sometimes, they don't succeed.
For testing if a point belongs to a Face, I also tried BRepClass_FaceClassifier. But, I don't understand how it works. Indeed if tolerance is less to 1, it always give me a state equal to TopABS_OUT.
I really hope someone could help me,