Home
last modified time | relevance | path

Searched refs:sintheta (Results 1 – 4 of 4) sorted by relevance

/original-bsd/lib/libplot/hp2648/
H A Dcircle.c17 double costheta,sintheta,x,y,xn; local
24 sintheta = 1.0/r;
25 costheta = pow(1-sintheta*sintheta,0.5);
31 xi = x = x*costheta + y*sintheta;
32 yi = y = y*costheta - xn*sintheta;
H A Darc.c17 double costheta,sintheta,x,y,xn,r; local
27 sintheta = 1.0/r;
28 costheta = pow(1-sintheta*sintheta,0.5);
41 xi = x = x*costheta + y*sintheta;
42 yi = y = y*costheta - xn*sintheta;
/original-bsd/lib/libplot/bitgraph/
H A Darc.c21 double r, radius, costheta, sintheta; local
55 sintheta = 1.0/radius;
93 x = x*costheta - y*sintheta;
94 y = tempX*sintheta + y*costheta;
/original-bsd/usr.bin/plot/
H A Dcrtplot.c231 double r, radius, costheta, sintheta; local
257 sintheta = 1.0/radius;
296 x = x*costheta - y*sintheta;
297 y = tempX*sintheta + y*costheta;