Calculate normal-vector of a BSPline_Curve

Hello forum,
does anyone know how to calculate the normal/tangent-vector of a BSpline-Curve ?

I have found something alike for BRepLProp but only for edges (TopoDS_Shapes).

Maybe this can be done with some tricky class-conversion ?

Any hint is really welcome !

MCV

Jérome Dufaure's picture

hello
In the package Geom you have a class Geom_BSplineCurve. You can use D1() method to compute the normal verctor of the curve at a given point. For more details have a look at Geom_BSplineCurve.cdl file.

Good luck

jerome

MCV's picture

Thank you, this was a good hint !

MCV