Public Member Functions | |
| BestFitParabolaf (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| BestFitParabolaf () | |
| BestFitParabolaf (meshlib.BestFitParabolaf _other) | |
| meshlib.BestFitParabolaf | assignFromAnother (meshlib.BestFitParabolaf _other) |
| void | addPoint (float x, float y) |
| void | addPoint (float x, float y, float weight) |
| meshlib.Parabolaf | getBestParabola (java.lang.Float tol) |
| 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) | |
accumulates a number of (x,y) points to find the best-least-squares parabola approximating them Generated from class MR::BestFitParabolaf.
Instances created here own their C++ objects, see CppObject.
| meshlib.BestFitParabolaf.BestFitParabolaf | ( | 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.BestFitParabolaf.BestFitParabolaf | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_BestFitParabolaf_DefaultConstruct().
| meshlib.BestFitParabolaf.BestFitParabolaf | ( | meshlib.BestFitParabolaf | _other | ) |
Generated from constructor MR::BestFitParabolaf::BestFitParabolaf. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_BestFitParabolaf_ConstructFromAnother().
| void meshlib.BestFitParabolaf.addPoint | ( | float | x, |
| float | y ) |
accumulates one more point for parabola fitting Generated from method MR::BestFitParabolaf::addPoint.
Calls MR_BestFitParabolaf_addPoint_2().
| void meshlib.BestFitParabolaf.addPoint | ( | float | x, |
| float | y, | ||
| float | weight ) |
accumulates one more point with given weight for parabola fitting Generated from method MR::BestFitParabolaf::addPoint.
Calls MR_BestFitParabolaf_addPoint_3().
| meshlib.BestFitParabolaf meshlib.BestFitParabolaf.assignFromAnother | ( | meshlib.BestFitParabolaf | _other | ) |
Generated from method MR::BestFitParabolaf::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_BestFitParabolaf_AssignFromAnother().
| meshlib.Parabolaf meshlib.BestFitParabolaf.getBestParabola | ( | java.lang.Float | tol | ) |
computes the best approximating parabola from the accumulated points; Generated from method MR::BestFitParabolaf::getBestParabola.
Calls MR_BestFitParabolaf_getBestParabola().