TuttleOFX  1
Rect.hpp File Reference
#include <boost/gil/utilities.hpp>
#include <cmath>
#include <algorithm>
#include <iostream>
Include dependency graph for Rect.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  terry::Rect< T >

Namespaces

namespace  terry

Functions

template<typename T >
std::ostream & terry::operator<< (std::ostream &os, const Rect< T > &rect)
template<typename T , class View >
Rect< T > terry::getBounds (const View &v)
 Retrieve the bounding box of an image [0, 0, width, height].
template<class Point , class Rect >
bool terry::pointInRect (const Point &p, const Rect &rec)
template<class Rect >
Rect terry::translateRegion (const Rect &windowRoW, const Rect &dependingTo)
template<class Rect , class Point >
Rect terry::translateRegion (const Rect &windowRoW, const Point &move)
template<class Rect >
Rect terry::translateRegion (const Rect &windowRoW, const std::ptrdiff_t x, const std::ptrdiff_t y)
template<class R >
terry::rectanglesBoundingBox (const R &a, const R &b)
template<class R >
terry::rectanglesIntersection (const R &a, const R &b)
template<class R , class V >
terry::rectangleGrow (const R &rect, const V marge)
template<class R , class V >
terry::rectangleReduce (const R &rect, const V marge)