Boost GIL


Functions
Algorithms and Utility Functions

Algorithms and Utility Functions for points. More...

Functions

point< std::ptrdiff_t > iround (const point< float > &p)
 
point< std::ptrdiff_t > iround (const point< double > &p)
 
point< std::ptrdiff_t > ifloor (const point< float > &p)
 
point< std::ptrdiff_t > ifloor (const point< double > &p)
 
point< std::ptrdiff_t > iceil (const point< float > &p)
 
point< std::ptrdiff_t > iceil (const point< double > &p)
 

Detailed Description

Algorithms and Utility Functions for points.

Example:

assert(iround(point<double>(3.1, 3.9)) == point<std::ptrdiff_t>(3,4));