2D point both axes of which have the same dimension typeModels: Point2DConcept More...
#include <point.hpp>
| Public Types | |
| using | value_type = T | 
| Public Member Functions | |
| point (T px, T py) | |
| point | operator<< (std::ptrdiff_t shift) const | 
| point | operator>> (std::ptrdiff_t shift) const | 
| point & | operator+= (point const &p) | 
| point & | operator-= (point const &p) | 
| point & | operator/= (double d) | 
| point & | operator *= (double d) | 
| T const & | operator[] (std::size_t i) const | 
| T & | operator[] (std::size_t i) | 
| Public Attributes | |
| T | x {0} | 
| T | y {0} | 
| Static Public Attributes | |
| static constexpr std::size_t | num_dimensions = 2 | 
2D point both axes of which have the same dimension type
Models: Point2DConcept