Static Public Member Functions | |
| static meshlib.Matrix4i64 | zero () |
| static meshlib.Matrix4i64 | identity () |
| static meshlib.Matrix4i64 | scale (long s) |
Static Public Attributes | |
| static final java.lang.foreign.StructLayout | LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"x", "y", "z", "w"}, new java.lang.foreign.MemoryLayout[]{meshlib.Vector4i64.LAYOUT, meshlib.Vector4i64.LAYOUT, meshlib.Vector4i64.LAYOUT, meshlib.Vector4i64.LAYOUT}) |
| static final long | OFF_x = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("x")) |
| static final long | OFF_y = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("y")) |
| static final long | OFF_z = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("z")) |
| static final long | OFF_w = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("w")) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppStruct | |
| CppStruct (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Protected Attributes inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | segment |
arbitrary 4x4 matrix Generated from class MR::Matrix4i64.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.Matrix4i64.Matrix4i64 | ( | java.lang.foreign.MemorySegment | segment, |
| java.lang.Object | owner ) |
Wraps a segment holding the struct. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.Matrix4i64.Matrix4i64 | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Matrix4i64_DefaultConstruct().
| meshlib.Matrix4i64.Matrix4i64 | ( | meshlib.Vector4i64 | x, |
| meshlib.Vector4i64 | y, | ||
| meshlib.Vector4i64 | z, | ||
| meshlib.Vector4i64 | w ) |
initializes matrix from 4 row-vectors Generated from constructor MR::Matrix4i64::Matrix4i64. The reference to the parameter x might be preserved in the constructed object. The reference to the parameter y might be preserved in the constructed object. The reference to the parameter z might be preserved in the constructed object. The reference to the parameter w might be preserved in the constructed object.
Calls MR_Matrix4i64_Construct_4().
| meshlib.Matrix4i64.Matrix4i64 | ( | meshlib.Matrix3i64 | r, |
| meshlib.Vector3i64 | t ) |
construct from rotation matrix and translation vector Generated from constructor MR::Matrix4i64::Matrix4i64. The reference to the parameter r might be preserved in the constructed object. The reference to the parameter t might be preserved in the constructed object.
Calls MR_Matrix4i64_Construct_2().
| long meshlib.Matrix4i64.call | ( | int | row, |
| int | col ) |
element access Generated from method MR::Matrix4i64::operator().
Calls MR_Matrix4i64_call().
| java.lang.foreign.MemorySegment meshlib.Matrix4i64.call_mut | ( | int | row, |
| int | col ) |
Generated from method MR::Matrix4i64::operator().
Calls MR_Matrix4i64_call_mut(). Some types are raw C types, see the C bindings for the details.
| meshlib.Vector4i64 meshlib.Matrix4i64.col | ( | int | i | ) |
column access Generated from method MR::Matrix4i64::col.
Calls MR_Matrix4i64_col().
| Matrix4i64 meshlib.Matrix4i64.copy | ( | ) |
A copy of the struct, in its own memory.
| java.lang.Long meshlib.Matrix4i64.data | ( | ) |
Generated from method MR::Matrix4i64::data.
Calls MR_Matrix4i64_data().
| java.lang.foreign.MemorySegment meshlib.Matrix4i64.data_mut | ( | ) |
Generated from method MR::Matrix4i64::data.
Calls MR_Matrix4i64_data_mut(). Some types are raw C types, see the C bindings for the details.
| long meshlib.Matrix4i64.det | ( | ) |
computes determinant of the matrix Generated from method MR::Matrix4i64::det.
Calls MR_Matrix4i64_det().
| meshlib.Matrix3i64 meshlib.Matrix4i64.getRotation | ( | ) |
Generated from method MR::Matrix4i64::getRotation.
Calls MR_Matrix4i64_getRotation().
| meshlib.Vector3i64 meshlib.Matrix4i64.getTranslation | ( | ) |
Generated from method MR::Matrix4i64::getTranslation.
Calls MR_Matrix4i64_getTranslation().
|
static |
Generated from method MR::Matrix4i64::identity.
Calls MR_Matrix4i64_identity().
| meshlib.Vector4i64 meshlib.Matrix4i64.index | ( | int | row | ) |
row access Generated from method MR::Matrix4i64::operator[].
Calls MR_Matrix4i64_index().
| meshlib.Vector4i64 meshlib.Matrix4i64.index_mut | ( | int | row | ) |
Generated from method MR::Matrix4i64::operator[].
Calls MR_Matrix4i64_index_mut().
| double meshlib.Matrix4i64.norm | ( | ) |
Generated from method MR::Matrix4i64::norm.
Calls MR_Matrix4i64_norm().
| long meshlib.Matrix4i64.normSq | ( | ) |
compute sum of squared matrix elements Generated from method MR::Matrix4i64::normSq.
Calls MR_Matrix4i64_normSq().
|
static |
returns a matrix that scales uniformly Generated from method MR::Matrix4i64::scale.
Calls MR_Matrix4i64_scale().
| void meshlib.Matrix4i64.set | ( | Matrix4i64 | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.Matrix4i64.setRotation | ( | meshlib.Matrix3i64 | rot | ) |
Generated from method MR::Matrix4i64::setRotation.
Calls MR_Matrix4i64_setRotation().
| void meshlib.Matrix4i64.setTranslation | ( | meshlib.Vector3i64 | t | ) |
Generated from method MR::Matrix4i64::setTranslation.
Calls MR_Matrix4i64_setTranslation().
| void meshlib.Matrix4i64.setW | ( | meshlib.Vector4i64 | value | ) |
| void meshlib.Matrix4i64.setX | ( | meshlib.Vector4i64 | value | ) |
| void meshlib.Matrix4i64.setY | ( | meshlib.Vector4i64 | value | ) |
| void meshlib.Matrix4i64.setZ | ( | meshlib.Vector4i64 | value | ) |
| meshlib.Matrix3i64 meshlib.Matrix4i64.submatrix3 | ( | int | i, |
| int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR::Matrix4i64::submatrix3.
Calls MR_Matrix4i64_submatrix3().
| long meshlib.Matrix4i64.trace | ( | ) |
computes trace of the matrix Generated from method MR::Matrix4i64::trace.
Calls MR_Matrix4i64_trace().
| meshlib.Matrix4i64 meshlib.Matrix4i64.transposed | ( | ) |
computes transposed matrix Generated from method MR::Matrix4i64::transposed.
Calls MR_Matrix4i64_transposed().
| meshlib.Vector4i64 meshlib.Matrix4i64.w | ( | ) |
| meshlib.Vector4i64 meshlib.Matrix4i64.x | ( | ) |
rows, identity matrix by default
| meshlib.Vector4i64 meshlib.Matrix4i64.y | ( | ) |
| meshlib.Vector4i64 meshlib.Matrix4i64.z | ( | ) |
|
static |
Generated from method MR::Matrix4i64::zero.
Calls MR_Matrix4i64_zero().
|
static |
The native layout of the struct.
|
static |
|
static |
|
static |
|
static |