mil.navy.nps.math
Class Matrix4f

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

public class Matrix4f
extends java.lang.Object


Constructor Summary
Matrix4f()
           
Matrix4f(float[] hpr)
           
Matrix4f(float[][] mat)
           
Matrix4f(float heading, float pitch, float roll)
           
Matrix4f(Matrix4f mat)
           
Matrix4f(Quaternion quat)
           
 
Method Summary
 void getEulers(float[] hpr)
           
 void getEulers(float[] h, float[] p, float[] r)
           
 void getMat(float[][] mat)
           
 void getMat(Matrix4f 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(Matrix4f mat)
           
 void setMatValue(int row, int col, float val)
           
 void setQuat(Quaternion quat)
           
 void xform(float[] v)
           
 void xform(Vec4f vec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix4f

public Matrix4f()

Matrix4f

public Matrix4f(float[][] mat)

Matrix4f

public Matrix4f(Matrix4f mat)

Matrix4f

public Matrix4f(Quaternion quat)

Matrix4f

public Matrix4f(float[] hpr)

Matrix4f

public Matrix4f(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(Matrix4f mat)

getMat

public void getMat(Matrix4f 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(Vec4f vec)

xform

public void xform(float[] v)