Mir
Classes | Namespaces | Functions
displacement.h File Reference
#include "mir/geometry/dimensions.h"
#include "mir/geometry/point.h"
#include <iosfwd>
Include dependency graph for displacement.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mir::geometry::Displacement
 

Namespaces

 mir
 AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time.
 
 mir::geometry
 Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support.
 

Functions

constexpr bool mir::geometry::operator== (Displacement const &lhs, Displacement const &rhs)
 
constexpr bool mir::geometry::operator!= (Displacement const &lhs, Displacement const &rhs)
 
std::ostream & mir::geometry::operator<< (std::ostream &out, Displacement const &value)
 
constexpr Displacement mir::geometry::operator+ (Displacement const &lhs, Displacement const &rhs)
 
constexpr Displacement mir::geometry::operator- (Displacement const &lhs, Displacement const &rhs)
 
constexpr Point mir::geometry::operator+ (Point const &lhs, Displacement const &rhs)
 
constexpr Point mir::geometry::operator+ (Displacement const &lhs, Point const &rhs)
 
constexpr Point mir::geometry::operator- (Point const &lhs, Displacement const &rhs)
 
constexpr Displacement mir::geometry::operator- (Point const &lhs, Point const &rhs)
 
bool mir::geometry::operator< (Displacement const &lhs, Displacement const &rhs)
 
template<typename Scalar >
constexpr Displacement mir::geometry::operator* (Scalar scale, Displacement const &disp)
 
template<typename Scalar >
constexpr Displacement mir::geometry::operator* (Displacement const &disp, Scalar scale)
 

Copyright © 2012-2018 Canonical Ltd.
Generated on Mon Feb 19 14:06:43 UTC 2018