|
| T | eval (const V &x) const |
| | evaluates the function at given x
|
| |
| void | addDistToOrigin (T weight) |
| | adds to this squared distance to the origin point
|
| |
| void | addDistToPlane (const V &planeUnitNormal) |
| | adds to this squared distance to plane passing via origin with given unit normal
|
| |
| void | addDistToPlane (const V &planeUnitNormal, T weight) |
| |
| void | addDistToLine (const V &lineUnitDir) |
| | adds to this squared distance to line passing via origin with given unit direction
|
| |
| void | addDistToLine (const V &lineUnitDir, T weight) |
| |
|
(Note that these are not member symbols.)
|
| template<typename V > |
| MRMESH_API std::pair< QuadraticForm< V >, V > | sum (const QuadraticForm< V > &q0, const V &x0, const QuadraticForm< V > &q1, const V &x1, bool minAmong01=false) |
| | if true then the minimum is selected only between points x0 and x1
|
| |
| template<typename V > |
| MRMESH_API QuadraticForm< V > | sumAt (const QuadraticForm< V > &q0, const V &x0, const QuadraticForm< V > &q1, const V &x1, const V &pos) |
| |
template<typename V>
struct MR::QuadraticForm< V >
quadratic form: f = x^T A x + c