Worldwind public release 0.2
[worldwind-tracker.git] / gov / nasa / worldwind / geom / Matrix.java
blob3ad5011ee1d05a6c744084434a0e5fe88fa60765
1 /*
2 Copyright (C) 2001, 2006 United States Government
3 as represented by the Administrator of the
4 National Aeronautics and Space Administration.
5 All Rights Reserved.
6 */
7 package gov.nasa.worldwind.geom;
9 /**
10 * The interface World Wind uses to interact with matrices. This interface can be implemented by an application's
11 * own matrix classes. World Wind will then use instances of those classes for matrix manipulation.
12 * @author Tom Gaskins
13 * @version $Id: Matrix.java 1749 2007-05-06 19:48:14Z tgaskins $
15 public interface Matrix
17 Matrix setToIdentity();
18 Matrix rotate(Angle rotation, double axisX, double axisY, double axisZ);
19 Matrix rotateX(Angle rotation);
20 Matrix rotateY(Angle rotation);
21 Matrix rotateZ(Angle rotation);
22 Matrix translate(double x, double y, double z);
23 Matrix translate(Point p);
24 Matrix multiply(Matrix m);
25 Matrix add(Matrix m);
26 Matrix getInverse();
27 Matrix getTranspose();
28 double determinant();
29 double[] getEntries();
30 boolean isOrthonormal();
31 Point transform(Point p);