Information
MediaSupport
RSSOther Adobe ProjectsOther Resources |
point2< T > Class Template Reference2D point both axes of which have the same dimension type |
Public Types | |
typedef T | value_type |
Public Member Functions | |
const point2 & | operator+= (const point2 &p) |
point2 | operator- () const |
const point2 & | operator-= (const point2 &p) |
const point2 & | operator/= (double t) |
point2 | operator<< (int shift) const |
const point2 & | operator= (const point2 &p) |
point2 | operator>> (int shift) const |
T & | operator[] (std::size_t i) |
const T & | operator[] (std::size_t i) const |
template<typename T1> | |
point2 (const point2< T1 > &p) | |
point2 (T newX, T newY) | |
point2 () | |
~point2 () | |
Public Attributes | |
T | x |
T | y |
Static Public Attributes | |
static const std::size_t | num_dimensions |
Classes | |
struct | axis |
Definition at line 38 of file utilities.hpp.