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)

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google