Point3.h File Reference

Go to the source code of this file.

Classes

class  CubbyFlow::Point< T, 3 >
 3-D point class. More...
 

Namespaces

 CubbyFlow
 

Typedefs

template<typename T >
using CubbyFlow::Point3 = Point< T, 3 >
 Type alias for three dimensional point. More...
 
using CubbyFlow::Point3F = Point3< float >
 Float-type 3D point. More...
 
using CubbyFlow::Point3D = Point3< double >
 Double-type 3D point. More...
 
using CubbyFlow::Point3I = Point3< ssize_t >
 Integer-type 3D point. More...
 
using CubbyFlow::Point3UI = Point3< size_t >
 Unsigned integer-type 3D point. More...
 

Functions

template<typename T >
Point< T, 3 > CubbyFlow::operator+ (const Point< T, 3 > &a)
 Positive sign operator. More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator- (const Point< T, 3 > &a)
 Negative sign operator. More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator+ (T a, const Point< T, 3 > &b)
 Computes (a, a, a) + (b.x, b.y, b.z). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator+ (const Point< T, 3 > &a, const Point< T, 3 > &b)
 Computes (a.x, a.y, a.z) + (b.x, b.y, b.z). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator- (const Point< T, 3 > &a, T b)
 Computes (a.x, a.y, a.z) - (b, b, b). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator- (T a, const Point< T, 3 > &b)
 Computes (a, a, a) - (b.x, b.y, b.z). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator- (const Point< T, 3 > &a, const Point< T, 3 > &b)
 Computes (a.x, a.y, a.z) - (b.x, b.y, b.z). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator* (const Point< T, 3 > &a, T b)
 Computes (a.x, a.y, a.z) * (b, b, b). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator* (T a, const Point< T, 3 > &b)
 Computes (a, a, a) * (b.x, b.y, b.z). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator* (const Point< T, 3 > &a, const Point< T, 3 > &b)
 Computes (a.x, a.y, a.z) * (b.x, b.y, b.z). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator/ (const Point< T, 3 > &a, T b)
 Computes (a.x, a.y, a.z) / (b, b, b). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator/ (T a, const Point< T, 3 > &b)
 Computes (a, a, a) / (b.x, b.y, b.z). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::operator/ (const Point< T, 3 > &a, const Point< T, 3 > &b)
 Computes (a.x, a.y, a.z) / (b.x, b.y, b.z). More...
 
template<typename T >
Point< T, 3 > CubbyFlow::Min (const Point< T, 3 > &a, const Point< T, 3 > &b)
 Returns element-wise min point. More...
 
template<typename T >
Point< T, 3 > CubbyFlow::Max (const Point< T, 3 > &a, const Point< T, 3 > &b)
 Returns element-wise max point. More...
 
template<typename T >
Point< T, 3 > CubbyFlow::Clamp (const Point< T, 3 > &v, const Point< T, 3 > &low, const Point< T, 3 > &high)
 Returns element-wise clamped point. More...
 
template<typename T >
Point< T, 3 > CubbyFlow::Ceil (const Point< T, 3 > &a)
 Returns element-wise ceiled point. More...
 
template<typename T >
Point< T, 3 > CubbyFlow::Floor (const Point< T, 3 > &a)
 Returns element-wise floored point. More...