a question

I have a Curve, and it has a vertex on it.
I know the first and last value of the curve.
and how can i get the vertex position value as

Thnaks in advance

CORDIER's picture

Try to project your point on this curve (Geom2dAPI_ProjectPointOnCurve),then use function "Parameter" this will give you the parametric value of your vertex. (please read the documentation to get the exact way to do it)
Good Luck

Francois Lauzon's picture

Hello Jack,
try using
Standard_Real t=BRep_Tool::Parameter(vertex,edge);
Good Luck,