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

Go to the source code of this file.

Classes

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