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

Public Member Functions

 std_pair_double_int (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 std_pair_double_int ()
 std_pair_double_int (meshlib.std_pair_double_int other)
void assignFromAnother (meshlib.std_pair_double_int other)
 std_pair_double_int (double first, int second)
double first ()
java.lang.foreign.MemorySegment first_mut ()
int second ()
java.lang.foreign.MemorySegment 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: double and double.

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

Constructor & Destructor Documentation

◆ std_pair_double_int() [1/4]

meshlib.std_pair_double_int.std_pair_double_int ( 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_double_int() [2/4]

meshlib.std_pair_double_int.std_pair_double_int ( )

Constructs an empty (default-constructed) instance.

Calls MR_std_pair_double_int_DefaultConstruct().

◆ std_pair_double_int() [3/4]

meshlib.std_pair_double_int.std_pair_double_int ( meshlib.std_pair_double_int 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_double_int_ConstructFromAnother().

◆ std_pair_double_int() [4/4]

meshlib.std_pair_double_int.std_pair_double_int ( double first,
int second )

Constructs the pair elementwise.

Calls MR_std_pair_double_int_Construct().

Member Function Documentation

◆ assignFromAnother()

void meshlib.std_pair_double_int.assignFromAnother ( meshlib.std_pair_double_int 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_double_int_AssignFromAnother().

◆ first()

double meshlib.std_pair_double_int.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_double_int_first().

◆ first_mut()

java.lang.foreign.MemorySegment meshlib.std_pair_double_int.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_double_int_first_mut(). Some types are raw C types, see the C bindings for the details.

◆ second()

int meshlib.std_pair_double_int.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_double_int_second().

◆ second_mut()

java.lang.foreign.MemorySegment meshlib.std_pair_double_int.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_double_int_second_mut(). Some types are raw C types, see the C bindings for the details.


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