diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b7d4f4a7d20637a144d52637ddf107abbb130fd..73b480fdd48f43154eb6363fdc94717f657fb7b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ set(CMAKE_CXX_STANDARD 11) # Library setup add_library(usgsephem SHARED src/TestObject.cpp + src/eal.cpp ) set_target_properties(usgsephem PROPERTIES VERSION ${PROJECT_VERSION} diff --git a/include/eal.h b/include/eal.h new file mode 100644 index 0000000000000000000000000000000000000000..8ea965672de4b51726ef99109d25830294771de3 --- /dev/null +++ b/include/eal.h @@ -0,0 +1,15 @@ +#ifndef EAL_H +#define EAL_H + +#include +#include + +using namespace std; + +vector getPosition(vector> coords, vector coeffs, char *interp, double time); +vector getVelocity(vector> coords, vector coeffs, char *interp, double time, bool interpolation); + +vector getPosition(vector coeffs, char *interp, double time); +vector getVelocity(vector coeffs, char *interp, double time, bool interpolation); + +#endif // EAL_H diff --git a/src/eal.cpp b/src/eal.cpp new file mode 100644 index 0000000000000000000000000000000000000000..b523c36ce7f82c289f2a58ace1262f9a856c8218 --- /dev/null +++ b/src/eal.cpp @@ -0,0 +1,49 @@ +#include "eal.h" + +// Positional Functions + +// Position Data Functions +vector getPosition(vector> coords, vector coeffs, char *interp, double time) { + vector coordinate = {0.0, 0.0, 0.0}; + return coordinate; +} + +vector getVelocity(vector> coords, vector coeffs, char *interp, double time, bool interpolation) { + vector coordinate = {0.0, 0.0, 0.0}; + return coordinate; +} + +// Postion Function Functions +vector getPosition(vector coeffs, char *interp, double time) { + vector coordinate = {0.0, 0.0, 0.0}; + return coordinate; +} + +vector getVelocity(vector coeffs, char *interp, double time, bool interpolation) { + vector coordinate = {0.0, 0.0, 0.0}; + return coordinate; +} + +// Rotation Data Functions + +// Rotation Data Functions +vector getRotation(char *from, char *to, vector> rotations, vector times, char *interp, double time) { + vector coordinate = {0.0, 0.0, 0.0}; + return coordinate; +} + +vector getAngularVelocity(char *from, char *to, vector> rotations, vector times, char *interp, double time) { + vector coordinate = {0.0, 0.0, 0.0}; + return coordinate; +} + +// Rotation Function Functions +vector getRotation(char *from, char *to, vector coefficients, char *interp, double time) { + vector coordinate = {0.0, 0.0, 0.0}; + return coordinate; +} + +vector getAngularVelocity(char *from, char *to, vector coefficients, char *interp, double time) { + vector coordinate = {0.0, 0.0, 0.0}; + return coordinate; +}