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

Public Member Functions

None __init__ (self)
 
None __init__ (self, QuadraticForm3d arg0)
 
None __init__ (self, SymMatrix3d A, float c)
 
None addDistToLine (self, Vector3d lineUnitDir)
 
None addDistToLine (self, Vector3d lineUnitDir, float weight)
 
None addDistToOrigin (self, float weight)
 
None addDistToPlane (self, Vector3d planeUnitNormal)
 
None addDistToPlane (self, Vector3d planeUnitNormal, float weight)
 
float eval (self, Vector3d x)
 

Detailed Description

Generated from:  MR::QuadraticForm3d
Aliases:  QuadraticForm_Vector3_double

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ addDistToLine() [1/2]

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

◆ addDistToLine() [2/2]

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

◆ addDistToOrigin()

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

◆ addDistToPlane() [1/2]

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

◆ addDistToPlane() [2/2]

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

◆ eval()

float meshlib.mrmeshpy.QuadraticForm3d.eval ( self,
Vector3d x )
evaluates the function at given x

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