6 package eu.mihosoft.vrl.v3d;
17 public double m11, m12, m13;
20 public double m21, m22, m23;
23 public double m31, m32, m33;
45 double m21,
double m22,
double m23,
46 double m31,
double m32,
double m33) {
63 return "[" +
m11 +
", " + m12 +
", " + m13 +
"]\n"
64 +
"[" +
m21 +
", " + m22 +
", " + m23 +
"]\n"
65 +
"[" +
m31 +
", " + m32 +
", " + m33 +
"]";
76 if (getClass() != obj.getClass()) {
80 if (Double.doubleToLongBits(
this.m11) != Double.doubleToLongBits(other.
m11)) {
83 if (Double.doubleToLongBits(
this.m12) != Double.doubleToLongBits(other.m12)) {
86 if (Double.doubleToLongBits(
this.m13) != Double.doubleToLongBits(other.m13)) {
89 if (Double.doubleToLongBits(
this.m21) != Double.doubleToLongBits(other.
m21)) {
92 if (Double.doubleToLongBits(
this.m22) != Double.doubleToLongBits(other.m22)) {
95 if (Double.doubleToLongBits(
this.m23) != Double.doubleToLongBits(other.m23)) {
98 if (Double.doubleToLongBits(
this.m31) != Double.doubleToLongBits(other.
m31)) {
101 if (Double.doubleToLongBits(
this.m32) != Double.doubleToLongBits(other.m32)) {
104 if (Double.doubleToLongBits(
this.m33) != Double.doubleToLongBits(other.m33)) {
121 m11 * a, m12 * a, m13 * a,
122 m21 * a, m22 * a, m23 * a,
123 m31 * a, m32 * a, m33 * a);
137 m11 * a.
x + m12 * a.
y + m13 * a.
z,
138 m21 * a.
x + m22 * a.
y + m23 * a.
z,
139 m31 * a.
x + m32 * a.
y + m33 * a.
z);
boolean equals(Object obj)
static final Matrix3d UNITY
Vector3d times(Vector3d a)
static final Matrix3d ZERO
Matrix3d(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33)
static Vector3d y(double y)
static Vector3d z(double z)
static Vector3d x(double x)