Skip to content
Snippets Groups Projects
Commit e521e9fc authored by Adam Paquette's avatar Adam Paquette
Browse files

Basic function definitions and includes

parent e1dd99e5
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ set(CMAKE_CXX_STANDARD 11) ...@@ -13,6 +13,7 @@ set(CMAKE_CXX_STANDARD 11)
# Library setup # Library setup
add_library(usgsephem SHARED add_library(usgsephem SHARED
src/TestObject.cpp src/TestObject.cpp
src/eal.cpp
) )
set_target_properties(usgsephem PROPERTIES set_target_properties(usgsephem PROPERTIES
VERSION ${PROJECT_VERSION} VERSION ${PROJECT_VERSION}
......
#ifndef EAL_H
#define EAL_H
#include <vector>
#include <string.h>
using namespace std;
vector<double> getPosition(vector<vector<double>> coords, vector<double> coeffs, char *interp, double time);
vector<double> getVelocity(vector<vector<double>> coords, vector<double> coeffs, char *interp, double time, bool interpolation);
vector<double> getPosition(vector<double> coeffs, char *interp, double time);
vector<double> getVelocity(vector<double> coeffs, char *interp, double time, bool interpolation);
#endif // EAL_H
#include "eal.h"
// Positional Functions
// Position Data Functions
vector<double> getPosition(vector<vector<double>> coords, vector<double> coeffs, char *interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate;
}
vector<double> getVelocity(vector<vector<double>> coords, vector<double> coeffs, char *interp, double time, bool interpolation) {
vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate;
}
// Postion Function Functions
vector<double> getPosition(vector<double> coeffs, char *interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate;
}
vector<double> getVelocity(vector<double> coeffs, char *interp, double time, bool interpolation) {
vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate;
}
// Rotation Data Functions
// Rotation Data Functions
vector<double> getRotation(char *from, char *to, vector<vector<double>> rotations, vector<double> times, char *interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate;
}
vector<double> getAngularVelocity(char *from, char *to, vector<vector<double>> rotations, vector<double> times, char *interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate;
}
// Rotation Function Functions
vector<double> getRotation(char *from, char *to, vector<double> coefficients, char *interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate;
}
vector<double> getAngularVelocity(char *from, char *to, vector<double> coefficients, char *interp, double time) {
vector<double> coordinate = {0.0, 0.0, 0.0};
return coordinate;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment