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
PlanarPosition.hpp File Reference
#include <array>
#include <cstddef>
#include <functional>
#include <ostream>
#include "Angle.hpp"
#include "DimensionalPlanarVector.hpp"
#include "Length.hpp"
#include "PlanarDirection.hpp"
#include "PlanarDisplacement.hpp"
#include "PlanarVector.hpp"
#include "Unit/Length.hpp"

Go to the source code of this file.

Classes

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