Public Member Functions | Public Attributes | List of all members
SurgSim::Particles::ParticleData Struct Reference

#include <SurgSim/Particles/Particles.h>

Public Member Functions

bool operator== (const ParticleData &rhs) const
 Equality operator. More...
 
bool operator!= (const ParticleData &rhs) const
 Inequality operator. More...
 

Public Attributes

double lifetime
 The lifetime of the particle [s]. More...
 
Math::Vector3d velocity
 The velocity of the particle [m/s]. More...
 

Member Function Documentation

◆ operator!=()

bool SurgSim::Particles::ParticleData::operator!= ( const ParticleData rhs) const
inline

Inequality operator.

Parameters
rhsThe right hand side.
Returns
true if the parameters are not considered equivalent.

◆ operator==()

bool SurgSim::Particles::ParticleData::operator== ( const ParticleData rhs) const
inline

Equality operator.

Parameters
rhsThe right hand side.
Returns
true if the parameters are considered equivalent.

Member Data Documentation

◆ lifetime

double SurgSim::Particles::ParticleData::lifetime

The lifetime of the particle [s].

◆ velocity

Math::Vector3d SurgSim::Particles::ParticleData::velocity

The velocity of the particle [m/s].


The documentation for this struct was generated from the following file: