Public Member Functions | |
| Parabolad (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Parabolad () | |
| Parabolad (meshlib.Parabolad _other) | |
| Parabolad (double a, double b, double c) | |
| meshlib.Parabolad | assignFromAnother (meshlib.Parabolad _other) |
| double | call (double x) |
| double | extremArg () |
| double | extremVal () |
| double | a () |
| void | setA (double value) |
| double | b () |
| void | setB (double value) |
| double | c () |
| void | setC (double 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::Parabolad.
Instances created here own their C++ objects, see CppObject.
| meshlib.Parabolad.Parabolad | ( | 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.Parabolad.Parabolad | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Parabolad_DefaultConstruct().
| meshlib.Parabolad.Parabolad | ( | meshlib.Parabolad | _other | ) |
Generated from constructor MR::Parabolad::Parabolad. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Parabolad_ConstructFromAnother().
| meshlib.Parabolad.Parabolad | ( | double | a, |
| double | b, | ||
| double | c ) |
Generated from constructor MR::Parabolad::Parabolad.
Calls MR_Parabolad_Construct().
| double meshlib.Parabolad.a | ( | ) |
Returns a pointer to a member variable of class MR::Parabolad named a. The reference to this object might be preserved as the return value.
Calls MR_Parabolad_Get_a().
| meshlib.Parabolad meshlib.Parabolad.assignFromAnother | ( | meshlib.Parabolad | _other | ) |
Generated from method MR::Parabolad::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Parabolad_AssignFromAnother().
| double meshlib.Parabolad.b | ( | ) |
Returns a pointer to a member variable of class MR::Parabolad named b. The reference to this object might be preserved as the return value.
Calls MR_Parabolad_Get_b().
| double meshlib.Parabolad.c | ( | ) |
Returns a pointer to a member variable of class MR::Parabolad named c. The reference to this object might be preserved as the return value.
Calls MR_Parabolad_Get_c().
| double meshlib.Parabolad.call | ( | double | x | ) |
compute value of quadratic function at any x Generated from method MR::Parabolad::operator().
Calls MR_Parabolad_call().
| double meshlib.Parabolad.extremArg | ( | ) |
argument (x) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolad::extremArg.
Calls MR_Parabolad_extremArg().
| double meshlib.Parabolad.extremVal | ( | ) |
value (y) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolad::extremVal.
Calls MR_Parabolad_extremVal().
| void meshlib.Parabolad.setA | ( | double | value | ) |
Modifies a member variable of class MR::Parabolad named a.
Calls MR_Parabolad_Set_a().
| void meshlib.Parabolad.setB | ( | double | value | ) |
Modifies a member variable of class MR::Parabolad named b.
Calls MR_Parabolad_Set_b().
| void meshlib.Parabolad.setC | ( | double | value | ) |
Modifies a member variable of class MR::Parabolad named c.
Calls MR_Parabolad_Set_c().