MeshLib C# Docs
Loading...
Searching...
No Matches
MR.QuadraticForm2f Class Reference

quadratic form: f = x^T A x + c Generated from class MR.QuadraticForm2f. This is the non-const half of the class. More...

+ Inheritance diagram for MR.QuadraticForm2f:

Public Member Functions

unsafe QuadraticForm2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe QuadraticForm2f (MR.Const_SymMatrix2f A, float c)
 Constructs MR.QuadraticForm2f elementwise.
 
unsafe QuadraticForm2f (MR.Const_QuadraticForm2f _other)
 Generated from constructor MR.QuadraticForm2f.QuadraticForm2f.
 
unsafe MR.QuadraticForm2f assign (MR.Const_QuadraticForm2f _other)
 Generated from method MR.QuadraticForm2f.operator=.
 
unsafe void addDistToOrigin (float weight)
 adds to this squared distance to the origin point Generated from method MR.QuadraticForm2f.addDistToOrigin.
 
unsafe void addDistToPlane (in MR.Vector2f planeUnitNormal)
 adds to this squared distance to plane passing via origin with given unit normal Generated from method MR.QuadraticForm2f.addDistToPlane.
 
unsafe void addDistToPlane (in MR.Vector2f planeUnitNormal, float weight)
 Generated from method MR.QuadraticForm2f.addDistToPlane.
 
unsafe void addDistToLine (in MR.Vector2f lineUnitDir)
 adds to this squared distance to line passing via origin with given unit direction Generated from method MR.QuadraticForm2f.addDistToLine.
 
unsafe void addDistToLine (in MR.Vector2f lineUnitDir, float weight)
 Generated from method MR.QuadraticForm2f.addDistToLine.
 
- Public Member Functions inherited from MR.Const_QuadraticForm2f
virtual void Dispose ()
 
unsafe Const_QuadraticForm2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_QuadraticForm2f (MR.Const_SymMatrix2f A, float c)
 Constructs MR.QuadraticForm2f elementwise.
 
unsafe Const_QuadraticForm2f (MR.Const_QuadraticForm2f _other)
 Generated from constructor MR.QuadraticForm2f.QuadraticForm2f.
 
unsafe float eval (in MR.Vector2f x)
 evaluates the function at given x Generated from method MR.QuadraticForm2f.eval.
 

Properties

new unsafe MR.SymMatrix2f a [get]
 
new unsafe ref float c [get]
 
- Properties inherited from MR.Const_QuadraticForm2f
unsafe MR.Const_SymMatrix2f a [get]
 
unsafe float c [get]
 
- Properties inherited from MR.Misc.Object< Const_QuadraticForm2f >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Member Functions inherited from MR.Const_QuadraticForm2f
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_QuadraticForm2f >
bool _IsOwningVal
 

Detailed Description

quadratic form: f = x^T A x + c Generated from class MR.QuadraticForm2f. This is the non-const half of the class.


The documentation for this class was generated from the following file: