Public Member Functions | |
| Vector3d (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Vector3d | copy () |
| void | set (Vector3d other) |
| double | x () |
| void | setX (double value) |
| double | y () |
| void | setY (double value) |
| double | z () |
| void | setZ (double value) |
| Vector3d () | |
| Vector3d (meshlib.NoInit _1) | |
| Vector3d (double x, double y, double z) | |
| Vector3d (meshlib.Vector3f v) | |
| Vector3d (meshlib.Vector3i v) | |
| double | index (int e) |
| java.lang.foreign.MemorySegment | index_mut (int e) |
| double | lengthSq () |
| double | length () |
| meshlib.Vector3d | normalized () |
| meshlib.Vector3d | furthestBasisVector () |
| meshlib.std_pair_MR_Vector3d_MR_Vector3d | perpendicular () |
| meshlib.Vector3d | transformed (meshlib.AffineXf3d xf) |
| void | unsignZeroValues () |
| boolean | isFinite () |
| Public Member Functions inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | rawPointer () |
Static Public Member Functions | |
| static meshlib.Vector3d | diagonal (double a) |
| static meshlib.Vector3d | plusX () |
| static meshlib.Vector3d | plusY () |
| static meshlib.Vector3d | plusZ () |
| static meshlib.Vector3d | minusX () |
| static meshlib.Vector3d | minusY () |
| static meshlib.Vector3d | 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_DOUBLE, java.lang.foreign.ValueLayout.JAVA_DOUBLE, java.lang.foreign.ValueLayout.JAVA_DOUBLE}) |
| 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::Vector3d.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.Vector3d.Vector3d | ( | 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.Vector3d.Vector3d | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Vector3d_DefaultConstruct().
| meshlib.Vector3d.Vector3d | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::Vector3d::Vector3d. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_Vector3d_Construct_MR_NoInit().
| meshlib.Vector3d.Vector3d | ( | double | x, |
| double | y, | ||
| double | z ) |
Generated from constructor MR::Vector3d::Vector3d.
Calls MR_Vector3d_Construct().
| meshlib.Vector3d.Vector3d | ( | meshlib.Vector3f | 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::Vector3d::Vector3d. The reference to the parameter v might be preserved in the constructed object.
Calls MR_Vector3d_Construct_float().
| meshlib.Vector3d.Vector3d | ( | 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::Vector3d::Vector3d. The reference to the parameter v might be preserved in the constructed object.
Calls MR_Vector3d_Construct_int().
| Vector3d meshlib.Vector3d.copy | ( | ) |
A copy of the struct, in its own memory.
|
static |
Generated from method MR::Vector3d::diagonal.
Calls MR_Vector3d_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector3d named elements.
Calls MR_Vector3d_Get_elements().
| meshlib.Vector3d meshlib.Vector3d.furthestBasisVector | ( | ) |
Generated from method MR::Vector3d::furthestBasisVector.
Calls MR_Vector3d_furthestBasisVector().
| double meshlib.Vector3d.index | ( | int | e | ) |
Generated from method MR::Vector3d::operator[].
Calls MR_Vector3d_index().
| java.lang.foreign.MemorySegment meshlib.Vector3d.index_mut | ( | int | e | ) |
Generated from method MR::Vector3d::operator[].
Calls MR_Vector3d_index_mut(). Some types are raw C types, see the C bindings for the details.
| boolean meshlib.Vector3d.isFinite | ( | ) |
Generated from method MR::Vector3d::isFinite.
Calls MR_Vector3d_isFinite().
| double meshlib.Vector3d.length | ( | ) |
Generated from method MR::Vector3d::length.
Calls MR_Vector3d_length().
| double meshlib.Vector3d.lengthSq | ( | ) |
Generated from method MR::Vector3d::lengthSq.
Calls MR_Vector3d_lengthSq().
|
static |
Generated from method MR::Vector3d::minusX.
Calls MR_Vector3d_minusX().
|
static |
Generated from method MR::Vector3d::minusY.
Calls MR_Vector3d_minusY().
|
static |
Generated from method MR::Vector3d::minusZ.
Calls MR_Vector3d_minusZ().
| meshlib.Vector3d meshlib.Vector3d.normalized | ( | ) |
Generated from method MR::Vector3d::normalized.
Calls MR_Vector3d_normalized().
| meshlib.std_pair_MR_Vector3d_MR_Vector3d meshlib.Vector3d.perpendicular | ( | ) |
Generated from method MR::Vector3d::perpendicular.
Calls MR_Vector3d_perpendicular().
|
static |
Generated from method MR::Vector3d::plusX.
Calls MR_Vector3d_plusX().
|
static |
Generated from method MR::Vector3d::plusY.
Calls MR_Vector3d_plusY().
|
static |
Generated from method MR::Vector3d::plusZ.
Calls MR_Vector3d_plusZ().
| void meshlib.Vector3d.set | ( | Vector3d | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.Vector3d.setX | ( | double | value | ) |
| void meshlib.Vector3d.setY | ( | double | value | ) |
| void meshlib.Vector3d.setZ | ( | double | value | ) |
| meshlib.Vector3d meshlib.Vector3d.transformed | ( | meshlib.AffineXf3d | xf | ) |
returns this vector transformed by xf if it is Generated from method MR::Vector3d::transformed.
Calls MR_Vector3d_transformed().
| void meshlib.Vector3d.unsignZeroValues | ( | ) |
get rid of signed zero values to be sure that equal vectors have identical binary representation Generated from method MR::Vector3d::unsignZeroValues.
Calls MR_Vector3d_unsignZeroValues().
| double meshlib.Vector3d.x | ( | ) |
| double meshlib.Vector3d.y | ( | ) |
| double meshlib.Vector3d.z | ( | ) |
|
static |
The native layout of the struct.
|
static |
|
static |
|
static |