Units for expressing physical quantities like time and length. More...
Variables | |
constexpr auto | playrho::Second = PLAYRHO_UNIT(Time, boost::units::si::second) |
Second unit of time. More... | |
constexpr auto | playrho::SquareSecond = Second * Second |
Square second unit. More... | |
constexpr auto | playrho::Hertz = PLAYRHO_UNIT(Frequency, boost::units::si::hertz) |
Hertz unit of Frequency. More... | |
constexpr auto | playrho::Meter = PLAYRHO_UNIT(Length, boost::units::si::meter) |
Meter unit of Length. More... | |
constexpr auto | playrho::MeterPerSecond = PLAYRHO_UNIT(LinearVelocity, boost::units::si::meter_per_second) |
Meter per second unit of linear velocity. More... | |
constexpr auto | playrho::MeterPerSquareSecond |
Meter per square second unit of linear acceleration. More... | |
constexpr auto | playrho::Kilogram = PLAYRHO_UNIT(Mass, boost::units::si::kilogram) |
Kilogram unit of mass. More... | |
constexpr auto | playrho::SquareMeter = PLAYRHO_UNIT(Area, boost::units::si::square_meter) |
Square meter unit of area. More... | |
constexpr auto | playrho::CubicMeter = Meter * Meter * Meter |
Cubic meter unit of volume. | |
constexpr auto | playrho::KilogramPerSquareMeter |
Kilogram per square meter unit of area density. More... | |
constexpr auto | playrho::Radian = PLAYRHO_UNIT(Angle, boost::units::si::radian) |
Radian unit of angle. More... | |
constexpr auto | playrho::Degree = Angle{Radian * Pi / Real{180}} |
Degree unit of angle quantity. More... | |
constexpr auto | playrho::SquareRadian = Radian * Radian |
Square radian unit type. More... | |
constexpr auto | playrho::RadianPerSecond = PLAYRHO_UNIT(AngularVelocity, boost::units::si::radian_per_second) |
Radian per second unit of angular velocity. More... | |
constexpr auto | playrho::DegreePerSecond = AngularVelocity{RadianPerSecond * Degree / Radian} |
Degree per second unit of angular velocity. More... | |
constexpr auto | playrho::RadianPerSquareSecond = Radian / (Second * Second) |
Radian per square second unit of angular acceleration. More... | |
constexpr auto | playrho::DegreePerSquareSecond = Degree / (Second * Second) |
Degree per square second unit of angular acceleration. More... | |
constexpr auto | playrho::Newton = PLAYRHO_UNIT(Force, boost::units::si::newton) |
Newton unit of force. More... | |
constexpr auto | playrho::NewtonMeter = PLAYRHO_UNIT(Torque, boost::units::si::newton_meter) |
Newton meter unit of torque. More... | |
constexpr auto | playrho::NewtonSecond = Newton * Second |
Newton second unit of momentum. More... | |
constexpr auto | playrho::NewtonMeterSecond = NewtonMeter * Second |
Newton meter second unit of angular momentum. More... | |
constexpr auto | playrho::RevolutionsPerMinute = 2 * Pi * Radian / (Real{60} * Second) |
Revolutions per minute units of angular velocity. More... | |
Units for expressing physical quantities like time and length.
These are the unit definitions for expressing physical quantities like time and length. Conceptually a given unit is only usable with the quantities that are made up of the dimensions which the unit is associated with.
|
constexpr |
Degree per second unit of angular velocity.
Degree per square second unit of angular acceleration.
|
constexpr |
Hertz unit of Frequency.
Represents the hertz unit of frequency (Hz).
Referenced by playrho::operator""_Hz().
|
constexpr |
Kilogram unit of mass.
Referenced by playrho::d2::ComputeMassData(), playrho::d2::GetAngularReaction(), playrho::d2::ChainShapeConf::GetMassData(), playrho::d2::GetMassData(), playrho::d2::InitVelocity(), playrho::operator""_g(), playrho::operator""_kg(), playrho::operator""_Pg(), playrho::operator""_Yg(), playrho::d2::SolvePosition(), and playrho::d2::SolveVelocity().
|
constexpr |
Kilogram per square meter unit of area density.
Referenced by playrho::operator""_kgpm2().
|
constexpr |
Meter unit of Length.
A unit of the length quantity.
Referenced by playrho::d2::GetGearJointConf(), playrho::d2::GetManifold(), playrho::d2::InitVelocity(), playrho::operator""_cm(), playrho::operator""_dm(), playrho::operator""_Gm(), playrho::operator""_km(), playrho::operator""_m(), playrho::operator""_Mm(), playrho::d2::SolvePosition(), playrho::d2::SolveVelocity(), and playrho::d2::TestPoint().
|
constexpr |
Meter per second unit of linear velocity.
Referenced by playrho::d2::GetCentripetalForce(), playrho::d2::GetContactRelVelocity(), playrho::operator""_kps(), playrho::operator""_mps(), and playrho::d2::SolveVelocity().
|
constexpr |
Meter per square second unit of linear acceleration.
Referenced by playrho::operator""_mps2().
|
constexpr |
Newton unit of force.
Referenced by playrho::operator""_N().
|
constexpr |
Newton meter unit of torque.
Referenced by playrho::operator""_Nm().
|
constexpr |
Newton meter second unit of angular momentum.
Newton second unit of momentum.
Referenced by playrho::d2::GetLinearReaction(), playrho::d2::InitVelocity(), playrho::operator""_Ns(), and playrho::d2::SolveVelocity().
|
constexpr |
Radian unit of angle.
Referenced by playrho::d2::ApplyForce(), playrho::d2::ApplyLinearImpulse(), playrho::Atan2(), playrho::d2::GetAngularReaction(), playrho::GetCircleVertices(), playrho::d2::GetContactRelVelocity(), playrho::GetDelta(), playrho::d2::GetEffectiveInvMass(), playrho::d2::GetGearJointConf(), playrho::d2::GetLinearVelocity(), playrho::d2::GetLinearVelocityFromWorldPoint(), playrho::GetNormalized(), playrho::d2::InitVelocity(), playrho::operator""_rad(), playrho::d2::SetForce(), playrho::d2::SolvePosition(), and playrho::d2::SolveVelocity().
|
constexpr |
Radian per second unit of angular velocity.
Referenced by playrho::d2::SolveVelocity().
Radian per square second unit of angular acceleration.
Referenced by playrho::d2::CalcGravitationalAcceleration().
Revolutions per minute units of angular velocity.
Referenced by playrho::operator""_rpm().
|
constexpr |
Second unit of time.
Referenced by playrho::d2::GetAngularReaction(), playrho::d2::InitVelocity(), playrho::operator""_d(), playrho::operator""_h(), playrho::operator""_min(), playrho::operator""_s(), and playrho::d2::SolveVelocity().
|
constexpr |
Square meter unit of area.
Referenced by playrho::ComputeCentroid(), playrho::d2::Simplex::Get(), playrho::d2::GetAngularReaction(), playrho::d2::VertexSet::GetDefaultMinSeparationSquared(), playrho::GetPolarMoment(), playrho::d2::InitVelocity(), playrho::operator""_m2(), playrho::d2::RayCast(), playrho::d2::SolvePosition(), and playrho::d2::SolveVelocity().
Square radian unit type.
Referenced by playrho::d2::GetEffectiveMassMatrix(), playrho::d2::GetLocalRotInertia(), playrho::d2::GetMassData(), playrho::d2::VelocityConstraint::GetPoint(), playrho::d2::InitVelocity(), and playrho::d2::SolvePosition().