Models
[Point]


Detailed Description

Models for points.

Example:

point2<int> p(3,2);
assert((p[0] == p.x) && (p[1] == p.y));
assert(axis_value<0>(p) == 3);
assert(axis_value<1>(p) == 2);


Classes

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

Models: Point2DConcept More...


Functions

template<typename T>
GIL_FORCEINLINE bool boost::gil::operator== (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE bool boost::gil::operator!= (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator+ (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator- (const point2< T > &p)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator- (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< double > boost::gil::operator/ (const point2< T > &p, double t)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator * (const point2< T > &p, int t)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator * (int t, const point2< T > &p)
template<std::size_t K, typename T>
const T & boost::gil::axis_value (const point2< T > &p)
template<std::size_t K, typename T>
T & boost::gil::axis_value (point2< T > &p)

Generated on Thu Nov 8 21:53:19 2007 for Generic Image Library by  doxygen 1.4.4