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
Length.hpp File Reference
#include <cstddef>
#include <functional>
#include <ostream>
#include "DimensionalScalar.hpp"
#include "Unit/Length.hpp"

Go to the source code of this file.

Classes

class  PhQ::Length< NumericType >
 Length, distance, or physical size. Can also represent a scalar component or magnitude of a position or displacement vector. For a three-dimensional Euclidean position vector, see PhQ::Position. For a three-dimensional Euclidean displacement vector, see PhQ::Displacement. For a two-dimensional Euclidean position vector in the XY plane, see PhQ::PlanarPosition. For a two-dimensional Euclidean displacement vector in the XY plane, see PhQ::PlanarDisplacement. More...
 

Namespaces

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

Functions

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