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

Public Member Functions

None __init__ (self)
 
None __init__ (self, QuadraticForm3f arg0)
 
None __init__ (self, SymMatrix3f A, float c)
 
None addDistToLine (self, Vector3f lineUnitDir)
 
None addDistToLine (self, Vector3f lineUnitDir, float weight)
 
None addDistToOrigin (self, float weight)
 
None addDistToPlane (self, Vector3f planeUnitNormal)
 
None addDistToPlane (self, Vector3f planeUnitNormal, float weight)
 
float eval (self, Vector3f x)
 

Detailed Description

Generated from:  MR::QuadraticForm3f
Aliases:  std_vector_QuadraticForm3f_const_reference, Vector_QuadraticForm3f_VertId.const_reference, std_vector_QuadraticForm3f_value_type, Vector_QuadraticForm3f_VertId.value_type, Vector_QuadraticForm3f_VertId.reference, std_vector_QuadraticForm3f_reference, QuadraticForm_Vector3_float

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None meshlib.mrmeshpy.QuadraticForm3f.__init__ ( self,
SymMatrix3f A,
float c )
Implicit aggregate constructor.

Member Function Documentation

◆ addDistToLine() [1/2]

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

◆ addDistToLine() [2/2]

None meshlib.mrmeshpy.QuadraticForm3f.addDistToLine ( self,
Vector3f lineUnitDir,
float weight )

◆ addDistToOrigin()

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

◆ addDistToPlane() [1/2]

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

◆ addDistToPlane() [2/2]

None meshlib.mrmeshpy.QuadraticForm3f.addDistToPlane ( self,
Vector3f planeUnitNormal,
float weight )

◆ eval()

float meshlib.mrmeshpy.QuadraticForm3f.eval ( self,
Vector3f x )
evaluates the function at given x

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