Mir
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
point_generic.h File Reference
#include "dimensions_generic.h"
#include <ostream>
Include dependency graph for point_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::PointBase
 Used for determining if a type is a point. More...
 
struct  mir::geometry::generic::Point< T >
 

Namespaces

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

Functions

template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
constexpr bool mir::geometry::generic::operator== (P const &lhs, P const &rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
constexpr bool mir::geometry::generic::operator!= (P const &lhs, P const &rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
constexpr P mir::geometry::generic::operator+ (P lhs, Corresponding< P, DeltaXTag > rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
constexpr P mir::geometry::generic::operator+ (P lhs, Corresponding< P, DeltaYTag > rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
constexpr P mir::geometry::generic::operator- (P lhs, Corresponding< P, DeltaXTag > rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
constexpr P mir::geometry::generic::operator- (P lhs, Corresponding< P, DeltaYTag > rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
P & mir::geometry::generic::operator+= (P &lhs, Corresponding< P, DeltaXTag > rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
P & mir::geometry::generic::operator+= (P &lhs, Corresponding< P, DeltaYTag > rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
P & mir::geometry::generic::operator-= (P &lhs, Corresponding< P, DeltaXTag > rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
P & mir::geometry::generic::operator-= (P &lhs, Corresponding< P, DeltaYTag > rhs)
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
std::ostream & mir::geometry::generic::operator<< (std::ostream &out, P const &value)
 

Copyright © 2012-2023 Canonical Ltd.
Generated on Tue Jan 24 16:42:22 UTC 2023
This documentation is licensed under the GPL version 2 or 3.