44 point (
double _t,
double _x,
double _v,
double _a,
int _lane);
Represents a point in time for a vehicle in a traffic simulation.
Definition point.h:23
void set_velocity(double _v)
Sets the velocity of the point.
std::string to_str()
Converts the point object to a string representation.
double V()
Gets the velocity value.
void reset_time()
Resets the time of the point to zero.
void set_accel(double _a)
Sets the acceleration of the point.
double T()
Gets the time value.
point(point *p)
Copy constructor for the point class.
point(double _t, double _x, double _v, double _a, int _lane)
Constructor for the point class.
int LANE()
Gets the lane value.
double X()
Gets the position value.
void set_x(double _x)
Sets the position of the point.
void set_lane(int _lane)
Sets the lane of the point.
double A()
Gets the acceleration value.