This project involves writing a sailboat simulator.? This is not for a game but will be used to do preliminary testing of an autopilot.? As such, this project does not involve any graphic component.
?
The simulator should implement a api allows a number or parameters to be set and get.?
?
First the simulator should accept several environmental parameters.? Such as: wind speed, wind direction, and current.? The simulator should be able to accept changes to these parameters as it runs and adjust itself accordingly.
?
Second the simulator should allow the rudder position to be set.? (The simulator, can assume that the sails are optimally trimmed at all times)
?
Finally, the simulator should allow access to several parameters via getters, including: boat heading, boat speed, wind direction (true and apparent), wind speed (true and apparent), rudder passion, boat heel.?
?
I will give you the principle dimensions for the boat, you must then implement the above.