Skip to content
Snippets Groups Projects
Commit 0e86971e authored by Jesse Mapel's avatar Jesse Mapel Committed by Lauren Adoram-Kershner
Browse files

Exposed sensorpartials (#21)

* Exposed sensorpartials

* Templated double vector
parent 47ad7002
No related branches found
No related tags found
No related merge requests found
%module(package="csmapi") rastergm
%include <std_pair.i>
%include <std_vector.i>
%template(VecDouble) std::vector<double>;
%template(SensorPartials) std::pair<double, double>;
%template(VecSensorPartials) std::vector<std::pair<double, double>>;
%{
#include "RasterGM.h"
%}
......@@ -13,9 +19,9 @@
} catch (const csm::Warning &e) {
PyErr_WarnEx(PyExc_UserWarning, e.getMessage().c_str(), 1);
}
}
}
%import model.i
%import geometricmodel.i
%import csm.i
%include RasterGM.h
\ No newline at end of file
%include RasterGM.h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment