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
Direction.hpp File Reference
#include <array>
#include <cmath>
#include <cstddef>
#include <functional>
#include <ostream>
#include "Angle.hpp"
#include "DimensionlessVector.hpp"
#include "Dyad.hpp"
#include "PlanarDirection.hpp"
#include "SymmetricDyad.hpp"
#include "Vector.hpp"

Go to the source code of this file.

Classes

class  PhQ::Direction< NumericType >
 Three-dimensional Euclidean direction vector. Contains three components in Cartesian coordinates: x, y, and z. Guaranteed to be either a unit vector or the zero vector (0, 0, 0). For a two-dimensional Euclidean direction vector in the XY plane, see PhQ::PlanarDirection. More...
 

Namespaces

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

Functions

template<typename NumericType >
constexpr bool PhQ::operator== (const Direction< NumericType > &left, const Direction< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator!= (const Direction< NumericType > &left, const Direction< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator< (const Direction< NumericType > &left, const Direction< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator> (const Direction< NumericType > &left, const Direction< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator<= (const Direction< NumericType > &left, const Direction< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator>= (const Direction< NumericType > &left, const Direction< NumericType > &right) noexcept
 
template<typename NumericType >
std::ostream & PhQ::operator<< (std::ostream &stream, const PhQ::Direction< NumericType > &direction)
 
template<typename NumericType >
constexpr Vector< NumericType > PhQ::operator* (const SymmetricDyad< NumericType > &symmetric_dyad, const Direction< NumericType > &direction)
 
template<typename NumericType >
constexpr Vector< NumericType > PhQ::operator* (const Dyad< NumericType > &dyad, const Direction< NumericType > &direction)