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

Public Member Functions

 ObjFaceId (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
ObjFaceId copy ()
void set (ObjFaceId other)
meshlib.ObjId objId ()
void setObjId (meshlib.ObjId value)
meshlib.FaceId fId ()
void setFId (meshlib.FaceId value)
 ObjFaceId ()
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[]{"objId", "fId"}, new java.lang.foreign.MemoryLayout[]{meshlib.ObjId.LAYOUT, meshlib.FaceId.LAYOUT})
static final long OFF_objId = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("objId"))
static final long OFF_fId = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("fId"))

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

face of one of the input meshes of uniteManyMeshes function Generated from class MR::ObjFaceId.

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

Constructor & Destructor Documentation

◆ ObjFaceId() [1/2]

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

◆ ObjFaceId() [2/2]

meshlib.ObjFaceId.ObjFaceId ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjFaceId_DefaultConstruct().

Member Function Documentation

◆ copy()

ObjFaceId meshlib.ObjFaceId.copy ( )

A copy of the struct, in its own memory.

◆ fId()

meshlib.FaceId meshlib.ObjFaceId.fId ( )

◆ objId()

meshlib.ObjId meshlib.ObjFaceId.objId ( )

< index of the mesh in the input vector

◆ set()

void meshlib.ObjFaceId.set ( ObjFaceId other)

Overwrites the contents with those of another struct.

◆ setFId()

void meshlib.ObjFaceId.setFId ( meshlib.FaceId value)

◆ setObjId()

void meshlib.ObjFaceId.setObjId ( meshlib.ObjId value)

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.ObjFaceId.LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"objId", "fId"}, new java.lang.foreign.MemoryLayout[]{meshlib.ObjId.LAYOUT, meshlib.FaceId.LAYOUT})
static

The native layout of the struct.

◆ OFF_fId

final long meshlib.ObjFaceId.OFF_fId = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("fId"))
static

◆ OFF_objId

final long meshlib.ObjFaceId.OFF_objId = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("objId"))
static

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