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

Public Member Functions

 RegionId (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
RegionId copy ()
void set (RegionId other)
int id_ ()
void setId_ (int value)
 RegionId ()
 RegionId (meshlib.NoInit _1)
 RegionId (int i)
int convertTo_int ()
boolean convertTo_bool ()
boolean valid ()
java.lang.foreign.MemorySegment get ()
boolean opEqual (meshlib.RegionId b)
boolean opNotEqual (meshlib.RegionId b)
boolean opLess (meshlib.RegionId b)
meshlib.RegionId opDecr ()
meshlib.RegionId opIncr ()
meshlib.RegionId opPostDecr ()
meshlib.RegionId opPostIncr ()
meshlib.RegionId sub_assign (int a)
meshlib.RegionId 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::RegionId. Derived classes: Direct: (non-virtual) MR::NoDefInit<MR::RegionId>

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

Constructor & Destructor Documentation

◆ RegionId() [1/4]

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

◆ RegionId() [2/4]

meshlib.RegionId.RegionId ( )

Constructs an empty (default-constructed) instance.

Calls MR_RegionId_DefaultConstruct().

◆ RegionId() [3/4]

meshlib.RegionId.RegionId ( meshlib.NoInit _1)

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

Calls MR_RegionId_Construct_MR_NoInit().

◆ RegionId() [4/4]

meshlib.RegionId.RegionId ( int i)

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

Calls MR_RegionId_Construct_int().

Member Function Documentation

◆ add_assign()

meshlib.RegionId meshlib.RegionId.add_assign ( int a)

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

Calls MR_RegionId_add_assign().

◆ convertTo_bool()

boolean meshlib.RegionId.convertTo_bool ( )

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

Calls MR_RegionId_ConvertTo_bool().

◆ convertTo_int()

int meshlib.RegionId.convertTo_int ( )

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

Calls MR_RegionId_ConvertTo_int().

◆ copy()

RegionId meshlib.RegionId.copy ( )

A copy of the struct, in its own memory.

◆ get()

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

Generated from method MR::RegionId::get.

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

◆ id_()

int meshlib.RegionId.id_ ( )

◆ opDecr()

meshlib.RegionId meshlib.RegionId.opDecr ( )

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

Calls MR_decr_MR_RegionId().

◆ opEqual()

boolean meshlib.RegionId.opEqual ( meshlib.RegionId b)

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

Calls MR_equal_MR_RegionId().

◆ opIncr()

meshlib.RegionId meshlib.RegionId.opIncr ( )

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

Calls MR_incr_MR_RegionId().

◆ opLess()

boolean meshlib.RegionId.opLess ( meshlib.RegionId b)

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

Calls MR_less_MR_RegionId().

◆ opNotEqual()

boolean meshlib.RegionId.opNotEqual ( meshlib.RegionId b)

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

Calls MR_not_equal_MR_RegionId().

◆ opPostDecr()

meshlib.RegionId meshlib.RegionId.opPostDecr ( )

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

Calls MR_post_decr_MR_RegionId().

◆ opPostIncr()

meshlib.RegionId meshlib.RegionId.opPostIncr ( )

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

Calls MR_post_incr_MR_RegionId().

◆ set()

void meshlib.RegionId.set ( RegionId other)

Overwrites the contents with those of another struct.

◆ setId_()

void meshlib.RegionId.setId_ ( int value)

◆ sub_assign()

meshlib.RegionId meshlib.RegionId.sub_assign ( int a)

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

Calls MR_RegionId_sub_assign().

◆ valid()

boolean meshlib.RegionId.valid ( )

Generated from method MR::RegionId::valid.

Calls MR_RegionId_valid().

Member Data Documentation

◆ LAYOUT

final java.lang.foreign.StructLayout meshlib.RegionId.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.RegionId.OFF_id_ = LAYOUT.byteOffset(java.lang.foreign.MemoryLayout.PathElement.groupElement("id_"))
static

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