MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.PackMapping Class Reference
Inheritance diagram for meshlib.PackMapping:

Public Member Functions

 PackMapping (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PackMapping ()
 PackMapping (meshlib.UndirectedEdgeBMap e, meshlib.FaceBMap f, meshlib.VertBMap v)
 PackMapping (meshlib.PackMapping _other)
meshlib.PackMapping assignFromAnother (meshlib.PackMapping _other)
meshlib.UndirectedEdgeBMap e ()
void setE (meshlib.UndirectedEdgeBMap value)
meshlib.FaceBMap f ()
void setF (meshlib.FaceBMap value)
meshlib.VertBMap v ()
void setV (meshlib.VertBMap value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

mapping of mesh elements: old -> new, the mapping is tight (or packing) in the sense that there are no unused new elements within [0, (e/f/v).tsize) Generated from class MR::PackMapping.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ PackMapping() [1/4]

meshlib.PackMapping.PackMapping ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ PackMapping() [2/4]

meshlib.PackMapping.PackMapping ( )

Constructs an empty (default-constructed) instance.

Calls MR_PackMapping_DefaultConstruct().

◆ PackMapping() [3/4]

meshlib.PackMapping.PackMapping ( meshlib.UndirectedEdgeBMap e,
meshlib.FaceBMap f,
meshlib.VertBMap v )

Constructs MR::PackMapping elementwise. The reference to the parameter e might be preserved in the constructed object. The reference to the parameter f might be preserved in the constructed object. The reference to the parameter v might be preserved in the constructed object.

Calls MR_PackMapping_ConstructFrom().

◆ PackMapping() [4/4]

meshlib.PackMapping.PackMapping ( meshlib.PackMapping _other)

Generated from constructor MR::PackMapping::PackMapping. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_PackMapping_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PackMapping meshlib.PackMapping.assignFromAnother ( meshlib.PackMapping _other)

Generated from method MR::PackMapping::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_PackMapping_AssignFromAnother().

◆ e()

meshlib.UndirectedEdgeBMap meshlib.PackMapping.e ( )

Returns a pointer to a member variable of class MR::PackMapping named e. The reference to this object might be preserved as the return value.

Calls MR_PackMapping_Get_e().

◆ f()

meshlib.FaceBMap meshlib.PackMapping.f ( )

Returns a pointer to a member variable of class MR::PackMapping named f. The reference to this object might be preserved as the return value.

Calls MR_PackMapping_Get_f().

◆ setE()

void meshlib.PackMapping.setE ( meshlib.UndirectedEdgeBMap value)

Modifies a member variable of class MR::PackMapping named e. The reference to the parameter value might be preserved in this object in element e.

Calls MR_PackMapping_Set_e().

◆ setF()

void meshlib.PackMapping.setF ( meshlib.FaceBMap value)

Modifies a member variable of class MR::PackMapping named f. The reference to the parameter value might be preserved in this object in element f.

Calls MR_PackMapping_Set_f().

◆ setV()

void meshlib.PackMapping.setV ( meshlib.VertBMap value)

Modifies a member variable of class MR::PackMapping named v. The reference to the parameter value might be preserved in this object in element v.

Calls MR_PackMapping_Set_v().

◆ v()

meshlib.VertBMap meshlib.PackMapping.v ( )

Returns a pointer to a member variable of class MR::PackMapping named v. The reference to this object might be preserved as the return value.

Calls MR_PackMapping_Get_v().


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