GSLAM  3.0.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GPS< T > Class Template Reference
Inheritance diagram for GPS< T >:
GPSArray< T >

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
 

Member Function Documentation

static Point3d GPS2XYZ ( double  lat,
double  lon,
double  alt 
)
static

Convert WGS84 lon,lat,alt data to ECEF data (Earth Centered Earth Fixed)

Parameters
latLatitude in degree
lonLongitude in degree
altAltitude relative to the WGS84 ellipsoid
Returns
ECEF corresponding coordinates

http://fr.mathworks.com/matlabcentral/newsreader/view_thread/142629