Public Member Functions | |
| Vector2i64 (java.lang.foreign.MemorySegment segment, java.lang.Object owner) | |
| Vector2i64 | copy () |
| void | set (Vector2i64 other) |
| long | x () |
| void | setX (long value) |
| long | y () |
| void | setY (long value) |
| Vector2i64 () | |
| Vector2i64 (meshlib.NoInit _1) | |
| Vector2i64 (long x, long y) | |
| long | index (int e) |
| java.lang.foreign.MemorySegment | index_mut (int e) |
| long | lengthSq () |
| double | length () |
| meshlib.Vector2i64 | furthestBasisVector () |
| meshlib.Vector2i64 | perpendicular () |
| Public Member Functions inherited from meshlib.CppStruct | |
| final java.lang.foreign.MemorySegment | rawPointer () |
Static Public Member Functions | |
| static meshlib.Vector2i64 | diagonal (long a) |
| static meshlib.Vector2i64 | plusX () |
| static meshlib.Vector2i64 | plusY () |
| static meshlib.Vector2i64 | minusX () |
| static meshlib.Vector2i64 | minusY () |
| static int | elements () |
Static Public Attributes | |
| static final java.lang.foreign.StructLayout | LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"x", "y"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_LONG, java.lang.foreign.ValueLayout.JAVA_LONG}) |
| 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")) |
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 |
two-dimensional vector Generated from class MR::Vector2i64.
Has the same layout as the C++ struct, the fields are accessed in place in native memory.
| meshlib.Vector2i64.Vector2i64 | ( | 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.Vector2i64.Vector2i64 | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Vector2i64_DefaultConstruct().
| meshlib.Vector2i64.Vector2i64 | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::Vector2i64::Vector2i64. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_Vector2i64_Construct_1().
| meshlib.Vector2i64.Vector2i64 | ( | long | x, |
| long | y ) |
Generated from constructor MR::Vector2i64::Vector2i64. 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.
Calls MR_Vector2i64_Construct_2().
| Vector2i64 meshlib.Vector2i64.copy | ( | ) |
A copy of the struct, in its own memory.
|
static |
Generated from method MR::Vector2i64::diagonal.
Calls MR_Vector2i64_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector2i64 named elements.
Calls MR_Vector2i64_Get_elements().
| meshlib.Vector2i64 meshlib.Vector2i64.furthestBasisVector | ( | ) |
returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this Generated from method MR::Vector2i64::furthestBasisVector.
Calls MR_Vector2i64_furthestBasisVector().
| long meshlib.Vector2i64.index | ( | int | e | ) |
Generated from method MR::Vector2i64::operator[].
Calls MR_Vector2i64_index().
| java.lang.foreign.MemorySegment meshlib.Vector2i64.index_mut | ( | int | e | ) |
Generated from method MR::Vector2i64::operator[].
Calls MR_Vector2i64_index_mut(). Some types are raw C types, see the C bindings for the details.
| double meshlib.Vector2i64.length | ( | ) |
Generated from method MR::Vector2i64::length.
Calls MR_Vector2i64_length().
| long meshlib.Vector2i64.lengthSq | ( | ) |
Generated from method MR::Vector2i64::lengthSq.
Calls MR_Vector2i64_lengthSq().
|
static |
Generated from method MR::Vector2i64::minusX.
Calls MR_Vector2i64_minusX().
|
static |
Generated from method MR::Vector2i64::minusY.
Calls MR_Vector2i64_minusY().
| meshlib.Vector2i64 meshlib.Vector2i64.perpendicular | ( | ) |
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR::Vector2i64::perpendicular.
Calls MR_Vector2i64_perpendicular().
|
static |
Generated from method MR::Vector2i64::plusX.
Calls MR_Vector2i64_plusX().
|
static |
Generated from method MR::Vector2i64::plusY.
Calls MR_Vector2i64_plusY().
| void meshlib.Vector2i64.set | ( | Vector2i64 | other | ) |
Overwrites the contents with those of another struct.
| void meshlib.Vector2i64.setX | ( | long | value | ) |
| void meshlib.Vector2i64.setY | ( | long | value | ) |
| long meshlib.Vector2i64.x | ( | ) |
| long meshlib.Vector2i64.y | ( | ) |
|
static |
The native layout of the struct.
|
static |
|
static |