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

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::QuadraticForm3f
Aliases:  Vector_QuadraticForm3f_VertId.const_reference, Vector_QuadraticForm3f_VertId.reference, Vector_QuadraticForm3f_VertId.value_type

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ _pybind11_conduit_v1_()

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

◆ addDistToLine() [1/2]

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

◆ addDistToLine() [2/2]

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

◆ addDistToOrigin()

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

◆ addDistToPlane() [1/2]

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

◆ addDistToPlane() [2/2]

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

◆ eval()

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

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