Prusa MINI Firmware overview
XYZEval< T > Struct Template Reference

#include <types.h>

Collaboration diagram for XYZEval< T >:

Public Member Functions

FI void reset ()
 
FImagnitude () const
 
FI operator T* ()
 
FI operator bool ()
 
FI void set (const T px)
 
FI void set (const T px, const T py)
 
FI void set (const T px, const T py, const T pz)
 
FI void set (const T px, const T py, const T pz, const T pe)
 
FI void set (const XYval< T > pxy)
 
FI void set (const XYval< T > pxy, const T pz)
 
FI void set (const XYZval< T > pxyz)
 
FI void set (const XYval< T > pxy, const T pz, const T pe)
 
FI void set (const XYval< T > pxy, const XYval< T > pze)
 
FI void set (const XYZval< T > pxyz, const T pe)
 
FI XYZEval< T > copy () const
 
FI XYZEval< T > ABS () const
 
FI XYZEval< int16_t > asInt ()
 
FI XYZEval< int16_t > asInt () const
 
FI XYZEval< int32_t > asLong () const
 
FI XYZEval< int32_t > asLong ()
 
FI XYZEval< float > asFloat ()
 
FI XYZEval< float > asFloat () const
 
FI XYZEval< float > reciprocal () const
 
FI XYZEval< float > asLogical () const
 
FI XYZEval< float > asNative () const
 
FI operator XYval< T > & ()
 
FI operator const XYval< T > & () const
 
FI operator XYZval< T > & ()
 
FI operator const XYZval< T > & () const
 
FI T & operator[] (const int i)
 
const FI T & operator[] (const int i) const
 
FI XYZEval< T > & operator= (const T v)
 
FI XYZEval< T > & operator= (const XYval< T > &rs)
 
FI XYZEval< T > & operator= (const XYZval< T > &rs)
 
FI XYZEval< T > operator+ (const XYval< T > &rs) const
 
FI XYZEval< T > operator+ (const XYval< T > &rs)
 
FI XYZEval< T > operator- (const XYval< T > &rs) const
 
FI XYZEval< T > operator- (const XYval< T > &rs)
 
FI XYZEval< T > operator* (const XYval< T > &rs) const
 
FI XYZEval< T > operator* (const XYval< T > &rs)
 
FI XYZEval< T > operator/ (const XYval< T > &rs) const
 
FI XYZEval< T > operator/ (const XYval< T > &rs)
 
FI XYZEval< T > operator+ (const XYZval< T > &rs) const
 
FI XYZEval< T > operator+ (const XYZval< T > &rs)
 
FI XYZEval< T > operator- (const XYZval< T > &rs) const
 
FI XYZEval< T > operator- (const XYZval< T > &rs)
 
FI XYZEval< T > operator* (const XYZval< T > &rs) const
 
FI XYZEval< T > operator* (const XYZval< T > &rs)
 
FI XYZEval< T > operator/ (const XYZval< T > &rs) const
 
FI XYZEval< T > operator/ (const XYZval< T > &rs)
 
FI XYZEval< T > operator+ (const XYZEval< T > &rs) const
 
FI XYZEval< T > operator+ (const XYZEval< T > &rs)
 
FI XYZEval< T > operator- (const XYZEval< T > &rs) const
 
FI XYZEval< T > operator- (const XYZEval< T > &rs)
 
FI XYZEval< T > operator* (const XYZEval< T > &rs) const
 
FI XYZEval< T > operator* (const XYZEval< T > &rs)
 
FI XYZEval< T > operator/ (const XYZEval< T > &rs) const
 
FI XYZEval< T > operator/ (const XYZEval< T > &rs)
 
FI XYZEval< T > operator* (const float &v) const
 
FI XYZEval< T > operator* (const float &v)
 
FI XYZEval< T > operator* (const int &v) const
 
FI XYZEval< T > operator* (const int &v)
 
FI XYZEval< T > operator/ (const float &v) const
 
FI XYZEval< T > operator/ (const float &v)
 
FI XYZEval< T > operator/ (const int &v) const
 
FI XYZEval< T > operator/ (const int &v)
 
FI XYZEval< T > operator>> (const int &v) const
 
FI XYZEval< T > operator>> (const int &v)
 
FI XYZEval< T > operator<< (const int &v) const
 
FI XYZEval< T > operator<< (const int &v)
 
FI XYZEval< T > & operator+= (const XYval< T > &rs)
 
FI XYZEval< T > & operator-= (const XYval< T > &rs)
 
FI XYZEval< T > & operator*= (const XYval< T > &rs)
 
FI XYZEval< T > & operator/= (const XYval< T > &rs)
 
FI XYZEval< T > & operator+= (const XYZval< T > &rs)
 
FI XYZEval< T > & operator-= (const XYZval< T > &rs)
 
FI XYZEval< T > & operator*= (const XYZval< T > &rs)
 
FI XYZEval< T > & operator/= (const XYZval< T > &rs)
 
FI XYZEval< T > & operator+= (const XYZEval< T > &rs)
 
FI XYZEval< T > & operator-= (const XYZEval< T > &rs)
 
FI XYZEval< T > & operator*= (const XYZEval< T > &rs)
 
FI XYZEval< T > & operator/= (const XYZEval< T > &rs)
 
FI XYZEval< T > & operator*= (const T &v)
 
FI XYZEval< T > & operator>>= (const int &v)
 
FI XYZEval< T > & operator<<= (const int &v)
 
FI bool operator== (const XYZval< T > &rs)
 
FI bool operator!= (const XYZval< T > &rs)
 
FI bool operator== (const XYZval< T > &rs) const
 
FI bool operator!= (const XYZval< T > &rs) const
 
FI XYZEval< T > operator- ()
 
const FI XYZEval< T > operator- () const
 

Public Attributes

union {
   struct {
      T   x
 
      T   y
 
      T   z
 
      T   e
 
   } 
 
   struct {
      T   a
 
      T   b
 
      T   c
 
   } 
 
   T   pos [4]
 
}; 
 

Member Function Documentation

◆ reset()

template<typename T>
FI void XYZEval< T >::reset ( )
387 { x = y = z = e = 0; }
Here is the caller graph for this function:

◆ magnitude()

template<typename T>
FI T XYZEval< T >::magnitude ( ) const
388 { return (T)sqrtf(x*x + y*y + z*z + e*e); }

◆ operator T*()

template<typename T>
FI XYZEval< T >::operator T* ( )
389 { return pos; }

◆ operator bool()

template<typename T>
FI XYZEval< T >::operator bool ( )
390 { return e || z || x || y; }

◆ set() [1/10]

template<typename T>
FI void XYZEval< T >::set ( const px)
391 { x = px; }
Here is the caller graph for this function:

◆ set() [2/10]

template<typename T>
FI void XYZEval< T >::set ( const px,
const py 
)
392 { x = px; y = py; }

◆ set() [3/10]

template<typename T>
FI void XYZEval< T >::set ( const px,
const py,
const pz 
)
393 { x = px; y = py; z = pz; }

◆ set() [4/10]

template<typename T>
FI void XYZEval< T >::set ( const px,
const py,
const pz,
const pe 
)
394 { x = px; y = py; z = pz; e = pe; }

◆ set() [5/10]

template<typename T>
FI void XYZEval< T >::set ( const XYval< T >  pxy)
395 { x = pxy.x; y = pxy.y; }

◆ set() [6/10]

template<typename T>
FI void XYZEval< T >::set ( const XYval< T >  pxy,
const pz 
)
396 { x = pxy.x; y = pxy.y; z = pz; }

◆ set() [7/10]

template<typename T>
FI void XYZEval< T >::set ( const XYZval< T >  pxyz)
397 { x = pxyz.x; y = pxyz.y; z = pxyz.z; }

◆ set() [8/10]

template<typename T>
FI void XYZEval< T >::set ( const XYval< T >  pxy,
const pz,
const pe 
)
398 { x = pxy.x; y = pxy.y; z = pz; e = pe; }

◆ set() [9/10]

template<typename T>
FI void XYZEval< T >::set ( const XYval< T >  pxy,
const XYval< T >  pze 
)
399 { x = pxy.x; y = pxy.y; z = pze.z; e = pze.e; }

◆ set() [10/10]

template<typename T>
FI void XYZEval< T >::set ( const XYZval< T >  pxyz,
const pe 
)
400 { x = pxyz.x; y = pxyz.y; z = pxyz.z; e = pe; }

◆ copy()

template<typename T>
FI XYZEval<T> XYZEval< T >::copy ( ) const
401 { return *this; }

◆ ABS()

template<typename T>
FI XYZEval<T> XYZEval< T >::ABS ( ) const
402 { return { T(_ABS(x)), T(_ABS(y)), T(_ABS(z)), T(_ABS(e)) }; }

◆ asInt() [1/2]

template<typename T>
FI XYZEval<int16_t> XYZEval< T >::asInt ( )
403 { return { int16_t(x), int16_t(y), int16_t(z), int16_t(e) }; }

◆ asInt() [2/2]

template<typename T>
FI XYZEval<int16_t> XYZEval< T >::asInt ( ) const
404 { return { int16_t(x), int16_t(y), int16_t(z), int16_t(e) }; }

◆ asLong() [1/2]

template<typename T>
FI XYZEval<int32_t> XYZEval< T >::asLong ( ) const
405 { return { int32_t(x), int32_t(y), int32_t(z), int32_t(e) }; }

◆ asLong() [2/2]

template<typename T>
FI XYZEval<int32_t> XYZEval< T >::asLong ( )
406 { return { int32_t(x), int32_t(y), int32_t(z), int32_t(e) }; }

◆ asFloat() [1/2]

template<typename T>
FI XYZEval<float> XYZEval< T >::asFloat ( )
407 { return { float(x), float(y), float(z), float(e) }; }
Here is the caller graph for this function:

◆ asFloat() [2/2]

template<typename T>
FI XYZEval<float> XYZEval< T >::asFloat ( ) const
408 { return { float(x), float(y), float(z), float(e) }; }

◆ reciprocal()

template<typename T>
FI XYZEval<float> XYZEval< T >::reciprocal ( ) const
409 { return { _RECIP(x), _RECIP(y), _RECIP(z), _RECIP(e) }; }

◆ asLogical()

template<typename T>
FI XYZEval<float> XYZEval< T >::asLogical ( ) const
410 { XYZEval<float> o = asFloat(); toLogical(o); return o; }
Here is the caller graph for this function:

◆ asNative()

template<typename T>
FI XYZEval<float> XYZEval< T >::asNative ( ) const
411 { XYZEval<float> o = asFloat(); toNative(o); return o; }

◆ operator XYval< T > &()

template<typename T>
FI XYZEval< T >::operator XYval< T > & ( )
412 { return *(XYval<T>*)this; }

◆ operator const XYval< T > &()

template<typename T>
FI XYZEval< T >::operator const XYval< T > & ( ) const
413 { return *(const XYval<T>*)this; }

◆ operator XYZval< T > &()

template<typename T>
FI XYZEval< T >::operator XYZval< T > & ( )
414 { return *(XYZval<T>*)this; }

◆ operator const XYZval< T > &()

template<typename T>
FI XYZEval< T >::operator const XYZval< T > & ( ) const
415 { return *(const XYZval<T>*)this; }

◆ operator[]() [1/2]

template<typename T>
FI T& XYZEval< T >::operator[] ( const int  i)
416 { return pos[i]; }

◆ operator[]() [2/2]

template<typename T>
const FI T& XYZEval< T >::operator[] ( const int  i) const
417 { return pos[i]; }

◆ operator=() [1/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator= ( const v)
418 { set(v, v, v, v); return *this; }

◆ operator=() [2/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator= ( const XYval< T > &  rs)
419 { set(rs.x, rs.y); return *this; }

◆ operator=() [3/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator= ( const XYZval< T > &  rs)
420 { set(rs.x, rs.y, rs.z); return *this; }

◆ operator+() [1/6]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator+ ( const XYval< T > &  rs) const
421 { XYZEval<T> ls = *this; ls.x += rs.x; ls.y += rs.y; return ls; }

◆ operator+() [2/6]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator+ ( const XYval< T > &  rs)
422 { XYZEval<T> ls = *this; ls.x += rs.x; ls.y += rs.y; return ls; }

◆ operator-() [1/8]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator- ( const XYval< T > &  rs) const
423 { XYZEval<T> ls = *this; ls.x -= rs.x; ls.y -= rs.y; return ls; }

◆ operator-() [2/8]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator- ( const XYval< T > &  rs)
424 { XYZEval<T> ls = *this; ls.x -= rs.x; ls.y -= rs.y; return ls; }

◆ operator*() [1/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const XYval< T > &  rs) const
425 { XYZEval<T> ls = *this; ls.x *= rs.x; ls.y *= rs.y; return ls; }

◆ operator*() [2/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const XYval< T > &  rs)
426 { XYZEval<T> ls = *this; ls.x *= rs.x; ls.y *= rs.y; return ls; }

◆ operator/() [1/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const XYval< T > &  rs) const
427 { XYZEval<T> ls = *this; ls.x /= rs.x; ls.y /= rs.y; return ls; }

◆ operator/() [2/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const XYval< T > &  rs)
428 { XYZEval<T> ls = *this; ls.x /= rs.x; ls.y /= rs.y; return ls; }

◆ operator+() [3/6]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator+ ( const XYZval< T > &  rs) const
429 { XYZEval<T> ls = *this; ls.x += rs.x; ls.y += rs.y; ls.z += rs.z; return ls; }

◆ operator+() [4/6]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator+ ( const XYZval< T > &  rs)
430 { XYZEval<T> ls = *this; ls.x += rs.x; ls.y += rs.y; ls.z += rs.z; return ls; }

◆ operator-() [3/8]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator- ( const XYZval< T > &  rs) const
431 { XYZEval<T> ls = *this; ls.x -= rs.x; ls.y -= rs.y; ls.z -= rs.z; return ls; }

◆ operator-() [4/8]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator- ( const XYZval< T > &  rs)
432 { XYZEval<T> ls = *this; ls.x -= rs.x; ls.y -= rs.y; ls.z -= rs.z; return ls; }

◆ operator*() [3/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const XYZval< T > &  rs) const
433 { XYZEval<T> ls = *this; ls.x *= rs.x; ls.y *= rs.y; ls.z *= rs.z; return ls; }

◆ operator*() [4/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const XYZval< T > &  rs)
434 { XYZEval<T> ls = *this; ls.x *= rs.x; ls.y *= rs.y; ls.z *= rs.z; return ls; }

◆ operator/() [3/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const XYZval< T > &  rs) const
435 { XYZEval<T> ls = *this; ls.x /= rs.x; ls.y /= rs.y; ls.z /= rs.z; return ls; }

◆ operator/() [4/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const XYZval< T > &  rs)
436 { XYZEval<T> ls = *this; ls.x /= rs.x; ls.y /= rs.y; ls.z /= rs.z; return ls; }

◆ operator+() [5/6]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator+ ( const XYZEval< T > &  rs) const
437 { XYZEval<T> ls = *this; ls.x += rs.x; ls.y += rs.y; ls.z += rs.z; ls.e += rs.e; return ls; }

◆ operator+() [6/6]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator+ ( const XYZEval< T > &  rs)
438 { XYZEval<T> ls = *this; ls.x += rs.x; ls.y += rs.y; ls.z += rs.z; ls.e += rs.e; return ls; }

◆ operator-() [5/8]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator- ( const XYZEval< T > &  rs) const
439 { XYZEval<T> ls = *this; ls.x -= rs.x; ls.y -= rs.y; ls.z -= rs.z; ls.e -= rs.e; return ls; }

◆ operator-() [6/8]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator- ( const XYZEval< T > &  rs)
440 { XYZEval<T> ls = *this; ls.x -= rs.x; ls.y -= rs.y; ls.z -= rs.z; ls.e -= rs.e; return ls; }

◆ operator*() [5/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const XYZEval< T > &  rs) const
441 { XYZEval<T> ls = *this; ls.x *= rs.x; ls.y *= rs.y; ls.z *= rs.z; ls.e *= rs.e; return ls; }

◆ operator*() [6/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const XYZEval< T > &  rs)
442 { XYZEval<T> ls = *this; ls.x *= rs.x; ls.y *= rs.y; ls.z *= rs.z; ls.e *= rs.e; return ls; }

◆ operator/() [5/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const XYZEval< T > &  rs) const
443 { XYZEval<T> ls = *this; ls.x /= rs.x; ls.y /= rs.y; ls.z /= rs.z; ls.e /= rs.e; return ls; }

◆ operator/() [6/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const XYZEval< T > &  rs)
444 { XYZEval<T> ls = *this; ls.x /= rs.x; ls.y /= rs.y; ls.z /= rs.z; ls.e /= rs.e; return ls; }

◆ operator*() [7/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const float &  v) const
445 { XYZEval<T> ls = *this; ls.x *= v; ls.y *= v; ls.z *= v; ls.e *= v; return ls; }

◆ operator*() [8/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const float &  v)
446 { XYZEval<T> ls = *this; ls.x *= v; ls.y *= v; ls.z *= v; ls.e *= v; return ls; }

◆ operator*() [9/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const int &  v) const
447 { XYZEval<T> ls = *this; ls.x *= v; ls.y *= v; ls.z *= v; ls.e *= v; return ls; }

◆ operator*() [10/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator* ( const int &  v)
448 { XYZEval<T> ls = *this; ls.x *= v; ls.y *= v; ls.z *= v; ls.e *= v; return ls; }

◆ operator/() [7/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const float &  v) const
449 { XYZEval<T> ls = *this; ls.x /= v; ls.y /= v; ls.z /= v; ls.e /= v; return ls; }

◆ operator/() [8/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const float &  v)
450 { XYZEval<T> ls = *this; ls.x /= v; ls.y /= v; ls.z /= v; ls.e /= v; return ls; }

◆ operator/() [9/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const int &  v) const
451 { XYZEval<T> ls = *this; ls.x /= v; ls.y /= v; ls.z /= v; ls.e /= v; return ls; }

◆ operator/() [10/10]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator/ ( const int &  v)
452 { XYZEval<T> ls = *this; ls.x /= v; ls.y /= v; ls.z /= v; ls.e /= v; return ls; }

◆ operator>>() [1/2]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator>> ( const int &  v) const
453 { XYZEval<T> ls = *this; _RS(ls.x); _RS(ls.y); _RS(ls.z); _RS(ls.e); return ls; }

◆ operator>>() [2/2]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator>> ( const int &  v)
454 { XYZEval<T> ls = *this; _RS(ls.x); _RS(ls.y); _RS(ls.z); _RS(ls.e); return ls; }

◆ operator<<() [1/2]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator<< ( const int &  v) const
455 { XYZEval<T> ls = *this; _LS(ls.x); _LS(ls.y); _LS(ls.z); _LS(ls.e); return ls; }

◆ operator<<() [2/2]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator<< ( const int &  v)
456 { XYZEval<T> ls = *this; _LS(ls.x); _LS(ls.y); _LS(ls.z); _LS(ls.e); return ls; }

◆ operator+=() [1/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator+= ( const XYval< T > &  rs)
457 { x += rs.x; y += rs.y; return *this; }

◆ operator-=() [1/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator-= ( const XYval< T > &  rs)
458 { x -= rs.x; y -= rs.y; return *this; }

◆ operator*=() [1/4]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator*= ( const XYval< T > &  rs)
459 { x *= rs.x; y *= rs.y; return *this; }

◆ operator/=() [1/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator/= ( const XYval< T > &  rs)
460 { x /= rs.x; y /= rs.y; return *this; }

◆ operator+=() [2/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator+= ( const XYZval< T > &  rs)
461 { x += rs.x; y += rs.y; z += rs.z; return *this; }

◆ operator-=() [2/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator-= ( const XYZval< T > &  rs)
462 { x -= rs.x; y -= rs.y; z -= rs.z; return *this; }

◆ operator*=() [2/4]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator*= ( const XYZval< T > &  rs)
463 { x *= rs.x; y *= rs.y; z *= rs.z; return *this; }

◆ operator/=() [2/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator/= ( const XYZval< T > &  rs)
464 { x /= rs.x; y /= rs.y; z /= rs.z; return *this; }

◆ operator+=() [3/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator+= ( const XYZEval< T > &  rs)
465 { x += rs.x; y += rs.y; z += rs.z; e += rs.e; return *this; }

◆ operator-=() [3/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator-= ( const XYZEval< T > &  rs)
466 { x -= rs.x; y -= rs.y; z -= rs.z; e -= rs.e; return *this; }

◆ operator*=() [3/4]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator*= ( const XYZEval< T > &  rs)
467 { x *= rs.x; y *= rs.y; z *= rs.z; e *= rs.e; return *this; }

◆ operator/=() [3/3]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator/= ( const XYZEval< T > &  rs)
468 { x /= rs.x; y /= rs.y; z /= rs.z; e /= rs.e; return *this; }

◆ operator*=() [4/4]

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator*= ( const T &  v)
469 { x *= v; y *= v; z *= v; e *= v; return *this; }

◆ operator>>=()

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator>>= ( const int &  v)
470 { _RS(x); _RS(y); _RS(z); _RS(e); return *this; }

◆ operator<<=()

template<typename T>
FI XYZEval<T>& XYZEval< T >::operator<<= ( const int &  v)
471 { _LS(x); _LS(y); _LS(z); _LS(e); return *this; }

◆ operator==() [1/2]

template<typename T>
FI bool XYZEval< T >::operator== ( const XYZval< T > &  rs)
472 { return x == rs.x && y == rs.y && z == rs.z; }
Here is the caller graph for this function:

◆ operator!=() [1/2]

template<typename T>
FI bool XYZEval< T >::operator!= ( const XYZval< T > &  rs)
473 { return !operator==(rs); }

◆ operator==() [2/2]

template<typename T>
FI bool XYZEval< T >::operator== ( const XYZval< T > &  rs) const
474 { return x == rs.x && y == rs.y && z == rs.z; }

◆ operator!=() [2/2]

template<typename T>
FI bool XYZEval< T >::operator!= ( const XYZval< T > &  rs) const
475 { return !operator==(rs); }

◆ operator-() [7/8]

template<typename T>
FI XYZEval<T> XYZEval< T >::operator- ( )
476 { return { -x, -y, -z, -e }; }

◆ operator-() [8/8]

template<typename T>
const FI XYZEval<T> XYZEval< T >::operator- ( ) const
477 { return { -x, -y, -z, -e }; }

Member Data Documentation

◆ x

template<typename T>
T XYZEval< T >::x

◆ y

template<typename T>
T XYZEval< T >::y

◆ z

template<typename T>
T XYZEval< T >::z

◆ e

template<typename T>
T XYZEval< T >::e

◆ a

template<typename T>
T XYZEval< T >::a

◆ b

template<typename T>
T XYZEval< T >::b

◆ c

template<typename T>
T XYZEval< T >::c

◆ pos

template<typename T>
T XYZEval< T >::pos[4]

◆ @14

union { ... }
XYZval::z
T z
Definition: types.h:286
XYZEval< float >
XYZEval::z
T z
Definition: types.h:383
XYZEval::asFloat
FI XYZEval< float > asFloat()
Definition: types.h:407
_RECIP
#define _RECIP(N)
Definition: types.h:92
XYZEval::operator==
FI bool operator==(const XYZval< T > &rs)
Definition: types.h:472
XYZval::x
T x
Definition: types.h:286
XYZEval::e
T e
Definition: types.h:383
i
uint8_t i
Definition: screen_test_graph.c:72
toNative
void toNative(xy_pos_t &raw)
Definition: motion.h:274
_ABS
#define _ABS(N)
Definition: types.h:93
XYZEval::x
T x
Definition: types.h:383
_LS
#define _LS(N)
Definition: types.h:94
XYval
Definition: types.h:99
XYZEval::set
FI void set(const T px)
Definition: types.h:391
XYval::x
T x
Definition: types.h:185
XYZEval::pos
T pos[4]
Definition: types.h:385
XYZval::y
T y
Definition: types.h:286
_RS
#define _RS(N)
Definition: types.h:95
XYval::y
T y
Definition: types.h:185
XYZval
Definition: types.h:100
toLogical
void toLogical(xy_pos_t &raw)
Definition: motion.h:271
XYZEval::y
T y
Definition: types.h:383