Public Member Functions | |
| Parabolaf (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Parabolaf () | |
| Parabolaf (meshlib.Parabolaf _other) | |
| Parabolaf (float a, float b, float c) | |
| meshlib.Parabolaf | assignFromAnother (meshlib.Parabolaf _other) |
| float | call (float x) |
| float | extremArg () |
| float | extremVal () |
| float | a () |
| void | setA (float value) |
| float | b () |
| void | setB (float value) |
| float | c () |
| void | setC (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) | |
Represents quadratic function f(x) = a*x*x + b*x + c Generated from class MR::Parabolaf.
Instances created here own their C++ objects, see CppObject.
| meshlib.Parabolaf.Parabolaf | ( | 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.Parabolaf.Parabolaf | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Parabolaf_DefaultConstruct().
| meshlib.Parabolaf.Parabolaf | ( | meshlib.Parabolaf | _other | ) |
Generated from constructor MR::Parabolaf::Parabolaf. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Parabolaf_ConstructFromAnother().
| meshlib.Parabolaf.Parabolaf | ( | float | a, |
| float | b, | ||
| float | c ) |
Generated from constructor MR::Parabolaf::Parabolaf.
Calls MR_Parabolaf_Construct().
| float meshlib.Parabolaf.a | ( | ) |
Returns a pointer to a member variable of class MR::Parabolaf named a. The reference to this object might be preserved as the return value.
Calls MR_Parabolaf_Get_a().
| meshlib.Parabolaf meshlib.Parabolaf.assignFromAnother | ( | meshlib.Parabolaf | _other | ) |
Generated from method MR::Parabolaf::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Parabolaf_AssignFromAnother().
| float meshlib.Parabolaf.b | ( | ) |
Returns a pointer to a member variable of class MR::Parabolaf named b. The reference to this object might be preserved as the return value.
Calls MR_Parabolaf_Get_b().
| float meshlib.Parabolaf.c | ( | ) |
Returns a pointer to a member variable of class MR::Parabolaf named c. The reference to this object might be preserved as the return value.
Calls MR_Parabolaf_Get_c().
| float meshlib.Parabolaf.call | ( | float | x | ) |
compute value of quadratic function at any x Generated from method MR::Parabolaf::operator().
Calls MR_Parabolaf_call().
| float meshlib.Parabolaf.extremArg | ( | ) |
argument (x) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolaf::extremArg.
Calls MR_Parabolaf_extremArg().
| float meshlib.Parabolaf.extremVal | ( | ) |
value (y) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolaf::extremVal.
Calls MR_Parabolaf_extremVal().
| void meshlib.Parabolaf.setA | ( | float | value | ) |
Modifies a member variable of class MR::Parabolaf named a.
Calls MR_Parabolaf_Set_a().
| void meshlib.Parabolaf.setB | ( | float | value | ) |
Modifies a member variable of class MR::Parabolaf named b.
Calls MR_Parabolaf_Set_b().
| void meshlib.Parabolaf.setC | ( | float | value | ) |
Modifies a member variable of class MR::Parabolaf named c.
Calls MR_Parabolaf_Set_c().