Public Member Functions | |
| CurveFunc (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| CurveFunc () | |
| CurveFunc (meshlib.std_function_MR_CurvePoint_from_float func, float totalLength) | |
| CurveFunc (meshlib.CurveFunc _other) | |
| meshlib.CurveFunc | assignFromAnother (meshlib.CurveFunc _other) |
| meshlib.std_function_MR_CurvePoint_from_float | func () |
| void | setFunc (meshlib.std_function_MR_CurvePoint_from_float value) |
| float | totalLength () |
| void | setTotalLength (float 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) | |
Generated from class MR::CurveFunc.
Instances created here own their C++ objects, see CppObject.
| meshlib.CurveFunc.CurveFunc | ( | 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.
| meshlib.CurveFunc.CurveFunc | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_CurveFunc_DefaultConstruct().
| meshlib.CurveFunc.CurveFunc | ( | meshlib.std_function_MR_CurvePoint_from_float | func, |
| float | totalLength ) |
Constructs MR::CurveFunc elementwise. The reference to the parameter func might be preserved in the constructed object.
Calls MR_CurveFunc_ConstructFrom().
| meshlib.CurveFunc.CurveFunc | ( | meshlib.CurveFunc | _other | ) |
Generated from constructor MR::CurveFunc::CurveFunc. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_CurveFunc_ConstructFromAnother().
| meshlib.CurveFunc meshlib.CurveFunc.assignFromAnother | ( | meshlib.CurveFunc | _other | ) |
Generated from method MR::CurveFunc::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_CurveFunc_AssignFromAnother().
| meshlib.std_function_MR_CurvePoint_from_float meshlib.CurveFunc.func | ( | ) |
curve given as a function: position along curve -> point Returns a pointer to a member variable of class MR::CurveFunc named func. The reference to this object might be preserved as the return value.
Calls MR_CurveFunc_Get_func().
| void meshlib.CurveFunc.setFunc | ( | meshlib.std_function_MR_CurvePoint_from_float | value | ) |
curve given as a function: position along curve -> point Modifies a member variable of class MR::CurveFunc named func. The reference to the parameter value might be preserved in this object in element func.
Calls MR_CurveFunc_Set_func().
| void meshlib.CurveFunc.setTotalLength | ( | float | value | ) |
total length of the given curve Modifies a member variable of class MR::CurveFunc named totalLength.
Calls MR_CurveFunc_Set_totalLength().
| float meshlib.CurveFunc.totalLength | ( | ) |
total length of the given curve Returns a pointer to a member variable of class MR::CurveFunc named totalLength. The reference to this object might be preserved as the return value.
Calls MR_CurveFunc_Get_totalLength().