#include <Link.h>
Public Member Functions | |
| virtual | ~Link (void) |
| Link (Particle *particle1, Particle *particle2) | |
| Particle * | get_particle1 () const |
| Particle * | get_particle2 () const |
Public Attributes | |
| Particle * | _particle1 |
| Particle * | _particle2 |
Base class for 2d particle links connecting two particles and generating contacts if the constraints are violated.
| virtual bl7::particles2::Link::~Link | ( | void | ) | [inline, virtual] |
Destructor.
Explicit constructor with parameters for the particles linked together.
| Particle* bl7::particles2::Link::get_particle1 | ( | ) | const [inline] |
Returns the first particle conntected through the link.
| Particle* bl7::particles2::Link::get_particle2 | ( | ) | const [inline] |
Returns the second particle conntected through the link.
The first particle connected through the link.
The second particle conntected through the link.
1.7.1