added a MaxCoeffId utility function that was missing...
This commit is contained in:
parent
d89f934e3e
commit
35d099384f
|
@ -391,6 +391,13 @@ public:
|
||||||
//@}
|
//@}
|
||||||
//@{
|
//@{
|
||||||
|
|
||||||
|
size_t MaxCoeffId() const
|
||||||
|
{
|
||||||
|
if (_v[0]>_v[1])
|
||||||
|
return _v[0]>_v[2] ? 0 : 2;
|
||||||
|
else
|
||||||
|
return _v[1]>_v[2] ? 1 : 2;
|
||||||
|
}
|
||||||
/** @name Comparison Operators.
|
/** @name Comparison Operators.
|
||||||
Note that the reverse z prioritized ordering, useful in many situations.
|
Note that the reverse z prioritized ordering, useful in many situations.
|
||||||
**/
|
**/
|
||||||
|
|
Loading…
Reference in New Issue