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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstQuadraticForm3d arg0)
None __init__ (self, ConstSymMatrix3d A, float c)
None addDistToLine (self, ConstVector3d lineUnitDir)
None addDistToLine (self, ConstVector3d lineUnitDir, float weight)
None addDistToOrigin (self, float weight)
None addDistToPlane (self, ConstVector3d planeUnitNormal)
None addDistToPlane (self, ConstVector3d planeUnitNormal, float weight)
QuadraticForm3d assign (self, ConstQuadraticForm3d other)
SymMatrix3d A (self)
None A (self, ConstSymMatrix3d arg1)
Public Member Functions inherited from mrmeshpy.ConstQuadraticForm3d
 __init__ (self, *args, **kwargs)
float eval (self, ConstVector3d x)
float c (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstQuadraticForm3d
typing _offsetof_A = 0
typing _offsetof_c = 48

Detailed Description

Generated from:  MR::QuadraticForm3d

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.QuadraticForm3d.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.QuadraticForm3d.__init__ ( self,
ConstSymMatrix3d A,
float c )
Implicit aggregate constructor.

Member Function Documentation

◆ A() [1/2]

SymMatrix3d mrmeshpy.QuadraticForm3d.A ( self)

Reimplemented from mrmeshpy.ConstQuadraticForm3d.

◆ A() [2/2]

None mrmeshpy.QuadraticForm3d.A ( self,
ConstSymMatrix3d arg1 )

Reimplemented from mrmeshpy.ConstQuadraticForm3d.

◆ addDistToLine() [1/2]

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

◆ addDistToLine() [2/2]

None mrmeshpy.QuadraticForm3d.addDistToLine ( self,
ConstVector3d lineUnitDir,
float weight )

◆ addDistToOrigin()

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

◆ addDistToPlane() [1/2]

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

◆ addDistToPlane() [2/2]

None mrmeshpy.QuadraticForm3d.addDistToPlane ( self,
ConstVector3d planeUnitNormal,
float weight )

◆ assign()

QuadraticForm3d mrmeshpy.QuadraticForm3d.assign ( self,
ConstQuadraticForm3d other )

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