MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.QuadraticForm2d Class Reference
Inheritance diagram for mrmeshpy.QuadraticForm2d:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstQuadraticForm2d arg0)
None __init__ (self, ConstSymMatrix2d A, float c)
None addDistToLine (self, ConstVector2d lineUnitDir)
None addDistToLine (self, ConstVector2d lineUnitDir, float weight)
None addDistToOrigin (self, float weight)
None addDistToPlane (self, ConstVector2d planeUnitNormal)
None addDistToPlane (self, ConstVector2d planeUnitNormal, float weight)
QuadraticForm2d assign (self, ConstQuadraticForm2d other)
SymMatrix2d A (self)
None A (self, ConstSymMatrix2d arg1)
Public Member Functions inherited from mrmeshpy.ConstQuadraticForm2d
 __init__ (self, *args, **kwargs)
float eval (self, ConstVector2d x)
float c (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstQuadraticForm2d
typing _offsetof_A = 0
typing _offsetof_c = 24

Detailed Description

Generated from:  MR::QuadraticForm2d

quadratic form: f = x^T A x + c

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.QuadraticForm2d.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.QuadraticForm2d.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ A() [1/2]

SymMatrix2d mrmeshpy.QuadraticForm2d.A ( self)

Reimplemented from mrmeshpy.ConstQuadraticForm2d.

◆ A() [2/2]

None mrmeshpy.QuadraticForm2d.A ( self,
ConstSymMatrix2d arg1 )

Reimplemented from mrmeshpy.ConstQuadraticForm2d.

◆ addDistToLine() [1/2]

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

◆ addDistToLine() [2/2]

None mrmeshpy.QuadraticForm2d.addDistToLine ( self,
ConstVector2d 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,
ConstVector2d planeUnitNormal )
adds to this squared distance to plane passing via origin with given unit normal

◆ addDistToPlane() [2/2]

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

◆ assign()

QuadraticForm2d mrmeshpy.QuadraticForm2d.assign ( self,
ConstQuadraticForm2d other )

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