[pstricks] Points of Intersection
E. Krishnan
ekmath at asianetindia.com
Thu Mar 19 00:56:52 CET 2009
On Wed, 18 Mar 2009, David Arnold wrote:
> What I am wondering is this: Is there a slicker way of accomplishing
> this goal of drawing a triangle with sides 4, 5, and 6 units?
Please see whether this helps:
\newcommand{\pstrilateral}[4][]{%
\SpecialCoor
\pspolygon[#1](0,0)(#2,0)%
(#3;!#4 #3 add #2 sub #4 #3 sub #2 add mul sqrt
#4 #3 add #2 add #3 #2 add #4 sub mul sqrt atan 2 mul)}
\pstrilateral[linecolor=Blue]{6}{5}{4}
--
Krishnan
More information about the PSTricks
mailing list