I have a flight log with a lot of aerial photos taken ,and for each photo i have GPS point, height above mean sea lvl + roll,pitch,yaw.
Since the information about what axes and orientation of the coordinate system for these roll,pitch,yaw values are given, i wanted to create an example with cesium that illustrate the different by letting the user click though different axis combinations and look at the calculated footprint for finding out the orientation of this coordinate system.
I am new to cesium and was hoping that I could get a few question clarified.
Cesiumjs represent everything as cartesion coordinates, correct?
I looked at https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/Cartesian3.js and its clear to me how to convert from lat,lng.
I know how to solve the linear equations to do the footprint based on a assumption that the earth is flat and a height value. Would I be able to in cesium js api to use the terrain model to find intersection between ray, from camera based on above cartesian coordinate + roll,pitch,yaw, and the terrain for giving better estiamate of footprint?.