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

Go to the source code of this file.

Classes

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

Namespaces

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

Functions

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