CARLA
 
载入中...
搜索中...
未找到
命名空间 | 函数 | 变量
GeoLocation.cpp 文件参考
#include "carla/geom/GeoLocation.h"
#include "carla/geom/Location.h"
#include "carla/geom/Math.h"
#include <cmath>
+ GeoLocation.cpp 的引用(Include)关系图:

浏览源代码.

命名空间

namespace  carla
 This file contains definitions of common data structures used in traffic manager.
 
namespace  carla::geom
 

函数

static void carla::geom::LatLonAddMeters (double lat_start, double lon_start, double dx, double dy, double &lat_end, double &lon_end)
 Adds meters dx/dy to given lat/lon and returns new lat/lon.
 
template<class float_type >
static void carla::geom::LatLonToMercator (double lat, double lon, double scale, float_type &mx, float_type &my)
 Converts lat/lon/scale to mx/my (mx/my in meters if correct scale is given).
 
static double carla::geom::LatToScale (double lat)
 Convert latitude to scale, which is needed by mercator transformations
 
static void carla::geom::MercatorToLatLon (double mx, double my, double scale, double &lat, double &lon)
 Converts mx/my/scale to lat/lon (mx/my in meters if correct scale is given).
 

变量

static constexpr double carla::geom::EARTH_RADIUS_EQUA = 6378137.0
 Earth radius at equator [m].