Public Member Functions | |
| QuadraticForm2f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| QuadraticForm2f () | |
| QuadraticForm2f (meshlib.SymMatrix2f A, float c) | |
| QuadraticForm2f (meshlib.QuadraticForm2f _other) | |
| meshlib.QuadraticForm2f | assignFromAnother (meshlib.QuadraticForm2f _other) |
| float | eval (meshlib.Vector2f x) |
| void | addDistToOrigin (float weight) |
| void | addDistToPlane (meshlib.Vector2f planeUnitNormal) |
| void | addDistToPlane (meshlib.Vector2f planeUnitNormal, float weight) |
| void | addDistToLine (meshlib.Vector2f lineUnitDir) |
| void | addDistToLine (meshlib.Vector2f lineUnitDir, float weight) |
| meshlib.SymMatrix2f | A () |
| void | setA (meshlib.SymMatrix2f 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) | |
quadratic form: f = x^T A x + c Generated from class MR::QuadraticForm2f.
Instances created here own their C++ objects, see CppObject.
| meshlib.QuadraticForm2f.QuadraticForm2f | ( | 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.QuadraticForm2f.QuadraticForm2f | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_QuadraticForm2f_DefaultConstruct().
| meshlib.QuadraticForm2f.QuadraticForm2f | ( | meshlib.SymMatrix2f | A, |
| float | c ) |
Constructs MR::QuadraticForm2f elementwise. The reference to the parameter A might be preserved in the constructed object.
Calls MR_QuadraticForm2f_ConstructFrom().
| meshlib.QuadraticForm2f.QuadraticForm2f | ( | meshlib.QuadraticForm2f | _other | ) |
Generated from constructor MR::QuadraticForm2f::QuadraticForm2f. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_QuadraticForm2f_ConstructFromAnother().
| meshlib.SymMatrix2f meshlib.QuadraticForm2f.A | ( | ) |
Returns a pointer to a member variable of class MR::QuadraticForm2f named A. The reference to this object might be preserved as the return value.
Calls MR_QuadraticForm2f_Get_A().
| void meshlib.QuadraticForm2f.addDistToLine | ( | meshlib.Vector2f | lineUnitDir | ) |
adds to this squared distance to line passing via origin with given unit direction Generated from method MR::QuadraticForm2f::addDistToLine.
Calls MR_QuadraticForm2f_addDistToLine_1().
| void meshlib.QuadraticForm2f.addDistToLine | ( | meshlib.Vector2f | lineUnitDir, |
| float | weight ) |
Generated from method MR::QuadraticForm2f::addDistToLine.
Calls MR_QuadraticForm2f_addDistToLine_2().
| void meshlib.QuadraticForm2f.addDistToOrigin | ( | float | weight | ) |
adds to this squared distance to the origin point Generated from method MR::QuadraticForm2f::addDistToOrigin.
Calls MR_QuadraticForm2f_addDistToOrigin().
| void meshlib.QuadraticForm2f.addDistToPlane | ( | meshlib.Vector2f | planeUnitNormal | ) |
adds to this squared distance to plane passing via origin with given unit normal Generated from method MR::QuadraticForm2f::addDistToPlane.
Calls MR_QuadraticForm2f_addDistToPlane_1().
| void meshlib.QuadraticForm2f.addDistToPlane | ( | meshlib.Vector2f | planeUnitNormal, |
| float | weight ) |
Generated from method MR::QuadraticForm2f::addDistToPlane.
Calls MR_QuadraticForm2f_addDistToPlane_2().
| meshlib.QuadraticForm2f meshlib.QuadraticForm2f.assignFromAnother | ( | meshlib.QuadraticForm2f | _other | ) |
Generated from method MR::QuadraticForm2f::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_QuadraticForm2f_AssignFromAnother().
| float meshlib.QuadraticForm2f.c | ( | ) |
Returns a pointer to a member variable of class MR::QuadraticForm2f named c. The reference to this object might be preserved as the return value.
Calls MR_QuadraticForm2f_Get_c().
| float meshlib.QuadraticForm2f.eval | ( | meshlib.Vector2f | x | ) |
evaluates the function at given x Generated from method MR::QuadraticForm2f::eval.
Calls MR_QuadraticForm2f_eval().
| void meshlib.QuadraticForm2f.setA | ( | meshlib.SymMatrix2f | value | ) |
Modifies a member variable of class MR::QuadraticForm2f named A. The reference to the parameter value might be preserved in this object in element A.
Calls MR_QuadraticForm2f_Set_A().
| void meshlib.QuadraticForm2f.setC | ( | float | value | ) |
Modifies a member variable of class MR::QuadraticForm2f named c.
Calls MR_QuadraticForm2f_Set_c().