TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/common/math/rectOp.hpp File Reference
#include "minmax.hpp"
#include <ofxCore.h>
#include <boost/gil/utilities.hpp>
#include <cmath>
#include <algorithm>
Include dependency graph for rectOp.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tuttle
 

global namespace of the project


Functions

template<class P >
OfxRectD tuttle::pointsBoundingBox (const P &a, const P &b, const P &c, const P &d)
template<typename Point2 >
OfxRectD tuttle::pointsBoundingBox (const std::vector< Point2 > &points)
template<class Point2 >
Point2 tuttle::pointsMinXY (const std::vector< Point2 > &points)
template<class Point2 >
Point2 tuttle::pointsMaxXY (const std::vector< Point2 > &points)
template<class Point , class Rect >
bool tuttle::pointInRect (const Point &p, const Rect &rec)
template<class Rect >
Rect tuttle::translateRegion (const Rect &windowRoW, const Rect &dependingTo)
template<class Rect , class Point >
Rect tuttle::translateRegion (const Rect &windowRoW, const Point &move)
template<class R >
tuttle::rectanglesBoundingBox (const R &a, const R &b)
template<class R >
tuttle::rectanglesIntersection (const R &a, const R &b)
template<class R >
bool tuttle::rectanglesIntersect (const R &a, const R &b)
template<class R >
bool tuttle::rectangleAContainsB (const R &a, const R &b)
template<class R >
bool tuttle::rectangleContainsAnother (const R &a, const R &b)
template<class R , class V >
tuttle::rectangleGrow (const R &rect, const V marge)
template<class R , class V >
tuttle::rectangleReduce (const R &rect, const V marge)