The spica renderer
Public Types | Public Member Functions | Static Public Member Functions | List of all members
spica::Point3_< T > Class Template Reference

Public Types

using type = T
 

Public Member Functions

 Point3_ (T x, T y, T z)
 
 Point3_ (const Point3_< T > &p)
 
 Point3_ (const Vector3_< T > &v)
 
Point3_< T > & operator= (const Point3_< T > &p)
 
Point3_< T > & operator+= (const Point3_< T > &p)
 
Point3_< T > & operator*= (T s)
 
Point3_< T > & operator/= (T s)
 
bool operator== (const Point3_< T > &p) const
 
bool operator!= (const Point3_< T > &p) const
 
operator[] (int i) const
 
 operator Vector3_< T > () const
 
x () const
 
y () const
 
z () const
 
std::string toString () const
 

Static Public Member Functions

template<class Fn >
static Point3_< T > binary_op (const Point3_< T > &p1, const Point3_< T > &p2, const Fn &f)
 
static Point3_< T > maximum (const Point3_< T > &p1, const Point3_< T > &p2)
 
static Point3_< T > minimum (const Point3_< T > &p1, const Point3_< T > &p2)
 

The documentation for this class was generated from the following files: