[metapost] tangent

Honza Prachar pracj3am at mbox.troja.mff.cuni.cz
Mon Jan 17 18:29:13 CET 2005


On Mon, 17 Jan 2005, Laurence Finston wrote:

> You'll have to be more specific.  For example, a `path' can represent
> a straight line segment, in which case the problem reduces to
> determining whether `z' lies on that line.  It could also represent an
> `ellipse', so if `z' is located at one of the corners of the
> surrounding rectangle, it lies on two tangents to the `path'.

I meant general curve. I found solution using loop to determine right
point, where tangent and curve have same direction. But I do not believe
it is the simpliest solution.

`Honza` Prachar



More information about the metapost mailing list