Skip to content
Snippets Groups Projects
Commit 3e8f2fc4 authored by Jesse Mapel's avatar Jesse Mapel
Browse files

Fixed interpolation options

parent a4dde508
No related branches found
No related tags found
No related merge requests found
...@@ -8,17 +8,23 @@ using namespace std; ...@@ -8,17 +8,23 @@ using namespace std;
namespace eal { namespace eal {
vector<double> getPosition(vector<vector<double>> coords, vector<double> times, string interp, double time); vector<double> getPosition(vector<vector<double>> coords, vector<double> times,
vector<double> getVelocity(vector<vector<double>> coords, vector<double> times, string interp, double time, bool interpolation); string interp, double time);
vector<double> getVelocity(vector<vector<double>> coords, vector<double> times,
string interp, double time, bool interpolation);
vector<double> getPosition(vector<double> coeffs, string interp, double time); vector<double> getPosition(vector<double> coeffs, string interp, double time);
vector<double> getVelocity(vector<double> coeffs, string interp, double time, bool interpolation); vector<double> getVelocity(vector<double> coeffs, string interp, double time);
vector<double> getRotation(string from, string to, vector<vector<double>> rotations, vector<double> times, string interp, double time); vector<double> getRotation(string from, string to, vector<vector<double>> rotations,
vector<double> getAngularVelocity(string from, string to, vector<vector<double>> rotations, vector<double> times, string interp, double time); vector<double> times, string interp, double time);
vector<double> getAngularVelocity(string from, string to, vector<vector<double>> rotations,
vector<double> times, string interp, double time, bool interpolation);
vector<double> getRotation(string from, string to, vector<double> coefficients, string interp, double time); vector<double> getRotation(string from, string to, vector<double> coefficients,
vector<double> getAngularVelocity(string from, string to, vector<double> coefficients, string interp, double time); string interp, double time);
vector<double> getAngularVelocity(string from, string to, vector<double> coefficients,
string interp, double time);
} }
......
...@@ -5,12 +5,14 @@ using namespace eal; ...@@ -5,12 +5,14 @@ using namespace eal;
// Positional Functions // Positional Functions
// Position Data Functions // Position Data Functions
vector<double> getPosition(vector<vector<double>> coords, vector<double> times, string interp, double time) { vector<double> getPosition(vector<vector<double>> coords, vector<double> times,
string interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0}; vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate; return coordinate;
} }
vector<double> getVelocity(vector<vector<double>> coords, vector<double> times, string interp, double time, bool interpolation) { vector<double> getVelocity(vector<vector<double>> coords, vector<double> times,
string interp, double time, bool interpolation) {
vector<double> coordinate = {0.0, 0.0, 0.0}; vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate; return coordinate;
} }
...@@ -21,7 +23,8 @@ vector<double> getPosition(vector<double> coeffs, string interp, double time) { ...@@ -21,7 +23,8 @@ vector<double> getPosition(vector<double> coeffs, string interp, double time) {
return coordinate; return coordinate;
} }
vector<double> getVelocity(vector<double> coeffs, string interp, double time, bool interpolation) { vector<double> getVelocity(vector<double> coeffs, string interp, double time,
bool interpolation) {
vector<double> coordinate = {0.0, 0.0, 0.0}; vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate; return coordinate;
} }
...@@ -29,23 +32,27 @@ vector<double> getVelocity(vector<double> coeffs, string interp, double time, bo ...@@ -29,23 +32,27 @@ vector<double> getVelocity(vector<double> coeffs, string interp, double time, bo
// Rotation Data Functions // Rotation Data Functions
// Rotation Data Functions // Rotation Data Functions
vector<double> getRotation(string from, string to, vector<vector<double>> rotations, vector<double> times, string interp, double time) { vector<double> getRotation(string from, string to, vector<vector<double>> rotations,
vector<double> times, string interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0}; vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate; return coordinate;
} }
vector<double> getAngularVelocity(string from, string to, vector<vector<double>> rotations, vector<double> times, string interp, double time) { vector<double> getAngularVelocity(string from, string to, vector<vector<double>> rotations,
vector<double> times, string interp, double time, bool interpolation) {
vector<double> coordinate = {0.0, 0.0, 0.0}; vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate; return coordinate;
} }
// Rotation Function Functions // Rotation Function Functions
vector<double> getRotation(string from, string to, vector<double> coefficients, string interp, double time) { vector<double> getRotation(string from, string to, vector<double> coefficients,
string interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0}; vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate; return coordinate;
} }
vector<double> getAngularVelocity(string from, string to, vector<double> coefficients, string interp, double time) { vector<double> getAngularVelocity(string from, string to, vector<double> coefficients,
string interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0}; vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate; return coordinate;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment