Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::point2< T > Class Template Reference

2D point both axes of which have the same dimension typeModels: Point2DConcept More...

#include <utilities.hpp>

Inheritance diagram for boost::gil::point2< T >:
Collaboration diagram for boost::gil::point2< T >:

Classes

struct  axis
 

Public Types

typedef T value_type
 

Public Member Functions

 point2 ()
 
 point2 (T newX, T newY)
 
 point2 (const point2 &p)
 
 ~point2 ()
 
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 Toperator[] (std::size_t i) const
 
Toperator[] (std::size_t i)
 

Public Attributes

T x
 
T 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

Member Typedef Documentation

template<typename T>
typedef T boost::gil::point2< T >::value_type

Constructor & Destructor Documentation

template<typename T>
boost::gil::point2< T >::point2 ( T  newX,
T  newY 
)
inline
template<typename T>
boost::gil::point2< T >::point2 ( const point2< T > &  p)
inline
template<typename T>
boost::gil::point2< T >::~point2 ( )
inline

Member Function Documentation

template<typename T>
point2& boost::gil::point2< T >::operator+= ( const point2< T > &  p)
inline
template<typename T>
point2& boost::gil::point2< T >::operator-= ( const point2< T > &  p)
inline
template<typename T>
point2& boost::gil::point2< T >::operator/= ( double  t)
inline
template<typename T>
point2 boost::gil::point2< T >::operator<< ( std::ptrdiff_t  shift) const
inline
template<typename T>
point2& boost::gil::point2< T >::operator= ( const point2< T > &  p)
inline
template<typename T>
point2 boost::gil::point2< T >::operator>> ( std::ptrdiff_t  shift) const
inline
template<typename T>
const T& boost::gil::point2< T >::operator[] ( std::size_t  i) const
inline
template<typename T>
T& boost::gil::point2< T >::operator[] ( std::size_t  i)
inline

Member Data Documentation

template<typename T>
const std::size_t boost::gil::point2< T >::num_dimensions =2
static
template<typename T>
T boost::gil::point2< T >::x

Referenced by boost::gil::detail::tiff_reader_color_convert< CC >::apply(), boost::gil::memory_based_2d_locator< StepIterator >::cache_location(), boost::gil::point2< std::ptrdiff_t >::operator+=(), boost::gil::pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, iterator_adaptor_get_base< StepIterator >::type, StepIterator >::operator+=(), boost::gil::memory_based_2d_locator< StepIterator >::operator+=(), boost::gil::point2< std::ptrdiff_t >::operator-=(), boost::gil::pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, iterator_adaptor_get_base< StepIterator >::type, StepIterator >::operator-=(), boost::gil::memory_based_2d_locator< StepIterator >::operator-=(), boost::gil::point2< std::ptrdiff_t >::operator/=(), boost::gil::point2< std::ptrdiff_t >::operator<<(), boost::gil::point2< std::ptrdiff_t >::operator=(), boost::gil::point2< std::ptrdiff_t >::operator>>(), boost::gil::pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, iterator_adaptor_get_base< StepIterator >::type, StepIterator >::operator[](), boost::gil::memory_based_2d_locator< StepIterator >::operator[](), boost::gil::any_image_view< ImageViewTypes >::width(), boost::gil::any_image< ImageTypes >::width(), boost::gil::pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, iterator_adaptor_get_base< StepIterator >::type, StepIterator >::x_at(), boost::gil::memory_based_2d_locator< StepIterator >::x_at(), boost::gil::iterator_from_2d< Loc2 >::x_pos(), and boost::gil::memory_based_2d_locator< StepIterator >::xy_at().

template<typename T>
T boost::gil::point2< T >::y

Referenced by boost::gil::detail::tiff_reader_color_convert< CC >::apply(), boost::gil::memory_based_2d_locator< StepIterator >::cache_location(), boost::gil::any_image_view< ImageViewTypes >::height(), boost::gil::any_image< ImageTypes >::height(), boost::gil::point2< std::ptrdiff_t >::operator+=(), boost::gil::pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, iterator_adaptor_get_base< StepIterator >::type, StepIterator >::operator+=(), boost::gil::memory_based_2d_locator< StepIterator >::operator+=(), boost::gil::point2< std::ptrdiff_t >::operator-=(), boost::gil::pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, iterator_adaptor_get_base< StepIterator >::type, StepIterator >::operator-=(), boost::gil::memory_based_2d_locator< StepIterator >::operator-=(), boost::gil::point2< std::ptrdiff_t >::operator/=(), boost::gil::point2< std::ptrdiff_t >::operator<<(), boost::gil::point2< std::ptrdiff_t >::operator=(), boost::gil::point2< std::ptrdiff_t >::operator>>(), boost::gil::pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, iterator_adaptor_get_base< StepIterator >::type, StepIterator >::operator[](), boost::gil::memory_based_2d_locator< StepIterator >::operator[](), boost::gil::memory_based_2d_locator< StepIterator >::x_at(), boost::gil::memory_based_2d_locator< StepIterator >::xy_at(), boost::gil::pixel_2d_locator_base< memory_based_2d_locator< StepIterator >, iterator_adaptor_get_base< StepIterator >::type, StepIterator >::y_at(), and boost::gil::iterator_from_2d< Loc2 >::y_pos().


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