diff --git a/include/eal.h b/include/eal.h index 016aa88e62e8a36a61135fd6d914699b63e50903..183bf522c9c2539d19eb2bab17636e4dce98d88d 100644 --- a/include/eal.h +++ b/include/eal.h @@ -8,17 +8,23 @@ using namespace std; namespace eal { - vector getPosition(vector> coords, vector times, string interp, double time); - vector getVelocity(vector> coords, vector times, string interp, double time, bool interpolation); + vector getPosition(vector> coords, vector times, + string interp, double time); + vector getVelocity(vector> coords, vector times, + string interp, double time, bool interpolation); vector getPosition(vector coeffs, string interp, double time); - vector getVelocity(vector coeffs, string interp, double time, bool interpolation); + vector getVelocity(vector coeffs, string interp, double time); - vector getRotation(string from, string to, vector> rotations, vector times, string interp, double time); - vector getAngularVelocity(string from, string to, vector> rotations, vector times, string interp, double time); + vector getRotation(string from, string to, vector> rotations, + vector times, string interp, double time); + vector getAngularVelocity(string from, string to, vector> rotations, + vector times, string interp, double time, bool interpolation); - vector getRotation(string from, string to, vector coefficients, string interp, double time); - vector getAngularVelocity(string from, string to, vector coefficients, string interp, double time); + vector getRotation(string from, string to, vector coefficients, + string interp, double time); + vector getAngularVelocity(string from, string to, vector coefficients, + string interp, double time); } diff --git a/src/eal.cpp b/src/eal.cpp index 629d3cbd899dd02c81672357c235c1287bda4dfe..0016054cee0429c98e47e1cf1be5a27613297900 100644 --- a/src/eal.cpp +++ b/src/eal.cpp @@ -5,12 +5,14 @@ using namespace eal; // Positional Functions // Position Data Functions -vector getPosition(vector> coords, vector times, string interp, double time) { +vector getPosition(vector> coords, vector times, + string interp, double time) { vector coordinate = {0.0, 0.0, 0.0}; return coordinate; } -vector getVelocity(vector> coords, vector times, string interp, double time, bool interpolation) { +vector getVelocity(vector> coords, vector times, + string interp, double time, bool interpolation) { vector coordinate = {0.0, 0.0, 0.0}; return coordinate; } @@ -21,7 +23,8 @@ vector getPosition(vector coeffs, string interp, double time) { return coordinate; } -vector getVelocity(vector coeffs, string interp, double time, bool interpolation) { +vector getVelocity(vector coeffs, string interp, double time, + bool interpolation) { vector coordinate = {0.0, 0.0, 0.0}; return coordinate; } @@ -29,23 +32,27 @@ vector getVelocity(vector coeffs, string interp, double time, bo // Rotation Data Functions // Rotation Data Functions -vector getRotation(string from, string to, vector> rotations, vector times, string interp, double time) { +vector getRotation(string from, string to, vector> rotations, + vector times, string interp, double time) { vector coordinate = {0.0, 0.0, 0.0}; return coordinate; } -vector getAngularVelocity(string from, string to, vector> rotations, vector times, string interp, double time) { +vector getAngularVelocity(string from, string to, vector> rotations, + vector times, string interp, double time, bool interpolation) { vector coordinate = {0.0, 0.0, 0.0}; return coordinate; } // Rotation Function Functions -vector getRotation(string from, string to, vector coefficients, string interp, double time) { +vector getRotation(string from, string to, vector coefficients, + string interp, double time) { vector coordinate = {0.0, 0.0, 0.0}; return coordinate; } -vector getAngularVelocity(string from, string to, vector coefficients, string interp, double time) { +vector getAngularVelocity(string from, string to, vector coefficients, + string interp, double time) { vector coordinate = {0.0, 0.0, 0.0}; return coordinate; }