Dear all,

Is there a function that draws a tangent line from a given point outside the curve to a point on the curve approximately around the point Pt where the tangent is expected?

I would like to use a function similar to LineBetweenCurves, but where one point P0 does not need to be on a curve nor that it has any other restrictions whatsoever. Just that the line passes through P0 and is tangent to the curve in a point near Pt.

In fact, this would be the Rhinoscript version of the following:

http://docs.mcneel.com/rhino/5/help/en-us/commands/line.htm

Under **Tangent** (Draws the line tangent from a curve), as in option **Point:** Allows you to pick a point that is near, but not on a curve, overriding the built-in object snap.

Many thanks in advance.

Kind regards,

Filip Rooms