Jet  v1.3.3
Classes | Namespaces | Functions
size3.h File Reference
#include <jet/size2.h>
#include "detail/size3-inl.h"

Go to the source code of this file.

Classes

class  jet::Size3
 3-D size class. More...
 

Namespaces

 jet
 

Functions

Size3 jet::operator+ (const Size3 &a)
 Positive sign operator. More...
 
Size3 jet::operator- (const Size3 &a)
 Negative sign operator. More...
 
Size3 jet::operator+ (size_t a, const Size3 &b)
 Computes (a, a, a) + (b.x, b.y, b.z). More...
 
Size3 jet::operator+ (const Size3 &a, const Size3 &b)
 Computes (a.x, a.y, a.z) + (b.x, b.y, b.z). More...
 
Size3 jet::operator- (const Size3 &a, size_t b)
 Computes (a.x, a.y, a.z) - (b, b, b). More...
 
Size3 jet::operator- (size_t a, const Size3 &b)
 Computes (a, a, a) - (b.x, b.y, b.z). More...
 
Size3 jet::operator- (const Size3 &a, const Size3 &b)
 Computes (a.x, a.y, a.z) - (b.x, b.y, b.z). More...
 
Size3 jet::operator* (const Size3 &a, size_t b)
 Computes (a.x, a.y, a.z) * (b, b, b). More...
 
Size3 jet::operator* (size_t a, const Size3 &b)
 Computes (a, a, a) * (b.x, b.y, b.z). More...
 
Size3 jet::operator* (const Size3 &a, const Size3 &b)
 Computes (a.x, a.y, a.z) * (b.x, b.y, b.z). More...
 
Size3 jet::operator/ (const Size3 &a, size_t b)
 Computes (a.x, a.y, a.z) / (b, b, b). More...
 
Size3 jet::operator/ (size_t a, const Size3 &b)
 Computes (a, a, a) / (b.x, b.y, b.z). More...
 
Size3 jet::operator/ (const Size3 &a, const Size3 &b)
 Computes (a.x, a.y, a.z) / (b.x, b.y, b.z). More...
 
Size3 jet::min (const Size3 &a, const Size3 &b)
 Returns element-wise min size. More...
 
Size3 jet::max (const Size3 &a, const Size3 &b)
 Returns element-wise max size. More...
 
Size3 jet::clamp (const Size3 &v, const Size3 &low, const Size3 &high)
 Returns element-wise clamped size. More...
 
Size3 jet::ceil (const Size3 &a)
 Returns element-wise ceiled size. More...
 
Size3 jet::floor (const Size3 &a)
 Returns element-wise floored size. More...