MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.QuadraticForm2d Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, QuadraticForm2d arg0)
 
None __init__ (self, SymMatrix2d A, float c)
 
None addDistToLine (self, Vector2d lineUnitDir)
 
None addDistToLine (self, Vector2d lineUnitDir, float weight)
 
None addDistToOrigin (self, float weight)
 
None addDistToPlane (self, Vector2d planeUnitNormal)
 
None addDistToPlane (self, Vector2d planeUnitNormal, float weight)
 
float eval (self, Vector2d x)
 

Detailed Description

Generated from:  MR::QuadraticForm2d
Aliases:  QuadraticForm_Vector2_double

quadratic form: f = x^T A x + c
\\ingroup MathGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.QuadraticForm2d.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.QuadraticForm2d.__init__ ( self,
QuadraticForm2d arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.QuadraticForm2d.__init__ ( self,
SymMatrix2d A,
float c )
Implicit aggregate constructor.

Member Function Documentation

◆ addDistToLine() [1/2]

None meshlib.mrmeshpy.QuadraticForm2d.addDistToLine ( self,
Vector2d lineUnitDir )
adds to this squared distance to line passing via origin with given unit direction

◆ addDistToLine() [2/2]

None meshlib.mrmeshpy.QuadraticForm2d.addDistToLine ( self,
Vector2d lineUnitDir,
float weight )

◆ addDistToOrigin()

None meshlib.mrmeshpy.QuadraticForm2d.addDistToOrigin ( self,
float weight )
adds to this squared distance to the origin point

◆ addDistToPlane() [1/2]

None meshlib.mrmeshpy.QuadraticForm2d.addDistToPlane ( self,
Vector2d planeUnitNormal )
adds to this squared distance to plane passing via origin with given unit normal

◆ addDistToPlane() [2/2]

None meshlib.mrmeshpy.QuadraticForm2d.addDistToPlane ( self,
Vector2d planeUnitNormal,
float weight )

◆ eval()

float meshlib.mrmeshpy.QuadraticForm2d.eval ( self,
Vector2d x )
evaluates the function at given x

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