step/stepcore
collisionsolver.h
Go to the documentation of this file.
int solveCollisions(BodyList &bodies)
Solve the collisions between bodies.
Definition: collisionsolver.cc:1173
void resetCaches()
Reset internal caches of collision information.
Definition: collisionsolver.cc:1285
void bodyAdded(BodyList &bodies, Body *body)
Definition: collisionsolver.cc:1225
int solvePolygonParticle(Contact *contact)
Definition: collisionsolver.cc:1083
int checkDiskParticle(Contact *contact)
Definition: collisionsolver.cc:769
Bodies are contacted but moving apart.
Definition: collisionsolver.h:50
virtual void getContactsInfo(ConstraintsInfo &info, bool collisions=false)=0
Fill the constraint info structure with the contacts computed by checkContacts()
void addContact(Body *body0, Body *body1)
Definition: collisionsolver.cc:1248
Item, Body, Force and Tool interfaces, World class.
GJKCollisionSolver()
Definition: collisionsolver.h:159
int solvePolygonDisk(Contact *contact)
Definition: collisionsolver.cc:1035
Discrete collision solver using Gilbert-Johnson-Keerthi distance algorithm.
Definition: collisionsolver.h:154
void checkCache(BodyList &bodies)
Definition: collisionsolver.cc:1209
virtual void bodyRemoved(BodyList &, Body *)
Definition: collisionsolver.h:129
void bodyRemoved(BodyList &bodies, Body *body)
Definition: collisionsolver.cc:1234
int solveDiskDisk(Contact *contact)
Definition: collisionsolver.cc:1131
Definition: solver.h:148
int checkPolygonParticle(Contact *contact)
Definition: collisionsolver.cc:541
std::vector< Contact, Eigen::aligned_allocator< Contact > > ContactValueList
Definition: collisionsolver.h:143
int checkContact(Contact *contact)
Definition: collisionsolver.cc:828
Contact state was not (can not) be determined (if state == Unknown all other fields are not used) ...
Definition: collisionsolver.h:47
virtual ~CollisionSolver()
Definition: collisionsolver.h:91
Solver interface.
int checkPolygonDisk(Contact *contact)
Definition: collisionsolver.cc:347
bool _contactsIsValid
Definition: collisionsolver.h:208
virtual void bodyAdded(BodyList &, Body *)
Definition: collisionsolver.h:128
int checkDiskDisk(Contact *contact)
Definition: collisionsolver.cc:732
Object, MetaObject and MetaProperty classes.
int checkPolygonPolygon(Contact *contact)
Definition: collisionsolver.cc:39
Vector2d normalDerivative
Time derivative of contact normal (only if state == Contacted)
Definition: collisionsolver.h:69
virtual int checkContacts(BodyList &bodies, bool collisions=false, int *count=NULL)=0
Check (and update) state of the contact.
GJKCollisionSolver(const GJKCollisionSolver &solver)
Definition: collisionsolver.h:162
virtual void setToleranceAbs(double toleranceAbs)
Set absolute allowed tolerance.
Definition: collisionsolver.h:96
int solvePolygonPolygon(Contact *contact)
Definition: collisionsolver.cc:974
GJKCollisionSolver & operator=(const GJKCollisionSolver &)
Definition: collisionsolver.h:164
int checkContacts(BodyList &bodies, bool collisions=false, int *count=NULL)
Check (and update) state of the contact.
Definition: collisionsolver.cc:839
virtual void resetCaches()
Reset internal caches of collision information.
Definition: collisionsolver.h:126
virtual int solveCollisions(BodyList &bodies)=0
Solve the collisions between bodies.
Constraints information structure XXX: Move it to constraintsolver.h.
Definition: world.h:216
void getContactsInfo(ConstraintsInfo &info, bool collisions=false)
Fill the constraint info structure with the contacts computed by checkContacts()
Definition: collisionsolver.cc:862
int solveDiskParticle(Contact *contact)
Definition: collisionsolver.cc:1152
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:42 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:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.