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
standard_real?
Thnaks in advance
CORDIER (not verified) Fri, 04/09/2004 - 19:36
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
GC
Fri, 04/09/2004 - 19:36
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
GC
Mon, 04/12/2004 - 17:40
Hello Jack,
try using
Standard_Real t=BRep_Tool::Parameter(vertex,edge);
Good Luck,
Francois.