MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.QuadraticForm2f Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, SymMatrix2f A, float c)
 
None addDistToLine (self, Vector2f lineUnitDir)
 
None addDistToLine (self, Vector2f lineUnitDir, float weight)
 
None addDistToOrigin (self, float weight)
 
None addDistToPlane (self, Vector2f planeUnitNormal)
 
None addDistToPlane (self, Vector2f planeUnitNormal, float weight)
 
float eval (self, Vector2f x)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
QuadraticForm2f operator (*args, **kwargs)
 
QuadraticForm2f operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_A = 0
 
typing _offsetof_c = 12
 

Detailed Description

Generated from:  MR::QuadraticForm2f
Aliases:  Vector_QuadraticForm2f_VertId.const_reference, Vector_QuadraticForm2f_VertId.reference, Vector_QuadraticForm2f_VertId.value_type

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.QuadraticForm2f.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.QuadraticForm2f.__init__ ( self,
SymMatrix2f A,
float c )
Implicit aggregate constructor.

Member Function Documentation

◆ addDistToLine() [1/2]

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

◆ addDistToLine() [2/2]

None mrmeshpy.QuadraticForm2f.addDistToLine ( self,
Vector2f lineUnitDir,
float weight )

◆ addDistToOrigin()

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

◆ addDistToPlane() [1/2]

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

◆ addDistToPlane() [2/2]

None mrmeshpy.QuadraticForm2f.addDistToPlane ( self,
Vector2f planeUnitNormal,
float weight )

◆ eval()

float mrmeshpy.QuadraticForm2f.eval ( self,
Vector2f x )
evaluates the function at given x

◆ operator() [1/2]

QuadraticForm2f mrmeshpy.QuadraticForm2f.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

QuadraticForm2f mrmeshpy.QuadraticForm2f.operator ( * args,
** kwargs )
static

Member Data Documentation

◆ _offsetof_A

typing mrmeshpy.QuadraticForm2f._offsetof_A = 0
staticprotected

◆ _offsetof_c

typing mrmeshpy.QuadraticForm2f._offsetof_c = 12
staticprotected

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