Changeset 81

Show
Ignore:
Timestamp:
07/08/08 15:34:52 (5 months ago)
Author:
jpv
Message:

Supression de l'objet "plantype"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/solides.pro

    r80 r81  
    1060510605      dup ngrid planputngrid 
    1060610606   } if 
    10607       tx@Dict /solidname known { 
     10607   tx@Dict /solidname known { 
    1060810608      solidname cvlit exch bind def 
    1060910609      tx@Dict /solidname undef 
     
    1061210612   } ifelse 
    1061310613} def 
     10614/pst-plan- {pst-plan-plantype} def 
     10615 
     10616%x0 y0 z0 [normalvect] norm2plan 
     10617/pst-plan-plantype { 
     10618   dup plan2eq /eqpl@n exch def 
     10619   /plan-@k true def 
     10620} def 
    1061410621 
    1061510622/pst-plan { 
     
    1061710624   args (pst-plan-) definition append cvx exec 
    1061810625   /pl@n-en-cours true def 
    10619    plan-@k not { 
     10626   definition length 0 ne { 
     10627%   plan-@k not { 
    1062010628      dup 
    1062110629      base 0 get base 1 get lt 
     
    1062310631         base 
    1062410632      } { 
    10625          [-2 2 -2 2] 
     10633         [-3 3 -2 2] %pop base %aload pop boum 
    1062610634      } ifelse 
    1062710635      planputrange 
     
    1062910637         dup origin planputorigine 
    1063010638      } if 
     10639      CX isreal 
     10640      CX 0 eq and 
     10641      CY isreal and 
     10642      CY 0 eq and 
     10643      CZ isreal and 
     10644      CZ 0 eq and not { 
     10645         dup CX CY CZ planputorigine 
     10646      } if 
     10647      /CX 0. def 
     10648      /CY 0. def 
     10649      /CZ 0. def 
    1063110650      ngrid length 0 ne { 
    1063210651         dup ngrid planputngrid 
     
    1063610655   dup phi rotateplan 
    1063710656   /l@pl@n exch def 
     10657   tx@Dict /solidname known { 
     10658      l@pl@n solidname cvlit exch bind def 
     10659      /solidname solidname (_s) append store 
     10660   } if 
    1063810661   l@pl@n newplan 
    1063910662   gere_pstricks_opt 
     
    1064210665%   noir 
    1064310666   l@pl@n RotX RotY RotZ rotateOplan 
    10644    l@pl@n CX CY CZ plantranslate 
     10667%   l@pl@n CX CY CZ plantranslate 
    1064510668   fontsize setfontsize 
    1064610669   setTimes 
     
    1065110674} def 
    1065210675 
    10653 /pst-plan- {pst-plan-plantype} def 
    10654  
    10655 %x0 y0 z0 [normalvect] norm2plan 
    10656 /pst-plan-plantype { 
    10657    dup plan2eq /eqpl@n exch def 
    10658    /plan-@k true def 
    10659 } def 
    1066010676 
    1066110677/pst-plan-normalpoint {