TuttleOFX
1
|
#include "minmax.hpp"
#include <ofxCore.h>
#include <boost/gil/utilities.hpp>
#include <cmath>
#include <algorithm>
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 > | |
R | tuttle::rectanglesBoundingBox (const R &a, const R &b) |
template<class R > | |
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 > | |
R | tuttle::rectangleGrow (const R &rect, const V marge) |
template<class R , class V > | |
R | tuttle::rectangleReduce (const R &rect, const V marge) |