Boost GIL


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

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)
 
point2operator= (const point2 &p)
 
point2 operator<< (std::ptrdiff_t shift) const
 
point2 operator>> (std::ptrdiff_t shift) const
 
point2operator+= (const point2 &p)
 
point2operator-= (const point2 &p)
 
point2operator/= (double t)
 
const T & operator[] (std::size_t i) const
 
T & operator[] (std::size_t i)
 

Public Attributes

x
 
y
 

Static Public Attributes

static const std::size_t num_dimensions =2
 

Detailed Description

template<typename T>
class boost::gil::point2< 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: