SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Private Attributes
algorithms::ls::Sphere Class Reference

#include <Sphere.h>

Collaboration diagram for algorithms::ls::Sphere:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Vector< DIM, int > getCell ()
double getCell (int k)
double getLastUpdateTime ()
Event getNextEvent ()
Vector< DIM, double > getPosition ()
double getPosition (int k)
Vector< DIM, double > getVelocity ()
void setCell (Vector< DIM, int > cell)
void setLastUpdateTime (double time)
void setNextEvent (Event e)
void setPosition (Vector< DIM, double > x)
void setPosition (int k, double size)
void setVelocity (Vector< DIM, double > v)
void setVelocity (int k, double velocity)
 Sphere ()
 Sphere (const Sphere &s)
 Sphere (int i_i, Vector< DIM > x, Vector< DIM, int > cell_i, double lutime_i)
 ~Sphere ()

Public Attributes

Event nextEvent

Private Attributes

Vector< DIM, int > cell
int i
double lutime
Event nextcollision
Vector< DIM, double > v
Vector< DIM, double > x

Detailed Description

Class Sphere generate one sphere


Constructor & Destructor Documentation

constructor

constructor

algorithms::ls::Sphere::Sphere ( int  i_i,
Vector< DIM x,
Vector< DIM, int >  cell_i,
double  lutime_i 
)

constructor

destructor


Member Function Documentation

void algorithms::ls::Sphere::setCell ( Vector< DIM, int >  cell)
void algorithms::ls::Sphere::setPosition ( int  k,
double  size 
)
void algorithms::ls::Sphere::setVelocity ( int  k,
double  velocity 
)

Member Data Documentation

cell that it belongs to

Sphere ID

last update time

next collision if next Event is transfer

next Event...can be collision or transfer

Vector<DIM, double> algorithms::ls::Sphere::v [private]

velocity

Vector<DIM, double> algorithms::ls::Sphere::x [private]

position


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