11 #ifndef __ENTITY_STATE_H__ 12 #define __ENTITY_STATE_H__ 108 #endif // __ENTITY_STATE_H__ double angular_velocity
Angular velocity in rad/s.
EntityState()
Construct a new Entity State object.
Vector2D velocity
Velocity in m/s.
Data structure to hold a two dimensional vector.
double x
Public attributes.
friend std::ostream & operator<<(std::ostream &output, const EntityState &entity_state)
Output stream operator overloading.
double angular_position
Angular position in radinans.
Vector2D position
Position in meters.
void rotate(double theta)
Perform a counter-clockwise rotation of the vector.
Vector2D(double x=0, double y=0)
Construct a new Vector2D object.
friend std::ostream & operator<<(std::ostream &output, const Vector2D &vector_2d)
Output stream operator overloading.
virtual ~EntityState()=default
Data structure to hold the state of a entity in the simulation.