step/stepcore
StepCore::Stick Class Reference
#include <joint.h>
Inheritance diagram for StepCore::Stick:

Protected Attributes | |
| Object * | _body1 |
| Object * | _body2 |
| Vector2d | _localPosition1 |
| Vector2d | _localPosition2 |
| Particle * | _p1 |
| Particle * | _p2 |
| RigidBody * | _r1 |
| RigidBody * | _r2 |
| double | _restLength |
Protected Attributes inherited from StepCore::Object | |
| QString | _name |
Additional Inherited Members | |
Protected Member Functions inherited from StepCore::Item | |
| virtual ObjectErrors * | createObjectErrors () |
Detailed Description
Massless stick: fixed distance between two points on particles or rigid bodies.
Constructor & Destructor Documentation
Member Function Documentation
|
inline |
|
inline |
|
virtual |
|
virtual |
Fill the part of constraints information structure starting at offset.
Implements StepCore::Joint.
Reimplemented in StepCore::Rope.
|
inline |
|
inline |
|
inline |
|
inline |
| Vector2d StepCore::Stick::position1 | ( | ) | const |
| Vector2d StepCore::Stick::position2 | ( | ) | const |
|
inline |
|
inline |
|
inline |
| void StepCore::Stick::setBody1 | ( | Object * | body1 | ) |
| void StepCore::Stick::setBody2 | ( | Object * | body2 | ) |
|
inline |
|
inline |
|
inline |
| Vector2d StepCore::Stick::velocity1 | ( | ) | const |
| Vector2d StepCore::Stick::velocity2 | ( | ) | const |
Member Data Documentation
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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
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.
KDE API Reference
Public Member Functions inherited from