%% syntaxe : a b {f} array newcourbe --> solid
/newcourbe {
10 dict begin
dup xcheck not {
0 get /n exch def
} {
/n 80 def
} ifelse
/l@f@nct exch def
/b exch def
/a exch def
/pas b a sub n 1 sub div def
/S [
0 1 n 1 sub {
/@i exch def
a @i pas mul add
l@f@nct
pstrickactionR3
} for
] def
/@F [
0 1 n 2 sub {
/@i exch def
[@i @i 1 add]
} for
] def
S @F generesolid
end
} def
|