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
Displacement.hpp File Reference
#include <array>
#include <cstddef>
#include <functional>
#include <ostream>
#include "Angle.hpp"
#include "DimensionalVector.hpp"
#include "Direction.hpp"
#include "Length.hpp"
#include "PlanarDisplacement.hpp"
#include "Unit/Length.hpp"
#include "Vector.hpp"

Go to the source code of this file.

Classes

class  PhQ::Displacement< NumericType >
 Three-dimensional Euclidean displacement vector. Contains three components in Cartesian coordinates: x, y, and z. Displacement is not to be confused with position; for a three-dimensional Euclidean position vector, see PhQ::Position. For a two-dimensional Euclidean displacement vector in the XY plane, see PhQ::PlanarDisplacement. 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 Displacement< NumericType > &left, const Displacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator!= (const Displacement< NumericType > &left, const Displacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator< (const Displacement< NumericType > &left, const Displacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator> (const Displacement< NumericType > &left, const Displacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator<= (const Displacement< NumericType > &left, const Displacement< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator>= (const Displacement< NumericType > &left, const Displacement< NumericType > &right) noexcept
 
template<typename NumericType >
std::ostream & PhQ::operator<< (std::ostream &stream, const Displacement< NumericType > &displacement)
 
template<typename NumericType >
constexpr Displacement< NumericType > PhQ::operator* (const NumericType number, const Displacement< NumericType > &displacement)