Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // RotationMatrix.java
- // Easel
- //
- // Created by Philip Rhodes on 7/28/05.
- // Copyright 2005 __MyCompanyName__. All rights reserved.
- //
- /** Abstract parent class of all rotation matrices. */
- public abstract class RotationMatrix extends Matrix {
- /** All rotation matrices should support this method, which
- * sets the angle of rotation. The angle is expressed in radians
- */
- public abstract void setAngle(double theta);
- /** Calling this method on a rotation matrix is dangerous, since the
- * result may no longer be a rotation matrix.
- */
- public void copy(Matrix m){
- System.out.println("RotationMatrix.java: copy(Matrix) can only be called on a generic Matrix.");
- System.exit(1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement