2D point both axes of which have the same dimension typeModels: Point2DConcept More...
#include <utilities.hpp>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| point2 (T newX, T newY) | |
| point2 (const point2 &p) | |
| point2 & | operator= (const point2 &p) |
| point2 | operator<< (std::ptrdiff_t shift) const |
| point2 | operator>> (std::ptrdiff_t shift) const |
| point2 & | operator+= (const point2 &p) |
| point2 & | operator-= (const point2 &p) |
| point2 & | operator/= (double t) |
| const T & | operator[] (std::size_t i) const |
| T & | operator[] (std::size_t i) |
Public Attributes | |
| T | x |
| T | y |
Static Public Attributes | |
| static const std::size_t | num_dimensions =2 |
2D point both axes of which have the same dimension type
Models: Point2DConcept