step/stepcore
joint.h
Go to the documentation of this file.
43 explicit Anchor(Object* body = 0, const Vector2d& position = Vector2d::Zero(), double angle = 0);
void setLocalPosition(const Vector2d &localPosition)
Set local position of the pin on the body.
Definition: joint.h:95
Anchor(Object *body=0, const Vector2d &position=Vector2d::Zero(), double angle=0)
Constructs Anchor.
Vector2d localPosition2() const
Local position of the second end of the stick on the body or in the world (if the end is not connecte...
Definition: joint.h:155
void getConstraintsInfo(ConstraintsInfo *info, int offset)
Fill the part of constraints information structure starting at offset.
Definition: joint.cc:152
Vector2d localPosition1() const
Local position of the first end of the stick on the body or in the world (if the end is not connected...
Definition: joint.h:148
void getConstraintsInfo(ConstraintsInfo *info, int offset)
Fill the part of constraints information structure starting at offset.
Definition: joint.cc:284
Item, Body, Force and Tool interfaces, World class.
Pin(Object *body=0, const Vector2d &localPosition=Vector2d::Zero(), const Vector2d &position=Vector2d::Zero())
Constructs Pin.
Definition: joint.cc:116
Stick(double restLength=1, Object *body1=0, Object *body2=0, const Vector2d &localPosition1=Vector2d::Zero(), const Vector2d &localPosition2=Vector2d::Zero())
Constructs Stick.
Definition: joint.cc:199
void getConstraintsInfo(ConstraintsInfo *info, int offset)
Fill the part of constraints information structure starting at offset.
Definition: joint.cc:381
const Vector2d & localPosition() const
Local position of the pin on the body.
Definition: joint.h:93
void getConstraintsInfo(ConstraintsInfo *info, int offset)
Fill the part of constraints information structure starting at offset.
Definition: joint.cc:89
void setLocalPosition1(const Vector2d &localPosition1)
Set local position of the first end of the stick on the body or in the world (if the end is not conne...
Definition: joint.h:151
void setLocalPosition2(const Vector2d &localPosition2)
Set local position of the second end of the stick on the body or in the world (if the end is not conn...
Definition: joint.h:158
Massless rope: maximal distance between two points on particles or rigid bodies.
Definition: joint.h:198
Constraints information structure XXX: Move it to constraintsolver.h.
Definition: world.h:216
Massless stick: fixed distance between two points on particles or rigid bodies.
Definition: joint.h:120
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.