Generic Image Library: Models

Modules | Alphabetical List | Class List | Directories | File List | GIL Home Page # Models [Point] ## Detailed Description Models for points. Example:
    point2<std::ptrdiff_t> 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 | operator== (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE bool | operator!= (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< T > | operator+ (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< T > | operator- (const point2< T > &p)
template<typename T>
GIL_FORCEINLINE point2< T > | operator- (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< double > | operator/ (const point2< T > &p, double t)
template<typename T>
GIL_FORCEINLINE point2< T > | operator* (const point2< T > &p, std::ptrdiff_t t)
template<typename T>
GIL_FORCEINLINE point2< T > | operator* (std::ptrdiff_t t, const point2< T > &p)
template<std::size_t K, typename T>
const T & | axis_value (const point2< T > &p)
template<std::size_t K, typename T>
T & | axis_value (point2< T > &p)