Mir
Classes | Namespaces | Functions
displacement.h File Reference
#include "forward.h"
#include "dimensions.h"
#include "point.h"
#include <ostream>
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::generic::Displacement< T >
 

Namespaces

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

Functions

template<typename T >
constexpr bool mir::geometry::generic::operator== (Displacement< T > const &lhs, Displacement< T > const &rhs)
 
template<typename T >
constexpr bool mir::geometry::generic::operator!= (Displacement< T > const &lhs, Displacement< T > const &rhs)
 
template<typename T >
std::ostream & mir::geometry::generic::operator<< (std::ostream &out, Displacement< T > const &value)
 
template<typename T >
constexpr Displacement< T > mir::geometry::generic::operator+ (Displacement< T > const &lhs, Displacement< T > const &rhs)
 
template<typename T >
constexpr Displacement< T > mir::geometry::generic::operator- (Displacement< T > const &lhs, Displacement< T > const &rhs)
 
template<typename T >
constexpr Displacement< T > mir::geometry::generic::operator- (Displacement< T > const &rhs)
 
template<typename T >
constexpr Point< T > mir::geometry::generic::operator+ (Point< T > const &lhs, Displacement< T > const &rhs)
 
template<typename T >
constexpr Point< T > mir::geometry::generic::operator+ (Displacement< T > const &lhs, Point< T > const &rhs)
 
template<typename T >
constexpr Point< T > mir::geometry::generic::operator- (Point< T > const &lhs, Displacement< T > const &rhs)
 
template<typename T >
constexpr Displacement< T > mir::geometry::generic::operator- (Point< T > const &lhs, Point< T > const &rhs)
 
template<typename T >
constexpr Point< T > & mir::geometry::generic::operator+= (Point< T > &lhs, Displacement< T > const &rhs)
 
template<typename T >
constexpr Point< T > & mir::geometry::generic::operator-= (Point< T > &lhs, Displacement< T > const &rhs)
 
template<typename T >
bool mir::geometry::generic::operator< (Displacement< T > const &lhs, Displacement< T > const &rhs)
 
template<typename T , typename Scalar >
constexpr Displacement< T > mir::geometry::generic::operator* (Scalar scale, Displacement< T > const &disp)
 
template<typename T , typename Scalar >
constexpr Displacement< T > mir::geometry::generic::operator* (Displacement< T > const &disp, Scalar scale)
 
template<typename T >
constexpr Displacement< T > mir::geometry::generic::as_displacement (Size< T > const &size)
 
template<typename T >
constexpr Size< T > mir::geometry::generic::as_size (Displacement< T > const &disp)
 
template<typename T >
constexpr Displacement< T > mir::geometry::generic::as_displacement (Point< T > const &point)
 
template<typename T >
constexpr Point< T > mir::geometry::generic::as_point (Displacement< T > const &disp)
 

Copyright © 2012-2022 Canonical Ltd.
Generated on Fri Aug 26 13:27:37 UTC 2022
This documentation is licensed under the GPL version 2 or 3.