Program listing for file mechanics/src/collision/bullet/Bullet1DR.hpp#
Return to documentation for this file
1#ifndef Bullet1DR_hpp
2#define Bullet1DR_hpp
3
4#include "BulletSiconosFwd.hpp"
5
6#include <NewtonEuler1DR.hpp>
7
8class Bullet1DR : public NewtonEuler1DR {
9private:
10
11 ACCEPT_SERIALIZATION(Bullet1DR);
12
13 SP::btManifoldPoint _contactPoints;
14
15public:
16 Bullet1DR(SP::btManifoldPoint);
17
18 SP::btManifoldPoint contactPoint() const { return _contactPoints; };
19
20
21 void computeh(double time, const BlockVector &q, SiconosVector &y) override;
22
23 ACCEPT_STD_VISITORS();
24};
25#endif