A - A phantom type parameter (possibly representing a source
coordinate system)B - A phantom type parameter (possibly representing a target
coordinate system)MatrixComputationalType, PMatrix4x4DType<A,B>, PMatrixReadable4x4DType<A,B>, MatrixReadable4x4DType, MatrixReadableDTypepublic final class PMatrix4x4D<A,B> extends Object implements PMatrix4x4DType<A,B>
double-typed matrices.| Modifier and Type | Class | Description |
|---|---|---|
static class |
PMatrix4x4D.Builder<A,B> |
Builds instances of type
PMatrix4x4D. |
| Modifier and Type | Method | Description |
|---|---|---|
static <A,B> PMatrix4x4D.Builder<A,B> |
builder() |
Creates a builder for
PMatrix4x4D. |
boolean |
equals(Object another) |
This instance is equal to all instances of
PMatrix4x4D that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
r0c0, r0c1, r0c2, r0c3, r1c0, r1c1, r1c2, r1c3, r2c0, r2c1, r2c2, r2c3, r3c0, r3c1, r3c2, r3c3. |
static <A,B> PMatrix4x4D<A,B> |
of(double r0c0,
double r0c1,
double r0c2,
double r0c3,
double r1c0,
double r1c1,
double r1c2,
double r1c3,
double r2c0,
double r2c1,
double r2c2,
double r2c3,
double r3c0,
double r3c1,
double r3c2,
double r3c3) |
Construct a new immutable
PMatrix4x4D instance. |
double |
r0c0() |
|
double |
r0c1() |
|
double |
r0c2() |
|
double |
r0c3() |
|
double |
r1c0() |
|
double |
r1c1() |
|
double |
r1c2() |
|
double |
r1c3() |
|
double |
r2c0() |
|
double |
r2c1() |
|
double |
r2c2() |
|
double |
r2c3() |
|
double |
r3c0() |
|
double |
r3c1() |
|
double |
r3c2() |
|
double |
r3c3() |
|
String |
toString() |
Prints the immutable value
PMatrix4x4D with attribute values. |
rowColumnpublic double r0c0()
r0c0 in interface MatrixReadable4x4DTyper0c0 in interface PMatrix4x4DType<A,B>public double r0c1()
r0c1 in interface MatrixReadable4x4DTyper0c1 in interface PMatrix4x4DType<A,B>public double r0c2()
r0c2 in interface MatrixReadable4x4DTyper0c2 in interface PMatrix4x4DType<A,B>public double r0c3()
r0c3 in interface MatrixReadable4x4DTyper0c3 in interface PMatrix4x4DType<A,B>public double r1c0()
r1c0 in interface MatrixReadable4x4DTyper1c0 in interface PMatrix4x4DType<A,B>public double r1c1()
r1c1 in interface MatrixReadable4x4DTyper1c1 in interface PMatrix4x4DType<A,B>public double r1c2()
r1c2 in interface MatrixReadable4x4DTyper1c2 in interface PMatrix4x4DType<A,B>public double r1c3()
r1c3 in interface MatrixReadable4x4DTyper1c3 in interface PMatrix4x4DType<A,B>public double r2c0()
r2c0 in interface MatrixReadable4x4DTyper2c0 in interface PMatrix4x4DType<A,B>public double r2c1()
r2c1 in interface MatrixReadable4x4DTyper2c1 in interface PMatrix4x4DType<A,B>public double r2c2()
r2c2 in interface MatrixReadable4x4DTyper2c2 in interface PMatrix4x4DType<A,B>public double r2c3()
r2c3 in interface MatrixReadable4x4DTyper2c3 in interface PMatrix4x4DType<A,B>public double r3c0()
r3c0 in interface MatrixReadable4x4DTyper3c0 in interface PMatrix4x4DType<A,B>public double r3c1()
r3c1 in interface MatrixReadable4x4DTyper3c1 in interface PMatrix4x4DType<A,B>public double r3c2()
r3c2 in interface MatrixReadable4x4DTyper3c2 in interface PMatrix4x4DType<A,B>public double r3c3()
r3c3 in interface MatrixReadable4x4DTyper3c3 in interface PMatrix4x4DType<A,B>public boolean equals(Object another)
PMatrix4x4D that have equal attribute values.public int hashCode()
r0c0, r0c1, r0c2, r0c3, r1c0, r1c1, r1c2, r1c3, r2c0, r2c1, r2c2, r2c3, r3c0, r3c1, r3c2, r3c3.public String toString()
PMatrix4x4D with attribute values.public static <A,B> PMatrix4x4D<A,B> of(double r0c0, double r0c1, double r0c2, double r0c3, double r1c0, double r1c1, double r1c2, double r1c3, double r2c0, double r2c1, double r2c2, double r2c3, double r3c0, double r3c1, double r3c2, double r3c3)
PMatrix4x4D instance.r0c0 - The value for the r0c0 attributer0c1 - The value for the r0c1 attributer0c2 - The value for the r0c2 attributer0c3 - The value for the r0c3 attributer1c0 - The value for the r1c0 attributer1c1 - The value for the r1c1 attributer1c2 - The value for the r1c2 attributer1c3 - The value for the r1c3 attributer2c0 - The value for the r2c0 attributer2c1 - The value for the r2c1 attributer2c2 - The value for the r2c2 attributer2c3 - The value for the r2c3 attributer3c0 - The value for the r3c0 attributer3c1 - The value for the r3c1 attributer3c2 - The value for the r3c2 attributer3c3 - The value for the r3c3 attributepublic static <A,B> PMatrix4x4D.Builder<A,B> builder()
PMatrix4x4D.A - generic parameter AB - generic parameter BCopyright © 2017 <code@io7m.com> http://io7m.com