Class representing an entity with defined position and local basis, consisting of 4-velocity and 3 spatial directions.
More...
|
| | Entity (Manifold *_m, Point _p, vector4 _u, vector4 _x, vector4 _y, vector4 _z) |
| | Constructor. More...
|
| |
|
| ~Entity () |
| | Destructor.
|
| |
| vector4 | getStateVector (int i) |
| | Returns a component of the local basis. More...
|
| |
|
vector4 | getX () |
| | Returns the local X direction.
|
| |
|
vector4 | getY () |
| | Returns the local Y direction.
|
| |
|
vector4 | getZ () |
| | Returns the local Z direction.
|
| |
| StateVector | derivative (StateVector v) |
| | Overloaded method from DiffEq. More...
|
| |
|
void | setCoordSystem (int) |
| | Overloaded method changing the coordinate system in use.
|
| |
| void | setPosVel (Point, vector4) |
| | Changes the position and 4-velocity. More...
|
| |
| void | setVel (vector4) |
| | Changes the 4-velocity. More...
|
| |
| void | applyForce (double x, double y, double z) |
| | Adds an acceleration to the entity. More...
|
| |
| void | applyAngVel (double x, double y, double z) |
| | Adds angular velocity to the entity. More...
|
| |
| void | rotate (double pitch, double yaw, double roll) |
| | Rotates the entity. More...
|
| |
Public Member Functions inherited from Particle |
| | Particle (Manifold *_m) |
| | Constructor. More...
|
| |
| | Particle (Manifold *_m, Point _p, vector4 _u) |
| | Constructor. More...
|
| |
|
virtual | ~Particle () |
| | Destructor.
|
| |
|
void | setIntegrator (Integrator *) |
| | Sets the integrator to be used for propagation.
|
| |
| StateVector | derivative (StateVector v) |
| | Overloaded method from DiffEq. More...
|
| |
| void | propagate (double step=0.0) |
| | Propagates the particle. More...
|
| |
|
int | getCoordSystem () |
| | Returns the current coordinate system in use.
|
| |
|
Point | getPos () |
| | Returns the position.
|
| |
|
vector4 | getVel () |
| | Returns the 4-velocity.
|
| |
|
| DiffEq () |
| | Constructor.
|
| |
|
virtual | ~DiffEq () |
| | Virtual destructor.
|
| |
Class representing an entity with defined position and local basis, consisting of 4-velocity and 3 spatial directions.
The entity can be accelerated and rotated. Inherits Particle.