Public Member Functions | |
| BestFitParabolad (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| BestFitParabolad () | |
| BestFitParabolad (meshlib.BestFitParabolad _other) | |
| meshlib.BestFitParabolad | assignFromAnother (meshlib.BestFitParabolad _other) |
| void | addPoint (double x, double y) |
| void | addPoint (double x, double y, double weight) |
| meshlib.Parabolad | getBestParabola (java.lang.Double 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::BestFitParabolad.
Instances created here own their C++ objects, see CppObject.
| meshlib.BestFitParabolad.BestFitParabolad | ( | 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.BestFitParabolad.BestFitParabolad | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_BestFitParabolad_DefaultConstruct().
| meshlib.BestFitParabolad.BestFitParabolad | ( | meshlib.BestFitParabolad | _other | ) |
Generated from constructor MR::BestFitParabolad::BestFitParabolad. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_BestFitParabolad_ConstructFromAnother().
| void meshlib.BestFitParabolad.addPoint | ( | double | x, |
| double | y ) |
accumulates one more point for parabola fitting Generated from method MR::BestFitParabolad::addPoint.
Calls MR_BestFitParabolad_addPoint_2().
| void meshlib.BestFitParabolad.addPoint | ( | double | x, |
| double | y, | ||
| double | weight ) |
accumulates one more point with given weight for parabola fitting Generated from method MR::BestFitParabolad::addPoint.
Calls MR_BestFitParabolad_addPoint_3().
| meshlib.BestFitParabolad meshlib.BestFitParabolad.assignFromAnother | ( | meshlib.BestFitParabolad | _other | ) |
Generated from method MR::BestFitParabolad::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_BestFitParabolad_AssignFromAnother().
| meshlib.Parabolad meshlib.BestFitParabolad.getBestParabola | ( | java.lang.Double | tol | ) |
computes the best approximating parabola from the accumulated points; Generated from method MR::BestFitParabolad::getBestParabola.
Calls MR_BestFitParabolad_getBestParabola().