亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? positiontest.cpp

?? GPSTK:做gpS的人都應當知道這個東西
?? CPP
字號:
#pragma ident "$Id$"/** * @file positiontest.cpp  Test the Position module * */#include <iostream>#include <iomanip>#include "Position.hpp"using namespace std;using namespace gpstk;using namespace gpstk::StringUtils;int main(){   try   {      int i;      Position c,s,d,g;      cout << "Position() " << c << endl;      // test transformTo      cout << "Test set...() and transformTo\n";      {         c.setECEF(-1575232.0141,-4707872.2332, 3993198.4383);         cout << "Position.set        to Cartesian  " << c << endl;         Position t(c);         t.transformTo(Position::Geodetic);         cout << "Transform Cartesian to Geodetic   " << t;         cout << "  Error : " << range(t,c) << " m" << endl;         t = c;         t.transformTo(Position::Geocentric);         cout << "Transform Cartesian to Geocentric " << t;         cout << "  Error : " << range(t,c) << " m" << endl;         t = c;         t.transformTo(Position::Spherical);         cout << "Transform Cartesian to Spherical  " << t;         cout << "  Error : " << range(t,c) << " m" << endl;      }      {         d.setGeodetic(39.000004186778,251.499999999370,1400.009066903964);         cout << "Position.set         to Geodetic  " << d << endl;         Position t(d);         t.transformTo(Position::Cartesian);         cout << "Transform Geodetic to Cartesian   " << t;         cout << "  Error : " << range(t,d) << " m" << endl;         t = d;         t.transformTo(Position::Geocentric);         cout << "Transform Geodetic to Geocentric  " << t;         cout << "  Error : " << range(t,d) << " m" << endl;         t = d;         t.transformTo(Position::Spherical);         cout << "Transform Geodetic to Spherical   " << t;         cout << "  Error : " << range(t,d) << " m" << endl;      }      {         g.setGeocentric(38.811958506159,251.499999999370,6371110.627671023800);         cout << "Position.set        to Geocentric " << g << endl;         Position t(g);         t.transformTo(Position::Cartesian);         cout << "Transform Geocentric to Cartesian " << t;         cout << "  Error : " << range(t,g) << " m" << endl;         t = g;         t.transformTo(Position::Geodetic);         cout << "Transform Geocentric to Geodetic  " << t;         cout << "  Error : " << range(t,g) << " m" << endl;         t = g;         t.transformTo(Position::Spherical);         cout << "Transform Geocentric to Spherical " << t;         cout << "  Error : " << range(t,g) << " m" << endl;      }      {         s.setSpherical(51.188041493841,251.499999999370,6371110.627671023800);         cout << "Position.set      to Spherical    " << s << endl;         Position t(s);         t.transformTo(Position::Cartesian);         cout << "Transform Spherical to Cartesian  " << t;         cout << "  Error : " << range(t,s) << " m" << endl;         t = s;         t.transformTo(Position::Geocentric);         cout << "Transform Spherical to Geocentric " << t;         cout << "  Error : " << range(t,s) << " m" << endl;         t = s;         t.transformTo(Position::Geodetic);         cout << "Transform Spherical to Geodetic   " << t;         cout << "  Error : " << range(t,s) << " m" << endl;      }      // test printf      cout << "\nTest printf and the indicated 'get()' functions\n";      cout << c.printf("%13.4x     X() (meters)") << endl;      cout << c.printf("%13.4y     Y() (meters)") << endl;      cout << c.printf("%13.4z     Z() (meters)") << endl;      cout << c.printf("%13.4X     X()/1000 (kilometers)") << endl;      cout << c.printf("%13.4Y     Y()/1000 (kilometers)") << endl;      cout << c.printf("%13.4Z     Z()/1000 (kilometers)") << endl;      cout << c.printf("%15.6A   geodeticLatitude() (degrees North)") << endl;      cout << c.printf("%15.6a   geocentricLatitude() (degrees North)") << endl;      cout << c.printf("%15.6L   longitude() (degrees East)") << endl;      cout << c.printf("%15.6l   longitude() (degrees East)") << endl;      cout << c.printf("%15.6w   longitude() (degrees West)") << endl;      cout << c.printf("%15.6W   longitude() (degrees West)") << endl;      cout << c.printf("%15.6t   theta() (degrees)") << endl;      cout << c.printf("%15.6T   theta() (radians)") << endl;      cout << c.printf("%15.6p   phi() (degrees)") << endl;      cout << c.printf("%15.6P   phi() (radians)") << endl;      cout << c.printf("%13.4r     radius() meters") << endl;      cout << c.printf("%13.4R     radius()/1000 kilometers") << endl;      cout << c.printf("%13.4h     height() meters") << endl;      cout << c.printf("%13.4H     height()/1000 kilometers") << endl;      // test setToString      cout << "\nTest setToString and equality operators\n";      string fmt[5]={         "",         "%A degN %L degE %h m",         "%a degN %L degE %r m",         "%x m %y m %z m",         "%t deg %p deg %r M"};      for(i=1; i<5; i++) {         string str;         Position t(c),tt;         t.transformTo(static_cast<Position::CoordinateSystem>(i));         {            ostringstream o;            o << t;            str = o.str();         }         tt.setToString(str,fmt[i]);         cout << "System: " << t.getSystemName() << endl;         cout << "Original    " << t << endl;         cout << "string      " << str << endl;         cout << "setToString " << tt            << " Error " << range(tt,t) << " m" << endl;         cout << " equality: " << (t==tt ? "==" : "not ==");         cout << " but " << (t!=tt ? "!=" : "not !=") << endl;         cout << endl;      }      // test elevation and azimuth      cout << "Elevation and azimth" << fixed << endl;      c.setECEF(-1575232.0141,-4707872.2332, 3993198.4383);      s.setECEF(3*6371110.62767,0,0);      cout << setw(6) << setprecision(2) << c.elevation(s)         << " " << setw(6) << setprecision(2) << c.azimuth(s) << endl;      // compare with functions from Triple::      cout << setw(6) << setprecision(2) << c.elvAngle(s)         << " " << setw(6) << setprecision(2) << c.azAngle(s) << endl;      cout << endl;      // test IPP      cout << "The IPP at " << g << " (90,0,350000) is\n"           << "           " << g.getIonosphericPiercePoint(90,0,350000)           << " " << g.getSystemName() << endl << endl;      // test ALL transforms with pole      // X -> D -> C -> S -> X -> C -> D -> X -> S -> D -> S -> C -> X      cout << "Try to break it at the pole\n";      c.setECEF(0,0,6371110.6277);      //c.setECEF(0,0,0.0001);         // this will break it      cout << "Set to the pole in cartesian : " << c << endl;      c.transformTo(Position::Geodetic);      cout << "The pole in geodetic   " << c << endl;      c.transformTo(Position::Geocentric);      cout << "The pole in geocentric " << c << endl;      c.transformTo(Position::Spherical);      cout << "The pole in spherical  " << c << endl;      c.transformTo(Position::Cartesian);      cout << "The pole in cartesian  " << c << endl;      c.transformTo(Position::Geocentric);      cout << "The pole in geocentric " << c << endl;      c.transformTo(Position::Geodetic);      cout << "The pole in geodetic   " << c << endl;      c.transformTo(Position::Cartesian);      cout << "The pole in cartesian  " << c << endl;      c.transformTo(Position::Spherical);      cout << "The pole in spherical  " << c << endl;      c.transformTo(Position::Geodetic);      cout << "The pole in geodetic   " << c << endl;      c.transformTo(Position::Spherical);      cout << "The pole in spherical  " << c << endl;      c.transformTo(Position::Geocentric);      cout << "The pole in geocentric " << c << endl;      c.transformTo(Position::Cartesian);      cout << "The pole in cartesian  " << c << endl;      // test ALL transforms with origin      // X -> D -> C -> S -> X -> C -> D -> X -> S -> D -> S -> C -> X      cout << endl << "Try to break it at the origin\n";      c.setECEF(0,0,0);      cout << "Set to the origin in cartesian : " << c << endl;      c.transformTo(Position::Geodetic);      cout << "The origin in geodetic   " << c << endl;      c.transformTo(Position::Geocentric);      cout << "The origin in geocentric " << c << endl;      c.transformTo(Position::Spherical);      cout << "The origin in spherical  " << c << endl;      c.transformTo(Position::Cartesian);      cout << "The origin in cartesian  " << c << endl;      c.transformTo(Position::Geocentric);      cout << "The origin in geocentric " << c << endl;      c.transformTo(Position::Geodetic);      cout << "The origin in geodetic   " << c << endl;      c.transformTo(Position::Cartesian);      cout << "The origin in cartesian  " << c << endl;      c.transformTo(Position::Spherical);      cout << "The origin in spherical  " << c << endl;      c.transformTo(Position::Geodetic);      cout << "The origin in geodetic   " << c << endl;      c.transformTo(Position::Spherical);      cout << "The origin in spherical  " << c << endl;      c.transformTo(Position::Geocentric);      cout << "The origin in geocentric " << c << endl;      c.transformTo(Position::Cartesian);      cout << "The origin in cartesian  " << c << endl;      cout << "Tests complete." << endl;      return 0;   }   catch(gpstk::Exception& e)   {      cout << e << endl;   }   catch(...)   {      cout << "Some other exception thrown..." << endl;   }   cout << "Exiting with exceptions." << endl;   return -1;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕高清不卡| 国产成人精品影视| 欧美性猛片aaaaaaa做受| 亚洲欧美日韩系列| 欧美色精品天天在线观看视频| 亚洲午夜久久久久久久久电影院| 在线看不卡av| 五月婷婷激情综合网| 日韩欧美综合一区| 韩国av一区二区三区在线观看 | 欧洲色大大久久| 亚洲国产精品久久久久秋霞影院| 3d动漫精品啪啪1区2区免费| 麻豆成人91精品二区三区| 26uuu久久天堂性欧美| a美女胸又www黄视频久久| 伊人色综合久久天天| 精品视频一区 二区 三区| 裸体健美xxxx欧美裸体表演| 久久综合久久综合九色| 不卡区在线中文字幕| 亚洲高清久久久| 精品国产伦理网| 99久久久久久| 亚洲444eee在线观看| www欧美成人18+| 91免费观看国产| 日韩不卡一二三区| 国产精品色呦呦| 91精品国产综合久久精品| 国产一二精品视频| 性欧美大战久久久久久久久| 久久久久久久综合日本| 欧美在线免费播放| 国产精品一区二区免费不卡 | 国产精品毛片无遮挡高清| 色婷婷精品久久二区二区蜜臂av| 免费在线视频一区| 亚洲欧洲av在线| 精品噜噜噜噜久久久久久久久试看 | 国产精品资源网| 亚洲成人免费视频| 国产精品麻豆久久久| 日韩一区二区三区四区| 色久优优欧美色久优优| 国产精品一区三区| 奇米一区二区三区| 亚洲国产视频在线| 国产精品传媒在线| 亚洲精品在线免费播放| 欧美电影免费观看完整版| 91老师国产黑色丝袜在线| 久久精品国产99国产精品| 亚洲精品va在线观看| 久久久精品黄色| 日韩欧美一级在线播放| 欧美日韩一卡二卡三卡| 97久久超碰国产精品| 国产成人精品www牛牛影视| 免费xxxx性欧美18vr| 亚洲精品大片www| 国产精品妹子av| 国产亚洲精品中文字幕| 欧美大片拔萝卜| 日韩一区二区三区av| 欧美精品在线视频| 在线观看视频一区| 一本一本大道香蕉久在线精品| 国产成人超碰人人澡人人澡| 精品在线播放午夜| 美女一区二区视频| 青青青爽久久午夜综合久久午夜| 午夜视频一区二区| 亚洲va欧美va人人爽午夜| 玉足女爽爽91| 尤物av一区二区| 一区二区三区在线播放| 亚洲欧美一区二区三区孕妇| |精品福利一区二区三区| 1000精品久久久久久久久| 中文字幕亚洲视频| 亚洲精品日产精品乱码不卡| 亚洲桃色在线一区| 艳妇臀荡乳欲伦亚洲一区| 一区二区三区不卡在线观看| 亚洲欧美成人一区二区三区| 亚洲免费毛片网站| 亚洲国产另类精品专区| 日韩中文字幕麻豆| 美女脱光内衣内裤视频久久网站 | 国产传媒一区在线| 国产成人精品网址| 不卡一区二区三区四区| 99re在线视频这里只有精品| 一本色道久久综合亚洲aⅴ蜜桃 | 欧美性xxxxx极品少妇| 在线观看不卡视频| 69精品人人人人| 26uuu欧美| 成人免费视频在线观看| 一区二区三区国产精华| 亚洲一区在线免费观看| 天堂在线亚洲视频| 国产精品99久久久久久宅男| 99视频热这里只有精品免费| 欧美色图第一页| 亚洲欧美日韩精品久久久久| 亚洲地区一二三色| 国产一区二区在线免费观看| 成人h版在线观看| 欧美三级视频在线观看 | 久久久99精品久久| 亚洲精品大片www| 激情综合五月天| www.久久久久久久久| 欧美日韩免费观看一区二区三区 | 欧美日韩三级在线| 26uuu另类欧美亚洲曰本| 亚洲色图一区二区三区| 日韩和的一区二区| 国产69精品久久久久毛片 | 日韩欧美在线影院| 亚洲精品亚洲人成人网| 亚洲国产精品久久不卡毛片| 国产精品色一区二区三区| 亚洲激情男女视频| 久久精品99国产精品日本| 99久久精品国产麻豆演员表| 精品日韩99亚洲| 一区二区三区日韩欧美| 国产剧情一区二区| 欧美午夜片在线看| 国产视频一区二区在线观看| 亚洲小说欧美激情另类| 国产精品资源站在线| 7878成人国产在线观看| 一区在线观看免费| 麻豆精品久久精品色综合| 欧洲人成人精品| 亚洲欧美影音先锋| 国产一区美女在线| 在线播放视频一区| 一区免费观看视频| 国产福利电影一区二区三区| 日韩一区二区在线播放| 亚洲第一激情av| 在线视频你懂得一区二区三区| 国产精品视频免费看| 国产福利一区二区三区在线视频| 国产日韩欧美一区二区三区综合 | 日韩视频在线你懂得| 一区二区三区资源| 成人激情小说乱人伦| 欧美国产欧美亚州国产日韩mv天天看完整| 国产99久久精品| 精品99一区二区三区| 免费成人在线网站| 日韩欧美一级二级三级| 亚洲123区在线观看| 欧美视频一区二区三区四区| 亚洲最大成人综合| 欧美在线观看一区| 亚洲成年人网站在线观看| 欧美性xxxxx极品少妇| 亚洲综合色在线| 欧美性欧美巨大黑白大战| 亚洲成人免费在线观看| 欧美日韩高清一区| 免费人成精品欧美精品| 日韩美一区二区三区| 精品中文av资源站在线观看| 精品国产污污免费网站入口 | 国产精品成人免费精品自在线观看| 国产精品自产自拍| 中文无字幕一区二区三区| 国产高清在线精品| 久久久精品黄色| 成人性生交大片免费看中文| 亚洲国产精品黑人久久久| 成人国产在线观看| 日韩女优制服丝袜电影| 国产精品99久久久久久有的能看| 精品美女在线播放| 狂野欧美性猛交blacked| 国产色爱av资源综合区| 丁香啪啪综合成人亚洲小说| 国产精品午夜久久| 色94色欧美sute亚洲线路一ni | 成人毛片在线观看| 亚洲日本在线a| 欧美日韩精品一区视频| 亚洲aaa精品| 久久久久久毛片| 91在线观看美女| 亚洲高清免费观看高清完整版在线观看 | 亚洲精品成人精品456| 欧美日韩在线播放三区四区| 蜜桃视频第一区免费观看| 2014亚洲片线观看视频免费| 97精品电影院|