Generic Image Library: point< T > Class Template Reference

###  | #  |

Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
point< T > Class Template Reference
Point » Models

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

## Detailed Description

template<typename T>
class boost::gil::point< T >

2D point both axes of which have the same dimension type

Models: Point2DConcept

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

- locator.hpp
- point.hpp
- concepts/point.hpp