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

Public Member Functions

 EdgeId (java.lang.foreign.MemorySegment segment, java.lang.Object owner)
EdgeId copy ()
void set (EdgeId other)
int id_ ()
void setId_ (int value)
 EdgeId ()
 EdgeId (meshlib.NoInit _1)
 EdgeId (meshlib.UndirectedEdgeId u)
 EdgeId (long i)
int convertTo_int ()
boolean convertTo_bool ()
meshlib.UndirectedEdgeId convertTo_MR_UndirectedEdgeId ()
boolean valid ()
java.lang.foreign.MemorySegment get ()
meshlib.EdgeId sym ()
boolean even ()
boolean odd ()
meshlib.UndirectedEdgeId undirected ()
boolean opEqual (meshlib.EdgeId b)
boolean opNotEqual (meshlib.EdgeId b)
boolean opLess (meshlib.EdgeId b)
meshlib.EdgeId opDecr ()
meshlib.EdgeId opIncr ()
meshlib.EdgeId opPostDecr ()
meshlib.EdgeId opPostIncr ()
meshlib.EdgeId sub_assign (int a)
meshlib.EdgeId add_assign (int a)
Public Member Functions inherited from meshlib.CppStruct
final java.lang.foreign.MemorySegment rawPointer ()

Static Public Member Functions

static meshlib.EdgeId construct_int (int i)
static meshlib.EdgeId construct_unsigned_int (int i)

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

Those are full specializations in MRId.h, so MR_CANONICAL_TYPEDEFS doesn't work on them. Have to add this too. Generated from class MR::EdgeId. Derived classes: Direct: (non-virtual) MR::NoDefInit<MR::EdgeId>

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

Constructor & Destructor Documentation

◆ EdgeId() [1/5]

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

◆ EdgeId() [2/5]

meshlib.EdgeId.EdgeId ( )

Constructs an empty (default-constructed) instance.

Calls MR_EdgeId_DefaultConstruct().

◆ EdgeId() [3/5]

meshlib.EdgeId.EdgeId ( meshlib.NoInit _1)

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

Calls MR_EdgeId_Construct_MR_NoInit().

◆ EdgeId() [4/5]

meshlib.EdgeId.EdgeId ( meshlib.UndirectedEdgeId u)

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

Calls MR_EdgeId_Construct_MR_UndirectedEdgeId().

◆ EdgeId() [5/5]

meshlib.EdgeId.EdgeId ( long i)

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

Calls MR_EdgeId_Construct_size_t().

Member Function Documentation

◆ add_assign()

meshlib.EdgeId meshlib.EdgeId.add_assign ( int a)

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

Calls MR_EdgeId_add_assign().

◆ construct_int()

meshlib.EdgeId meshlib.EdgeId.construct_int ( int i)
static

Generated from constructor MR::EdgeId::EdgeId.

Calls MR_EdgeId_Construct_int().

◆ construct_unsigned_int()

meshlib.EdgeId meshlib.EdgeId.construct_unsigned_int ( int i)
static

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

Calls MR_EdgeId_Construct_unsigned_int().

◆ convertTo_bool()

boolean meshlib.EdgeId.convertTo_bool ( )

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

Calls MR_EdgeId_ConvertTo_bool().

◆ convertTo_int()

int meshlib.EdgeId.convertTo_int ( )

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

Calls MR_EdgeId_ConvertTo_int().

◆ convertTo_MR_UndirectedEdgeId()

meshlib.UndirectedEdgeId meshlib.EdgeId.convertTo_MR_UndirectedEdgeId ( )

Generated from conversion operator MR::EdgeId::operator MR::UndirectedEdgeId.

Calls MR_EdgeId_ConvertTo_MR_UndirectedEdgeId().

◆ copy()

EdgeId meshlib.EdgeId.copy ( )

A copy of the struct, in its own memory.

◆ even()

boolean meshlib.EdgeId.even ( )

among each pair of sym-edges: one is always even and the other is odd Generated from method MR::EdgeId::even.

Calls MR_EdgeId_even().

◆ get()

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

Generated from method MR::EdgeId::get.

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

◆ id_()

int meshlib.EdgeId.id_ ( )

◆ odd()

boolean meshlib.EdgeId.odd ( )

Generated from method MR::EdgeId::odd.

Calls MR_EdgeId_odd().

◆ opDecr()

meshlib.EdgeId meshlib.EdgeId.opDecr ( )

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

Calls MR_decr_MR_EdgeId().

◆ opEqual()

boolean meshlib.EdgeId.opEqual ( meshlib.EdgeId b)

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

Calls MR_equal_MR_EdgeId().

◆ opIncr()

meshlib.EdgeId meshlib.EdgeId.opIncr ( )

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

Calls MR_incr_MR_EdgeId().

◆ opLess()

boolean meshlib.EdgeId.opLess ( meshlib.EdgeId b)

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

Calls MR_less_MR_EdgeId().

◆ opNotEqual()

boolean meshlib.EdgeId.opNotEqual ( meshlib.EdgeId b)

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

Calls MR_not_equal_MR_EdgeId().

◆ opPostDecr()

meshlib.EdgeId meshlib.EdgeId.opPostDecr ( )

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

Calls MR_post_decr_MR_EdgeId().

◆ opPostIncr()

meshlib.EdgeId meshlib.EdgeId.opPostIncr ( )

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

Calls MR_post_incr_MR_EdgeId().

◆ set()

void meshlib.EdgeId.set ( EdgeId other)

Overwrites the contents with those of another struct.

◆ setId_()

void meshlib.EdgeId.setId_ ( int value)

◆ sub_assign()

meshlib.EdgeId meshlib.EdgeId.sub_assign ( int a)

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

Calls MR_EdgeId_sub_assign().

◆ sym()

meshlib.EdgeId meshlib.EdgeId.sym ( )

returns identifier of the edge with same ends but opposite orientation Generated from method MR::EdgeId::sym.

Calls MR_EdgeId_sym().

◆ undirected()

meshlib.UndirectedEdgeId meshlib.EdgeId.undirected ( )

returns unique identifier of the edge ignoring its direction Generated from method MR::EdgeId::undirected.

Calls MR_EdgeId_undirected().

◆ valid()

boolean meshlib.EdgeId.valid ( )

Generated from method MR::EdgeId::valid.

Calls MR_EdgeId_valid().

Member Data Documentation

◆ LAYOUT

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

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