Boost GIL


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

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
 
pointoperator+= (point const &p)
 
pointoperator-= (point const &p)
 
pointoperator/= (double d)
 
pointoperator *= (double d)
 
T const & operator[] (std::size_t i) const
 
T & operator[] (std::size_t i)
 

Public Attributes

x {0}
 
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: