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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ CoordinateConverters() [1/4]

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

◆ CoordinateConverters() [2/4]

meshlib.CoordinateConverters.CoordinateConverters ( )

Constructs an empty (default-constructed) instance.

Calls MR_CoordinateConverters_DefaultConstruct().

◆ CoordinateConverters() [3/4]

meshlib.CoordinateConverters.CoordinateConverters ( meshlib.ConvertToIntVector toInt,
meshlib.ConvertToFloatVector toFloat )

Constructs MR::CoordinateConverters 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_CoordinateConverters_ConstructFrom().

◆ CoordinateConverters() [4/4]

meshlib.CoordinateConverters.CoordinateConverters ( meshlib.CoordinateConverters _other)

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

Calls MR_CoordinateConverters_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.CoordinateConverters meshlib.CoordinateConverters.assignFromAnother ( meshlib.CoordinateConverters _other)

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

Calls MR_CoordinateConverters_AssignFromAnother().

◆ setToFloat()

void meshlib.CoordinateConverters.setToFloat ( meshlib.ConvertToFloatVector value)

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

Calls MR_CoordinateConverters_Set_toFloat().

◆ setToInt()

void meshlib.CoordinateConverters.setToInt ( meshlib.ConvertToIntVector value)

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

Calls MR_CoordinateConverters_Set_toInt().

◆ toFloat()

meshlib.ConvertToFloatVector meshlib.CoordinateConverters.toFloat ( )

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

Calls MR_CoordinateConverters_Get_toFloat().

◆ toInt()

meshlib.ConvertToIntVector meshlib.CoordinateConverters.toInt ( )

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

Calls MR_CoordinateConverters_Get_toInt().


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