Searched refs:theta (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmssm.c66 // theta = L*
68 #define SECTORS 16 // number of divisions in alpha and theta
75 cmsFloat64Number theta; member in struct:__anon839
90 cmsSpherical p; // Keep also alpha & theta of maximum
160 sp ->alpha = sp ->theta = 0;
165 sp ->theta = _cmsAtan2(sqrt(a*a + b*b), L);
181 sin_theta = sin((M_PI * sp ->theta) / 180.0);
182 cos_theta = cos((M_PI * sp ->theta) / 180.0);
197 void QuantizeToSector(const cmsSpherical* sp, int* alpha, int* theta) argument
200 *theta
354 int alpha, theta; local
468 FindNearSectors(cmsGDB* gbd, int alpha, int theta, cmsGDBPoint* Close[]) argument
502 InterpolateMissingSector(cmsGDB* gbd, int alpha, int theta) argument
580 int alpha, theta; local
[all...]
/openjdk7/jdk/src/share/demo/applets/MoleculeViewer/
H A DMatrix3D.java97 /** rotate theta degrees about the y axis */
98 void yrot(double theta) { argument
99 theta *= (pi / 180);
100 double ct = Math.cos(theta);
101 double st = Math.sin(theta);
123 /** rotate theta degrees about the x axis */
124 void xrot(double theta) { argument
125 theta *= (pi / 180);
126 double ct = Math.cos(theta);
127 double st = Math.sin(theta);
150 zrot(double theta) argument
[all...]
/openjdk7/jdk/src/share/demo/applets/WireFrame/
H A DMatrix3D.java97 /** rotate theta degrees about the y axis */
98 void yrot(double theta) { argument
99 theta *= (pi / 180);
100 double ct = Math.cos(theta);
101 double st = Math.sin(theta);
123 /** rotate theta degrees about the x axis */
124 void xrot(double theta) { argument
125 theta *= (pi / 180);
126 double ct = Math.cos(theta);
127 double st = Math.sin(theta);
150 zrot(double theta) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DGraphics2D.java1001 * [ cos(theta) -sin(theta) 0 ]
1002 * [ sin(theta) cos(theta) 0 ]
1005 * Rotating with a positive angle theta rotates points on the positive
1007 * @param theta the angle of rotation in radians
1009 public abstract void rotate(double theta); argument
1021 * rotate(theta);
1024 * Rotating with a positive angle theta rotates points on the positive
1026 * @param theta th
1030 rotate(double theta, double x, double y) argument
[all...]
/openjdk7/hotspot/test/compiler/8005956/
H A DPolynomialRoot.java197 final double theta = Math.acos (ratio);
200 u[0] = norm * Math.cos (theta / 3) - rc3;
201 u[1] = norm * Math.cos ((theta + 2.0 * Math.PI) / 3) - rc3;
202 u[2] = norm * Math.cos ((theta - 2.0 * Math.PI) / 3) - rc3;
621 final double theta = Math.acos (ratio);
623 final double r0 = norm * Math.cos (theta/3) - a3;
624 final double r1 = norm * Math.cos ((theta + 2.0 * Math.PI) / 3) - a3;
625 final double r2 = norm * Math.cos ((theta - 2.0 * Math.PI) / 3) - a3;
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DOrder3.java355 double theta = Math.acos(R / Math.sqrt(Q3));
357 t = refine(a, b, c, y, Q * Math.cos(theta / 3.0) - a_3);
360 Q * Math.cos((theta + Math.PI * 2.0)/ 3.0) - a_3);
364 Q * Math.cos((theta - Math.PI * 2.0)/ 3.0) - a_3);
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DGraphicsTests.java468 double theta = Math.toRadians(15);
469 double cos = Math.cos(theta);
470 double sin = Math.sin(theta);
479 at.rotate(theta);
/openjdk7/jdk/src/share/classes/sun/print/
H A DPeekGraphics.java226 * [ cos(theta) -sin(theta) 0 ]
227 * [ sin(theta) cos(theta) 0 ]
230 * Rotating with a positive angle theta rotates points on the positive
232 * @param theta The angle of rotation in radians.
234 public void rotate(double theta) { argument
235 mGraphics.rotate(theta);
244 * rotate(theta);
247 * Rotating with a positive angle theta rotate
253 rotate(double theta, double x, double y) argument
[all...]
H A DProxyGraphics2D.java162 * [ cos(theta) -sin(theta) 0 ]
163 * [ sin(theta) cos(theta) 0 ]
166 * Rotating with a positive angle theta rotates points on the positive
168 * @param theta The angle of rotation in radians.
170 public void rotate(double theta) { argument
171 mGraphics.rotate(theta);
180 * rotate(theta);
183 * Rotating with a positive angle theta rotate
189 rotate(double theta, double x, double y) argument
[all...]
/openjdk7/jdk/src/share/demo/applets/Fractal/
H A DCLSFractal.java363 public void rotate(float theta) { argument
364 angle += theta;
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DAffineTransform.java105 * These methods therefore treat an angle <em>theta</em> as a quadrant
106 * rotation if either <code>Math.sin(<em>theta</em>)</code> or
107 * <code>Math.cos(<em>theta</em>)</code> returns exactly 1.0 or -1.0.
626 * [ cos(theta) -sin(theta) 0 ]
627 * [ sin(theta) cos(theta) 0 ]
630 * Rotating by a positive angle theta rotates points on the positive
635 * @param theta the angle of rotation measured in radians
640 public static AffineTransform getRotateInstance(double theta) { argument
681 getRotateInstance(double theta, double anchorx, double anchory) argument
1409 rotate(double theta) argument
1460 rotate(double theta, double anchorx, double anchory) argument
1809 setToRotation(double theta) argument
1870 setToRotation(double theta, double anchorx, double anchory) argument
[all...]
H A DArc2D.java891 double theta = Math.abs(ang2 - bisect);
892 double dist = radius / Math.sin(theta);
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphics2D.java1084 * ends up being the tangent of 2*theta where theta is
1453 * [ cos(theta) -sin(theta) 0 ]
1454 * [ sin(theta) cos(theta) 0 ]
1457 * Rotating with a positive angle theta rotates points on the positive
1459 * @param theta The angle of rotation in radians.
1461 public void rotate(double theta) { argument
1462 transform.rotate(theta);
1481 rotate(double theta, double x, double y) argument
[all...]

Completed in 92 milliseconds