MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.Vector3i64:

Public Member Functions

 Vector3i64 (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
Vector3i64 copy ()
void set (Vector3i64 other)
long x ()
void setX (long value)
long y ()
void setY (long value)
long z ()
void setZ (long value)
 Vector3i64 ()
 Vector3i64 (meshlib.NoInit _1)
 Vector3i64 (long x, long y, long z)
 Vector3i64 (meshlib.Vector3i v)
long index (int e)
java.lang.foreign.MemorySegment index_mut (int e)
long lengthSq ()
double length ()
meshlib.Vector3i64 furthestBasisVector ()
Public Member Functions inherited from meshlib.CppStruct
final java.lang.foreign.MemorySegment rawPointer ()

Static Public Member Functions

static meshlib.Vector3i64 diagonal (long a)
static meshlib.Vector3i64 plusX ()
static meshlib.Vector3i64 plusY ()
static meshlib.Vector3i64 plusZ ()
static meshlib.Vector3i64 minusX ()
static meshlib.Vector3i64 minusY ()
static meshlib.Vector3i64 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_LONG, 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"))
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

Detailed Description

three-dimensional vector Generated from class MR::Vector3i64.

Has the same layout as the C++ struct, the fields are accessed in place in native memory.

Constructor & Destructor Documentation

◆ Vector3i64() [1/5]

meshlib.Vector3i64.Vector3i64 ( 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.

◆ Vector3i64() [2/5]

meshlib.Vector3i64.Vector3i64 ( )

Constructs an empty (default-constructed) instance.

Calls MR_Vector3i64_DefaultConstruct().

◆ Vector3i64() [3/5]

meshlib.Vector3i64.Vector3i64 ( meshlib.NoInit _1)

Generated from constructor MR::Vector3i64::Vector3i64. The reference to the parameter _1 might be preserved in the constructed object.

Calls MR_Vector3i64_Construct_MR_NoInit().

◆ Vector3i64() [4/5]

meshlib.Vector3i64.Vector3i64 ( long x,
long y,
long z )

Generated from constructor MR::Vector3i64::Vector3i64. 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.

Calls MR_Vector3i64_Construct().

◆ Vector3i64() [5/5]

meshlib.Vector3i64.Vector3i64 ( 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::Vector3i64::Vector3i64. The reference to the parameter v might be preserved in the constructed object.

Calls MR_Vector3i64_Construct_int().

Member Function Documentation

◆ copy()

Vector3i64 meshlib.Vector3i64.copy ( )

A copy of the struct, in its own memory.

◆ diagonal()

meshlib.Vector3i64 meshlib.Vector3i64.diagonal ( long a)
static

Generated from method MR::Vector3i64::diagonal.

Calls MR_Vector3i64_diagonal().

◆ elements()

int meshlib.Vector3i64.elements ( )
static

Returns a pointer to a member variable of class MR::Vector3i64 named elements.

Calls MR_Vector3i64_Get_elements().

◆ furthestBasisVector()

meshlib.Vector3i64 meshlib.Vector3i64.furthestBasisVector ( )

returns one of 3 basis unit vector that makes the biggest angle with the direction specified by this Generated from method MR::Vector3i64::furthestBasisVector.

Calls MR_Vector3i64_furthestBasisVector().

◆ index()

long meshlib.Vector3i64.index ( int e)

Generated from method MR::Vector3i64::operator[].

Calls MR_Vector3i64_index().

◆ index_mut()

java.lang.foreign.MemorySegment meshlib.Vector3i64.index_mut ( int e)

Generated from method MR::Vector3i64::operator[].

Calls MR_Vector3i64_index_mut(). Some types are raw C types, see the C bindings for the details.

◆ length()

double meshlib.Vector3i64.length ( )

Generated from method MR::Vector3i64::length.

Calls MR_Vector3i64_length().

◆ lengthSq()

long meshlib.Vector3i64.lengthSq ( )

Generated from method MR::Vector3i64::lengthSq.

Calls MR_Vector3i64_lengthSq().

◆ minusX()

meshlib.Vector3i64 meshlib.Vector3i64.minusX ( )
static

Generated from method MR::Vector3i64::minusX.

Calls MR_Vector3i64_minusX().

◆ minusY()

meshlib.Vector3i64 meshlib.Vector3i64.minusY ( )
static

Generated from method MR::Vector3i64::minusY.

Calls MR_Vector3i64_minusY().

◆ minusZ()

meshlib.Vector3i64 meshlib.Vector3i64.minusZ ( )
static

Generated from method MR::Vector3i64::minusZ.

Calls MR_Vector3i64_minusZ().

◆ plusX()

meshlib.Vector3i64 meshlib.Vector3i64.plusX ( )
static

Generated from method MR::Vector3i64::plusX.

Calls MR_Vector3i64_plusX().

◆ plusY()

meshlib.Vector3i64 meshlib.Vector3i64.plusY ( )
static

Generated from method MR::Vector3i64::plusY.

Calls MR_Vector3i64_plusY().

◆ plusZ()

meshlib.Vector3i64 meshlib.Vector3i64.plusZ ( )
static

Generated from method MR::Vector3i64::plusZ.

Calls MR_Vector3i64_plusZ().

◆ set()

void meshlib.Vector3i64.set ( Vector3i64 other)

Overwrites the contents with those of another struct.

◆ setX()

void meshlib.Vector3i64.setX ( long value)

◆ setY()

void meshlib.Vector3i64.setY ( long value)

◆ setZ()

void meshlib.Vector3i64.setZ ( long value)

◆ x()

long meshlib.Vector3i64.x ( )

◆ y()

long meshlib.Vector3i64.y ( )

◆ z()

long meshlib.Vector3i64.z ( )

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.Vector3i64.LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"x", "y", "z"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_LONG, java.lang.foreign.ValueLayout.JAVA_LONG, java.lang.foreign.ValueLayout.JAVA_LONG})
static

The native layout of the struct.

◆ OFF_x

final long meshlib.Vector3i64.OFF_x = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("x"))
static

◆ OFF_y

final long meshlib.Vector3i64.OFF_y = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("y"))
static

◆ OFF_z

final long meshlib.Vector3i64.OFF_z = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("z"))
static

The documentation for this class was generated from the following file: