step/stepcore
#include <rigidbody.h>
Protected Attributes | |
double | _angleVariance |
double | _angularVelocityVariance |
Vector2d | _forceVariance |
double | _inertiaVariance |
double | _massVariance |
Vector2d | _positionVariance |
double | _torqueVariance |
Vector2d | _velocityVariance |
Protected Attributes inherited from StepCore::Object | |
QString | _name |
Detailed Description
Errors object for RigidBody.
Definition at line 37 of file rigidbody.h.
Constructor & Destructor Documentation
|
inline |
Constructs RigidBodyErrors.
Definition at line 43 of file rigidbody.h.
Member Function Documentation
Vector2d StepCore::RigidBodyErrors::accelerationVariance | ( | ) | const |
Get acceleration variance.
|
inline |
Get angle variance.
Definition at line 58 of file rigidbody.h.
double StepCore::RigidBodyErrors::angularAccelerationVariance | ( | ) | const |
Get angularAcceleration variance.
Definition at line 111 of file rigidbody.cc.
double StepCore::RigidBodyErrors::angularMomentumVariance | ( | ) | const |
Get angular momentum variance.
Definition at line 129 of file rigidbody.cc.
|
inline |
Get angularVelocity variance.
Definition at line 69 of file rigidbody.h.
void StepCore::RigidBodyErrors::applyForceVariance | ( | const Vector2d & | force, |
const Vector2d & | position, | ||
const Vector2d & | forceVariance, | ||
const Vector2d & | positionVariance | ||
) |
Apply force (and torque) variance to the body at given position (in World coordinates)
Definition at line 177 of file rigidbody.cc.
|
inline |
Apply torque (but no force) variancee to the body.
Definition at line 96 of file rigidbody.h.
|
inline |
Get force variance.
Definition at line 81 of file rigidbody.h.
|
inline |
Get inertia variance.
Definition at line 105 of file rigidbody.h.
double StepCore::RigidBodyErrors::kineticEnergyVariance | ( | ) | const |
Get kinetic energy variance.
Definition at line 142 of file rigidbody.cc.
|
inline |
Get mass variance.
Definition at line 99 of file rigidbody.h.
Vector2d StepCore::RigidBodyErrors::momentumVariance | ( | ) | const |
Get momentum variance.
Definition at line 117 of file rigidbody.cc.
|
inline |
Get position variance.
Definition at line 52 of file rigidbody.h.
|
inline |
Set angle variance.
Definition at line 60 of file rigidbody.h.
void StepCore::RigidBodyErrors::setAngularMomentumVariance | ( | double | angularMomentumVariance | ) |
Set angular momentum variance (will modify angularVelocity variance)
Definition at line 135 of file rigidbody.cc.
|
inline |
Set angularVelocity variance.
Definition at line 71 of file rigidbody.h.
|
inline |
Set force variance.
Definition at line 83 of file rigidbody.h.
|
inline |
Set inertia variance.
Definition at line 107 of file rigidbody.h.
void StepCore::RigidBodyErrors::setKineticEnergyVariance | ( | double | kineticEnergyVariance | ) |
Set kinetic energy variance (will modify velocity variance)
Definition at line 150 of file rigidbody.cc.
|
inline |
Set mass variance.
Definition at line 101 of file rigidbody.h.
void StepCore::RigidBodyErrors::setMomentumVariance | ( | const Vector2d & | momentumVariance | ) |
Set momentum variance (will modify velocity variance)
Definition at line 123 of file rigidbody.cc.
|
inline |
Set position variance.
Definition at line 54 of file rigidbody.h.
|
inline |
Set velocity variance.
Definition at line 65 of file rigidbody.h.
|
inline |
Get torque variance.
Definition at line 87 of file rigidbody.h.
|
inline |
Get velocity variance.
Definition at line 63 of file rigidbody.h.
Member Data Documentation
|
protected |
Definition at line 127 of file rigidbody.h.
|
protected |
Definition at line 130 of file rigidbody.h.
|
protected |
Definition at line 132 of file rigidbody.h.
|
protected |
Definition at line 136 of file rigidbody.h.
|
protected |
Definition at line 135 of file rigidbody.h.
|
protected |
Definition at line 126 of file rigidbody.h.
|
protected |
Definition at line 133 of file rigidbody.h.
|
protected |
Definition at line 129 of file rigidbody.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.