PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::d2::Acceleration Struct Reference

2-D acceleration related data structure. More...

#include <Acceleration.hpp>

Collaboration diagram for playrho::d2::Acceleration:
[legend]

Public Attributes

LinearAcceleration2 linear
 Linear acceleration.
 
AngularAcceleration angular
 Angular acceleration.
 

Related Functions

(Note that these are not member functions.)

constexpr bool operator== (const Acceleration &lhs, const Acceleration &rhs)
 Equality operator.
 
constexpr bool operator!= (const Acceleration &lhs, const Acceleration &rhs)
 Inequality operator.
 
constexpr Accelerationoperator*= (Acceleration &lhs, const Real rhs)
 Multiplication assignment operator.
 
constexpr Accelerationoperator/= (Acceleration &lhs, const Real rhs)
 Division assignment operator.
 
constexpr Accelerationoperator+= (Acceleration &lhs, const Acceleration &rhs)
 Addition assignment operator.
 
constexpr Acceleration operator+ (const Acceleration &lhs, const Acceleration &rhs)
 Addition operator.
 
constexpr Accelerationoperator-= (Acceleration &lhs, const Acceleration &rhs)
 Subtraction assignment operator.
 
constexpr Acceleration operator- (const Acceleration &lhs, const Acceleration &rhs)
 Subtraction operator.
 
constexpr Acceleration operator- (const Acceleration &value)
 Negation operator.
 
constexpr Acceleration operator+ (const Acceleration &value)
 Positive operator.
 
constexpr Acceleration operator* (const Acceleration &lhs, const Real rhs)
 Multiplication operator.
 
constexpr Acceleration operator* (const Real lhs, const Acceleration &rhs)
 Multiplication operator.
 
constexpr Acceleration operator/ (const Acceleration &lhs, const Real rhs)
 Division operator.
 
template<>
constexpr bool IsValid (const d2::Acceleration &value) noexcept
 Determines if the given value is valid.
 

Detailed Description

2-D acceleration related data structure.

Note
This data structure is 12-bytes (with 4-byte Real on at least one 64-bit platform).
Examples
DistanceJoint.cpp, RevoluteJoint.cpp, World.cpp, and WorldBody.cpp.

The documentation for this struct was generated from the following file: