Types for physical quantities. More...
Typedefs | |
using | playrho::Time = PLAYRHO_QUANTITY(boost::units::si::time) |
Time quantity. More... | |
using | playrho::Frequency = PLAYRHO_QUANTITY(boost::units::si::frequency) |
Frequency quantity. More... | |
using | playrho::Length = PLAYRHO_QUANTITY(boost::units::si::length) |
Length quantity. More... | |
using | playrho::LinearVelocity = PLAYRHO_QUANTITY(boost::units::si::velocity) |
Linear velocity quantity. More... | |
using | playrho::LinearAcceleration = PLAYRHO_QUANTITY(boost::units::si::acceleration) |
Linear acceleration quantity. More... | |
using | playrho::Mass = PLAYRHO_QUANTITY(boost::units::si::mass) |
Mass quantity. More... | |
using | playrho::InvMass = PLAYRHO_QUANTITY(playrho::units::si::inverse_mass) |
Inverse mass quantity. More... | |
using | playrho::Area = PLAYRHO_QUANTITY(boost::units::si::area) |
Area quantity. More... | |
using | playrho::AreaDensity = PLAYRHO_QUANTITY(boost::units::si::surface_density) |
Area (surface) density quantity. More... | |
using | playrho::Angle = PLAYRHO_QUANTITY(boost::units::si::plane_angle) |
Angle quantity. More... | |
using | playrho::AngularVelocity = PLAYRHO_QUANTITY(boost::units::si::angular_velocity) |
Angular velocity quantity. More... | |
using | playrho::AngularAcceleration = PLAYRHO_QUANTITY(boost::units::si::angular_acceleration) |
Angular acceleration quantity. More... | |
using | playrho::Force = PLAYRHO_QUANTITY(boost::units::si::force) |
Force quantity. More... | |
using | playrho::Torque = PLAYRHO_QUANTITY(boost::units::si::torque) |
Torque quantity. More... | |
using | playrho::SecondMomentOfArea = PLAYRHO_QUANTITY(playrho::units::si::second_moment_of_area) |
Second moment of area quantity. More... | |
using | playrho::RotInertia = PLAYRHO_QUANTITY(boost::units::si::moment_of_inertia) |
Rotational inertia quantity. More... | |
using | playrho::InvRotInertia = PLAYRHO_QUANTITY(playrho::units::si::inverse_moment_of_inertia) |
Inverse rotational inertia quantity. More... | |
using | playrho::Momentum = PLAYRHO_QUANTITY(boost::units::si::momentum) |
Momentum quantity. More... | |
using | playrho::AngularMomentum = PLAYRHO_QUANTITY(boost::units::si::angular_momentum) |
Angular momentum quantity. More... | |
Types for physical quantities.
These are the type aliases for physical quantities like time and length that are used by the PlayRho library. Conceptually a given quantity is only expressable in the units that are defined for that quantity.
using playrho::Angle = typedef PLAYRHO_QUANTITY(boost::units::si::plane_angle) |
using playrho::AngularAcceleration = typedef PLAYRHO_QUANTITY(boost::units::si::angular_acceleration) |
Angular acceleration quantity.
This is the type alias for the angular acceleration quantity. It's a derived quantity.
QP T^-2
). using playrho::AngularMomentum = typedef PLAYRHO_QUANTITY(boost::units::si::angular_momentum) |
Angular momentum quantity.
This is the type alias for the angular momentum quantity. It's a derived quantity.
L^2 M T^-1 QP^-1
). using playrho::AngularVelocity = typedef PLAYRHO_QUANTITY(boost::units::si::angular_velocity) |
Angular velocity quantity.
This is the type alias for the plane angular velocity quantity. It's a derived quantity.
QP T^-1
). using playrho::Area = typedef PLAYRHO_QUANTITY(boost::units::si::area) |
Area quantity.
This is the type alias for the area quantity. It's a derived quantity.
L^2
). using playrho::AreaDensity = typedef PLAYRHO_QUANTITY(boost::units::si::surface_density) |
Area (surface) density quantity.
This is the type alias for the area density quantity. It's a derived quantity.
M L^-2
). using playrho::Force = typedef PLAYRHO_QUANTITY(boost::units::si::force) |
Force quantity.
This is the type alias for the force quantity. It's a derived quantity.
L M T^-2
). using playrho::Frequency = typedef PLAYRHO_QUANTITY(boost::units::si::frequency) |
Frequency quantity.
This is the type alias for the frequency quantity. It's a derived quantity that's the inverse of time.
T^-1
). using playrho::InvMass = typedef PLAYRHO_QUANTITY(playrho::units::si::inverse_mass) |
Inverse mass quantity.
This is the type alias for the inverse mass quantity. It's a derived quantity that's the inverse of mass.
M^-1
). using playrho::InvRotInertia = typedef PLAYRHO_QUANTITY(playrho::units::si::inverse_moment_of_inertia) |
Inverse rotational inertia quantity.
This is the type alias for the inverse rotational inertia quantity. It's a derived quantity.
L^-2 M^-1 QP^2
). using playrho::Length = typedef PLAYRHO_QUANTITY(boost::units::si::length) |
Length quantity.
This is the type alias for the length base quantity.
L
). using playrho::LinearAcceleration = typedef PLAYRHO_QUANTITY(boost::units::si::acceleration) |
Linear acceleration quantity.
This is the type alias for the linear acceleration derived quantity.
L T^-2
). using playrho::LinearVelocity = typedef PLAYRHO_QUANTITY(boost::units::si::velocity) |
Linear velocity quantity.
This is the type alias for the linear velocity derived quantity.
L T^-1
). using playrho::Mass = typedef PLAYRHO_QUANTITY(boost::units::si::mass) |
Mass quantity.
This is the type alias for the mass base quantity.
M
). using playrho::Momentum = typedef PLAYRHO_QUANTITY(boost::units::si::momentum) |
Momentum quantity.
This is the type alias for the momentum quantity. It's a derived quantity.
L M T^-1
). p
is momentum, m
is mass, and v
is velocity, then p = m * v
. using playrho::RotInertia = typedef PLAYRHO_QUANTITY(boost::units::si::moment_of_inertia) |
Rotational inertia quantity.
This is the type alias for the rotational inertia quantity. It's a derived quantity that's also called the moment of inertia or angular mass.
L^2 M QP^-2
). kg * m^2
). using playrho::SecondMomentOfArea = typedef PLAYRHO_QUANTITY(playrho::units::si::second_moment_of_area) |
Second moment of area quantity.
This is the type alias for the second moment of area quantity. It's a derived quantity.
L^4
). using playrho::Time = typedef PLAYRHO_QUANTITY(boost::units::si::time) |
Time quantity.
This is the type alias for the time base quantity.
T
). using playrho::Torque = typedef PLAYRHO_QUANTITY(boost::units::si::torque) |
Torque quantity.
This is the type alias for the torque quantity. It's a derived quantity that's a rotational force.
L^2 M T^-2 QP^-1
).