Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Functions
Length.hpp File Reference

Classes

class  castor::LengthT< TypeT >
 Length helper class. More...
 

Namespaces

namespace  castor
 

Functions

template<typename TypeT >
static TypeT castor::convert (TypeT const &value, LengthUnit from, LengthUnit to)
 
castor::Length operator""_km (long double value)
 
castor::Length operator""_m (long double value)
 
castor::Length operator""_cm (long double value)
 
castor::Length operator""_mm (long double value)
 
castor::Length operator""_yd (long double value)
 
castor::Length operator""_ft (long double value)
 
castor::Length operator""_in (long double value)
 
Logic operators.
template<typename TypeT >
bool castor::operator== (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
bool castor::operator!= (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
bool castor::operator< (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
bool castor::operator>= (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
bool castor::operator> (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
bool castor::operator<= (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept
 
Arithmetic operators.
template<typename TypeT >
LengthT< TypeT > castor::operator+ (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
LengthT< TypeT > castor::operator- (LengthT< TypeT > const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
LengthT< TypeT > castor::operator+ (TypeT const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
LengthT< TypeT > castor::operator- (TypeT const &lhs, LengthT< TypeT > const &rhs) noexcept
 
template<typename TypeT >
LengthT< TypeT > castor::operator+ (LengthT< TypeT > const &lhs, TypeT const &rhs) noexcept
 
template<typename TypeT >
LengthT< TypeT > castor::operator- (LengthT< TypeT > const &lhs, TypeT const &rhs) noexcept
 
template<typename TypeT >
LengthT< TypeT > castor::operator* (LengthT< TypeT > const &lhs, double rhs) noexcept
 
template<typename TypeT >
LengthT< TypeT > castor::operator/ (LengthT< TypeT > const &lhs, double rhs) noexcept
 

Function Documentation

◆ operator""_cm()

castor::Length operator""_cm ( long double value)
inline

◆ operator""_ft()

castor::Length operator""_ft ( long double value)
inline

◆ operator""_in()

castor::Length operator""_in ( long double value)
inline

◆ operator""_km()

castor::Length operator""_km ( long double value)
inline

◆ operator""_m()

castor::Length operator""_m ( long double value)
inline

◆ operator""_mm()

castor::Length operator""_mm ( long double value)
inline

◆ operator""_yd()

castor::Length operator""_yd ( long double value)
inline