SpherePackingScenarioGenerator
|
#include <Event.h>
Public Member Functions | |
void | erase () |
Event (double time_i, int i_i, int j_i, Vector< DIM, int > v_i) | |
Event (double time_i, int i_i, int j_i) | |
Event (const Event &e) | |
Event () | |
int | getCollisionPartnerI () |
int | getCollisionPartnerJ () |
double | getTime () |
Vector< DIM, int > | getVector () |
bool | operator< (const Event &) const |
bool | operator> (const Event &) const |
void | setCollisionPartnerI (int i) |
void | setCollisionPartnerJ (int j) |
void | setTime (double time) |
void | setVector (Vector< DIM, int > v) |
~Event () | |
Private Attributes | |
int | i |
int | j |
double | time |
Vector< DIM, int > | v |
Class Event
algorithms::ls::Event::Event | ( | double | time_i, |
int | i_i, | ||
int | j_i, | ||
Vector< DIM, int > | v_i | ||
) |
Constructor
algorithms::ls::Event::Event | ( | double | time_i, |
int | i_i, | ||
int | j_i | ||
) |
Constructor
algorithms::ls::Event::Event | ( | const Event & | e | ) |
Constructor
Constructor
Destructor
void algorithms::ls::Event::erase | ( | ) |
Erase
double algorithms::ls::Event::getTime | ( | ) |
Vector< DIM, int > algorithms::ls::Event::getVector | ( | ) |
bool algorithms::ls::Event::operator< | ( | const Event & | e | ) | const |
Define operator"<"
bool algorithms::ls::Event::operator> | ( | const Event & | e | ) | const |
Define operator">"
void algorithms::ls::Event::setCollisionPartnerI | ( | int | i | ) |
void algorithms::ls::Event::setCollisionPartnerJ | ( | int | j | ) |
void algorithms::ls::Event::setTime | ( | double | time | ) |
void algorithms::ls::Event::setVector | ( | Vector< DIM, int > | v | ) |
int algorithms::ls::Event::i [private] |
collision partner with lower number
int algorithms::ls::Event::j [private] |
collision partner with higher number
double algorithms::ls::Event::time [private] |
time of next collision
Vector<DIM,int> algorithms::ls::Event::v [private] |
virtual image