MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.std_array_MR_AffineXf3f_4 Class Reference
Inheritance diagram for meshlib.std_array_MR_AffineXf3f_4:

Public Member Functions

 std_array_MR_AffineXf3f_4 (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
std_array_MR_AffineXf3f_4 copy ()
void set (std_array_MR_AffineXf3f_4 other)
meshlib.AffineXf3f elems (int i0)
void setElems (int i0, meshlib.AffineXf3f value)
 std_array_MR_AffineXf3f_4 ()
Public Member Functions inherited from meshlib.CppStruct
final java.lang.foreign.MemorySegment rawPointer ()

Static Public Attributes

static final java.lang.foreign.StructLayout LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"elems"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.MemoryLayout.sequenceLayout(4, meshlib.AffineXf3f.LAYOUT)})
static final long OFF_elems = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("elems"))

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

A fixed-size array of MR::AffineXf3f of size 4.

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

Constructor & Destructor Documentation

◆ std_array_MR_AffineXf3f_4() [1/2]

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

◆ std_array_MR_AffineXf3f_4() [2/2]

meshlib.std_array_MR_AffineXf3f_4.std_array_MR_AffineXf3f_4 ( )

Zero-initialized.

Member Function Documentation

◆ copy()

std_array_MR_AffineXf3f_4 meshlib.std_array_MR_AffineXf3f_4.copy ( )

A copy of the struct, in its own memory.

◆ elems()

meshlib.AffineXf3f meshlib.std_array_MR_AffineXf3f_4.elems ( int i0)

◆ set()

void meshlib.std_array_MR_AffineXf3f_4.set ( std_array_MR_AffineXf3f_4 other)

Overwrites the contents with those of another struct.

◆ setElems()

void meshlib.std_array_MR_AffineXf3f_4.setElems ( int i0,
meshlib.AffineXf3f value )

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.std_array_MR_AffineXf3f_4.LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"elems"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.MemoryLayout.sequenceLayout(4, meshlib.AffineXf3f.LAYOUT)})
static

The native layout of the struct.

◆ OFF_elems

final long meshlib.std_array_MR_AffineXf3f_4.OFF_elems = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("elems"))
static

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