Public Member Functions | |
| Vector3f (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Vector3f | copy () |
| void | set (Vector3f other) |
| float | x () |
| void | setX (float value) |
| float | y () |
| void | setY (float value) |
| float | z () |
| void | setZ (float value) |
| Vector3f () | |
| Vector3f (meshlib.NoInit _1) | |
| Vector3f (float x, float y, float z) | |
| Vector3f (meshlib.Vector3d v) | |
| Vector3f (meshlib.Vector3i v) | |
| float | index (int e) |
| java.lang.foreign.MemorySegment | index_mut (int e) |
| float | lengthSq () |
| float | length () |
| meshlib.Vector3f | normalized () |
| meshlib.Vector3f | furthestBasisVector () |
| meshlib.std_pair_MR_Vector3f_MR_Vector3f | perpendicular () |
| meshlib.Vector3f | transformed (meshlib.AffineXf3f xf) |
| void | unsignZeroValues () |
| boolean | isFinite () |
| Public Member Functions inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | rawPointer () |
Static Public Member Functions | |
| static meshlib.Vector3f | diagonal (float a) |
| static meshlib.Vector3f | plusX () |
| static meshlib.Vector3f | plusY () |
| static meshlib.Vector3f | plusZ () |
| static meshlib.Vector3f | minusX () |
| static meshlib.Vector3f | minusY () |
| static meshlib.Vector3f | minusZ () |
| static int | elements () |
Static Public Attributes | |
| static final java.lang.foreign.StructLayout | LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"x", "y", "z"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_FLOAT, java.lang.foreign.ValueLayout.JAVA_FLOAT, java.lang.foreign.ValueLayout.JAVA_FLOAT}) |
| 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")) |
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 |
Generated from class MR::Vector3f.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.Vector3f.Vector3f | ( | 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.Vector3f.Vector3f | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Vector3f_DefaultConstruct().
| meshlib.Vector3f.Vector3f | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::Vector3f::Vector3f. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_Vector3f_Construct_MR_NoInit().
| meshlib.Vector3f.Vector3f | ( | float | x, |
| float | y, | ||
| float | z ) |
Generated from constructor MR::Vector3f::Vector3f.
Calls MR_Vector3f_Construct().
| meshlib.Vector3f.Vector3f | ( | meshlib.Vector3d | v | ) |
Here T == U doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and looks out of place there. Generated from constructor MR::Vector3f::Vector3f. The reference to the parameter v might be preserved in the constructed object.
Calls MR_Vector3f_Construct_double().
| meshlib.Vector3f.Vector3f | ( | meshlib.Vector3i | v | ) |
Here T == U doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and looks out of place there. Generated from constructor MR::Vector3f::Vector3f. The reference to the parameter v might be preserved in the constructed object.
Calls MR_Vector3f_Construct_int().
| Vector3f meshlib.Vector3f.copy | ( | ) |
A copy of the struct, in its own memory.
|
static |
Generated from method MR::Vector3f::diagonal.
Calls MR_Vector3f_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector3f named elements.
Calls MR_Vector3f_Get_elements().
| meshlib.Vector3f meshlib.Vector3f.furthestBasisVector | ( | ) |
Generated from method MR::Vector3f::furthestBasisVector.
Calls MR_Vector3f_furthestBasisVector().
| float meshlib.Vector3f.index | ( | int | e | ) |
Generated from method MR::Vector3f::operator[].
Calls MR_Vector3f_index().
| java.lang.foreign.MemorySegment meshlib.Vector3f.index_mut | ( | int | e | ) |
Generated from method MR::Vector3f::operator[].
Calls MR_Vector3f_index_mut(). Some types are raw C types, see the C bindings for the details.
| boolean meshlib.Vector3f.isFinite | ( | ) |
Generated from method MR::Vector3f::isFinite.
Calls MR_Vector3f_isFinite().
| float meshlib.Vector3f.length | ( | ) |
Generated from method MR::Vector3f::length.
Calls MR_Vector3f_length().
| float meshlib.Vector3f.lengthSq | ( | ) |
Generated from method MR::Vector3f::lengthSq.
Calls MR_Vector3f_lengthSq().
|
static |
Generated from method MR::Vector3f::minusX.
Calls MR_Vector3f_minusX().
|
static |
Generated from method MR::Vector3f::minusY.
Calls MR_Vector3f_minusY().
|
static |
Generated from method MR::Vector3f::minusZ.
Calls MR_Vector3f_minusZ().
| meshlib.Vector3f meshlib.Vector3f.normalized | ( | ) |
Generated from method MR::Vector3f::normalized.
Calls MR_Vector3f_normalized().
| meshlib.std_pair_MR_Vector3f_MR_Vector3f meshlib.Vector3f.perpendicular | ( | ) |
Generated from method MR::Vector3f::perpendicular.
Calls MR_Vector3f_perpendicular().
|
static |
Generated from method MR::Vector3f::plusX.
Calls MR_Vector3f_plusX().
|
static |
Generated from method MR::Vector3f::plusY.
Calls MR_Vector3f_plusY().
|
static |
Generated from method MR::Vector3f::plusZ.
Calls MR_Vector3f_plusZ().
| void meshlib.Vector3f.set | ( | Vector3f | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.Vector3f.setX | ( | float | value | ) |
| void meshlib.Vector3f.setY | ( | float | value | ) |
| void meshlib.Vector3f.setZ | ( | float | value | ) |
| meshlib.Vector3f meshlib.Vector3f.transformed | ( | meshlib.AffineXf3f | xf | ) |
returns this vector transformed by xf if it is Generated from method MR::Vector3f::transformed.
Calls MR_Vector3f_transformed().
| void meshlib.Vector3f.unsignZeroValues | ( | ) |
get rid of signed zero values to be sure that equal vectors have identical binary representation Generated from method MR::Vector3f::unsignZeroValues.
Calls MR_Vector3f_unsignZeroValues().
| float meshlib.Vector3f.x | ( | ) |
| float meshlib.Vector3f.y | ( | ) |
| float meshlib.Vector3f.z | ( | ) |
|
static |
The native layout of the struct.
|
static |
|
static |
|
static |