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

Public Member Functions

 CoordinateConverters2 (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CoordinateConverters2 ()
 CoordinateConverters2 (meshlib.std_function_MR_Vector2i_from_const_MR_Vector2f_ref toInt, meshlib.std_function_MR_Vector2f_from_const_MR_Vector2i_ref toFloat)
 CoordinateConverters2 (meshlib.CoordinateConverters2 _other)
meshlib.CoordinateConverters2 assignFromAnother (meshlib.CoordinateConverters2 _other)
meshlib.std_function_MR_Vector2i_from_const_MR_Vector2f_ref toInt ()
void setToInt (meshlib.std_function_MR_Vector2i_from_const_MR_Vector2f_ref value)
meshlib.std_function_MR_Vector2f_from_const_MR_Vector2i_ref toFloat ()
void setToFloat (meshlib.std_function_MR_Vector2f_from_const_MR_Vector2i_ref 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

this struct contains coordinate converters float-int-float Generated from class MR::CoordinateConverters2.

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

Constructor & Destructor Documentation

◆ CoordinateConverters2() [1/4]

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

◆ CoordinateConverters2() [2/4]

meshlib.CoordinateConverters2.CoordinateConverters2 ( )

Constructs an empty (default-constructed) instance.

Calls MR_CoordinateConverters2_DefaultConstruct().

◆ CoordinateConverters2() [3/4]

Constructs MR::CoordinateConverters2 elementwise. The reference to the parameter toInt might be preserved in the constructed object. The reference to the parameter toFloat might be preserved in the constructed object.

Calls MR_CoordinateConverters2_ConstructFrom().

◆ CoordinateConverters2() [4/4]

meshlib.CoordinateConverters2.CoordinateConverters2 ( meshlib.CoordinateConverters2 _other)

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

Calls MR_CoordinateConverters2_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.CoordinateConverters2 meshlib.CoordinateConverters2.assignFromAnother ( meshlib.CoordinateConverters2 _other)

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

Calls MR_CoordinateConverters2_AssignFromAnother().

◆ setToFloat()

void meshlib.CoordinateConverters2.setToFloat ( meshlib.std_function_MR_Vector2f_from_const_MR_Vector2i_ref value)

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

Calls MR_CoordinateConverters2_Set_toFloat().

◆ setToInt()

void meshlib.CoordinateConverters2.setToInt ( meshlib.std_function_MR_Vector2i_from_const_MR_Vector2f_ref value)

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

Calls MR_CoordinateConverters2_Set_toInt().

◆ toFloat()

meshlib.std_function_MR_Vector2f_from_const_MR_Vector2i_ref meshlib.CoordinateConverters2.toFloat ( )

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

Calls MR_CoordinateConverters2_Get_toFloat().

◆ toInt()

meshlib.std_function_MR_Vector2i_from_const_MR_Vector2f_ref meshlib.CoordinateConverters2.toInt ( )

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

Calls MR_CoordinateConverters2_Get_toInt().


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