Lines Matching refs:theta

105  * 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) {
642 Tx.setToRotation(theta);
658 * Tx.rotate(theta); // S2: rotate around anchor
663 * [ cos(theta) -sin(theta) x-x*cos+y*sin ]
664 * [ sin(theta) cos(theta) y-x*sin-y*cos ]
667 * Rotating by a positive angle theta rotates points on the positive
673 * @param theta the angle of rotation measured in radians
681 public static AffineTransform getRotateInstance(double theta,
686 Tx.setToRotation(theta, anchorx, anchory);
1397 * [ cos(theta) -sin(theta) 0 ]
1398 * [ sin(theta) cos(theta) 0 ]
1401 * Rotating by a positive angle theta rotates points on the positive
1406 * @param theta the angle of rotation measured in radians
1409 public void rotate(double theta) {
1410 double sin = Math.sin(theta);
1416 double cos = Math.cos(theta);
1446 * rotate(theta); // S2: rotate around anchor
1449 * Rotating by a positive angle theta rotates points on the positive
1455 * @param theta the angle of rotation measured in radians
1460 public void rotate(double theta, double anchorx, double anchory) {
1463 rotate(theta);
1797 * [ cos(theta) -sin(theta) 0 ]
1798 * [ sin(theta) cos(theta) 0 ]
1801 * Rotating by a positive angle theta rotates points on the positive
1806 * @param theta the angle of rotation measured in radians
1809 public void setToRotation(double theta) {
1810 double sin = Math.sin(theta);
1817 cos = Math.cos(theta);
1850 * rotate(theta); // S2: rotate around anchor
1855 * [ cos(theta) -sin(theta) x-x*cos+y*sin ]
1856 * [ sin(theta) cos(theta) y-x*sin-y*cos ]
1859 * Rotating by a positive angle theta rotates points on the positive
1865 * @param theta the angle of rotation measured in radians
1870 public void setToRotation(double theta, double anchorx, double anchory) {
1871 setToRotation(theta);