[pstricks] rotation of nodes

Dominique RODRIGUEZ dominique.rodriguez at waika9.com
Thu Sep 25 20:33:24 CEST 2008


Dear Doris,

>  \pstRotation[RotAngle=60]{O}{A}[B] (pst-eucl) rotates the node A  
>  around the point O by 60 degrees and names the resulting point B.
>  I would like to use this point B for another construction, the problem  
>  is that B is named, but not set to be a new node. how can I get B to  
>  be defined as a new node?

The result of a rotation is a point-node for pstricks, please try this:

  \pstGeonode{O}(2,3){A}
  \pstRotation[RotAngle=60]{O}{A}[B]
  \pstRotation[RotAngle=90]{B}{A}
  \pstLineAB[linecolor=red, nodesep=-3]{B}{A'}
  \pstLineAB[linecolor=yellow, nodesep=-3]{B}{A}
  \pstRightAngle{A}{B}{A'}

Dominique
-- 
  Les Galinières - 07460 St André de C. FRANCE-- tel: (+33)475.39.05.82



More information about the PSTricks mailing list