Searched refs:longitude (Results 1 – 3 of 3) sorted by relevance
/ide/tools/previewer/mock/lite/ |
D | VirtualLocation.cpp | 114 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in IsPostionChanged() local 116 …if (std::abs(longitude - longitudeChecked) < pow(PRECISION_BASE_NUMBER, -SharedDataManager::POSITI… in IsPostionChanged() 120 longitudeChecked = longitude; in IsPostionChanged()
|
D | GeoLocation.cpp | 96 result->longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in SerializeLocData()
|
/ide/tools/previewer/cli/ |
D | CommandLine.cpp | 793 string longitude(args["longitude"].asString()); in IsSetArgValid() local 795 if (!regex_match(latitude, isDob) || !regex_match(longitude, isDob)) { in IsSetArgValid() 805 if (!SharedData<double>::IsValid(SharedDataType::LONGITUDE, atof(longitude.data()))) { in IsSetArgValid() 806 ELOG("LocationCommand invalid longitude value: %f", atof(longitude.data())); in IsSetArgValid() 814 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in RunGet() local 818 resultContent["longitude"] = longitude; in RunGet() 826 string longitude(args["longitude"].asString()); in RunSet() local 827 SharedData<double>::SetData(SharedDataType::LONGITUDE, atof(longitude.data())); in RunSet() 831 …ILOG("Set location run finished, latitude: %s,longitude: %s", latitude.c_str(), longitude.c_str()); in RunSet()
|