MeshLib Python Docs
Loading...
Searching...
No Matches
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)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::QuadraticForm2d

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.QuadraticForm2d._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ addDistToLine() [1/2]

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

◆ addDistToLine() [2/2]

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

◆ addDistToOrigin()

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

◆ addDistToPlane() [1/2]

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

◆ addDistToPlane() [2/2]

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

◆ eval()

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

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