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

Public Member Functions

 ObjId (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
ObjId copy ()
void set (ObjId other)
int id_ ()
void setId_ (int value)
 ObjId ()
 ObjId (meshlib.NoInit _1)
 ObjId (int i)
int convertTo_int ()
boolean convertTo_bool ()
boolean valid ()
java.lang.foreign.MemorySegment get ()
boolean opEqual (meshlib.ObjId b)
boolean opNotEqual (meshlib.ObjId b)
boolean opLess (meshlib.ObjId b)
meshlib.ObjId opDecr ()
meshlib.ObjId opIncr ()
meshlib.ObjId opPostDecr ()
meshlib.ObjId opPostIncr ()
meshlib.ObjId sub_assign (int a)
meshlib.ObjId add_assign (int a)
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[]{"id_"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_INT})
static final long OFF_id_ = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("id_"))

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

stores index of some element, it is made as template class to avoid mixing faces, edges and vertices Generated from class MR::ObjId. Derived classes: Direct: (non-virtual) MR::NoDefInit<MR::ObjId>

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

Constructor & Destructor Documentation

◆ ObjId() [1/4]

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

◆ ObjId() [2/4]

meshlib.ObjId.ObjId ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjId_DefaultConstruct().

◆ ObjId() [3/4]

meshlib.ObjId.ObjId ( meshlib.NoInit _1)

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

Calls MR_ObjId_Construct_MR_NoInit().

◆ ObjId() [4/4]

meshlib.ObjId.ObjId ( int i)

For the parser, pretend it's not templated. Instantiating the template above in the parser is difficult. Generated from constructor MR::ObjId::ObjId.

Calls MR_ObjId_Construct_int().

Member Function Documentation

◆ add_assign()

meshlib.ObjId meshlib.ObjId.add_assign ( int a)

Generated from method MR::ObjId::operator+=. The reference to this object might be preserved in the return value.

Calls MR_ObjId_add_assign().

◆ convertTo_bool()

boolean meshlib.ObjId.convertTo_bool ( )

Generated from conversion operator MR::ObjId::operator bool.

Calls MR_ObjId_ConvertTo_bool().

◆ convertTo_int()

int meshlib.ObjId.convertTo_int ( )

Generated from conversion operator MR::ObjId::operator int.

Calls MR_ObjId_ConvertTo_int().

◆ copy()

ObjId meshlib.ObjId.copy ( )

A copy of the struct, in its own memory.

◆ get()

java.lang.foreign.MemorySegment meshlib.ObjId.get ( )

Generated from method MR::ObjId::get.

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

◆ id_()

int meshlib.ObjId.id_ ( )

◆ opDecr()

meshlib.ObjId meshlib.ObjId.opDecr ( )

Generated from method MR::ObjId::operator--.

Calls MR_decr_MR_ObjId().

◆ opEqual()

boolean meshlib.ObjId.opEqual ( meshlib.ObjId b)

Generated from method MR::ObjId::operator==.

Calls MR_equal_MR_ObjId().

◆ opIncr()

meshlib.ObjId meshlib.ObjId.opIncr ( )

Generated from method MR::ObjId::operator++.

Calls MR_incr_MR_ObjId().

◆ opLess()

boolean meshlib.ObjId.opLess ( meshlib.ObjId b)

Generated from method MR::ObjId::operator<.

Calls MR_less_MR_ObjId().

◆ opNotEqual()

boolean meshlib.ObjId.opNotEqual ( meshlib.ObjId b)

Generated from method MR::ObjId::operator!=.

Calls MR_not_equal_MR_ObjId().

◆ opPostDecr()

meshlib.ObjId meshlib.ObjId.opPostDecr ( )

Generated from method MR::ObjId::operator--.

Calls MR_post_decr_MR_ObjId().

◆ opPostIncr()

meshlib.ObjId meshlib.ObjId.opPostIncr ( )

Generated from method MR::ObjId::operator++.

Calls MR_post_incr_MR_ObjId().

◆ set()

void meshlib.ObjId.set ( ObjId other)

Overwrites the contents with those of another struct.

◆ setId_()

void meshlib.ObjId.setId_ ( int value)

◆ sub_assign()

meshlib.ObjId meshlib.ObjId.sub_assign ( int a)

Generated from method MR::ObjId::operator-=. The reference to this object might be preserved in the return value.

Calls MR_ObjId_sub_assign().

◆ valid()

boolean meshlib.ObjId.valid ( )

Generated from method MR::ObjId::valid.

Calls MR_ObjId_valid().

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.ObjId.LAYOUT = meshlib.Ffi.structLayout(new java.lang.String[]{"id_"}, new java.lang.foreign.MemoryLayout[]{java.lang.foreign.ValueLayout.JAVA_INT})
static

The native layout of the struct.

◆ OFF_id_

final long meshlib.ObjId.OFF_id_ = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("id_"))
static

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