Kanzi  3.9.6
Kanzi Engine API
rectangle.hpp File Reference
#include "vector4.hpp"

Classes

class  kanzi::Rectangle< T >
 2-dimensional integer rectangle. More...
 

Namespaces

 kanzi
 Easing functions that require external dependencies for calculation.
 

Typedefs

typedef Rectangle< float > kanzi::RectangleFloat
 Float type rectangle. More...
 
typedef Rectangle< int > kanzi::RectangleInteger
 Integer type rectangle. More...
 

Functions

template<typename T >
Rectangle< T > kanzi::getUnion (const Rectangle< T > &rectangle1, const Rectangle< T > &rectangle2)
 Calculates union of the two rectangles. More...
 
template<typename T >
Rectangle< T > kanzi::intersection (const Rectangle< T > &rectangle1, const Rectangle< T > &rectangle2)
 Calculates intersection of the two rectangles. More...
 
template<typename T >
bool kanzi::overlaps (const Rectangle< T > &rectangle1, const Rectangle< T > &rectangle2)
 Checks if the two given rectangles overlap, at least partially. More...