Marine systems simulation
EmpiricalCurve.h
1#ifndef _CEMPIRICAL_CURVE_H
2#define _CEMPIRICAL_CURVE_H
3
4#include "ResistanceCurve.h"
5
6#include <vector>
7
8namespace Ship{
10 {
11 public:
12 virtual double GetValue( double _xvalue );
13
14 void SetData(std::vector<double> &_Xvals, std::vector<double> &_Yvals);
15 void SetData(std::string &_Xvals, std::string &_Yvals);
16 void SetData(unsigned int num_elements, double *_Xvals, double *_Yvals);
17
18 private:
19 std::vector<double> m_Xvals;
20 std::vector<double> m_Yvals;
21 };
22}
23
24#endif
Definition: EmpiricalCurve.h:10
Definition: ResistanceCurve.h:6
Simple waypoint object.
Definition: CableAttach.h:16