Create lines tangent to curve

Hi, is there any algorithm in occ that constructs lines from a point that are tangent to a curve? Thanks

jelle's picture

GeomAPI_Interpolate does take tangent values too. So if you get the points you need + the tangent vector at the parameter of your reference curve, you should be good.
There's not a specific API call to do it, but seems to my GeomAPI_Interpolate is what your looking for.