Marine systems simulation
Waypoint.h
1
4//
11#ifndef WAYPOINT
12#define WAYPOINT
13
14namespace Ship{
16 {
17 public:
18 Waypoint();
19 Waypoint(const double XPosition, const double YPosition, const double ZPosition, const double RadiusOfAcceptance);
20 double* Position();
21 double* Heading();
22 double Speed();
23 double Radius();
24
25 private:
26 double m_dPositionX;
27 double m_dPositionY;
28 double m_dPositionZ;
29 double m_adPosition[3];
30
31 double m_dHeading[3];
32
33 double m_dSpeed;
34
35 double m_dRadiusOfAcceptence;
36 };
37}
38#endif
39
Definition: Waypoint.h:16
double Radius()
Returns the radius of acceptence. From within which radius of the current waypoint can the waypointch...
Waypoint(const double XPosition, const double YPosition, const double ZPosition, const double RadiusOfAcceptance)
simple waypoint constructor
double * Heading()
Returns the desired heading when passing the waypoint.
double * Position()
Returns the position of the waypoint.
double Speed()
Returns the desired speed when passing the waypoint.
Simple waypoint object.
Definition: CableAttach.h:16