Public Member Functions | Public Attributes

bl7::particles2::Link Class Reference

#include <Link.h>

Inheritance diagram for bl7::particles2::Link:
bl7::particles2::ContactGenerator bl7::particles2::Cable bl7::particles2::Rod

List of all members.

Public Member Functions

virtual ~Link (void)
 Link (Particle *particle1, Particle *particle2)
Particleget_particle1 () const
Particleget_particle2 () const

Public Attributes

Particle_particle1
Particle_particle2

Detailed Description

Base class for 2d particle links connecting two particles and generating contacts if the constraints are violated.


Constructor & Destructor Documentation

virtual bl7::particles2::Link::~Link ( void   )  [inline, virtual]

Destructor.

bl7::particles2::Link::Link ( Particle particle1,
Particle particle2 
) [inline]

Explicit constructor with parameters for the particles linked together.


Member Function Documentation

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.


Member Data Documentation

The first particle connected through the link.

The second particle conntected through the link.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines