Models for points. More...
| Classes | |
| class | point< T > | 
| 2D point both axes of which have the same dimension typeModels: Point2DConcept  More... | |
| Functions | |
| template<typename T > | |
| BOOST_FORCEINLINE bool | operator== (const point< T > &p1, const point< T > &p2) | 
| template<typename T > | |
| BOOST_FORCEINLINE bool | operator!= (const point< T > &p1, const point< T > &p2) | 
| template<typename T > | |
| BOOST_FORCEINLINE point< T > | operator+ (const point< T > &p1, const point< T > &p2) | 
| template<typename T > | |
| BOOST_FORCEINLINE point< T > | operator- (const point< T > &p) | 
| template<typename T > | |
| BOOST_FORCEINLINE point< T > | operator- (const point< T > &p1, const point< T > &p2) | 
| template<typename T , typename D > | |
| BOOST_FORCEINLINE auto | operator/ (point< T > const &p, D d) -> typename std::enable_if< std::is_arithmetic< D >::value, point< typename detail::std_common_type< T, D >::type > >::type | 
| template<typename T , typename M > | |
| BOOST_FORCEINLINE auto | operator * (point< T > const &p, M m) -> typename std::enable_if< std::is_arithmetic< M >::value, point< typename detail::std_common_type< T, M >::type > >::type | 
| template<typename T , typename M > | |
| BOOST_FORCEINLINE auto | operator * (M m, point< T > const &p) -> typename std::enable_if< std::is_arithmetic< M >::value, point< typename detail::std_common_type< T, M >::type > >::type | 
| template<std::size_t K, typename T > | |
| BOOST_FORCEINLINE T const & | axis_value (point< T > const &p) | 
| template<std::size_t K, typename T > | |
| BOOST_FORCEINLINE T & | axis_value (point< T > &p) | 
Models for points.
Example: