Finding Tangents to a Curve

 From:  Michael Gibson
11632.53 In reply to 11632.52 
Hi Brian,

re:
> If a programmer wanted to utilize the new list of numbers in order, from start to end,
> is the list already in order, corresponding to: from curve start to curve end?

Yes the returned list of parameters is sorted in ascending order.


> So the code line:
> var pt = crv.evaluatePoint( params.item( i ) );
> transforms (evaluates) each params number to locate/create a new RAW point on
> the curve, ( with coordinates in the current cplane ).

The resulting point will be in world coordinates, not necessarily in the current cplane.

If you want coordinates relative to the current cplane you would need to transform it.


> A line drawn from such a (tan) point, to the initial External point, will be tangent to
> the starting curve, at said new point location on the curve.

Yup, like this:





- Michael