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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ NodeId() [1/4]

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

◆ NodeId() [2/4]

meshlib.NodeId.NodeId ( )

Constructs an empty (default-constructed) instance.

Calls MR_NodeId_DefaultConstruct().

◆ NodeId() [3/4]

meshlib.NodeId.NodeId ( meshlib.NoInit _1)

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

Calls MR_NodeId_Construct_MR_NoInit().

◆ NodeId() [4/4]

meshlib.NodeId.NodeId ( int i)

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

Calls MR_NodeId_Construct_int().

Member Function Documentation

◆ add_assign()

meshlib.NodeId meshlib.NodeId.add_assign ( int a)

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

Calls MR_NodeId_add_assign().

◆ convertTo_bool()

boolean meshlib.NodeId.convertTo_bool ( )

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

Calls MR_NodeId_ConvertTo_bool().

◆ convertTo_int()

int meshlib.NodeId.convertTo_int ( )

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

Calls MR_NodeId_ConvertTo_int().

◆ copy()

NodeId meshlib.NodeId.copy ( )

A copy of the struct, in its own memory.

◆ get()

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

Generated from method MR::NodeId::get.

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

◆ id_()

int meshlib.NodeId.id_ ( )

◆ opDecr()

meshlib.NodeId meshlib.NodeId.opDecr ( )

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

Calls MR_decr_MR_NodeId().

◆ opEqual()

boolean meshlib.NodeId.opEqual ( meshlib.NodeId b)

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

Calls MR_equal_MR_NodeId().

◆ opIncr()

meshlib.NodeId meshlib.NodeId.opIncr ( )

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

Calls MR_incr_MR_NodeId().

◆ opLess()

boolean meshlib.NodeId.opLess ( meshlib.NodeId b)

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

Calls MR_less_MR_NodeId().

◆ opNotEqual()

boolean meshlib.NodeId.opNotEqual ( meshlib.NodeId b)

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

Calls MR_not_equal_MR_NodeId().

◆ opPostDecr()

meshlib.NodeId meshlib.NodeId.opPostDecr ( )

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

Calls MR_post_decr_MR_NodeId().

◆ opPostIncr()

meshlib.NodeId meshlib.NodeId.opPostIncr ( )

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

Calls MR_post_incr_MR_NodeId().

◆ set()

void meshlib.NodeId.set ( NodeId other)

Overwrites the contents with those of another struct.

◆ setId_()

void meshlib.NodeId.setId_ ( int value)

◆ sub_assign()

meshlib.NodeId meshlib.NodeId.sub_assign ( int a)

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

Calls MR_NodeId_sub_assign().

◆ valid()

boolean meshlib.NodeId.valid ( )

Generated from method MR::NodeId::valid.

Calls MR_NodeId_valid().

Member Data Documentation

◆ LAYOUT

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

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