Mir
Public Types | Public Member Functions | List of all members
mir::geometry::Displacement Struct Reference

#include <displacement.h>

Inheritance diagram for mir::geometry::Displacement:
[legend]

Public Types

using PointType = Point
 
using SizeType = Size
 
- Public Types inherited from mir::geometry::generic::Displacement< detail::IntWrapper >
using Corresponding = detail::IntWrapper< Tag >
 
using PointType = Point< detail::IntWrapper >
 
using SizeType = Size< detail::IntWrapper >
 

Public Member Functions

long long length_squared () const
 
- Public Member Functions inherited from mir::geometry::generic::Displacement< detail::IntWrapper >
constexpr Displacement ()
 
constexpr Displacement (Displacement const &)=default
 
constexpr Displacement (D const &other) noexcept
 
constexpr Displacement (DeltaXType &&dx, DeltaYType &&dy)
 
Displacementoperator= (Displacement const &)=default
 

Additional Inherited Members

- Public Attributes inherited from mir::geometry::generic::Displacement< detail::IntWrapper >
detail::IntWrapper< DeltaXTagdx
 
detail::IntWrapper< DeltaYTagdy
 

Member Typedef Documentation

◆ PointType

◆ SizeType

Member Function Documentation

◆ length_squared()

long long mir::geometry::Displacement::length_squared ( ) const
inline

The documentation for this struct was generated from the following file:

Copyright © 2012-2022 Canonical Ltd.
Generated on śro, 1 cze 2022, 16:52:55 UTC
This documentation is licensed under the GPL version 2 or 3.