GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
quantities.hpp File Reference

Go to the source code of this file.

Classes

struct  grem::physics::Dimension< Mass, Length, Time >
 Physical dimension type template. More...
struct  grem::physics::Magnitude< Value, IsAbsolute >
 Physical magnitude type template. More...
struct  grem::physics::BaseUnit< D, M >
 Physical base unit type template. More...
struct  grem::physics::Absolute< UnitT >
 The canonical unit type corresponding to a given unit with its magnitude made absolute. More...
struct  grem::physics::Zero
 Abstract physical quantity representing the origin of the global world space reference frame, or the relative value 0 of any unit. More...
struct  grem::physics::ComponentSwizzle< Index >
 Tag type for specifying a specific vector components. More...
struct  grem::physics::Quantity< 1, UnitT >
class  grem::physics::ConstComponentProxy< N, UnitT, Index >
 Read-only view of a specific component of a physical vector quantity. More...
class  grem::physics::ComponentProxy< N, UnitT, Index >
 Reference to a specific component of a physical vector quantity. More...
struct  grem::physics::Quantity< 2, UnitT >
struct  grem::physics::Quantity< 3, UnitT >
struct  grem::physics::TensorQuantity< N, UnitT >
struct  grem::physics::Direction< N >
 Normalized unit vector. More...
struct  grem::physics::DecomposeMagnitudeDirectionResult< N, UnitT >
struct  grem::physics::DecomposeMagnitudeAngleResult< UnitT >
struct  grem::physics::OrthonormalBasis< N >
 Basis whose columns are all unit vectors that are orthogonal to each other. More...
struct  grem::physics::Orientation< 2 >
 Absolute orientation in 2-dimensional space. More...
struct  grem::physics::Orientation< 3 >
 Absolute orientation in 3-dimensional space. More...
class  grem::physics::LocalTransformation< N >
 Affine transformation in local space. More...
class  grem::physics::Transformation< N >
 Affine transformation in world space. More...
class  grem::physics::InverseLocalTransformation< N >
 Inverse of an affine transformation in local space. More...
class  grem::physics::InverseTransformation< N >
 Inverse of an affine transformation in world space. More...
struct  grem::physics::LocalInertiaOrientation< 2 >
struct  grem::physics::LocalInertiaOrientation< 3 >
struct  grem::Formatter< grem::physics::Quantity< 1, UnitT > >
struct  grem::Formatter< grem::physics::Quantity< 2, UnitT > >
struct  grem::Formatter< grem::physics::Quantity< 3, UnitT > >
struct  grem::Formatter< grem::physics::TensorQuantity< 2, UnitT > >
struct  grem::Formatter< grem::physics::TensorQuantity< 3, UnitT > >
struct  grem::Formatter< grem::physics::Direction< N > >
struct  grem::Formatter< grem::physics::OrthonormalBasis< N > >
struct  grem::Formatter< grem::physics::Orientation< 2 > >
struct  grem::Formatter< grem::physics::Orientation< 3 > >
struct  grem::Formatter< grem::physics::LocalInertiaOrientation< 2 > >
struct  grem::Formatter< grem::physics::LocalInertiaOrientation< 3 > >
struct  grem::json::Serializer< grem::physics::Quantity< N, UnitT > >
struct  grem::json::Deserializer< grem::physics::Quantity< N, UnitT > >

Namespaces

namespace  grem
namespace  grem::physics
namespace  grem::physics::literals
namespace  grem::json

Concepts

concept  grem::physics::dimension
 Concept that checks if a type is a valid physical dimension type.
concept  grem::physics::magnitude
 Concept that checks if a type is a valid physical magnitude type.
concept  grem::physics::unit
 Concept that checks if a type is a valid physical unit type.

Typedefs

template<unit UnitT>
using grem::physics::canonical_unit_t = typename canonical_unit<UnitT>::type
 Canonical unit type of a given unit.
template<unit UnitT>
using grem::physics::in_base_units_t = typename in_base_units<UnitT>::type
 Corresponding instantiation of the BaseUnit type template of a given unit type.
template<typename UnitT1, typename... UnitTs>
using grem::physics::BaseSum = BaseUnit<(UnitT1::DIMENSION + ... + UnitTs::DIMENSION), (UnitT1::MAGNITUDE + ... + UnitTs::MAGNITUDE)>
 The base unit type resulting from adding a set of quantities of the given units.
template<typename UnitT1, typename... UnitTs>
using grem::physics::Sum = canonical_unit_t<BaseSum<UnitT1, UnitTs...>>
 The canonical unit type resulting from adding a set of quantities of the given units.
template<typename UnitT1, typename UnitT2>
using grem::physics::BaseDifference = BaseUnit<(UnitT1::DIMENSION - UnitT2::DIMENSION), (UnitT1::MAGNITUDE - UnitT2::MAGNITUDE)>
 The base unit type resulting from subtracting two quantities of the given units.
template<typename UnitT1, typename UnitT2>
using grem::physics::Difference = canonical_unit_t<BaseDifference<UnitT1, UnitT2>>
 The canonical unit type resulting from subtracting two quantities of the given units.
template<typename UnitT1, typename... UnitTs>
using grem::physics::BaseProduct = BaseUnit<(UnitT1::DIMENSION * ... * UnitTs::DIMENSION), (UnitT1::MAGNITUDE * ... * UnitTs::MAGNITUDE)>
 The base unit type resulting from multiplying a set of quantities of the given units.
template<typename UnitT1, typename... UnitTs>
using grem::physics::Product = canonical_unit_t<BaseProduct<UnitT1, UnitTs...>>
 The canonical unit type resulting from multiplying a set of quantities of the given units.
template<typename UnitT1, typename UnitT2>
using grem::physics::BaseQuotient = BaseUnit<(UnitT1::DIMENSION / UnitT2::DIMENSION), (UnitT1::MAGNITUDE / UnitT2::MAGNITUDE)>
 The base unit type resulting from dividing two quantities of the given units.
template<typename UnitT1, typename UnitT2>
using grem::physics::Quotient = canonical_unit_t<BaseQuotient<UnitT1, UnitT2>>
 The canonical unit type resulting from dividing two quantities of the given units.
template<typename UnitT, long double Multiple>
using grem::physics::BaseMultipleOf = BaseUnit<UnitT::DIMENSION, UnitT::MAGNITUDE * Magnitude<Multiple>{}>
 The base unit type corresponding to a given unit with its magnitude scaled by a given multiplier.
template<typename UnitT, long double Multiple>
using grem::physics::MultipleOf = canonical_unit_t<BaseMultipleOf<UnitT, Multiple>>
 The canonical unit type corresponding to a given unit with its magnitude scaled by a given multiplier.
template<typename UnitT>
using grem::physics::BaseRelative = BaseUnit<UnitT::DIMENSION, Magnitude<UnitT::MagnitudeType::VALUE, false>{}>
 The base unit type corresponding to a given unit with its magnitude made relative.
template<typename UnitT>
using grem::physics::Relative = canonical_unit_t<BaseRelative<UnitT>>
 The canonical unit type corresponding to a given unit with its magnitude made relative.
template<typename UnitT>
using grem::physics::BaseAbsolute = BaseUnit<UnitT::DIMENSION, Magnitude<UnitT::MagnitudeType::VALUE, true>{}>
 The base unit type corresponding to a given unit with its magnitude made absolute.
template<typename UnitT>
using grem::physics::BaseSqrt = BaseUnit<sqrt(UnitT::DIMENSION), sqrt(UnitT::MAGNITUDE)>
 The base unit type resulting from taking the square root of a quantity of the given unit.
template<typename UnitT>
using grem::physics::Sqrt = canonical_unit_t<BaseSqrt<UnitT>>
 The canonical unit type resulting from taking the square root of a quantity of the given unit.
template<typename UnitT>
using grem::physics::BaseReciprocal = BaseUnit<DIMENSIONLESS / UnitT::DIMENSION, Magnitude<1.0l / UnitT::MagnitudeType::VALUE, UnitT::MagnitudeType::IS_ABSOLUTE>{}>
 The base unit type resulting from taking the multiplicative inverse of a quantity of the given unit.
template<typename UnitT>
using grem::physics::Reciprocal = canonical_unit_t<BaseReciprocal<UnitT>>
 The canonical unit type resulting from taking the multiplicative inverse of a quantity of the given unit.
template<typename UnitT>
using grem::physics::BaseSquare = BaseProduct<UnitT, UnitT>
 The base unit type resulting from squaring a quantity of the given unit.
template<typename UnitT>
using grem::physics::Square = canonical_unit_t<BaseSquare<UnitT>>
 The canonical unit type resulting from squaring a quantity of the given unit.
template<typename UnitT>
using grem::physics::BaseCubic = BaseProduct<UnitT, UnitT, UnitT>
 The base unit type resulting from taking the cube of a quantity of the given unit.
template<typename UnitT>
using grem::physics::Cubic = canonical_unit_t<BaseCubic<UnitT>>
 The canonical unit type resulting from taking the cube of a quantity of the given unit.
template<typename UnitT>
using grem::physics::BaseKilo = BaseMultipleOf<UnitT, 1000.0l>
 The base unit type corresponding to a given unit with its magnitude scaled by 1000.
template<typename UnitT>
using grem::physics::Kilo = canonical_unit_t<BaseKilo<UnitT>>
 The canonical unit type corresponding to a given unit with its magnitude scaled by 1000.
template<typename UnitT>
using grem::physics::BaseDeci = BaseMultipleOf<UnitT, 0.1l>
 The base unit type corresponding to a given unit with its magnitude scaled by 1/10.
template<typename UnitT>
using grem::physics::Deci = canonical_unit_t<BaseDeci<UnitT>>
 The canonical unit type corresponding to a given unit with its magnitude scaled by 1/10.
template<typename UnitT>
using grem::physics::BaseCenti = BaseMultipleOf<UnitT, 0.01l>
 The base unit type corresponding to a given unit with its magnitude scaled by 1/100.
template<typename UnitT>
using grem::physics::Centi = canonical_unit_t<BaseCenti<UnitT>>
 The canonical unit type corresponding to a given unit with its magnitude scaled by 1/100.
template<typename UnitT>
using grem::physics::BaseMilli = BaseMultipleOf<UnitT, 0.001l>
 The base unit type corresponding to a given unit with its magnitude scaled by 1/1000.
template<typename UnitT>
using grem::physics::Milli = canonical_unit_t<BaseMilli<UnitT>>
 The canonical unit type corresponding to a given unit with its magnitude scaled by 1/1000.
template<Dimension D>
using grem::physics::BaseSIUnit = BaseUnit<D, Magnitude<1.0l>{}>
 The base relative SI unit type for a given dimension.
template<Dimension D>
using grem::physics::SIUnit = canonical_unit_t<BaseSIUnit<D>>
 The canonical relative SI unit type for a given dimension.
using grem::physics::Scalar = float
 Underlying scalar type of physics quantity components.
template<size_t N, typename UnitT>
using grem::physics::AngularQuantity = std::conditional_t<N == 3, Quantity<3, UnitT>, Quantity<1, UnitT>>
 Physical quantity type representing an angular quantity in world space, with one component in 2D and three components in 3D.
template<size_t N>
using grem::physics::Mask = std::conditional_t<N == 1, bool, vec<N, bool>>
 Boolean quantity.
using grem::physics::Mask1D = Mask<1>
 Boolean quantity in 1-dimensional space. Unitless.
using grem::physics::Mask2D = Mask<2>
 Boolean quantity in 2-dimensional space. Unitless.
using grem::physics::Mask3D = Mask<3>
 Boolean quantity in 3-dimensional space. Unitless.
template<size_t N>
using grem::physics::AngularMask = std::conditional_t<N == 3, Mask<N>, Mask<1>>
 Angular boolean quantity.
using grem::physics::AngularMask2D = AngularMask<2>
 Angular boolean quantity in 2-dimensional space. Unitless.
using grem::physics::AngularMask3D = AngularMask<3>
 Angular boolean quantity in 2-dimensional space. Unitless.
template<size_t N, typename UnitT>
using grem::physics::AngularTensorQuantity = std::conditional_t<N == 3, TensorQuantity<3, UnitT>, Quantity<1, UnitT>>
template<size_t N>
using grem::physics::Scale = Quantity<N, Unitless>
 Dimensionless scale.
using grem::physics::Scale1D = Scale<1>
 Dimensionless scale in 1-dimensional space. Unitless.
using grem::physics::Scale2D = Scale<2>
 Dimensionless scale in 2-dimensional space. Unitless.
using grem::physics::Scale3D = Scale<3>
 Dimensionless scale in 3-dimensional space. Unitless.
using grem::physics::Coefficient = Scale1D
 Unitless scalar quantity.
template<size_t N>
using grem::physics::Basis = TensorQuantity<N, Unitless>
 Basis matrix.
using grem::physics::Basis2D = Basis<2>
 Basis matrix in 2-dimensional space. Unitless.
using grem::physics::Basis3D = Basis<3>
 Basis matrix in 3-dimensional space. Unitless.
template<size_t N>
using grem::physics::AngularScale = AngularQuantity<N, Unitless>
 Angular dimensionless scale.
using grem::physics::AngularScale2D = AngularScale<2>
 Angular dimensionless scale in 2-dimensional space. Unitless.
using grem::physics::AngularScale3D = AngularScale<3>
 Angular dimensionless scale in 3-dimensional space. Unitless.
using grem::physics::Angle = Quantity<1, Radians>
 Angle quantity.
using grem::physics::AbsoluteAngle = Quantity<1, Absolute<Radians>>
 Absolute angle in world space.
template<size_t N>
using grem::physics::AbsoluteAngles = AngularQuantity<N, Absolute<Radians>>
 Absolute angles in world space.
using grem::physics::Roll = AbsoluteAngles<2>
 Absolute angle in 2-dimensional space.
using grem::physics::PitchYaw = Quantity<2, Absolute<Radians>>
 Absolute angles in 3-dimensional space without roll.
using grem::physics::PitchYawRoll = AbsoluteAngles<3>
 Absolute angles in 3-dimensional space.
using grem::physics::RollRotation = Angle
 Relative rotation of roll.
using grem::physics::PitchYawRotations = Quantity<2, Radians>
 Relative rotations of pitch and yaw.
using grem::physics::PitchYawRollRotations = Quantity<3, Radians>
 Relative rotations of pitch, yaw and roll.
template<size_t N>
using grem::physics::Rotation = AngularQuantity<N, Radians>
 Relative rotation quantity.
using grem::physics::Rotation2D = Rotation<2>
 Relative rotation in 2-dimensional space. Unit: Radians.
using grem::physics::Rotation3D = Rotation<3>
 Relative rotation in 3-dimensional space. Unit: Radians.
using grem::physics::Direction2D = Direction<2>
 Normalized unit vector in 2-dimensional space. Unitless.
using grem::physics::Direction3D = Direction<3>
 Normalized unit vector in 3-dimensional space. Unitless.
using grem::physics::OrthonormalBasis2D = OrthonormalBasis<2>
 Basis in 2-dimensional space whose columns are all unit vectors that are orthogonal to each other. Unitless.
using grem::physics::OrthonormalBasis3D = OrthonormalBasis<3>
 Basis in 3-dimensional space whose columns are all unit vectors that are orthogonal to each other. Unitless.
using grem::physics::Orientation2D = Orientation<2>
 Absolute orientation in 2-dimensional space. Unit: Radians.
using grem::physics::Orientation3D = Orientation<3>
 Absolute orientation in 3-dimensional space. Unit: Radians.
template<size_t N>
using grem::physics::Length = Quantity<N, Meters>
 Relative distance/length offset quantity.
using grem::physics::Length1D = Length<1>
 Relative distance/length offset in 1-dimensional space. Unit: Meters.
using grem::physics::Length2D = Length<2>
 Relative distance/length offset in 2-dimensional space. Unit: Meters.
using grem::physics::Length3D = Length<3>
 Relative distance/length offset in 3-dimensional space. Unit: Meters.
template<size_t N>
using grem::physics::LengthTensor = TensorQuantity<N, Meters>
 Tensor of length quantities.
using grem::physics::LengthTensor2D = LengthTensor<2>
 Tensor of length quantities in 2-dimensional space. Unit: Meters.
using grem::physics::LengthTensor3D = LengthTensor<3>
 Tensor of length quantities in 3-dimensional space. Unit: Meters.
template<size_t N>
using grem::physics::Position = Quantity<N, Absolute<Meters>>
 Absolute position in world space.
using grem::physics::Position1D = Position<1>
 Absolute position in 1-dimensional space. Unit: Meters.
using grem::physics::Position2D = Position<2>
 Absolute position in 2-dimensional space. Unit: Meters.
using grem::physics::Position3D = Position<3>
 Absolute position in 3-dimensional space. Unit: Meters.
using grem::physics::Distance = Length1D
 Scalar length quantity.
using grem::physics::SquaredLength = Quantity<1, SquareMeters>
 Scalar squared length quantity.
using grem::physics::SquaredDistance = SquaredLength
 Scalar squared length quantity.
using grem::physics::LocalTransformation2D = LocalTransformation<2>
 Affine transformation in 2-dimensional local space.
using grem::physics::LocalTransformation3D = LocalTransformation<3>
 Affine transformation in 3-dimensional local space.
using grem::physics::Transformation2D = Transformation<2>
 Affine transformation in 2-dimensional space.
using grem::physics::Transformation3D = Transformation<3>
 Affine transformation in 3-dimensional space.
using grem::physics::InverseLocalTransformation2D = InverseLocalTransformation<2>
 Inverse of an affine transformation in 2-dimensional local space.
using grem::physics::InverseLocalTransformation3D = InverseLocalTransformation<3>
 Inverse of an affine transformation in 3-dimensional local space.
using grem::physics::InverseTransformation2D = InverseTransformation<2>
 Inverse of an affine transformation in 2-dimensional space.
using grem::physics::InverseTransformation3D = InverseTransformation<3>
 Inverse of an affine transformation in 3-dimensional space.
using grem::physics::Mass = Quantity<1, Kilograms>
 Scalar mass quantity.
using grem::physics::InverseMass = Quantity<1, PerKilogram>
 Scalar inverse mass quantity.
using grem::physics::Time = Quantity<1, Seconds>
 Scalar relative time duration quantity.
using grem::physics::Area = Quantity<1, SquareMeters>
 Scalar area quantity.
using grem::physics::SquaredArea = Quantity<1, Square<SquareMeters>>
 Scalar squared area quantity.
using grem::physics::Volume = Quantity<1, CubicMeters>
 Scalar volume quantity.
using grem::physics::SquaredVolume = Quantity<1, Square<CubicMeters>>
 Scalar squared volume quantity.
using grem::physics::Density = Quantity<1, KilogramsPerCubicMeter>
 Scalar density quantity.
template<size_t N>
using grem::physics::Rate = Quantity<N, Hertz>
 Frequency quantity.
using grem::physics::Rate1D = Rate<1>
 Frequency in 1-dimensional space. Unit: Hertz (AKA per second).
using grem::physics::Rate2D = Rate<2>
 Frequency in 2-dimensional space. Unit: Hertz (AKA per second).
using grem::physics::Rate3D = Rate<3>
 Frequency in 3-dimensional space. Unit: Hertz (AKA per second).
using grem::physics::Frequency = Rate1D
 Scalar frequency quantity.
template<size_t N>
using grem::physics::AngularFrequency = AngularQuantity<N, Hertz>
 Angular frequency quantity.
using grem::physics::AngularFrequency2D = AngularFrequency<2>
 Angular frequency in 2-dimensional space. Unit: Hertz (AKA per second).
using grem::physics::AngularFrequency3D = AngularFrequency<3>
 Angular frequency in 3-dimensional space. Unit: Hertz (AKA per second).
template<size_t N>
using grem::physics::LinearAbsement = Quantity<N, MeterSeconds>
 Linear absement quantity.
using grem::physics::LinearAbsement1D = LinearAbsement<1>
 Linear absement in 1-dimensional space. Unit: Meter seconds.
using grem::physics::LinearAbsement2D = LinearAbsement<2>
 Linear absement in 2-dimensional space. Unit: Meter seconds.
using grem::physics::LinearAbsement3D = LinearAbsement<3>
 Linear absement in 3-dimensional space. Unit: Meter seconds.
using grem::physics::Wavenumber = Quantity<1, PerMeter>
 Scalar wavenumber quantity.
template<size_t N>
using grem::physics::LinearVelocity = Quantity<N, MetersPerSecond>
 Linear velocity quantity.
using grem::physics::LinearVelocity1D = LinearVelocity<1>
 Linear velocity in 1-dimensional space. Unit: Meters per second.
using grem::physics::LinearVelocity2D = LinearVelocity<2>
 Linear velocity in 2-dimensional space. Unit: Meters per second.
using grem::physics::LinearVelocity3D = LinearVelocity<3>
 Linear velocity in 3-dimensional space. Unit: Meters per second.
using grem::physics::Speed = LinearVelocity1D
 Scalar linear velocity quantity.
template<size_t N>
using grem::physics::LinearVelocityTensor = TensorQuantity<N, MetersPerSecond>
 Tensor of linear velocity quantities.
using grem::physics::LinearVelocityTensor2D = LinearVelocityTensor<2>
 Tensor of linear velocity quantities in 2-dimensional space. Unit: Meters per second.
using grem::physics::LinearVelocityTensor3D = LinearVelocityTensor<3>
 Tensor of linear velocity quantities in 3-dimensional space. Unit: Meters per second.
using grem::physics::SquaredSpeed = Quantity<1, Square<MetersPerSecond>>
 Scalar squared speed quantity.
template<size_t N>
using grem::physics::LinearAcceleration = Quantity<N, MetersPerSecondSquared>
 Linear acceleration quantity.
using grem::physics::LinearAcceleration1D = LinearAcceleration<1>
 Linear acceleration in 1-dimensional space. Unit: Meters per second squared.
using grem::physics::LinearAcceleration2D = LinearAcceleration<2>
 Linear acceleration in 2-dimensional space. Unit: Meters per second squared.
using grem::physics::LinearAcceleration3D = LinearAcceleration<3>
 Linear acceleration in 3-dimensional space. Unit: Meters per second squared.
using grem::physics::Acceleration = LinearAcceleration1D
 Linear acceleration quantity. Unit: Meters per second squared.
using grem::physics::SquaredAcceleration = Quantity<1, Square<MetersPerSecondSquared>>
 Scalar squared acceleration quantity.
template<size_t N>
using grem::physics::LinearAccelerationTensor = TensorQuantity<N, MetersPerSecondSquared>
 Tensor of linear acceleration quantities.
using grem::physics::LinearAccelerationTensor2D = LinearAccelerationTensor<2>
 Tensor of linear acceleration quantities in 2-dimensional space. Unit: Meters per second squared.
using grem::physics::LinearAccelerationTensor3D = LinearAccelerationTensor<3>
 Tensor of linear acceleration quantities in 3-dimensional space. Unit: Meters per second squared.
template<size_t N>
using grem::physics::Force = Quantity<N, Newton>
 Force quantity.
using grem::physics::Force1D = Force<1>
 Force in 1-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
using grem::physics::Force2D = Force<2>
 Force in 2-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
using grem::physics::Force3D = Force<3>
 Force in 3-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
template<size_t N>
using grem::physics::ForceTensor = TensorQuantity<N, Newton>
 Tensor of force quantities.
using grem::physics::ForceTensor2D = ForceTensor<2>
 Tensor of force quantities in 2-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
using grem::physics::ForceTensor3D = ForceTensor<3>
 Tensor of force quantities in 3-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
template<size_t N>
using grem::physics::Torque = AngularQuantity<N, NewtonMeters>
 Torque quantity.
using grem::physics::Torque2D = Torque<2>
 Torque in 2-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
using grem::physics::Torque3D = Torque<3>
 Torque in 3-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
template<size_t N>
using grem::physics::TorqueTensor = TensorQuantity<N, NewtonMeters>
 Tensor of torque quantities.
using grem::physics::TorqueTensor2D = TorqueTensor<2>
 Tensor of torque quantities in 2-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
using grem::physics::TorqueTensor3D = TorqueTensor<3>
 Tensor of torque quantities in 3-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
template<size_t N>
using grem::physics::LinearImpulse = Quantity<N, NewtonSeconds>
 Linear impulse quantity.
using grem::physics::LinearImpulse1D = LinearImpulse<1>
 Linear impulse in 1-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
using grem::physics::LinearImpulse2D = LinearImpulse<2>
 Linear impulse in 2-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
using grem::physics::LinearImpulse3D = LinearImpulse<3>
 Linear impulse in 3-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
using grem::physics::Impulse = LinearImpulse1D
 Scalar linear impulse quantity.
template<size_t N>
using grem::physics::LinearImpulseTensor = TensorQuantity<N, NewtonSeconds>
 Tensor of linear impulse quantities.
using grem::physics::LinearImpulseTensor2D = LinearImpulseTensor<2>
 Tensor of linear impulse quantities in 2-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
using grem::physics::LinearImpulseTensor3D = LinearImpulseTensor<3>
 Tensor of linear impulse quantities in 3-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
template<size_t N>
using grem::physics::LinearMomentum = Quantity<N, KilogramMetersPerSecond>
 Linear momentum quantity.
using grem::physics::LinearMomentum1D = LinearMomentum<1>
 Linear momentum in 1-dimensional space. Unit: Kilogram meters per second.
using grem::physics::LinearMomentum2D = LinearMomentum<2>
 Linear momentum in 2-dimensional space. Unit: Kilogram meters per second.
using grem::physics::LinearMomentum3D = LinearMomentum<3>
 Linear momentum in 3-dimensional space. Unit: Kilogram meters per second.
using grem::physics::Momentum = LinearMomentum1D
 Scalar linear momentum quantity.
template<size_t N>
using grem::physics::LinearMomentumTensor = TensorQuantity<N, KilogramMetersPerSecond>
 Tensor of linear momentum quantities.
using grem::physics::LinearMomentumTensor2D = LinearMomentumTensor<2>
 Tensor of linear momentum quantities in 2-dimensional space. Unit: Kilogram meters per second.
using grem::physics::LinearMomentumTensor3D = LinearMomentumTensor<3>
 Tensor of linear momentum quantities in 3-dimensional space. Unit: Kilogram meters per second.
template<size_t N>
using grem::physics::MomentOfInertia = AngularQuantity<N, KilogramSquareMeters>
 Moment of inertia quantity.
using grem::physics::MomentOfInertia2D = MomentOfInertia<2>
 Moment of inertia in 2-dimensional space. Unit: Kilogram square meters.
using grem::physics::MomentOfInertia3D = MomentOfInertia<3>
 Moment of inertia in 3-dimensional space. Unit: Kilogram square meters.
template<size_t N>
using grem::physics::MomentOfInertiaTensor = AngularTensorQuantity<N, KilogramSquareMeters>
 Tensor of moment of inertia quantities.
using grem::physics::MomentOfInertiaTensor2D = MomentOfInertiaTensor<2>
 Tensor of moment of inertia quantities in 2-dimensional space. Unit: Kilogram square meters.
using grem::physics::MomentOfInertiaTensor3D = MomentOfInertiaTensor<3>
 Tensor of moment of inertia quantities in 3-dimensional space. Unit: Kilogram square meters.
template<size_t N>
using grem::physics::InverseMomentOfInertia = AngularQuantity<N, PerKilogramSquareMeter>
 Inverse moment of inertia quantity.
using grem::physics::InverseMomentOfInertia2D = InverseMomentOfInertia<2>
 Inverse moment of inertia in 2-dimensional space. Unit: Kilogram square meters.
using grem::physics::InverseMomentOfInertia3D = InverseMomentOfInertia<3>
 Inverse moment of inertia in 3-dimensional space. Unit: Kilogram square meters.
template<size_t N>
using grem::physics::InverseMomentOfInertiaTensor = AngularTensorQuantity<N, PerKilogramSquareMeter>
 Tensor of inverse moment of inertia quantities.
using grem::physics::InverseMomentOfInertiaTensor2D = InverseMomentOfInertiaTensor<2>
 Tensor of inverse moment of inertia quantities in 2-dimensional space. Unit: Per kilogram square meter.
using grem::physics::InverseMomentOfInertiaTensor3D = InverseMomentOfInertiaTensor<3>
 Tensor of inverse moment of inertia quantities in 3-dimensional space. Unit: Per kilogram square meter.
template<size_t N>
using grem::physics::PrincipalMomentsOfInertia = AngularQuantity<N, KilogramSquareMeters>
 Principal moments of inertia in inertia major axis space.
using grem::physics::PrincipalMomentsOfInertia2D = PrincipalMomentsOfInertia<2>
 Principal moments of inertia in 2-dimensional inertia major axis space. Unit: kilogram square meters.
using grem::physics::PrincipalMomentsOfInertia3D = PrincipalMomentsOfInertia<3>
 Principal moments of inertia in 3-dimensional inertia major axis space. Unit: kilogram square meters.
using grem::physics::LocalInertiaOrientation2D = LocalInertiaOrientation<2>
 Local inertia orientation of an object in 2-dimensional space. Unit: Radians.
using grem::physics::LocalInertiaOrientation3D = LocalInertiaOrientation<3>
 Local inertia orientation of an object in 3-dimensional space. Unit: Radians.
template<size_t N>
using grem::physics::InversePrincipalMomentsOfInertia = AngularQuantity<N, Reciprocal<KilogramSquareMeters>>
 Inverse principal moments of inertia in inertia major axis space.
using grem::physics::InversePrincipalMomentsOfInertia2D
 Inverse principal moments of inertia in 2-dimensional inertia major axis space. Unit: Per kilogram square meter.
using grem::physics::InversePrincipalMomentsOfInertia3D
 Inverse principal moments of inertia in 3-dimensional inertia major axis space. Unit: Per kilogram square meter.
template<size_t N>
using grem::physics::MomentArm = AngularQuantity<N, Meters>
 Moment arm quantity.
using grem::physics::MomentArm2D = MomentArm<2>
 Moment arm in 2-dimensional space. Unit: Meters.
using grem::physics::MomentArm3D = MomentArm<3>
 Moment arm in 3-dimensional space. Unit: Meters.
template<size_t N>
using grem::physics::MomentArmTensor = TensorQuantity<N, Meters>
 Tensor of moment arm quantities.
using grem::physics::MomentArmTensor2D = MomentArmTensor<2>
 Tensor of moment arm quantities in 2-dimensional space. Unit: Meters.
using grem::physics::MomentArmTensor3D = MomentArmTensor<3>
 Tensor of moment arm quantities in 3-dimensional space. Unit: Meters.
template<size_t N>
using grem::physics::AngularAbsement = AngularQuantity<N, RadianSeconds>
 Angular absement quantity.
using grem::physics::AngularAbsement2D = AngularAbsement<2>
 Angular absement in 2-dimensional space. Unit: Radian seconds.
using grem::physics::AngularAbsement3D = AngularAbsement<3>
 Angular absement in 3-dimensional space. Unit: Radian seconds.
template<size_t N>
using grem::physics::AngularVelocity = AngularQuantity<N, RadiansPerSecond>
 Angular velocity quantity.
using grem::physics::AngularVelocity2D = AngularVelocity<2>
 Angular velocity in 2-dimensional space. Unit: Radians per second.
using grem::physics::AngularVelocity3D = AngularVelocity<3>
 Angular velocity in 3-dimensional space. Unit: Radians per second.
using grem::physics::AngularSpeed = Quantity<1, RadiansPerSecond>
 Scalar angular speed quantity.
template<size_t N>
using grem::physics::AngularVelocityTensor = AngularTensorQuantity<N, RadiansPerSecond>
 Tensor of angular velocity quantities.
using grem::physics::AngularVelocityTensor2D = AngularVelocityTensor<2>
 Tensor of angular velocity quantities in 2-dimensional space. Unit: Radians per second.
using grem::physics::AngularVelocityTensor3D = AngularVelocityTensor<3>
 Tensor of angular velocity quantities in 3-dimensional space. Unit: Radians per second.
using grem::physics::SquaredAngularSpeed = Quantity<1, Square<RadiansPerSecond>>
 Scalar squared angular speed quantity.
using grem::physics::RollRate = AngularSpeed
 Time derivative of roll.
using grem::physics::PitchYawRates = Quantity<2, RadiansPerSecond>
 Time derivatives of pitch and yaw.
using grem::physics::PitchYawRollRates = Quantity<3, RadiansPerSecond>
 Time derivatives of pitch, yaw and roll.
template<size_t N>
using grem::physics::AngularAcceleration = AngularQuantity<N, RadiansPerSecondSquared>
 Angular acceleration quantity.
using grem::physics::AngularAcceleration2D = AngularAcceleration<2>
 Angular acceleration in 2-dimensional space. Unit: Radians per second squared.
using grem::physics::AngularAcceleration3D = AngularAcceleration<3>
 Angular acceleration in 3-dimensional space. Unit: Radians per second squared.
template<size_t N>
using grem::physics::AngularAccelerationTensor = AngularTensorQuantity<N, RadiansPerSecondSquared>
 Tensor of angular acceleration quantities.
using grem::physics::AngularAccelerationTensor2D = AngularAccelerationTensor<2>
 Tensor of angular acceleration quantities in 2-dimensional space. Unit: Radians per second squared.
using grem::physics::AngularAccelerationTensor3D = AngularAccelerationTensor<3>
 Tensor of angular acceleration quantities in 3-dimensional space. Unit: Radians per second squared.
template<size_t N>
using grem::physics::AngularImpulse = AngularQuantity<N, NewtonMeterSeconds>
 Angular impulse quantity.
using grem::physics::AngularImpulse2D = AngularImpulse<2>
 Angular impulse in 2-dimensional space. Unit: Newton meter seconds.
using grem::physics::AngularImpulse3D = AngularImpulse<3>
 Angular impulse in 3-dimensional space. Unit: Newton meter seconds.
template<size_t N>
using grem::physics::AngularImpulseTensor = AngularTensorQuantity<N, NewtonMeterSeconds>
 Tensor of angular impulse quantities.
using grem::physics::AngularImpulseTensor2D
 Tensor of angular impulse quantities in 2-dimensional space. Unit: Newton meter seconds (AKA kilogram square meters per second).
using grem::physics::AngularImpulseTensor3D
 Tensor of angular impulse quantities in 3-dimensional space. Unit: Newton meter seconds (AKA kilogram square meters per second).
template<size_t N>
using grem::physics::AngularMomentum = AngularQuantity<N, KilogramSquareMetersPerSecond>
 Angular momentum quantity.
using grem::physics::AngularMomentum2D = AngularMomentum<2>
 Angular momentum in 2-dimensional space. Unit: kilogram square meters per second.
using grem::physics::AngularMomentum3D = AngularMomentum<3>
 Angular momentum in 3-dimensional space. Unit: kilogram square meters per second.
template<size_t N>
using grem::physics::AngularMomentumTensor = AngularTensorQuantity<N, KilogramSquareMetersPerSecond>
 Tensor of angular momentum quantities.
using grem::physics::AngularMomentumTensor2D = AngularMomentumTensor<2>
 Tensor of angular momentum quantities in 2-dimensional space. Unit: Kilogram square meters per second.
using grem::physics::AngularMomentumTensor3D = AngularMomentumTensor<3>
 Tensor of angular momentum quantities in 3-dimensional space. Unit: Kilogram square meters per second.
using grem::physics::LinearViscousDamping = Quantity<1, NewtonSecondsPerMeter>
 Scalar linear viscous damping quantity.
using grem::physics::AngularViscousDamping = Quantity<1, NewtonMeterSecondsPerRadian>
 Scalar angular viscous damping quantity.
using grem::physics::MassFlowRate = Quantity<1, KilogramsPerSecond>
 Scalar mass flow rate quantity.
using grem::physics::VolumetricFlowRate = Quantity<1, CubicMetersPerSecond>
 Scalar volumetric flow rate quantity.
using grem::physics::Work = Quantity<1, Joules>
 Scalar mechanical work quantity.
using grem::physics::Power = Quantity<1, Watts>
 Scalar mechanical power quantity.
using grem::physics::Energy = Quantity<1, Joules>
 Scalar energy quantity.
using grem::physics::Stiffness = Quantity<1, NewtonPerMeter>
 Stiffness quantity.
using grem::physics::Compliance = Quantity<1, MetersPerNewton>
 Compliance quantity.

Functions

template<unit UnitT1, unit UnitT2>
consteval bool grem::physics::operator== (UnitT1 a, UnitT2 b)
 Compare two physical units for equality.
template<unit UnitT>
requires (!UnitT::MagnitudeType::IS_ABSOLUTE)
consteval auto grem::physics::operator+ (const UnitT &a)
 Get the unit resulting from taking the additive identity of a quantity of a unit.
template<unit UnitT>
requires (!UnitT::MagnitudeType::IS_ABSOLUTE)
consteval auto grem::physics::operator- (const UnitT &a)
 Get the unit resulting from taking the additive inverse of a quantity of a unit.
template<unit UnitT>
requires (!UnitT::MagnitudeType::IS_ABSOLUTE)
consteval auto grem::physics::operator+ (const UnitT &a, const UnitT &b)
 Get the unit resulting from adding two quantities of the same unit.
template<unit UnitT>
requires (!UnitT::MagnitudeType::IS_ABSOLUTE)
consteval auto grem::physics::operator- (const UnitT &a, const UnitT &b)
 Get the unit resulting from subtracting two quantities of the same unit.
template<unit UnitT1, unit UnitlessT2>
requires (UnitlessT2::DIMENSION == DIMENSIONLESS && UnitlessT2::MagnitudeType::VALUE == 1.0l && !UnitlessT2::MagnitudeType::IS_ABSOLUTE)
consteval auto grem::physics::operator* (const UnitT1 &a, const UnitlessT2 &b)
 Get the unit resulting from multiplying a unit by a dimensionless unit with a magnitude of 1.
template<unit UnitlessT1, unit UnitT2>
requires (UnitlessT1::DIMENSION == DIMENSIONLESS && UnitlessT1::MagnitudeType::VALUE == 1.0l && !UnitlessT1::MagnitudeType::IS_ABSOLUTE)
consteval auto grem::physics::operator* (const UnitlessT1 &a, const UnitT2 &b)
 Get the unit resulting from multiplying a dimensionless unit with a magnitude of 1 with another unit.
template<unit UnitT1, unit UnitlessT2>
requires (UnitlessT2::DIMENSION == DIMENSIONLESS && UnitlessT2::MagnitudeType::VALUE == 1.0l && !UnitlessT2::MagnitudeType::IS_ABSOLUTE)
consteval auto grem::physics::operator/ (const UnitT1 &a, const UnitlessT2 &b)
 Get the unit resulting from dividing a unit by a dimensionless unit with a magnitude of 1.
template<long double Multiple, unit UnitT>
consteval auto grem::physics::multipleOf (UnitT a)
 Get the canonical unit corresponding to a given unit with its magnitude scaled by a given multiplier.
template<unit UnitT>
consteval auto grem::physics::relative (UnitT a)
 Get the canonical unit corresponding to a given unit with its magnitude made relative.
template<unit UnitT>
consteval auto grem::physics::absolute (UnitT a)
 Get the canonical unit corresponding to a given unit with its magnitude made absolute.
template<unit UnitT>
consteval auto grem::physics::sqrt (UnitT a)
 Get the canonical unit resulting from taking the square root of a quantity of a given unit.
template<unit UnitT>
consteval auto grem::physics::per (UnitT a)
 Get the canonical unit resulting from taking the multiplicative inverse of a quantity of a given unit.
template<unit UnitT>
consteval auto grem::physics::square (UnitT a)
 Get the canonical unit resulting from squaring a quantity of a given unit.
template<unit UnitT>
consteval auto grem::physics::cubic (UnitT a)
 Get the canonical unit resulting from taking the cube of a quantity of a given unit.
template<unit UnitT>
consteval auto grem::physics::kilo (UnitT a)
 Get the canonical unit corresponding to a given unit with its magnitude scaled by 1000.
template<unit UnitT>
consteval auto grem::physics::deci (UnitT a)
 Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/10.
template<unit UnitT>
consteval auto grem::physics::centi (UnitT a)
 Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/100.
template<unit UnitT>
consteval auto grem::physics::milli (UnitT a)
 Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/1000.
template<size_t N, typename UnitT, unit OtherUnitT>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator* (Quantity< N, UnitT > value, OtherUnitT)
template<unit OtherUnitT>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator* (detail::quantity_convertible auto value, OtherUnitT unit)
template<unit OtherUnitT, size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator* (OtherUnitT, Quantity< N, UnitT > value)
template<unit OtherUnitT>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator* (OtherUnitT unit, detail::quantity_convertible auto value)
template<size_t N, typename UnitT, unit OtherUnitT>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator/ (Quantity< N, UnitT > value, OtherUnitT)
template<unit OtherUnitT>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator/ (detail::quantity_convertible auto value, OtherUnitT unit)
template<unit OtherUnitT, size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator/ (OtherUnitT, Quantity< N, UnitT > value)
template<unit OtherUnitT>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator/ (OtherUnitT unit, detail::quantity_convertible auto value)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator+ (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator- (A a)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator+ (A a, B b)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr Quantity< N, UnitT > &GREM_VECTORCALL grem::physics::operator+= (Quantity< N, UnitT > &a, detail::quantity_convertible auto b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator- (A a, B b)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr Quantity< N, UnitT > &GREM_VECTORCALL grem::physics::operator-= (Quantity< N, UnitT > &a, detail::quantity_convertible auto b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator* (A a, B b)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr Quantity< N, UnitT > &GREM_VECTORCALL grem::physics::operator*= (Quantity< N, UnitT > &a, detail::quantity_convertible auto b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::operator/ (A a, B b)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr Quantity< N, UnitT > &GREM_VECTORCALL grem::physics::operator/= (Quantity< N, UnitT > &a, detail::quantity_convertible auto b)
template<size_t N1, typename UnitT1, size_t N2, typename UnitT2>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::min (Quantity< N1, UnitT1 > a, Quantity< N2, UnitT2 > b)
template<size_t N1, typename UnitT1, size_t N2, typename UnitT2>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::max (Quantity< N1, UnitT1 > a, Quantity< N2, UnitT2 > b)
template<size_t N1, typename UnitT1, size_t N2, typename UnitT2, size_t N3, typename UnitT3>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::clamp (Quantity< N1, UnitT1 > a, Quantity< N2, UnitT2 > b, Quantity< N3, UnitT3 > c)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::sum (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::product (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::minComponent (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::maxComponent (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::isfinite (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::isinf (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::isnan (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::signbit (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::sign (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::exp (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::exp2 (A a)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::pow (A a, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::fmod (A a, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::wrap (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::abs (A a)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::dot (A a, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::cross (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::sqrt (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::inversesqrt (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::length2 (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::length (A a)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::distance (A a, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::distance2 (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::getAngle (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::tryGetAngle (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::cos (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::sin (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::tan (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::acos (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::asin (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::atan (A a)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::atan2 (A a, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::tryDivide (A a, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::reflect (A a, B normal)
template<detail::quantity_ternary_operand_a A, detail::quantity_ternary_operand_b< A > B, detail::quantity_ternary_operand_c< A, B > C>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::lerp (A a, B b, C alpha)
template<detail::quantity_ternary_operand_a A, detail::quantity_ternary_operand_b< A > B, detail::quantity_ternary_operand_c< A, B > C>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::unlerp (A value, B minValue, C maxValue)
template<detail::quantity_ternary_operand_a A, detail::quantity_ternary_operand_b< A > B, detail::quantity_ternary_operand_c< A, B > C>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::mix (A a, B b, C alpha)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::step (A edge, B value)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::select (auto condition, A ifTrue, B ifFalse)
template<detail::quantity_ternary_operand_a A, detail::quantity_ternary_operand_b< A > B, detail::quantity_ternary_operand_c< A, B > C>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::moveTowards (A value, B targetValue, C amount)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B, typename Frequency, typename Duration>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::expDecay (A value, B targetValue, Frequency decayRate, Duration deltaTime)
template<detail::quantity_unary_operand A, typename Frequency, typename Duration>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::expDecay (A value, Frequency decayRate, Duration deltaTime)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::midpoint (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::round (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::floor (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::ceil (A a)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::equal (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::equal (A a, Zero)
template<detail::quantity_unary_operand B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::equal (Zero, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::notEqual (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::notEqual (A a, Zero)
template<detail::quantity_unary_operand B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::notEqual (Zero, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::lessThan (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::lessThan (A a, Zero)
template<detail::quantity_unary_operand B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::lessThan (Zero, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::lessThanEqual (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::lessThanEqual (A a, Zero)
template<detail::quantity_unary_operand B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::lessThanEqual (Zero, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::greaterThan (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::greaterThan (A a, Zero)
template<detail::quantity_unary_operand B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::greaterThan (Zero, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::greaterThanEqual (A a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::greaterThanEqual (A a, Zero)
template<detail::quantity_unary_operand B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::greaterThanEqual (Zero, B b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::clampLength (A value, B maxLength)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr auto grem::physics::inverse (Quantity< N, UnitT > a)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr auto grem::physics::inverse (const TensorQuantity< N, UnitT > &a)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr auto grem::physics::transpose (const TensorQuantity< N, UnitT > &a)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE constexpr auto grem::physics::inverseTranspose (const TensorQuantity< N, UnitT > &a)
template<size_t N, typename UnitT1, typename UnitT2>
GREM_ALWAYS_INLINE auto grem::physics::operator+ (const TensorQuantity< N, UnitT1 > &a, const TensorQuantity< N, UnitT2 > &b)
template<size_t N, typename UnitT1, typename UnitT2>
GREM_ALWAYS_INLINE auto grem::physics::operator- (const TensorQuantity< N, UnitT1 > &a, const TensorQuantity< N, UnitT2 > &b)
template<size_t N, typename UnitT1, typename UnitT2>
GREM_ALWAYS_INLINE auto grem::physics::operator* (const TensorQuantity< N, UnitT1 > &a, const TensorQuantity< N, UnitT2 > &b)
template<size_t N1, typename UnitT1, detail::quantity_convertible B>
GREM_ALWAYS_INLINE auto grem::physics::operator* (const TensorQuantity< N1, UnitT1 > &a, B b)
template<size_t N2, typename UnitT2, detail::quantity_convertible A>
GREM_ALWAYS_INLINE auto grem::physics::operator* (A a, const TensorQuantity< N2, UnitT2 > &b)
template<size_t N, typename UnitT1, typename UnitT2>
GREM_ALWAYS_INLINE auto grem::physics::dot (const TensorQuantity< N, UnitT1 > &a, const TensorQuantity< N, UnitT2 > &b)
template<detail::quantity_convertible A, size_t N2, typename UnitT2>
GREM_ALWAYS_INLINE auto grem::physics::cross (A a, const TensorQuantity< N2, UnitT2 > &b)
template<size_t N, typename UnitT>
decltype(auto) grem::physics::getNormalComponent (Quantity< N, UnitT > &v)
template<size_t N, typename UnitT>
decltype(auto) grem::physics::getNormalComponent (const Quantity< N, UnitT > &v)
template<size_t N, typename UnitT>
auto grem::physics::getTangentialComponent (const Quantity< N, UnitT > &v)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::flipSignIf (A a, bool b)
template<size_t N>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::flipSignIf (Direction< N > a, bool b)
template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B>
GREM_ALWAYS_INLINE auto GREM_VECTORCALL grem::physics::copysign (A a, B b)
template<size_t N, detail::quantity_binary_operand_b< Direction< N > > B>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::copysign (Direction< N > a, B b)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::normalize (A a)
template<size_t N>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::normalize (Direction< N > a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::tryNormalize (A a)
template<size_t N>
GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL grem::physics::tryNormalize (Direction< N > a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::rotate90DegreesCounterclockwise (A a)
GREM_ALWAYS_INLINE constexpr auto grem::physics::rotate90DegreesCounterclockwise (Direction2D a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::rotate90DegreesClockwise (A a)
GREM_ALWAYS_INLINE constexpr auto grem::physics::rotate90DegreesClockwise (Direction2D a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::flipX (A a)
template<size_t N>
GREM_ALWAYS_INLINE constexpr auto grem::physics::flipX (Direction< N > a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::flipY (A a)
template<size_t N>
requires (N >= 2)
GREM_ALWAYS_INLINE constexpr auto grem::physics::flipY (Direction< N > a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::flipZ (A a)
template<size_t N>
requires (N >= 3)
GREM_ALWAYS_INLINE constexpr auto grem::physics::flipZ (Direction< N > a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::decomposeMagnitudeDirection (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::tryDecomposeMagnitudeDirection (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::decomposeMagnitudeAngle (A a)
template<detail::quantity_unary_operand A>
GREM_ALWAYS_INLINE constexpr auto grem::physics::tryDecomposeMagnitudeAngle (A a)
template<size_t N>
GREM_ALWAYS_INLINE constexpr auto grem::physics::transpose (const OrthonormalBasis< N > &a)
template<size_t N>
GREM_ALWAYS_INLINE constexpr auto grem::physics::inverse (const OrthonormalBasis< N > &a)
template<size_t N>
GREM_ALWAYS_INLINE constexpr auto grem::physics::inverseTranspose (const OrthonormalBasis< N > &a)
GREM_ALWAYS_INLINE bool GREM_VECTORCALL grem::physics::isfinite (Orientation2D a)
GREM_ALWAYS_INLINE bvec4 GREM_VECTORCALL grem::physics::isfinite (Orientation3D a)
GREM_ALWAYS_INLINE bool GREM_VECTORCALL grem::physics::isinf (Orientation2D a)
GREM_ALWAYS_INLINE bvec4 GREM_VECTORCALL grem::physics::isinf (Orientation3D a)
GREM_ALWAYS_INLINE bool GREM_VECTORCALL grem::physics::isnan (Orientation2D a)
GREM_ALWAYS_INLINE bvec4 GREM_VECTORCALL grem::physics::isnan (Orientation3D a)
GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL grem::physics::inverse (Orientation2D a)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::inverse (Orientation3D a)
GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL grem::physics::operator+ (Orientation2D a, Rotation2D b)
GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL grem::physics::operator+ (Orientation2D a, Scale1D b)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::operator+ (Orientation3D a, Rotation3D b)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::operator+ (Orientation3D a, Scale3D b)
template<size_t N>
GREM_ALWAYS_INLINE Orientation< N > & grem::physics::operator+= (Orientation< N > &a, Rotation< N > b)
GREM_ALWAYS_INLINE Rotation2D GREM_VECTORCALL grem::physics::operator- (Orientation2D a, Orientation2D b)
GREM_ALWAYS_INLINE Rotation3D GREM_VECTORCALL grem::physics::operator- (Orientation3D a, Orientation3D b)
GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL grem::physics::operator- (Orientation2D a, Rotation2D b)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::operator- (Orientation3D a, Rotation3D b)
template<size_t N>
GREM_ALWAYS_INLINE Orientation< N > & grem::physics::operator-= (Orientation< N > &a, Rotation< N > b)
GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL grem::physics::operator* (Orientation2D a, Orientation2D b)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::operator* (Orientation3D a, Orientation3D b)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::slerp (Orientation3D a, Orientation3D b, Coefficient alpha)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::slerp (Orientation3D a, Orientation3D b, Scalar alpha)
GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL grem::physics::mix (Orientation2D a, Orientation2D b, Coefficient alpha)
GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL grem::physics::mix (Orientation2D a, Orientation2D b, Scalar alpha)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::mix (Orientation3D a, Orientation3D b, Coefficient alpha)
GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL grem::physics::mix (Orientation3D a, Orientation3D b, Scalar alpha)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE Basis< N > grem::physics::scale (Quantity< N, UnitT > s)
GREM_ALWAYS_INLINE OrthonormalBasis2D grem::physics::rotate (RollRotation r)
GREM_ALWAYS_INLINE OrthonormalBasis3D grem::physics::rotate (PitchYawRotations r)
GREM_ALWAYS_INLINE OrthonormalBasis3D grem::physics::rotate (PitchYawRollRotations r)
template<size_t N>
GREM_ALWAYS_INLINE OrthonormalBasis< N > grem::physics::rotate (Orientation< N > r)
GREM_ALWAYS_INLINE OrthonormalBasis2D grem::physics::rotate (Roll angle)
GREM_ALWAYS_INLINE OrthonormalBasis3D grem::physics::rotate (PitchYaw angles)
GREM_ALWAYS_INLINE OrthonormalBasis3D grem::physics::rotate (PitchYawRoll angles)
template<size_t N, typename UnitT>
GREM_ALWAYS_INLINE TensorQuantity< N, UnitT > grem::physics::rotateScale (Orientation< N > r, Quantity< N, UnitT > s)
GREM_ALWAYS_INLINE AbsoluteAngle grem::physics::getAngle (Orientation2D orientation)
GREM_ALWAYS_INLINE AbsoluteAngle grem::physics::getAngle (Orientation3D orientation)
GREM_ALWAYS_INLINE Direction3D grem::physics::getAxis (Orientation3D orientation)
GREM_ALWAYS_INLINE AbsoluteAngle grem::physics::getPitch (Orientation3D orientation)
GREM_ALWAYS_INLINE AbsoluteAngle grem::physics::getYaw (Orientation3D orientation)
GREM_ALWAYS_INLINE AbsoluteAngle grem::physics::getRoll (Orientation2D orientation)
GREM_ALWAYS_INLINE AbsoluteAngle grem::physics::getRoll (Orientation3D orientation)
GREM_ALWAYS_INLINE PitchYawRoll grem::physics::getPitchYawRoll (Orientation3D orientation)
GREM_ALWAYS_INLINE Direction2D grem::physics::convertAnglesToForwardDirection (Roll angles)
GREM_ALWAYS_INLINE Direction3D grem::physics::convertAnglesToForwardDirection (PitchYaw angles)
GREM_ALWAYS_INLINE Direction3D grem::physics::convertAnglesToForwardDirection (PitchYawRoll angles)
GREM_ALWAYS_INLINE Roll grem::physics::convertForwardDirectionToAngles (Direction2D forward)
GREM_ALWAYS_INLINE PitchYaw grem::physics::convertForwardDirectionToAngles (Direction3D forward)
Angle grem::physics::getAngleDifference (AbsoluteAngle a, AbsoluteAngle b)
 Get the smallest signed angle between two absolute angles.
template<typename UnitT>
requires (!UnitT::MagnitudeType::IS_ABSOLUTE)
Angle grem::physics::getAngleDifferenceAroundAxis (Direction3D axis, Quantity< 3, UnitT > a, Quantity< 3, UnitT > b)
 Get the smallest signed angle around an axis between two relative vectors.
template<size_t N>
GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL grem::physics::translateRotateScale (Length< N > localOffset, Orientation< N > localOrientation, Scale< N > localScale)
GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL grem::physics::translateRotateScale (Length3D localOffset, qua< float > localOrientation, Scale3D localScale)
GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL grem::physics::translateRotateScale (Length3D localOffset, qua< double > localOrientation, Scale3D localScale)
template<size_t N>
GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL grem::physics::translateRotate (Length< N > localOffset, Orientation< N > localOrientation)
GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL grem::physics::translateRotate (Length3D localOffset, qua< float > localOrientation)
GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL grem::physics::translateRotate (Length3D localOffset, qua< double > localOrientation)
template<size_t N>
GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL grem::physics::translateScale (Length< N > localOffset, Scale< N > localScale)
template<size_t N>
GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL grem::physics::translate (Length< N > localOffset)
template<size_t N>
GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL grem::physics::translateRotateScale (Position< N > position, Orientation< N > orientation, Scale< N > scale)
GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL grem::physics::translateRotateScale (Position3D position, qua< float > orientation, Scale3D scale)
GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL grem::physics::translateRotateScale (Position3D position, qua< double > orientation, Scale3D scale)
template<size_t N>
GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL grem::physics::translateRotate (Position< N > position, Orientation< N > orientation)
GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL grem::physics::translateRotate (Position3D position, qua< float > orientation)
GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL grem::physics::translateRotate (Position3D position, qua< double > orientation)
template<size_t N>
GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL grem::physics::translateScale (Position< N > position, Scale< N > scale)
template<size_t N>
GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL grem::physics::translate (Position< N > position)
template<size_t N>
GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL grem::physics::inverseTranslateRotateScale (Length< N > localOffset, Orientation< N > localOrientation, Scale< N > localScale)
GREM_ALWAYS_INLINE InverseLocalTransformation< 3 > GREM_VECTORCALL grem::physics::inverseTranslateRotateScale (Length3D localOffset, qua< float > localOrientation, Scale3D localScale)
GREM_ALWAYS_INLINE InverseLocalTransformation< 3 > GREM_VECTORCALL grem::physics::inverseTranslateRotateScale (Length3D localOffset, qua< double > localOrientation, Scale3D localScale)
template<size_t N>
GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL grem::physics::inverseTranslateRotate (Length< N > localOffset, Orientation< N > localOrientation)
GREM_ALWAYS_INLINE InverseLocalTransformation3D GREM_VECTORCALL grem::physics::inverseTranslateRotate (Length3D localOffset, qua< float > localOrientation)
GREM_ALWAYS_INLINE InverseLocalTransformation3D GREM_VECTORCALL grem::physics::inverseTranslateRotate (Length3D localOffset, qua< double > localOrientation)
template<size_t N>
GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL grem::physics::inverseTranslateScale (Length< N > localOffset, Scale< N > localScale)
template<size_t N>
GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL grem::physics::inverseTranslate (Length< N > localOffset)
template<size_t N>
GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL grem::physics::inverse (InverseLocalTransformation< N > a)
template<size_t N>
GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL grem::physics::inverse (LocalTransformation< N > a)
template<size_t N>
GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL grem::physics::inverseTranslateRotateScale (Position< N > position, Orientation< N > orientation, Scale< N > scale)
GREM_ALWAYS_INLINE InverseTransformation< 3 > GREM_VECTORCALL grem::physics::inverseTranslateRotateScale (Position3D position, qua< float > orientation, Scale3D scale)
GREM_ALWAYS_INLINE InverseTransformation< 3 > GREM_VECTORCALL grem::physics::inverseTranslateRotateScale (Position3D position, qua< double > orientation, Scale3D scale)
template<size_t N>
GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL grem::physics::inverseTranslateRotate (Position< N > position, Orientation< N > orientation)
GREM_ALWAYS_INLINE InverseTransformation< 3 > GREM_VECTORCALL grem::physics::inverseTranslateRotate (Position3D position, qua< float > orientation)
GREM_ALWAYS_INLINE InverseTransformation< 3 > GREM_VECTORCALL grem::physics::inverseTranslateRotate (Position3D position, qua< double > orientation)
template<size_t N>
GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL grem::physics::inverseTranslateScale (Position< N > position, Scale< N > scale)
template<size_t N>
GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL grem::physics::inverseTranslate (Position< N > position)
template<size_t N>
GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL grem::physics::inverse (InverseTransformation< N > a)
template<size_t N>
GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL grem::physics::inverse (Transformation< N > a)
GREM_ALWAYS_INLINE LocalTransformation2D GREM_VECTORCALL grem::physics::operator* (LocalTransformation2D a, LocalTransformation2D b)
GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL grem::physics::operator* (LocalTransformation3D a, LocalTransformation3D b)
GREM_ALWAYS_INLINE Transformation2D GREM_VECTORCALL grem::physics::operator* (Transformation2D a, LocalTransformation2D b)
GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL grem::physics::operator* (Transformation3D a, LocalTransformation3D b)
consteval Coefficient grem::physics::literals::operator""_x (long double value)
consteval Coefficient grem::physics::literals::operator""_x (unsigned long long value)
consteval Coefficient grem::physics::literals::operator""_percent (long double value)
consteval Coefficient grem::physics::literals::operator""_percent (unsigned long long value)
consteval Angle grem::physics::literals::operator""_radians (long double value)
consteval Angle grem::physics::literals::operator""_radians (unsigned long long value)
consteval Angle grem::physics::literals::operator""_radian (long double value)
consteval Angle grem::physics::literals::operator""_radian (unsigned long long value)
consteval Angle grem::physics::literals::operator""_degrees (long double value)
consteval Angle grem::physics::literals::operator""_degrees (unsigned long long value)
consteval Angle grem::physics::literals::operator""_degree (long double value)
consteval Angle grem::physics::literals::operator""_degree (unsigned long long value)
consteval Angle grem::physics::literals::operator""_turns (long double value)
consteval Angle grem::physics::literals::operator""_turns (unsigned long long value)
consteval Angle grem::physics::literals::operator""_turn (long double value)
consteval Angle grem::physics::literals::operator""_turn (unsigned long long value)
consteval Mass grem::physics::literals::operator""_kilograms (long double value)
consteval Mass grem::physics::literals::operator""_kilograms (unsigned long long value)
consteval Mass grem::physics::literals::operator""_kilogram (long double value)
consteval Mass grem::physics::literals::operator""_kilogram (unsigned long long value)
consteval Mass grem::physics::literals::operator""_grams (long double value)
consteval Mass grem::physics::literals::operator""_grams (unsigned long long value)
consteval Mass grem::physics::literals::operator""_gram (long double value)
consteval Mass grem::physics::literals::operator""_gram (unsigned long long value)
consteval Distance grem::physics::literals::operator""_meters (long double value)
consteval Distance grem::physics::literals::operator""_meters (unsigned long long value)
consteval Distance grem::physics::literals::operator""_meter (long double value)
consteval Distance grem::physics::literals::operator""_meter (unsigned long long value)
consteval Distance grem::physics::literals::operator""_kilometers (long double value)
consteval Distance grem::physics::literals::operator""_kilometers (unsigned long long value)
consteval Distance grem::physics::literals::operator""_kilometer (long double value)
consteval Distance grem::physics::literals::operator""_kilometer (unsigned long long value)
consteval Distance grem::physics::literals::operator""_decimeters (long double value)
consteval Distance grem::physics::literals::operator""_decimeters (unsigned long long value)
consteval Distance grem::physics::literals::operator""_decimeter (long double value)
consteval Distance grem::physics::literals::operator""_decimeter (unsigned long long value)
consteval Distance grem::physics::literals::operator""_centimeters (long double value)
consteval Distance grem::physics::literals::operator""_centimeters (unsigned long long value)
consteval Distance grem::physics::literals::operator""_centimeter (long double value)
consteval Distance grem::physics::literals::operator""_centimeter (unsigned long long value)
consteval Distance grem::physics::literals::operator""_millimeters (long double value)
consteval Distance grem::physics::literals::operator""_millimeters (unsigned long long value)
consteval Distance grem::physics::literals::operator""_millimeter (long double value)
consteval Distance grem::physics::literals::operator""_millimeter (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_meters (long double value)
consteval Area grem::physics::literals::operator""_square_meters (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_meter (long double value)
consteval Area grem::physics::literals::operator""_square_meter (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_kilometers (long double value)
consteval Area grem::physics::literals::operator""_square_kilometers (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_kilometer (long double value)
consteval Area grem::physics::literals::operator""_square_kilometer (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_decimeters (long double value)
consteval Area grem::physics::literals::operator""_square_decimeters (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_decimeter (long double value)
consteval Area grem::physics::literals::operator""_square_decimeter (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_centimeters (long double value)
consteval Area grem::physics::literals::operator""_square_centimeters (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_centimeter (long double value)
consteval Area grem::physics::literals::operator""_square_centimeter (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_millimeters (long double value)
consteval Area grem::physics::literals::operator""_square_millimeters (unsigned long long value)
consteval Area grem::physics::literals::operator""_square_millimeter (long double value)
consteval Area grem::physics::literals::operator""_square_millimeter (unsigned long long value)
consteval Volume grem::physics::literals::operator""_cubic_meters (long double value)
consteval Volume grem::physics::literals::operator""_cubic_meters (unsigned long long value)
consteval Volume grem::physics::literals::operator""_cubic_meter (long double value)
consteval Volume grem::physics::literals::operator""_cubic_meter (unsigned long long value)
consteval Volume grem::physics::literals::operator""_liters (long double value)
consteval Volume grem::physics::literals::operator""_liters (unsigned long long value)
consteval Volume grem::physics::literals::operator""_liter (long double value)
consteval Volume grem::physics::literals::operator""_liter (unsigned long long value)
consteval Volume grem::physics::literals::operator""_deciliters (long double value)
consteval Volume grem::physics::literals::operator""_deciliters (unsigned long long value)
consteval Volume grem::physics::literals::operator""_deciliter (long double value)
consteval Volume grem::physics::literals::operator""_deciliter (unsigned long long value)
consteval Volume grem::physics::literals::operator""_centiliters (long double value)
consteval Volume grem::physics::literals::operator""_centiliters (unsigned long long value)
consteval Volume grem::physics::literals::operator""_centiliter (long double value)
consteval Volume grem::physics::literals::operator""_centiliter (unsigned long long value)
consteval Volume grem::physics::literals::operator""_milliliters (long double value)
consteval Volume grem::physics::literals::operator""_milliliters (unsigned long long value)
consteval Volume grem::physics::literals::operator""_milliliter (long double value)
consteval Volume grem::physics::literals::operator""_milliliter (unsigned long long value)
consteval Density grem::physics::literals::operator""_kilograms_per_cubic_meter (long double value)
consteval Density grem::physics::literals::operator""_kilograms_per_cubic_meter (unsigned long long value)
consteval Density grem::physics::literals::operator""_kilogram_per_cubic_meter (long double value)
consteval Density grem::physics::literals::operator""_kilogram_per_cubic_meter (unsigned long long value)
consteval Density grem::physics::literals::operator""_grams_per_cubic_centimeter (long double value)
consteval Density grem::physics::literals::operator""_grams_per_cubic_centimeter (unsigned long long value)
consteval Density grem::physics::literals::operator""_gram_per_cubic_centimeter (long double value)
consteval Density grem::physics::literals::operator""_gram_per_cubic_centimeter (unsigned long long value)
consteval Frequency grem::physics::literals::operator""_Hertz (long double value)
consteval Frequency grem::physics::literals::operator""_Hertz (unsigned long long value)
consteval Frequency grem::physics::literals::operator""_per_second (long double value)
consteval Frequency grem::physics::literals::operator""_per_second (unsigned long long value)
consteval Frequency grem::physics::literals::operator""_per_millisecond (long double value)
consteval Frequency grem::physics::literals::operator""_per_millisecond (unsigned long long value)
consteval Frequency grem::physics::literals::operator""_per_minute (long double value)
consteval Frequency grem::physics::literals::operator""_per_minute (unsigned long long value)
consteval Frequency grem::physics::literals::operator""_per_hour (long double value)
consteval Frequency grem::physics::literals::operator""_per_hour (unsigned long long value)
consteval LinearAbsement1D grem::physics::literals::operator""_meter_seconds (long double value)
consteval LinearAbsement1D grem::physics::literals::operator""_meter_seconds (unsigned long long value)
consteval LinearAbsement1D grem::physics::literals::operator""_meter_second (long double value)
consteval LinearAbsement1D grem::physics::literals::operator""_meter_second (unsigned long long value)
consteval Wavenumber grem::physics::literals::operator""_per_meter (long double value)
consteval Wavenumber grem::physics::literals::operator""_per_meter (unsigned long long value)
consteval Speed grem::physics::literals::operator""_meters_per_second (long double value)
consteval Speed grem::physics::literals::operator""_meters_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_meter_per_second (long double value)
consteval Speed grem::physics::literals::operator""_meter_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_kilometers_per_second (long double value)
consteval Speed grem::physics::literals::operator""_kilometers_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_kilometer_per_second (long double value)
consteval Speed grem::physics::literals::operator""_kilometer_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_decimeters_per_second (long double value)
consteval Speed grem::physics::literals::operator""_decimeters_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_decimeter_per_second (long double value)
consteval Speed grem::physics::literals::operator""_decimeter_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_centimeters_per_second (long double value)
consteval Speed grem::physics::literals::operator""_centimeters_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_centimeter_per_second (long double value)
consteval Speed grem::physics::literals::operator""_centimeter_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_millimeters_per_second (long double value)
consteval Speed grem::physics::literals::operator""_millimeters_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_millimeter_per_second (long double value)
consteval Speed grem::physics::literals::operator""_millimeter_per_second (unsigned long long value)
consteval Speed grem::physics::literals::operator""_kilometers_per_hour (long double value)
consteval Speed grem::physics::literals::operator""_kilometers_per_hour (unsigned long long value)
consteval Speed grem::physics::literals::operator""_kilometer_per_hour (long double value)
consteval Speed grem::physics::literals::operator""_kilometer_per_hour (unsigned long long value)
consteval Acceleration grem::physics::literals::operator""_meters_per_second_squared (long double value)
consteval Acceleration grem::physics::literals::operator""_meters_per_second_squared (unsigned long long value)
consteval Acceleration grem::physics::literals::operator""_meter_per_second_squared (long double value)
consteval Acceleration grem::physics::literals::operator""_meter_per_second_squared (unsigned long long value)
consteval Force1D grem::physics::literals::operator""_Newton (long double value)
consteval Force1D grem::physics::literals::operator""_Newton (unsigned long long value)
consteval Force1D grem::physics::literals::operator""_kilogram_meters_per_second_squared (long double value)
consteval Force1D grem::physics::literals::operator""_kilogram_meters_per_second_squared (unsigned long long value)
consteval Force1D grem::physics::literals::operator""_kilogram_meter_per_second_squared (long double value)
consteval Force1D grem::physics::literals::operator""_kilogram_meter_per_second_squared (unsigned long long value)
consteval Torque2D grem::physics::literals::operator""_Newton_meters (long double value)
consteval Torque2D grem::physics::literals::operator""_Newton_meters (unsigned long long value)
consteval Torque2D grem::physics::literals::operator""_Newton_meter (long double value)
consteval Torque2D grem::physics::literals::operator""_Newton_meter (unsigned long long value)
consteval Torque2D grem::physics::literals::operator""_kilogram_square_meters_per_second_squared (long double value)
consteval Torque2D grem::physics::literals::operator""_kilogram_square_meters_per_second_squared (unsigned long long value)
consteval Torque2D grem::physics::literals::operator""_kilogram_square_meter_per_second_squared (long double value)
consteval Torque2D grem::physics::literals::operator""_kilogram_square_meter_per_second_squared (unsigned long long value)
consteval Impulse grem::physics::literals::operator""_Newton_seconds (long double value)
consteval Impulse grem::physics::literals::operator""_Newton_seconds (unsigned long long value)
consteval Impulse grem::physics::literals::operator""_Newton_second (long double value)
consteval Impulse grem::physics::literals::operator""_Newton_second (unsigned long long value)
consteval Momentum grem::physics::literals::operator""_kilogram_meters_per_second (long double value)
consteval Momentum grem::physics::literals::operator""_kilogram_meters_per_second (unsigned long long value)
consteval Momentum grem::physics::literals::operator""_kilogram_meter_per_second (long double value)
consteval Momentum grem::physics::literals::operator""_kilogram_meter_per_second (unsigned long long value)
consteval MomentOfInertia2D grem::physics::literals::operator""_kilogram_square_meters (long double value)
consteval MomentOfInertia2D grem::physics::literals::operator""_kilogram_square_meters (unsigned long long value)
consteval MomentOfInertia2D grem::physics::literals::operator""_kilogram_square_meter (long double value)
consteval MomentOfInertia2D grem::physics::literals::operator""_kilogram_square_meter (unsigned long long value)
consteval AngularAbsement2D grem::physics::literals::operator""_radian_seconds (long double value)
consteval AngularAbsement2D grem::physics::literals::operator""_radian_seconds (unsigned long long value)
consteval AngularAbsement2D grem::physics::literals::operator""_radian_second (long double value)
consteval AngularAbsement2D grem::physics::literals::operator""_radian_second (unsigned long long value)
consteval AngularAbsement2D grem::physics::literals::operator""_degree_seconds (long double value)
consteval AngularAbsement2D grem::physics::literals::operator""_degree_seconds (unsigned long long value)
consteval AngularAbsement2D grem::physics::literals::operator""_degree_second (long double value)
consteval AngularAbsement2D grem::physics::literals::operator""_degree_second (unsigned long long value)
consteval AngularAbsement2D grem::physics::literals::operator""_turn_seconds (long double value)
consteval AngularAbsement2D grem::physics::literals::operator""_turn_seconds (unsigned long long value)
consteval AngularAbsement2D grem::physics::literals::operator""_turn_second (long double value)
consteval AngularAbsement2D grem::physics::literals::operator""_turn_second (unsigned long long value)
consteval AngularVelocity2D grem::physics::literals::operator""_radians_per_second (long double value)
consteval AngularVelocity2D grem::physics::literals::operator""_radians_per_second (unsigned long long value)
consteval AngularVelocity2D grem::physics::literals::operator""_radian_per_second (long double value)
consteval AngularVelocity2D grem::physics::literals::operator""_radian_per_second (unsigned long long value)
consteval AngularVelocity2D grem::physics::literals::operator""_degrees_per_second (long double value)
consteval AngularVelocity2D grem::physics::literals::operator""_degrees_per_second (unsigned long long value)
consteval AngularVelocity2D grem::physics::literals::operator""_degree_per_second (long double value)
consteval AngularVelocity2D grem::physics::literals::operator""_degree_per_second (unsigned long long value)
consteval AngularVelocity2D grem::physics::literals::operator""_turns_per_second (long double value)
consteval AngularVelocity2D grem::physics::literals::operator""_turns_per_second (unsigned long long value)
consteval AngularVelocity2D grem::physics::literals::operator""_turn_per_second (long double value)
consteval AngularVelocity2D grem::physics::literals::operator""_turn_per_second (unsigned long long value)
consteval AngularVelocity2D grem::physics::literals::operator""_revolutions_per_minute (long double value)
consteval AngularVelocity2D grem::physics::literals::operator""_revolutions_per_minute (unsigned long long value)
consteval AngularVelocity2D grem::physics::literals::operator""_revolution_per_minute (long double value)
consteval AngularVelocity2D grem::physics::literals::operator""_revolution_per_minute (unsigned long long value)
consteval AngularAcceleration2D grem::physics::literals::operator""_radians_per_second_squared (long double value)
consteval AngularAcceleration2D grem::physics::literals::operator""_radians_per_second_squared (unsigned long long value)
consteval AngularAcceleration2D grem::physics::literals::operator""_radian_per_second_squared (long double value)
consteval AngularAcceleration2D grem::physics::literals::operator""_radian_per_second_squared (unsigned long long value)
consteval LinearViscousDamping grem::physics::literals::operator""_Newton_seconds_per_meter (long double value)
consteval LinearViscousDamping grem::physics::literals::operator""_Newton_seconds_per_meter (unsigned long long value)
consteval LinearViscousDamping grem::physics::literals::operator""_Newton_second_per_meter (long double value)
consteval LinearViscousDamping grem::physics::literals::operator""_Newton_second_per_meter (unsigned long long value)
consteval AngularViscousDamping grem::physics::literals::operator""_Newton_meter_seconds_per_radian (long double value)
consteval AngularViscousDamping grem::physics::literals::operator""_Newton_meter_seconds_per_radian (unsigned long long value)
consteval AngularViscousDamping grem::physics::literals::operator""_Newton_meter_second_per_radian (long double value)
consteval AngularViscousDamping grem::physics::literals::operator""_Newton_meter_second_per_radian (unsigned long long value)
consteval MassFlowRate grem::physics::literals::operator""_kilograms_per_second (long double value)
consteval MassFlowRate grem::physics::literals::operator""_kilograms_per_second (unsigned long long value)
consteval MassFlowRate grem::physics::literals::operator""_kilogram_per_second (long double value)
consteval MassFlowRate grem::physics::literals::operator""_kilogram_per_second (unsigned long long value)
consteval VolumetricFlowRate grem::physics::literals::operator""_cubic_meters_per_second (long double value)
consteval VolumetricFlowRate grem::physics::literals::operator""_cubic_meters_per_second (unsigned long long value)
consteval VolumetricFlowRate grem::physics::literals::operator""_cubic_meter_per_second (long double value)
consteval VolumetricFlowRate grem::physics::literals::operator""_cubic_meter_per_second (unsigned long long value)
consteval Power grem::physics::literals::operator""_Watts (long double value)
consteval Power grem::physics::literals::operator""_Watts (unsigned long long value)
consteval Power grem::physics::literals::operator""_Watt (long double value)
consteval Power grem::physics::literals::operator""_Watt (unsigned long long value)
consteval Power grem::physics::literals::operator""_kilowatts (long double value)
consteval Power grem::physics::literals::operator""_kilowatts (unsigned long long value)
consteval Power grem::physics::literals::operator""_kilowatt (long double value)
consteval Power grem::physics::literals::operator""_kilowatt (unsigned long long value)
consteval Power grem::physics::literals::operator""_megawatts (long double value)
consteval Power grem::physics::literals::operator""_megawatts (unsigned long long value)
consteval Power grem::physics::literals::operator""_megawatt (long double value)
consteval Power grem::physics::literals::operator""_megawatt (unsigned long long value)
consteval Energy grem::physics::literals::operator""_Joules (long double value)
consteval Energy grem::physics::literals::operator""_Joules (unsigned long long value)
consteval Energy grem::physics::literals::operator""_Joule (long double value)
consteval Energy grem::physics::literals::operator""_Joule (unsigned long long value)
consteval Energy grem::physics::literals::operator""_kilojoules (long double value)
consteval Energy grem::physics::literals::operator""_kilojoules (unsigned long long value)
consteval Energy grem::physics::literals::operator""_kilojoule (long double value)
consteval Energy grem::physics::literals::operator""_kilojoule (unsigned long long value)
consteval Energy grem::physics::literals::operator""_megajoules (long double value)
consteval Energy grem::physics::literals::operator""_megajoules (unsigned long long value)
consteval Energy grem::physics::literals::operator""_megajoule (long double value)
consteval Energy grem::physics::literals::operator""_megajoule (unsigned long long value)
consteval Energy grem::physics::literals::operator""_kilowatt_hours (long double value)
consteval Energy grem::physics::literals::operator""_kilowatt_hours (unsigned long long value)
consteval Energy grem::physics::literals::operator""_kilowatt_hour (long double value)
consteval Energy grem::physics::literals::operator""_kilowatt_hour (unsigned long long value)
consteval Energy grem::physics::literals::operator""_megawatt_hours (long double value)
consteval Energy grem::physics::literals::operator""_megawatt_hours (unsigned long long value)
consteval Energy grem::physics::literals::operator""_megawatt_hour (long double value)
consteval Energy grem::physics::literals::operator""_megawatt_hour (unsigned long long value)
consteval Stiffness grem::physics::literals::operator""_Newton_per_meter (long double value)
consteval Stiffness grem::physics::literals::operator""_Newton_per_meter (unsigned long long value)
consteval Stiffness grem::physics::literals::operator""_Newton_per_millimeter (long double value)
consteval Stiffness grem::physics::literals::operator""_Newton_per_millimeter (unsigned long long value)
consteval Compliance grem::physics::literals::operator""_meters_per_Newton (long double value)
consteval Compliance grem::physics::literals::operator""_meters_per_Newton (unsigned long long value)
consteval Compliance grem::physics::literals::operator""_meter_per_Newton (long double value)
consteval Compliance grem::physics::literals::operator""_meter_per_Newton (unsigned long long value)
consteval Compliance grem::physics::literals::operator""_millimeters_per_Newton (long double value)
consteval Compliance grem::physics::literals::operator""_millimeters_per_Newton (unsigned long long value)
consteval Compliance grem::physics::literals::operator""_millimeter_per_Newton (long double value)
consteval Compliance grem::physics::literals::operator""_millimeter_per_Newton (unsigned long long value)
template<typename T, typename Low, typename High>
requires (requires(T v, Low l) { v < l; } && requires(T v, High h) { h < v; })
GREM_ALWAYS_INLINE constexpr decltype(auto) grem::physics::clamp (T &&value, Low &&minValue, High &&maxValue)
 Clamp a value to a specific interval.
template<typename A, typename B>
requires (requires(A x, B y) { x < y; })
GREM_ALWAYS_INLINE constexpr decltype(auto) grem::physics::max (A &&a, B &&b)
 Get the greater of two values, or the first value if they are equivalent.
template<typename A, typename B>
requires (requires(A x, B y) { x < y; })
GREM_ALWAYS_INLINE constexpr decltype(auto) grem::physics::min (A &&a, B &&b)
 Get the smaller of two values, or the first value if they are equivalent.
template<typename T>
GREM_ALWAYS_INLINE constexpr T grem::physics::select (bool condition, T ifTrue, T ifFalse)
 Choose between two values based on a condition.

Variables

constexpr Dimension< 0, 0, 0 > grem::physics::DIMENSIONLESS {}
 Identity dimension.
constexpr Dimension< 1, 0, 0 > grem::physics::MASS {}
 M.
constexpr Dimension< 0, 1, 0 > grem::physics::LENGTH {}
 L.
constexpr Dimension< 0, 0, 1 > grem::physics::TIME {}
 T.
constexpr Dimension grem::physics::ANGLE = DIMENSIONLESS
constexpr Dimension grem::physics::AREA = LENGTH * LENGTH
 L^2.
constexpr Dimension grem::physics::VOLUME = LENGTH * LENGTH * LENGTH
 L^3.
constexpr Dimension grem::physics::DENSITY = MASS / VOLUME
 M L^-3.
constexpr Dimension grem::physics::FREQUENCY = DIMENSIONLESS / TIME
 T^-1.
constexpr Dimension grem::physics::ABSEMENT = LENGTH * TIME
 L T.
constexpr Dimension grem::physics::WAVENUMBER = DIMENSIONLESS / LENGTH
 L^-1.
constexpr Dimension grem::physics::VELOCITY = LENGTH / TIME
 L T^-1.
constexpr Dimension grem::physics::ACCELERATION = VELOCITY / TIME
 L T^-2.
constexpr Dimension grem::physics::FORCE = MASS * ACCELERATION
 M L T^-2.
constexpr Dimension grem::physics::TORQUE = FORCE * LENGTH
 M L^2 T^-2.
constexpr Dimension grem::physics::IMPULSE = FORCE * TIME
 M L T^-1.
constexpr Dimension grem::physics::MOMENTUM = MASS * VELOCITY
 M L T^-1.
constexpr Dimension grem::physics::MOMENT_OF_INERTIA = MASS * LENGTH * LENGTH
 M L^2.
constexpr Dimension grem::physics::ANGULAR_ABSEMENT = ANGLE * TIME
 T.
constexpr Dimension grem::physics::ANGULAR_VELOCITY = ANGLE / TIME
 T^-1.
constexpr Dimension grem::physics::ANGULAR_ACCELERATION = ANGULAR_VELOCITY / TIME
 T^-2.
constexpr Dimension grem::physics::ANGULAR_IMPULSE = TORQUE * TIME
 M L^2 T^-1.
constexpr Dimension grem::physics::ANGULAR_MOMENTUM = MOMENT_OF_INERTIA * ANGULAR_VELOCITY
 M L^2 T^-1.
constexpr Dimension grem::physics::INTEGRATED_POSITIONAL_IMPULSE = IMPULSE * TIME
 M L.
constexpr Dimension grem::physics::INTEGRATED_POSITIONAL_MOMENTUM = MOMENTUM * TIME
 M L.
constexpr Dimension grem::physics::INTEGRATED_ROTATIONAL_IMPULSE = ANGULAR_IMPULSE * TIME
 M L^2.
constexpr Dimension grem::physics::INTEGRATED_ROTATIONAL_MOMENTUM = ANGULAR_MOMENTUM * TIME
 M L^2.
constexpr Dimension grem::physics::MASS_FLOW_RATE = MASS / TIME
 M T^-1.
constexpr Dimension grem::physics::VOLUMETRIC_FLOW_RATE = VOLUME / TIME
 L^3 T^-1.
constexpr Dimension grem::physics::WORK = FORCE * LENGTH
 M L^2 T^-2.
constexpr Dimension grem::physics::POWER = WORK / TIME
 M L^2 T^-3.
constexpr Dimension grem::physics::ENERGY = POWER * TIME
 M L^2 T^-2.
template<Dimension D>
constexpr SIUnit< D > grem::physics::SI_UNIT {}
 The canonical relative SI unit for a given dimension.
constexpr ComponentSwizzle< 0 > grem::physics::X {}
 Tag specifying the X component at index 0 of a vector.
constexpr ComponentSwizzle< 1 > grem::physics::Y {}
 Tag specifying the Y component at index 1 of a vector.
constexpr ComponentSwizzle< 2 > grem::physics::Z {}
 Tag specifying the Z component at index 2 of a vector.
template<typename UnitT>
constexpr Quantity< 1, UnitT > grem::physics::Quantity< 1, UnitT >::MIN {Limits<Scalar>::MIN}
template<typename UnitT>
constexpr Quantity< 1, UnitT > grem::physics::Quantity< 1, UnitT >::MAX {Limits<Scalar>::MAX}
template<typename UnitT>
constexpr Quantity< 1, UnitT > grem::physics::Quantity< 1, UnitT >::SMALLEST_NORMAL {Limits<Scalar>::SMALLEST_NORMAL}
template<typename UnitT>
constexpr Quantity< 1, UnitT > grem::physics::Quantity< 1, UnitT >::SMALLEST_SUBNORMAL {Limits<Scalar>::SMALLEST_SUBNORMAL}
template<typename UnitT>
constexpr Quantity< 1, UnitT > grem::physics::Quantity< 1, UnitT >::MACHINE_EPSILON {Limits<Scalar>::MACHINE_EPSILON}
template<typename UnitT>
constexpr Quantity< 1, UnitT > grem::physics::Quantity< 1, UnitT >::INF {Limits<Scalar>::INF}
template<typename UnitT>
constexpr Quantity< 1, UnitT > grem::physics::Quantity< 1, UnitT >::QUIET_NAN {Limits<Scalar>::QUIET_NAN}
template<typename UnitT>
constexpr Quantity< 2, UnitT > grem::physics::Quantity< 2, UnitT >::MIN {vec<2, Scalar>{Limits<Scalar>::MIN}}
template<typename UnitT>
constexpr Quantity< 2, UnitT > grem::physics::Quantity< 2, UnitT >::MAX {vec<2, Scalar>{Limits<Scalar>::MAX}}
template<typename UnitT>
constexpr Quantity< 2, UnitT > grem::physics::Quantity< 2, UnitT >::SMALLEST_NORMAL {vec<2, Scalar>{Limits<Scalar>::SMALLEST_NORMAL}}
template<typename UnitT>
constexpr Quantity< 2, UnitT > grem::physics::Quantity< 2, UnitT >::SMALLEST_SUBNORMAL {vec<2, Scalar>{Limits<Scalar>::SMALLEST_SUBNORMAL}}
template<typename UnitT>
constexpr Quantity< 2, UnitT > grem::physics::Quantity< 2, UnitT >::MACHINE_EPSILON {vec<2, Scalar>{Limits<Scalar>::MACHINE_EPSILON}}
template<typename UnitT>
constexpr Quantity< 2, UnitT > grem::physics::Quantity< 2, UnitT >::INF {vec<2, Scalar>{Limits<Scalar>::INF}}
template<typename UnitT>
constexpr Quantity< 2, UnitT > grem::physics::Quantity< 2, UnitT >::QUIET_NAN {vec<2, Scalar>{Limits<Scalar>::QUIET_NAN}}
template<typename UnitT>
constexpr Quantity< 3, UnitT > grem::physics::Quantity< 3, UnitT >::MIN {vec<3, Scalar>{Limits<Scalar>::MIN}}
template<typename UnitT>
constexpr Quantity< 3, UnitT > grem::physics::Quantity< 3, UnitT >::MAX {vec<3, Scalar>{Limits<Scalar>::MAX}}
template<typename UnitT>
constexpr Quantity< 3, UnitT > grem::physics::Quantity< 3, UnitT >::SMALLEST_NORMAL {vec<3, Scalar>{Limits<Scalar>::SMALLEST_NORMAL}}
template<typename UnitT>
constexpr Quantity< 3, UnitT > grem::physics::Quantity< 3, UnitT >::SMALLEST_SUBNORMAL {vec<3, Scalar>{Limits<Scalar>::SMALLEST_SUBNORMAL}}
template<typename UnitT>
constexpr Quantity< 3, UnitT > grem::physics::Quantity< 3, UnitT >::MACHINE_EPSILON {vec<3, Scalar>{Limits<Scalar>::MACHINE_EPSILON}}
template<typename UnitT>
constexpr Quantity< 3, UnitT > grem::physics::Quantity< 3, UnitT >::INF {vec<3, Scalar>{Limits<Scalar>::INF}}
template<typename UnitT>
constexpr Quantity< 3, UnitT > grem::physics::Quantity< 3, UnitT >::QUIET_NAN {vec<3, Scalar>{Limits<Scalar>::QUIET_NAN}}
constexpr Angle grem::physics::PI {numbers::pi_v<Scalar>}
 Pi constant.
template<size_t N>
constexpr OrthonormalBasis< N > grem::physics::BASIS
 Identity basis for the given number of dimensions.
template<>
constexpr OrthonormalBasis< 2 > grem::physics::BASIS< 2 >
template<>
constexpr OrthonormalBasis< 3 > grem::physics::BASIS< 3 >
constexpr OrthonormalBasis2D grem::physics::BASIS_2D = BASIS<2>
 Identity basis in 2-dimensional space.
constexpr OrthonormalBasis3D grem::physics::BASIS_3D = BASIS<3>
 Identity basis in 3-dimensional space.
template<size_t N>
constexpr Direction< N > grem::physics::X_AXIS
 The X axis in the space with the given number of dimensions.
template<>
constexpr Direction< 2 > grem::physics::X_AXIS< 2 > = Direction<2>::reinterpret(vec<2, Scalar>{Scalar{1}, Scalar{0}})
template<>
constexpr Direction< 3 > grem::physics::X_AXIS< 3 > = Direction<3>::reinterpret(vec<3, Scalar>{Scalar{1}, Scalar{0}, Scalar{0}})
constexpr Direction2D grem::physics::X_AXIS_2D = X_AXIS<2>
 The X axis in 2-dimensional space.
constexpr Direction3D grem::physics::X_AXIS_3D = X_AXIS<3>
 The X axis in 3-dimensional space.
template<size_t N>
constexpr Direction< N > grem::physics::Y_AXIS
 The Y axis in the space with the given number of dimensions.
template<>
constexpr Direction< 2 > grem::physics::Y_AXIS< 2 > = Direction<2>::reinterpret(vec<2, Scalar>{Scalar{0}, Scalar{1}})
template<>
constexpr Direction< 3 > grem::physics::Y_AXIS< 3 > = Direction<3>::reinterpret(vec<3, Scalar>{Scalar{0}, Scalar{1}, Scalar{0}})
constexpr Direction2D grem::physics::Y_AXIS_2D = Y_AXIS<2>
 The Y axis in 2-dimensional space.
constexpr Direction3D grem::physics::Y_AXIS_3D = Y_AXIS<3>
 The Y axis in 3-dimensional space.
template<size_t N>
constexpr Direction< N > grem::physics::Z_AXIS
 The Z axis in the space with the given number of dimensions.
template<>
constexpr Direction< 3 > grem::physics::Z_AXIS< 3 > = Direction<3>::reinterpret(vec<3, Scalar>{Scalar{0}, Scalar{0}, Scalar{1}})
constexpr Direction3D grem::physics::Z_AXIS_3D = Z_AXIS<3>
 The Z axis in 3-dimensional space.