math
Class Mat3
java.lang.Object
   math.Mat3
math.Mat3
- All Implemented Interfaces: 
- java.io.Serializable
- public class Mat3 
- extends java.lang.Object- implements java.io.Serializable
- See Also:
- Serialized Form
| Constructor Summary | 
| Mat3()
 | 
| Mat3(double[][] a_)
 | 
| Mat3(javax.vecmath.Matrix3d m3d)
 | 
 
| Method Summary | 
| static int[] | centroid(java.awt.Polygon p)
 | 
|  double[][] | getArray()
 | 
|  javax.vecmath.Matrix3d | getMatrix3d()
 | 
|  Mat3 | invert()
 | 
| static void | main(java.lang.String[] args)
 | 
|  void | multiply(double s)
 | 
|  float[] | multiply(float v1,
         float v2,
         float v3)
 | 
|  int[] | multiply(int v1,
         int v2,
         int v3)
 | 
|  Mat3 | multiply(Mat3 bmat3)
 | 
|  double[] | premultiply(double v1,
            double v2,
            double v3)
 | 
|  float[] | premultiply(float v1,
            float v2,
            float v3)
 | 
|  int[] | premultiply(int v1,
            int v2)
 | 
|  void | print()
 | 
|  void | print(java.lang.String s)
 | 
|  void | setPerspective(double px,
               double py)
 | 
|  void | setRotation(double theta)
 | 
|  void | setScale(double sx,
         double sy)
 | 
|  void | setShear(double shx,
         double shy)
 | 
|  void | setTranslation(double tx,
               double ty)
 | 
|  java.awt.Polygon | transform(java.awt.Polygon p)
 | 
|  Mat3 | transpose()
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Mat3
public Mat3()
Mat3
public Mat3(double[][] a_)
Mat3
public Mat3(javax.vecmath.Matrix3d m3d)
setTranslation
public void setTranslation(double tx,
                           double ty)
- 
 
- 
 
setScale
public void setScale(double sx,
                     double sy)
- 
 
- 
 
setRotation
public void setRotation(double theta)
- 
 
- 
 
setShear
public void setShear(double shx,
                     double shy)
- 
 
- 
 
setPerspective
public void setPerspective(double px,
                           double py)
- 
 
- 
 
main
public static void main(java.lang.String[] args)
- 
 
- 
 
transform
public java.awt.Polygon transform(java.awt.Polygon p)
- 
 
- 
 
centroid
public static int[] centroid(java.awt.Polygon p)
- 
 
- 
 
getArray
public double[][] getArray()
- 
 
- 
 
invert
public Mat3 invert()
- 
 
- 
 
transpose
public Mat3 transpose()
- 
 
- 
 
multiply
public Mat3 multiply(Mat3 bmat3)
- 
 
- 
 
multiply
public int[] multiply(int v1,
                      int v2,
                      int v3)
- 
 
- 
 
multiply
public void multiply(double s)
- 
 
- 
 
multiply
public float[] multiply(float v1,
                        float v2,
                        float v3)
- 
 
- 
 
premultiply
public int[] premultiply(int v1,
                         int v2)
- 
 
- 
 
premultiply
public double[] premultiply(double v1,
                            double v2,
                            double v3)
- 
 
- 
 
premultiply
public float[] premultiply(float v1,
                           float v2,
                           float v3)
- 
 
- 
 
print
public void print(java.lang.String s)
- 
 
- 
 
print
public void print()
- 
 
- 
 
getMatrix3d
public javax.vecmath.Matrix3d getMatrix3d()
- 
 
-