Mir
Classes | Namespaces | Functions
rectangle_generic.h File Reference
#include "point_generic.h"
#include "size_generic.h"
#include "displacement_generic.h"
#include <ostream>
Include dependency graph for rectangle_generic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mir::geometry::detail::RectangleBase
 Used for determining if a type is a rectangle. More...
 
struct  mir::geometry::generic::Rectangle< P, S >
 

Namespaces

 mir
 
 mir::geometry
 Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support.
 
 mir::geometry::detail
 
 mir::geometry::generic
 

Functions

template<typename R , typename std::enable_if< std::is_base_of< detail::RectangleBase, R >::value, bool >::type = true>
mir::geometry::generic::intersection_of (R const &a, R const &b)
 
template<typename P , typename S >
constexpr bool mir::geometry::generic::operator== (Rectangle< P, S > const &lhs, Rectangle< P, S > const &rhs)
 
template<typename P , typename S >
constexpr bool mir::geometry::generic::operator!= (Rectangle< P, S > const &lhs, Rectangle< P, S > const &rhs)
 
template<typename P , typename S >
std::ostream & mir::geometry::generic::operator<< (std::ostream &out, Rectangle< P, S > const &value)
 

Copyright © 2012-2021 Canonical Ltd.
Generated on Thu Jun 17 07:34:44 UTC 2021
This documentation is licensed under the GPL version 2 or 3.