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

Public Member Functions

 std_pair_MR_VertId_MR_FaceId (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 std_pair_MR_VertId_MR_FaceId ()
 std_pair_MR_VertId_MR_FaceId (meshlib.std_pair_MR_VertId_MR_FaceId other)
void assignFromAnother (meshlib.std_pair_MR_VertId_MR_FaceId other)
 std_pair_MR_VertId_MR_FaceId (meshlib.VertId first, meshlib.FaceId second)
meshlib.VertId first ()
meshlib.VertId first_mut ()
meshlib.FaceId second ()
meshlib.FaceId second_mut ()
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

Stores two objects: MR::VertId and MR::VertId.

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

Constructor & Destructor Documentation

◆ std_pair_MR_VertId_MR_FaceId() [1/4]

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

◆ std_pair_MR_VertId_MR_FaceId() [2/4]

meshlib.std_pair_MR_VertId_MR_FaceId.std_pair_MR_VertId_MR_FaceId ( )

Constructs an empty (default-constructed) instance.

Calls MR_std_pair_MR_VertId_MR_FaceId_DefaultConstruct().

◆ std_pair_MR_VertId_MR_FaceId() [3/4]

meshlib.std_pair_MR_VertId_MR_FaceId.std_pair_MR_VertId_MR_FaceId ( meshlib.std_pair_MR_VertId_MR_FaceId other)

Constructs a copy of another instance. The source remains alive. The reference to the parameter other might be preserved in the constructed object.

Calls MR_std_pair_MR_VertId_MR_FaceId_ConstructFromAnother().

◆ std_pair_MR_VertId_MR_FaceId() [4/4]

meshlib.std_pair_MR_VertId_MR_FaceId.std_pair_MR_VertId_MR_FaceId ( meshlib.VertId first,
meshlib.FaceId second )

Constructs the pair elementwise. The reference to the parameter first might be preserved in the constructed object. The reference to the parameter second might be preserved in the constructed object.

Calls MR_std_pair_MR_VertId_MR_FaceId_Construct().

Member Function Documentation

◆ assignFromAnother()

void meshlib.std_pair_MR_VertId_MR_FaceId.assignFromAnother ( meshlib.std_pair_MR_VertId_MR_FaceId other)

Assigns the contents from another instance. Both objects remain alive after the call. The reference to the parameter other might be preserved in this object.

Calls MR_std_pair_MR_VertId_MR_FaceId_AssignFromAnother().

◆ first()

meshlib.VertId meshlib.std_pair_MR_VertId_MR_FaceId.first ( )

The first of the two elements, read-only. The reference to this object might be preserved as the return value.

Calls MR_std_pair_MR_VertId_MR_FaceId_first().

◆ first_mut()

meshlib.VertId meshlib.std_pair_MR_VertId_MR_FaceId.first_mut ( )

The first of the two elements, mutable. The reference to this object might be preserved as the return value.

Calls MR_std_pair_MR_VertId_MR_FaceId_first_mut().

◆ second()

meshlib.FaceId meshlib.std_pair_MR_VertId_MR_FaceId.second ( )

The second of the two elements, read-only. The reference to this object might be preserved as the return value.

Calls MR_std_pair_MR_VertId_MR_FaceId_second().

◆ second_mut()

meshlib.FaceId meshlib.std_pair_MR_VertId_MR_FaceId.second_mut ( )

The second of the two elements, mutable. The reference to this object might be preserved as the return value.

Calls MR_std_pair_MR_VertId_MR_FaceId_second_mut().


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