[pstricks] {pst-eucl?} Drawing a circle with tangent

Hubert Lam pstricks at tug.org
Mon Aug 2 23:43:24 CEST 2010


Sorry, I meant the examples provided in .tex files with the package but
drawn in the documentation (p. 24, section 2.1.7)

I'll give an example here instead


\pstGeonode(1,1){A}(-2,-1){B}(0,-2){O}
\pstLineAB{A}{B}
\pstProjection{A}{B}{O}[T]
\pstCircleOA{O}{T}

This is the way to draw the circle and tangent without being able to
specify the radius or point of contact directly (but am able to specify
directly the tangent). I would like to be able to specify the radius
directly and also the point of contact.

Many thanks

Hubert


On Mon, 02 Aug 2010 08:35 +0200, "Herbert Voss"
<Herbert.Voss at fu-berlin.de> wrote:
> Am 02.08.2010 04:55, schrieb Hubert Lam:
> > In the documentation of pst-eucl the author shows how to draw a circle
> > with a tangent by specifying three points: the end points of the tangent
> > and the centre of the circle, then the point of contact is found by
> > \pstProjection (i.e. radius is perpendicular to point of contact) and
> > then the circle is drawn using \pstCircleOA.
> 
> Hubert,
> to which page of the documentation do you refer?
> 
> > Is there a way of using the macros in pst-eucl (and/or pstricks-add) to
> > specify the radius of the circle, and then drawing the tangent from
> > there without having to differentiate the semicircle function, find the
> > coordinates of the point of contact and then substitute into y = mx + b?
> 
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
> 


More information about the PSTricks mailing list