Physical Quantities  v1.0.0
C++ library of physical quantities, physical models, and units of measure for scientific computing. https://github.com/acodcha/phq
Classes | Namespaces | Functions
PlanarDisplacement.hpp File Reference
#include <array>
#include <cstddef>
#include <functional>
#include <ostream>
#include "Angle.hpp"
#include "DimensionalPlanarVector.hpp"
#include "Length.hpp"
#include "PlanarDirection.hpp"
#include "PlanarVector.hpp"
#include "Unit/Length.hpp"

Go to the source code of this file.

Classes

class  PhQ::PlanarDisplacement< NumericType >
 Two-dimensional Euclidean displacement vector in the XY plane. Contains two components in Cartesian coordinates: x and y. Displacement is not to be confused with position; for a two-dimensional Euclidean position vector in the XY plane, see PhQ::PlanarPosition. For a three-dimensional Euclidean displacement vector, see PhQ::Displacement. For scalar displacement components or for the magnitude of a displacement vector, see PhQ::Length. More...
 

Namespaces

 PhQ
 Namespace that encompasses all of the Physical Quantities library's content.
 

Functions

template<typename NumericType >
constexpr bool PhQ::operator== (const PlanarDisplacement< NumericType > &left, const PlanarDisplacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator!= (const PlanarDisplacement< NumericType > &left, const PlanarDisplacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator< (const PlanarDisplacement< NumericType > &left, const PlanarDisplacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator> (const PlanarDisplacement< NumericType > &left, const PlanarDisplacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator<= (const PlanarDisplacement< NumericType > &left, const PlanarDisplacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator>= (const PlanarDisplacement< NumericType > &left, const PlanarDisplacement< NumericType > &right) noexcept
 
template<typename NumericType >
std::ostream & PhQ::operator<< (std::ostream &stream, const PlanarDisplacement< NumericType > &planar_displacement)
 
template<typename NumericType >
constexpr PlanarDisplacement< NumericType > PhQ::operator* (const NumericType number, const PlanarDisplacement< NumericType > &planar_displacement)