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

Public Member Functions

None __init__ (self)
 
None __init__ (self, QuadraticForm2f arg0)
 
None __init__ (self, SymMatrix2f A, float c)
 
None addDistToLine (self, Vector2f lineUnitDir)
 
None addDistToLine (self, Vector2f lineUnitDir, float weight)
 
None addDistToOrigin (self, float weight)
 
None addDistToPlane (self, Vector2f planeUnitNormal)
 
None addDistToPlane (self, Vector2f planeUnitNormal, float weight)
 
float eval (self, Vector2f x)
 

Detailed Description

Generated from:  MR::QuadraticForm2f
Aliases:  Vector_QuadraticForm2f_VertId.value_type, Vector_QuadraticForm2f_VertId.const_reference, Vector_QuadraticForm2f_VertId.reference, QuadraticForm_Vector2_float, std_vector_QuadraticForm2f_reference, std_vector_QuadraticForm2f_value_type, std_vector_QuadraticForm2f_const_reference

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None meshlib.mrmeshpy.QuadraticForm2f.__init__ ( self,
SymMatrix2f A,
float c )
Implicit aggregate constructor.

Member Function Documentation

◆ addDistToLine() [1/2]

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

◆ addDistToLine() [2/2]

None meshlib.mrmeshpy.QuadraticForm2f.addDistToLine ( self,
Vector2f lineUnitDir,
float weight )

◆ addDistToOrigin()

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

◆ addDistToPlane() [1/2]

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

◆ addDistToPlane() [2/2]

None meshlib.mrmeshpy.QuadraticForm2f.addDistToPlane ( self,
Vector2f planeUnitNormal,
float weight )

◆ eval()

float meshlib.mrmeshpy.QuadraticForm2f.eval ( self,
Vector2f x )
evaluates the function at given x

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