Algorithms and Utility Functions for points.
More...
|
|
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) |
| |
Algorithms and Utility Functions for points.
Example:
assert(iround(point<double>(3.1, 3.9)) == point<std::ptrdiff_t>(3,4));