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
 
 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-2019 Canonical Ltd.
Generated on Thu Feb 28 09:03:56 UTC 2019
This documentation is licensed under the GPL version 2 or 3.