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

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

+ Inheritance diagram for MR.QuadraticForm2d:

Public Member Functions

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

Properties

new unsafe MR.SymMatrix2d a [get]
 
new unsafe ref double c [get]
 
- Properties inherited from MR.Const_QuadraticForm2d
unsafe MR.Const_SymMatrix2d a [get]
 
unsafe double c [get]
 
- Properties inherited from MR.Misc.Object< Const_QuadraticForm2d >
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_QuadraticForm2d
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< Const_QuadraticForm2d >
bool _IsOwningVal
 

Detailed Description

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


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