Public Member Functions | |
| QuadraticForm3f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| QuadraticForm3f () | |
| QuadraticForm3f (meshlib.SymMatrix3f A, float c) | |
| QuadraticForm3f (meshlib.QuadraticForm3f _other) | |
| meshlib.QuadraticForm3f | assignFromAnother (meshlib.QuadraticForm3f _other) |
| float | eval (meshlib.Vector3f x) |
| void | addDistToOrigin (float weight) |
| void | addDistToPlane (meshlib.Vector3f planeUnitNormal) |
| void | addDistToPlane (meshlib.Vector3f planeUnitNormal, float weight) |
| void | addDistToLine (meshlib.Vector3f lineUnitDir) |
| void | addDistToLine (meshlib.Vector3f lineUnitDir, float weight) |
| meshlib.SymMatrix3f | A () |
| void | setA (meshlib.SymMatrix3f 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::QuadraticForm3f.
Instances created here own their C++ objects, see CppObject.
| meshlib.QuadraticForm3f.QuadraticForm3f | ( | 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.QuadraticForm3f.QuadraticForm3f | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_QuadraticForm3f_DefaultConstruct().
| meshlib.QuadraticForm3f.QuadraticForm3f | ( | meshlib.SymMatrix3f | A, |
| float | c ) |
Constructs MR::QuadraticForm3f elementwise. The reference to the parameter A might be preserved in the constructed object.
Calls MR_QuadraticForm3f_ConstructFrom().
| meshlib.QuadraticForm3f.QuadraticForm3f | ( | meshlib.QuadraticForm3f | _other | ) |
Generated from constructor MR::QuadraticForm3f::QuadraticForm3f. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_QuadraticForm3f_ConstructFromAnother().
| meshlib.SymMatrix3f meshlib.QuadraticForm3f.A | ( | ) |
Returns a pointer to a member variable of class MR::QuadraticForm3f named A. The reference to this object might be preserved as the return value.
Calls MR_QuadraticForm3f_Get_A().
| void meshlib.QuadraticForm3f.addDistToLine | ( | meshlib.Vector3f | lineUnitDir | ) |
adds to this squared distance to line passing via origin with given unit direction Generated from method MR::QuadraticForm3f::addDistToLine.
Calls MR_QuadraticForm3f_addDistToLine_1().
| void meshlib.QuadraticForm3f.addDistToLine | ( | meshlib.Vector3f | lineUnitDir, |
| float | weight ) |
Generated from method MR::QuadraticForm3f::addDistToLine.
Calls MR_QuadraticForm3f_addDistToLine_2().
| void meshlib.QuadraticForm3f.addDistToOrigin | ( | float | weight | ) |
adds to this squared distance to the origin point Generated from method MR::QuadraticForm3f::addDistToOrigin.
Calls MR_QuadraticForm3f_addDistToOrigin().
| void meshlib.QuadraticForm3f.addDistToPlane | ( | meshlib.Vector3f | planeUnitNormal | ) |
adds to this squared distance to plane passing via origin with given unit normal Generated from method MR::QuadraticForm3f::addDistToPlane.
Calls MR_QuadraticForm3f_addDistToPlane_1().
| void meshlib.QuadraticForm3f.addDistToPlane | ( | meshlib.Vector3f | planeUnitNormal, |
| float | weight ) |
Generated from method MR::QuadraticForm3f::addDistToPlane.
Calls MR_QuadraticForm3f_addDistToPlane_2().
| meshlib.QuadraticForm3f meshlib.QuadraticForm3f.assignFromAnother | ( | meshlib.QuadraticForm3f | _other | ) |
Generated from method MR::QuadraticForm3f::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_QuadraticForm3f_AssignFromAnother().
| float meshlib.QuadraticForm3f.c | ( | ) |
Returns a pointer to a member variable of class MR::QuadraticForm3f named c. The reference to this object might be preserved as the return value.
Calls MR_QuadraticForm3f_Get_c().
| float meshlib.QuadraticForm3f.eval | ( | meshlib.Vector3f | x | ) |
evaluates the function at given x Generated from method MR::QuadraticForm3f::eval.
Calls MR_QuadraticForm3f_eval().
| void meshlib.QuadraticForm3f.setA | ( | meshlib.SymMatrix3f | value | ) |
Modifies a member variable of class MR::QuadraticForm3f named A. The reference to the parameter value might be preserved in this object in element A.
Calls MR_QuadraticForm3f_Set_A().
| void meshlib.QuadraticForm3f.setC | ( | float | value | ) |
Modifies a member variable of class MR::QuadraticForm3f named c.
Calls MR_QuadraticForm3f_Set_c().