mil.navy.nps.math
Class Matrix3f

java.lang.Object
  extended bymil.navy.nps.math.Matrix3f

public class Matrix3f
extends java.lang.Object


Constructor Summary
Matrix3f()
           
Matrix3f(float[] hpr)
           
Matrix3f(float[][] mat)
           
Matrix3f(float heading, float pitch, float roll)
           
Matrix3f(Matrix3f mat)
           
Matrix3f(Quaternion quat)
           
 
Method Summary
 void getEulers(float[] hpr)
           
 void getEulers(float[] h, float[] p, float[] r)
           
 void getMat(float[][] mat)
           
 void getMat(Matrix3f mat)
           
 float getMatValue(int row, int col)
           
 void getQuat(Quaternion quat)
           
 void makeIdent()
           
 void makeNull()
           
 void print()
           
 void setEulers(float[] hpr)
           
 void setEulers(float h, float p, float r)
           
 void setMat(float[][] mat)
           
 void setMat(Matrix3f mat)
           
 void setMatValue(int row, int col, float val)
           
 void setQuat(Quaternion quat)
           
 void xform(float[] v)
           
 void xform(Vec3f vec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix3f

public Matrix3f()

Matrix3f

public Matrix3f(float[][] mat)

Matrix3f

public Matrix3f(Matrix3f mat)

Matrix3f

public Matrix3f(Quaternion quat)

Matrix3f

public Matrix3f(float[] hpr)

Matrix3f

public Matrix3f(float heading,
                float pitch,
                float roll)
Method Detail

print

public void print()

setMatValue

public void setMatValue(int row,
                        int col,
                        float val)

getMatValue

public float getMatValue(int row,
                         int col)

setMat

public void setMat(float[][] mat)

getMat

public void getMat(float[][] mat)

setMat

public void setMat(Matrix3f mat)

getMat

public void getMat(Matrix3f mat)

setQuat

public void setQuat(Quaternion quat)

getQuat

public void getQuat(Quaternion quat)

setEulers

public void setEulers(float[] hpr)

getEulers

public void getEulers(float[] hpr)

setEulers

public void setEulers(float h,
                      float p,
                      float r)

getEulers

public void getEulers(float[] h,
                      float[] p,
                      float[] r)

makeNull

public void makeNull()

makeIdent

public void makeIdent()

xform

public void xform(Vec3f vec)

xform

public void xform(float[] v)