ESyS-Particle
4.0.1
|
Compares distance of 2 particles to a 3rd particle. More...
#include <SimpleParticle.h>
Public Member Functions | |
ParticleComparer (const SimpleParticle &) | |
bool | operator() (const SimpleParticle &, const SimpleParticle &) const |
bool | operator() (const SimpleParticle *, const SimpleParticle *) const |
Compares distance of 2 particles to a 3rd particle.
$Date$ $Revision$
ParticleComparer::ParticleComparer | ( | const SimpleParticle & | particle | ) | [inline] |
Construct a comparison object for distances to a given particle.
particle |
bool ParticleComparer::operator() | ( | const SimpleParticle & | p1, |
const SimpleParticle & | p2 | ||
) | const [inline] |
p1 | |
p2 |
bool ParticleComparer::operator() | ( | const SimpleParticle * | p1, |
const SimpleParticle * | p2 | ||
) | const [inline] |
p1 | |
p2 |