Space Comps
 All Classes Files Functions Variables
Public Member Functions | List of all members
Particle Class Reference

Public Member Functions

 Particle (int id, Position *startPos, std::valarray< double > startVel, double radiusIn, double massIn)
 
int getID ()
 
double getXvel ()
 
double getYvel ()
 
double getZvel ()
 
double getXpos ()
 
double getYpos ()
 
double getZpos ()
 
double getMass ()
 
double getRadius ()
 
PositiongetCurPos ()
 
NodegetHead ()
 
NodegetTail ()
 
void setHead (Node *n)
 
void setTail (Node *n)
 
void setRadius (double r)
 
void setMass (double m)
 
std::valarray< double > getVel ()
 
void updateVel (double x, double y, double z)
 
void updateCurPos (Position *newPos)
 
std::valarray< double > getAcceleration ()
 
void updateAcceleration (std::valarray< double > newA)
 
void printAll ()
 

The documentation for this class was generated from the following files: