Marine systems simulation
CurveRudder.h
1#ifndef _CCURVE_RUDDER_H_
2#define _CCURVE_RUDDER_H_
3
4#include <cmath>
5#include "IRudderCalculator.h"
6#include <vector>
7namespace Ship{
9 {
10 public:
13
14 double GetLiftCoeff( double _alfa );
15 double GetDragCoeff( double _alfa );
16 double GetStemCoeff( double _alfa );
17
18 void SetData( std::vector<double> X, std::vector<double> Cl, std::vector<double> Cd);
19 void SetData( double* X, double *Cd, double* Cl, unsigned int num_elements);
20
21 private:
22 unsigned int curve_elements;
23
24 double *alfa; // Lift curve rudder angles
25 double *Cl; // Lift coefficient
26 double *Cd; // Drag coefficient
27 double *Cn; // Stem torque coefficient
28 };
29}
30
31#endif
Definition: CurveRudder.h:9
Definition: IRudderCalculator.h:8
Simple waypoint object.
Definition: CableAttach.h:16