GSLAM
3.0.0
|
Public Member Functions | |
GPS (const std::string &nameGPS="GPS") | |
virtual bool | insert (double time, const T &gpsData) |
virtual size_t | size () const |
virtual bool | getArray (std::vector< T > &gpsArray) |
virtual T | at (size_t idx) |
return all data | |
virtual T | atTime (const double &time=-1, bool nearist=true) |
virtual void | getTimeRange (double &minTime, double &maxTime) |
virtual bool | load (const std::string &filename) |
virtual bool | save (const std::string &filename) |
bool | hasTime (const double &time) |
Static Public Member Functions | |
static Point3d | GPS2XYZ (double lat, double lon, double alt) |
Convert WGS84 lon,lat,alt data to ECEF data (Earth Centered Earth Fixed) More... | |
static Point3d | XYZ2GPS (double x, double y, double z) |
static Point3d | GPS2XYZ (Point3d gps) |
static Point3d | XYZ2GPS (Point3d xyz) |
Public Attributes | |
std::string | name |
|
static |
Convert WGS84 lon,lat,alt data to ECEF data (Earth Centered Earth Fixed)
lat | Latitude in degree |
lon | Longitude in degree |
alt | Altitude relative to the WGS84 ellipsoid |
http://fr.mathworks.com/matlabcentral/newsreader/view_thread/142629