Class Matrix4f
java.lang.Object
edu.nps.moves.legacy.math.Matrix4f
EXECUTIVE SUMMARY
Module Name: Matrix4f.java
Description: Definition of the Matrix4f class
- Author:
- Kent A. Watsen, http://www.mbay.net/~watsen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getEulers
(float[] hpr) void
getEulers
(float[] h, float[] p, float[] r) void
getMat
(float[][] mat) void
float
getMatValue
(int row, int col) void
getQuat
(Quaternion quat) void
void
makeNull()
void
print()
void
setEulers
(float[] hpr) void
setEulers
(float h, float p, float r) void
setMat
(float[][] mat) void
void
setMatValue
(int row, int col, float val) void
setQuat
(Quaternion quat) void
xform
(float[] v) void
-
Constructor Details
-
Matrix4f
public Matrix4f() -
Matrix4f
public Matrix4f(float[][] mat) -
Matrix4f
-
Matrix4f
-
Matrix4f
public Matrix4f(float[] hpr) -
Matrix4f
public Matrix4f(float heading, float pitch, float roll)
-
-
Method Details
-
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
-
getMat
-
setQuat
-
getQuat
-
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
-
xform
public void xform(float[] v)
-