I have an edge and when I click near this, I want a point on the edge to be displayed (the closer point to the one I click). Converting mouse coordinates is solved. I've been using this:
//Convert the edge to a curve
curve = BRep_Tool::Curve(edge, location, pFirst, pLast);
curve->Value(/*Here I put one of the mouse converted coordinates (gp_Pnt), but in fact I don't know what to put in here; the result is almost exact but fails*/);
Thanks in advance.