Cartesian2.html 133 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Cartesian2 - Cesium Documentation</title>
  8. <!--[if lt IE 9]>
  9. <script src="javascript/html5.js"></script>
  10. <![endif]-->
  11. <link href="styles/jsdoc-default.css" rel="stylesheet">
  12. <link href="styles/prism.css" rel="stylesheet">
  13. </head>
  14. <body>
  15. <div id="main">
  16. <h1 class="page-title">
  17. <a href="index.html"><img src="images/CesiumLogo.png" class="cesiumLogo"></a>
  18. Cartesian2
  19. <div class="titleCenterer"></div>
  20. </h1>
  21. <section>
  22. <header>
  23. </header>
  24. <article>
  25. <div class="container-overview">
  26. <dt>
  27. <div class="nameContainer">
  28. <h4 class="name" id="Cartesian2">
  29. <a href="#Cartesian2" class="doc-link"></a>
  30. new Cesium.Cartesian2<span class="signature">(<span class="optional">x</span>, <span class="optional">y</span>)</span>
  31. <div class="source-link rightLinks">
  32. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L28">Core/Cartesian2.js 28</a>
  33. </div>
  34. </h4>
  35. </div>
  36. </dt>
  37. <dd>
  38. <div class="description">
  39. A 2D Cartesian point.
  40. </div>
  41. <table class="params">
  42. <thead>
  43. <tr>
  44. <th>Name</th>
  45. <th>Type</th>
  46. <th>Default</th>
  47. <th class="last">Description</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. <tr>
  52. <td class="name"><code>x</code></td>
  53. <td class="type">
  54. <span class="param-type">Number</span>
  55. </td>
  56. <td class="default">
  57. <code class="language-javascript">0.0</code>
  58. </td>
  59. <td class="description last">
  60. <span class="optional">optional</span>
  61. The X component.</td>
  62. </tr>
  63. <tr>
  64. <td class="name"><code>y</code></td>
  65. <td class="type">
  66. <span class="param-type">Number</span>
  67. </td>
  68. <td class="default">
  69. <code class="language-javascript">0.0</code>
  70. </td>
  71. <td class="description last">
  72. <span class="optional">optional</span>
  73. The Y component.</td>
  74. </tr>
  75. </tbody>
  76. </table>
  77. <dl class="details">
  78. <h5>See:</h5>
  79. <ul class="see-list">
  80. <li><a href="Cartesian3.html">Cartesian3</a></li>
  81. <li><a href="Cartesian4.html">Cartesian4</a></li>
  82. <li><a href="Packable.html">Packable</a></li>
  83. </ul>
  84. </dl>
  85. </dd>
  86. </div>
  87. <h3 class="subsection-title">Members</h3>
  88. <dl>
  89. <dt>
  90. <div class="nameContainer">
  91. <h4 class="name" id="x">
  92. <a href="#x" class="doc-link"></a>
  93. x<span class="type-signature"> : Number</span>
  94. <div class="source-link rightLinks">
  95. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L34">Core/Cartesian2.js 34</a>
  96. </div>
  97. </h4>
  98. </div>
  99. </dt>
  100. <dd>
  101. <div class="description">
  102. The X component.
  103. </div>
  104. <dl class="details">
  105. <span class="details-header">Default Value:</span>
  106. <code class="language-javascript">0.0</code>
  107. </dl>
  108. </dd>
  109. <dt>
  110. <div class="nameContainer">
  111. <h4 class="name" id="y">
  112. <a href="#y" class="doc-link"></a>
  113. y<span class="type-signature"> : Number</span>
  114. <div class="source-link rightLinks">
  115. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L41">Core/Cartesian2.js 41</a>
  116. </div>
  117. </h4>
  118. </div>
  119. </dt>
  120. <dd>
  121. <div class="description">
  122. The Y component.
  123. </div>
  124. <dl class="details">
  125. <span class="details-header">Default Value:</span>
  126. <code class="language-javascript">0.0</code>
  127. </dl>
  128. </dd>
  129. <dt>
  130. <div class="nameContainer">
  131. <h4 class="name" id=".packedLength">
  132. <a href="#.packedLength" class="doc-link"></a>
  133. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.packedLength<span class="type-signature"> : Number</span>
  134. <div class="source-link rightLinks">
  135. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L108">Core/Cartesian2.js 108</a>
  136. </div>
  137. </h4>
  138. </div>
  139. </dt>
  140. <dd>
  141. <div class="description">
  142. The number of elements used to pack the object into an array.
  143. </div>
  144. <dl class="details">
  145. </dl>
  146. </dd>
  147. <dt>
  148. <div class="nameContainer">
  149. <h4 class="name" id=".UNIT_X">
  150. <a href="#.UNIT_X" class="doc-link"></a>
  151. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Cartesian2.UNIT_X<span class="type-signature"> : <a href="Cartesian2.html">Cartesian2</a></span>
  152. <div class="source-link rightLinks">
  153. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L789">Core/Cartesian2.js 789</a>
  154. </div>
  155. </h4>
  156. </div>
  157. </dt>
  158. <dd>
  159. <div class="description">
  160. An immutable Cartesian2 instance initialized to (1.0, 0.0).
  161. </div>
  162. <dl class="details">
  163. </dl>
  164. </dd>
  165. <dt>
  166. <div class="nameContainer">
  167. <h4 class="name" id=".UNIT_Y">
  168. <a href="#.UNIT_Y" class="doc-link"></a>
  169. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Cartesian2.UNIT_Y<span class="type-signature"> : <a href="Cartesian2.html">Cartesian2</a></span>
  170. <div class="source-link rightLinks">
  171. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L797">Core/Cartesian2.js 797</a>
  172. </div>
  173. </h4>
  174. </div>
  175. </dt>
  176. <dd>
  177. <div class="description">
  178. An immutable Cartesian2 instance initialized to (0.0, 1.0).
  179. </div>
  180. <dl class="details">
  181. </dl>
  182. </dd>
  183. <dt>
  184. <div class="nameContainer">
  185. <h4 class="name" id=".ZERO">
  186. <a href="#.ZERO" class="doc-link"></a>
  187. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Cartesian2.ZERO<span class="type-signature"> : <a href="Cartesian2.html">Cartesian2</a></span>
  188. <div class="source-link rightLinks">
  189. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L781">Core/Cartesian2.js 781</a>
  190. </div>
  191. </h4>
  192. </div>
  193. </dt>
  194. <dd>
  195. <div class="description">
  196. An immutable Cartesian2 instance initialized to (0.0, 0.0).
  197. </div>
  198. <dl class="details">
  199. </dl>
  200. </dd>
  201. </dl>
  202. <h3 class="subsection-title">Methods</h3>
  203. <dl>
  204. <dt>
  205. <div class="nameContainer">
  206. <h4 class="name" id="clone">
  207. <a href="#clone" class="doc-link"></a>
  208. clone<span class="signature">(<span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  209. <div class="source-link rightLinks">
  210. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L805">Core/Cartesian2.js 805</a>
  211. </div>
  212. </h4>
  213. </div>
  214. </dt>
  215. <dd>
  216. <div class="description">
  217. Duplicates this Cartesian2 instance.
  218. </div>
  219. <table class="params">
  220. <thead>
  221. <tr>
  222. <th>Name</th>
  223. <th>Type</th>
  224. <th class="last">Description</th>
  225. </tr>
  226. </thead>
  227. <tbody>
  228. <tr>
  229. <td class="name"><code>result</code></td>
  230. <td class="type">
  231. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  232. </td>
  233. <td class="description last">
  234. <span class="optional">optional</span>
  235. The object onto which to store the result.</td>
  236. </tr>
  237. </tbody>
  238. </table>
  239. <h5>Returns:</h5>
  240. <div class="param-desc">
  241. The modified result parameter or a new Cartesian2 instance if one was not provided.
  242. </div>
  243. <dl class="details">
  244. </dl>
  245. </dd>
  246. <dt>
  247. <div class="nameContainer">
  248. <h4 class="name" id="equals">
  249. <a href="#equals" class="doc-link"></a>
  250. equals<span class="signature">(<span class="optional">right</span>)</span> &rarr; <span class="type-signature returnType">Boolean</span>
  251. <div class="source-link rightLinks">
  252. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L816">Core/Cartesian2.js 816</a>
  253. </div>
  254. </h4>
  255. </div>
  256. </dt>
  257. <dd>
  258. <div class="description">
  259. Compares this Cartesian against the provided Cartesian componentwise and returns <code>true</code> if they are equal, <code>false</code> otherwise.
  260. </div>
  261. <table class="params">
  262. <thead>
  263. <tr>
  264. <th>Name</th>
  265. <th>Type</th>
  266. <th class="last">Description</th>
  267. </tr>
  268. </thead>
  269. <tbody>
  270. <tr>
  271. <td class="name"><code>right</code></td>
  272. <td class="type">
  273. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  274. </td>
  275. <td class="description last">
  276. <span class="optional">optional</span>
  277. The right hand side Cartesian.</td>
  278. </tr>
  279. </tbody>
  280. </table>
  281. <h5>Returns:</h5>
  282. <div class="param-desc">
  283. <code>true</code> if they are equal, <code>false</code> otherwise.
  284. </div>
  285. <dl class="details">
  286. </dl>
  287. </dd>
  288. <dt>
  289. <div class="nameContainer">
  290. <h4 class="name" id="equalsEpsilon">
  291. <a href="#equalsEpsilon" class="doc-link"></a>
  292. equalsEpsilon<span class="signature">(<span class="optional">right</span>, relativeEpsilon, <span class="optional">absoluteEpsilon</span>)</span> &rarr; <span class="type-signature returnType">Boolean</span>
  293. <div class="source-link rightLinks">
  294. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L830">Core/Cartesian2.js 830</a>
  295. </div>
  296. </h4>
  297. </div>
  298. </dt>
  299. <dd>
  300. <div class="description">
  301. Compares this Cartesian against the provided Cartesian componentwise and returns <code>true</code> if they pass an absolute or relative tolerance test, <code>false</code> otherwise.
  302. </div>
  303. <table class="params">
  304. <thead>
  305. <tr>
  306. <th>Name</th>
  307. <th>Type</th>
  308. <th>Default</th>
  309. <th class="last">Description</th>
  310. </tr>
  311. </thead>
  312. <tbody>
  313. <tr>
  314. <td class="name"><code>right</code></td>
  315. <td class="type">
  316. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  317. </td>
  318. <td class="default">
  319. </td>
  320. <td class="description last">
  321. <span class="optional">optional</span>
  322. The right hand side Cartesian.</td>
  323. </tr>
  324. <tr>
  325. <td class="name"><code>relativeEpsilon</code></td>
  326. <td class="type">
  327. <span class="param-type">Number</span>
  328. </td>
  329. <td class="default">
  330. </td>
  331. <td class="description last">
  332. The relative epsilon tolerance to use for equality testing.</td>
  333. </tr>
  334. <tr>
  335. <td class="name"><code>absoluteEpsilon</code></td>
  336. <td class="type">
  337. <span class="param-type">Number</span>
  338. </td>
  339. <td class="default">
  340. <code class="language-javascript">relativeEpsilon</code>
  341. </td>
  342. <td class="description last">
  343. <span class="optional">optional</span>
  344. The absolute epsilon tolerance to use for equality testing.</td>
  345. </tr>
  346. </tbody>
  347. </table>
  348. <h5>Returns:</h5>
  349. <div class="param-desc">
  350. <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
  351. </div>
  352. <dl class="details">
  353. </dl>
  354. </dd>
  355. <dt>
  356. <div class="nameContainer">
  357. <h4 class="name" id="toString">
  358. <a href="#toString" class="doc-link"></a>
  359. toString<span class="signature">()</span> &rarr; <span class="type-signature returnType">String</span>
  360. <div class="source-link rightLinks">
  361. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L839">Core/Cartesian2.js 839</a>
  362. </div>
  363. </h4>
  364. </div>
  365. </dt>
  366. <dd>
  367. <div class="description">
  368. Creates a string representing this Cartesian in the format '(x, y)'.
  369. </div>
  370. <h5>Returns:</h5>
  371. <div class="param-desc">
  372. A string representing the provided Cartesian in the format '(x, y)'.
  373. </div>
  374. <dl class="details">
  375. </dl>
  376. </dd>
  377. <dt>
  378. <div class="nameContainer">
  379. <h4 class="name" id=".abs">
  380. <a href="#.abs" class="doc-link"></a>
  381. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.abs<span class="signature">(cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  382. <div class="source-link rightLinks">
  383. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L632">Core/Cartesian2.js 632</a>
  384. </div>
  385. </h4>
  386. </div>
  387. </dt>
  388. <dd>
  389. <div class="description">
  390. Computes the absolute value of the provided Cartesian.
  391. </div>
  392. <table class="params">
  393. <thead>
  394. <tr>
  395. <th>Name</th>
  396. <th>Type</th>
  397. <th class="last">Description</th>
  398. </tr>
  399. </thead>
  400. <tbody>
  401. <tr>
  402. <td class="name"><code>cartesian</code></td>
  403. <td class="type">
  404. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  405. </td>
  406. <td class="description last">
  407. The Cartesian whose absolute value is to be computed.</td>
  408. </tr>
  409. <tr>
  410. <td class="name"><code>result</code></td>
  411. <td class="type">
  412. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  413. </td>
  414. <td class="description last">
  415. The object onto which to store the result.</td>
  416. </tr>
  417. </tbody>
  418. </table>
  419. <h5>Returns:</h5>
  420. <div class="param-desc">
  421. The modified result parameter.
  422. </div>
  423. <dl class="details">
  424. </dl>
  425. </dd>
  426. <dt>
  427. <div class="nameContainer">
  428. <h4 class="name" id=".add">
  429. <a href="#.add" class="doc-link"></a>
  430. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.add<span class="signature">(left, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  431. <div class="source-link rightLinks">
  432. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L507">Core/Cartesian2.js 507</a>
  433. </div>
  434. </h4>
  435. </div>
  436. </dt>
  437. <dd>
  438. <div class="description">
  439. Computes the componentwise sum of two Cartesians.
  440. </div>
  441. <table class="params">
  442. <thead>
  443. <tr>
  444. <th>Name</th>
  445. <th>Type</th>
  446. <th class="last">Description</th>
  447. </tr>
  448. </thead>
  449. <tbody>
  450. <tr>
  451. <td class="name"><code>left</code></td>
  452. <td class="type">
  453. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  454. </td>
  455. <td class="description last">
  456. The first Cartesian.</td>
  457. </tr>
  458. <tr>
  459. <td class="name"><code>right</code></td>
  460. <td class="type">
  461. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  462. </td>
  463. <td class="description last">
  464. The second Cartesian.</td>
  465. </tr>
  466. <tr>
  467. <td class="name"><code>result</code></td>
  468. <td class="type">
  469. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  470. </td>
  471. <td class="description last">
  472. The object onto which to store the result.</td>
  473. </tr>
  474. </tbody>
  475. </table>
  476. <h5>Returns:</h5>
  477. <div class="param-desc">
  478. The modified result parameter.
  479. </div>
  480. <dl class="details">
  481. </dl>
  482. </dd>
  483. <dt>
  484. <div class="nameContainer">
  485. <h4 class="name" id=".angleBetween">
  486. <a href="#.angleBetween" class="doc-link"></a>
  487. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.angleBetween<span class="signature">(left, right)</span> &rarr; <span class="type-signature returnType">Number</span>
  488. <div class="source-link rightLinks">
  489. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L687">Core/Cartesian2.js 687</a>
  490. </div>
  491. </h4>
  492. </div>
  493. </dt>
  494. <dd>
  495. <div class="description">
  496. Returns the angle, in radians, between the provided Cartesians.
  497. </div>
  498. <table class="params">
  499. <thead>
  500. <tr>
  501. <th>Name</th>
  502. <th>Type</th>
  503. <th class="last">Description</th>
  504. </tr>
  505. </thead>
  506. <tbody>
  507. <tr>
  508. <td class="name"><code>left</code></td>
  509. <td class="type">
  510. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  511. </td>
  512. <td class="description last">
  513. The first Cartesian.</td>
  514. </tr>
  515. <tr>
  516. <td class="name"><code>right</code></td>
  517. <td class="type">
  518. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  519. </td>
  520. <td class="description last">
  521. The second Cartesian.</td>
  522. </tr>
  523. </tbody>
  524. </table>
  525. <h5>Returns:</h5>
  526. <div class="param-desc">
  527. The angle between the Cartesians.
  528. </div>
  529. <dl class="details">
  530. </dl>
  531. </dd>
  532. <dt>
  533. <div class="nameContainer">
  534. <h4 class="name" id=".clone">
  535. <a href="#.clone" class="doc-link"></a>
  536. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.clone<span class="signature">(cartesian, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  537. <div class="source-link rightLinks">
  538. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L69">Core/Cartesian2.js 69</a>
  539. </div>
  540. </h4>
  541. </div>
  542. </dt>
  543. <dd>
  544. <div class="description">
  545. Duplicates a Cartesian2 instance.
  546. </div>
  547. <table class="params">
  548. <thead>
  549. <tr>
  550. <th>Name</th>
  551. <th>Type</th>
  552. <th class="last">Description</th>
  553. </tr>
  554. </thead>
  555. <tbody>
  556. <tr>
  557. <td class="name"><code>cartesian</code></td>
  558. <td class="type">
  559. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  560. </td>
  561. <td class="description last">
  562. The Cartesian to duplicate.</td>
  563. </tr>
  564. <tr>
  565. <td class="name"><code>result</code></td>
  566. <td class="type">
  567. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  568. </td>
  569. <td class="description last">
  570. <span class="optional">optional</span>
  571. The object onto which to store the result.</td>
  572. </tr>
  573. </tbody>
  574. </table>
  575. <h5>Returns:</h5>
  576. <div class="param-desc">
  577. The modified result parameter or a new Cartesian2 instance if one was not provided. (Returns undefined if cartesian is undefined)
  578. </div>
  579. <dl class="details">
  580. </dl>
  581. </dd>
  582. <dt>
  583. <div class="nameContainer">
  584. <h4 class="name" id=".distance">
  585. <a href="#.distance" class="doc-link"></a>
  586. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.distance<span class="signature">(left, right)</span> &rarr; <span class="type-signature returnType">Number</span>
  587. <div class="source-link rightLinks">
  588. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L362">Core/Cartesian2.js 362</a>
  589. </div>
  590. </h4>
  591. </div>
  592. </dt>
  593. <dd>
  594. <div class="description">
  595. Computes the distance between two points.
  596. </div>
  597. <table class="params">
  598. <thead>
  599. <tr>
  600. <th>Name</th>
  601. <th>Type</th>
  602. <th class="last">Description</th>
  603. </tr>
  604. </thead>
  605. <tbody>
  606. <tr>
  607. <td class="name"><code>left</code></td>
  608. <td class="type">
  609. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  610. </td>
  611. <td class="description last">
  612. The first point to compute the distance from.</td>
  613. </tr>
  614. <tr>
  615. <td class="name"><code>right</code></td>
  616. <td class="type">
  617. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  618. </td>
  619. <td class="description last">
  620. The second point to compute the distance to.</td>
  621. </tr>
  622. </tbody>
  623. </table>
  624. <h5>Returns:</h5>
  625. <div class="param-desc">
  626. The distance between two points.
  627. </div>
  628. <dl class="details">
  629. <h5>Example:</h5>
  630. <pre><code class="language-javascript">// Returns 1.0 var d = Cesium.Cartesian2.distance(new Cesium.Cartesian2(1.0, 0.0), new Cesium.Cartesian2(2.0, 0.0));</code></pre>
  631. </dl>
  632. </dd>
  633. <dt>
  634. <div class="nameContainer">
  635. <h4 class="name" id=".distanceSquared">
  636. <a href="#.distanceSquared" class="doc-link"></a>
  637. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.distanceSquared<span class="signature">(left, right)</span> &rarr; <span class="type-signature returnType">Number</span>
  638. <div class="source-link rightLinks">
  639. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L385">Core/Cartesian2.js 385</a>
  640. </div>
  641. </h4>
  642. </div>
  643. </dt>
  644. <dd>
  645. <div class="description">
  646. Computes the squared distance between two points. Comparing squared distances using this function is more efficient than comparing distances using <code>Cartesian2#distance</code>.
  647. </div>
  648. <table class="params">
  649. <thead>
  650. <tr>
  651. <th>Name</th>
  652. <th>Type</th>
  653. <th class="last">Description</th>
  654. </tr>
  655. </thead>
  656. <tbody>
  657. <tr>
  658. <td class="name"><code>left</code></td>
  659. <td class="type">
  660. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  661. </td>
  662. <td class="description last">
  663. The first point to compute the distance from.</td>
  664. </tr>
  665. <tr>
  666. <td class="name"><code>right</code></td>
  667. <td class="type">
  668. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  669. </td>
  670. <td class="description last">
  671. The second point to compute the distance to.</td>
  672. </tr>
  673. </tbody>
  674. </table>
  675. <h5>Returns:</h5>
  676. <div class="param-desc">
  677. The distance between two points.
  678. </div>
  679. <dl class="details">
  680. <h5>Example:</h5>
  681. <pre><code class="language-javascript">// Returns 4.0, not 2.0 var d = Cesium.Cartesian2.distance(new Cesium.Cartesian2(1.0, 0.0), new Cesium.Cartesian2(3.0, 0.0));</code></pre>
  682. </dl>
  683. </dd>
  684. <dt>
  685. <div class="nameContainer">
  686. <h4 class="name" id=".divideByScalar">
  687. <a href="#.divideByScalar" class="doc-link"></a>
  688. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.divideByScalar<span class="signature">(cartesian, scalar, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  689. <div class="source-link rightLinks">
  690. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L585">Core/Cartesian2.js 585</a>
  691. </div>
  692. </h4>
  693. </div>
  694. </dt>
  695. <dd>
  696. <div class="description">
  697. Divides the provided Cartesian componentwise by the provided scalar.
  698. </div>
  699. <table class="params">
  700. <thead>
  701. <tr>
  702. <th>Name</th>
  703. <th>Type</th>
  704. <th class="last">Description</th>
  705. </tr>
  706. </thead>
  707. <tbody>
  708. <tr>
  709. <td class="name"><code>cartesian</code></td>
  710. <td class="type">
  711. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  712. </td>
  713. <td class="description last">
  714. The Cartesian to be divided.</td>
  715. </tr>
  716. <tr>
  717. <td class="name"><code>scalar</code></td>
  718. <td class="type">
  719. <span class="param-type">Number</span>
  720. </td>
  721. <td class="description last">
  722. The scalar to divide by.</td>
  723. </tr>
  724. <tr>
  725. <td class="name"><code>result</code></td>
  726. <td class="type">
  727. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  728. </td>
  729. <td class="description last">
  730. The object onto which to store the result.</td>
  731. </tr>
  732. </tbody>
  733. </table>
  734. <h5>Returns:</h5>
  735. <div class="param-desc">
  736. The modified result parameter.
  737. </div>
  738. <dl class="details">
  739. </dl>
  740. </dd>
  741. <dt>
  742. <div class="nameContainer">
  743. <h4 class="name" id=".divideComponents">
  744. <a href="#.divideComponents" class="doc-link"></a>
  745. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.divideComponents<span class="signature">(left, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  746. <div class="source-link rightLinks">
  747. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L481">Core/Cartesian2.js 481</a>
  748. </div>
  749. </h4>
  750. </div>
  751. </dt>
  752. <dd>
  753. <div class="description">
  754. Computes the componentwise quotient of two Cartesians.
  755. </div>
  756. <table class="params">
  757. <thead>
  758. <tr>
  759. <th>Name</th>
  760. <th>Type</th>
  761. <th class="last">Description</th>
  762. </tr>
  763. </thead>
  764. <tbody>
  765. <tr>
  766. <td class="name"><code>left</code></td>
  767. <td class="type">
  768. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  769. </td>
  770. <td class="description last">
  771. The first Cartesian.</td>
  772. </tr>
  773. <tr>
  774. <td class="name"><code>right</code></td>
  775. <td class="type">
  776. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  777. </td>
  778. <td class="description last">
  779. The second Cartesian.</td>
  780. </tr>
  781. <tr>
  782. <td class="name"><code>result</code></td>
  783. <td class="type">
  784. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  785. </td>
  786. <td class="description last">
  787. The object onto which to store the result.</td>
  788. </tr>
  789. </tbody>
  790. </table>
  791. <h5>Returns:</h5>
  792. <div class="param-desc">
  793. The modified result parameter.
  794. </div>
  795. <dl class="details">
  796. </dl>
  797. </dd>
  798. <dt>
  799. <div class="nameContainer">
  800. <h4 class="name" id=".dot">
  801. <a href="#.dot" class="doc-link"></a>
  802. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.dot<span class="signature">(left, right)</span> &rarr; <span class="type-signature returnType">Number</span>
  803. <div class="source-link rightLinks">
  804. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L434">Core/Cartesian2.js 434</a>
  805. </div>
  806. </h4>
  807. </div>
  808. </dt>
  809. <dd>
  810. <div class="description">
  811. Computes the dot (scalar) product of two Cartesians.
  812. </div>
  813. <table class="params">
  814. <thead>
  815. <tr>
  816. <th>Name</th>
  817. <th>Type</th>
  818. <th class="last">Description</th>
  819. </tr>
  820. </thead>
  821. <tbody>
  822. <tr>
  823. <td class="name"><code>left</code></td>
  824. <td class="type">
  825. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  826. </td>
  827. <td class="description last">
  828. The first Cartesian.</td>
  829. </tr>
  830. <tr>
  831. <td class="name"><code>right</code></td>
  832. <td class="type">
  833. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  834. </td>
  835. <td class="description last">
  836. The second Cartesian.</td>
  837. </tr>
  838. </tbody>
  839. </table>
  840. <h5>Returns:</h5>
  841. <div class="param-desc">
  842. The dot product.
  843. </div>
  844. <dl class="details">
  845. </dl>
  846. </dd>
  847. <dt>
  848. <div class="nameContainer">
  849. <h4 class="name" id=".equals">
  850. <a href="#.equals" class="doc-link"></a>
  851. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.equals<span class="signature">(<span class="optional">left</span>, <span class="optional">right</span>)</span> &rarr; <span class="type-signature returnType">Boolean</span>
  852. <div class="source-link rightLinks">
  853. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L740">Core/Cartesian2.js 740</a>
  854. </div>
  855. </h4>
  856. </div>
  857. </dt>
  858. <dd>
  859. <div class="description">
  860. Compares the provided Cartesians componentwise and returns <code>true</code> if they are equal, <code>false</code> otherwise.
  861. </div>
  862. <table class="params">
  863. <thead>
  864. <tr>
  865. <th>Name</th>
  866. <th>Type</th>
  867. <th class="last">Description</th>
  868. </tr>
  869. </thead>
  870. <tbody>
  871. <tr>
  872. <td class="name"><code>left</code></td>
  873. <td class="type">
  874. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  875. </td>
  876. <td class="description last">
  877. <span class="optional">optional</span>
  878. The first Cartesian.</td>
  879. </tr>
  880. <tr>
  881. <td class="name"><code>right</code></td>
  882. <td class="type">
  883. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  884. </td>
  885. <td class="description last">
  886. <span class="optional">optional</span>
  887. The second Cartesian.</td>
  888. </tr>
  889. </tbody>
  890. </table>
  891. <h5>Returns:</h5>
  892. <div class="param-desc">
  893. <code>true</code> if left and right are equal, <code>false</code> otherwise.
  894. </div>
  895. <dl class="details">
  896. </dl>
  897. </dd>
  898. <dt>
  899. <div class="nameContainer">
  900. <h4 class="name" id=".equalsEpsilon">
  901. <a href="#.equalsEpsilon" class="doc-link"></a>
  902. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.equalsEpsilon<span class="signature">(<span class="optional">left</span>, <span class="optional">right</span>, relativeEpsilon, <span class="optional">absoluteEpsilon</span>)</span> &rarr; <span class="type-signature returnType">Boolean</span>
  903. <div class="source-link rightLinks">
  904. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L767">Core/Cartesian2.js 767</a>
  905. </div>
  906. </h4>
  907. </div>
  908. </dt>
  909. <dd>
  910. <div class="description">
  911. Compares the provided Cartesians componentwise and returns <code>true</code> if they pass an absolute or relative tolerance test, <code>false</code> otherwise.
  912. </div>
  913. <table class="params">
  914. <thead>
  915. <tr>
  916. <th>Name</th>
  917. <th>Type</th>
  918. <th>Default</th>
  919. <th class="last">Description</th>
  920. </tr>
  921. </thead>
  922. <tbody>
  923. <tr>
  924. <td class="name"><code>left</code></td>
  925. <td class="type">
  926. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  927. </td>
  928. <td class="default">
  929. </td>
  930. <td class="description last">
  931. <span class="optional">optional</span>
  932. The first Cartesian.</td>
  933. </tr>
  934. <tr>
  935. <td class="name"><code>right</code></td>
  936. <td class="type">
  937. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  938. </td>
  939. <td class="default">
  940. </td>
  941. <td class="description last">
  942. <span class="optional">optional</span>
  943. The second Cartesian.</td>
  944. </tr>
  945. <tr>
  946. <td class="name"><code>relativeEpsilon</code></td>
  947. <td class="type">
  948. <span class="param-type">Number</span>
  949. </td>
  950. <td class="default">
  951. </td>
  952. <td class="description last">
  953. The relative epsilon tolerance to use for equality testing.</td>
  954. </tr>
  955. <tr>
  956. <td class="name"><code>absoluteEpsilon</code></td>
  957. <td class="type">
  958. <span class="param-type">Number</span>
  959. </td>
  960. <td class="default">
  961. <code class="language-javascript">relativeEpsilon</code>
  962. </td>
  963. <td class="description last">
  964. <span class="optional">optional</span>
  965. The absolute epsilon tolerance to use for equality testing.</td>
  966. </tr>
  967. </tbody>
  968. </table>
  969. <h5>Returns:</h5>
  970. <div class="param-desc">
  971. <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
  972. </div>
  973. <dl class="details">
  974. </dl>
  975. </dd>
  976. <dt>
  977. <div class="nameContainer">
  978. <h4 class="name" id=".fromArray">
  979. <a href="#.fromArray" class="doc-link"></a>
  980. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.fromArray<span class="signature">(array, <span class="optional">startingIndex</span>, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  981. <div class="source-link rightLinks">
  982. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L235">Core/Cartesian2.js 235</a>
  983. </div>
  984. </h4>
  985. </div>
  986. </dt>
  987. <dd>
  988. <div class="description">
  989. Creates a Cartesian2 from two consecutive elements in an array.
  990. </div>
  991. <table class="params">
  992. <thead>
  993. <tr>
  994. <th>Name</th>
  995. <th>Type</th>
  996. <th>Default</th>
  997. <th class="last">Description</th>
  998. </tr>
  999. </thead>
  1000. <tbody>
  1001. <tr>
  1002. <td class="name"><code>array</code></td>
  1003. <td class="type">
  1004. <span class="param-type">Array.&lt;Number></span>
  1005. </td>
  1006. <td class="default">
  1007. </td>
  1008. <td class="description last">
  1009. The array whose two consecutive elements correspond to the x and y components, respectively.</td>
  1010. </tr>
  1011. <tr>
  1012. <td class="name"><code>startingIndex</code></td>
  1013. <td class="type">
  1014. <span class="param-type">Number</span>
  1015. </td>
  1016. <td class="default">
  1017. <code class="language-javascript">0</code>
  1018. </td>
  1019. <td class="description last">
  1020. <span class="optional">optional</span>
  1021. The offset into the array of the first element, which corresponds to the x component.</td>
  1022. </tr>
  1023. <tr>
  1024. <td class="name"><code>result</code></td>
  1025. <td class="type">
  1026. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1027. </td>
  1028. <td class="default">
  1029. </td>
  1030. <td class="description last">
  1031. <span class="optional">optional</span>
  1032. The object onto which to store the result.</td>
  1033. </tr>
  1034. </tbody>
  1035. </table>
  1036. <h5>Returns:</h5>
  1037. <div class="param-desc">
  1038. The modified result parameter or a new Cartesian2 instance if one was not provided.
  1039. </div>
  1040. <dl class="details">
  1041. <h5>Example:</h5>
  1042. <pre><code class="language-javascript">// Create a Cartesian2 with (1.0, 2.0) var v = [1.0, 2.0]; var p = Cesium.Cartesian2.fromArray(v); // Create a Cartesian2 with (1.0, 2.0) using an offset into an array var v2 = [0.0, 0.0, 1.0, 2.0]; var p2 = Cesium.Cartesian2.fromArray(v2, 2);</code></pre>
  1043. </dl>
  1044. </dd>
  1045. <dt>
  1046. <div class="nameContainer">
  1047. <h4 class="name" id=".fromCartesian3">
  1048. <a href="#.fromCartesian3" class="doc-link"></a>
  1049. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.fromCartesian3<span class="signature">(cartesian, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1050. <div class="source-link rightLinks">
  1051. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L91">Core/Cartesian2.js 91</a>
  1052. </div>
  1053. </h4>
  1054. </div>
  1055. </dt>
  1056. <dd>
  1057. <div class="description">
  1058. Creates a Cartesian2 instance from an existing Cartesian3. This simply takes the x and y properties of the Cartesian3 and drops z.
  1059. </div>
  1060. <table class="params">
  1061. <thead>
  1062. <tr>
  1063. <th>Name</th>
  1064. <th>Type</th>
  1065. <th class="last">Description</th>
  1066. </tr>
  1067. </thead>
  1068. <tbody>
  1069. <tr>
  1070. <td class="name"><code>cartesian</code></td>
  1071. <td class="type">
  1072. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1073. </td>
  1074. <td class="description last">
  1075. The Cartesian3 instance to create a Cartesian2 instance from.</td>
  1076. </tr>
  1077. <tr>
  1078. <td class="name"><code>result</code></td>
  1079. <td class="type">
  1080. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1081. </td>
  1082. <td class="description last">
  1083. <span class="optional">optional</span>
  1084. The object onto which to store the result.</td>
  1085. </tr>
  1086. </tbody>
  1087. </table>
  1088. <h5>Returns:</h5>
  1089. <div class="param-desc">
  1090. The modified result parameter or a new Cartesian2 instance if one was not provided.
  1091. </div>
  1092. <dl class="details">
  1093. </dl>
  1094. </dd>
  1095. <dt>
  1096. <div class="nameContainer">
  1097. <h4 class="name" id=".fromCartesian4">
  1098. <a href="#.fromCartesian4" class="doc-link"></a>
  1099. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.fromCartesian4<span class="signature">(cartesian, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1100. <div class="source-link rightLinks">
  1101. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L102">Core/Cartesian2.js 102</a>
  1102. </div>
  1103. </h4>
  1104. </div>
  1105. </dt>
  1106. <dd>
  1107. <div class="description">
  1108. Creates a Cartesian2 instance from an existing Cartesian4. This simply takes the x and y properties of the Cartesian4 and drops z and w.
  1109. </div>
  1110. <table class="params">
  1111. <thead>
  1112. <tr>
  1113. <th>Name</th>
  1114. <th>Type</th>
  1115. <th class="last">Description</th>
  1116. </tr>
  1117. </thead>
  1118. <tbody>
  1119. <tr>
  1120. <td class="name"><code>cartesian</code></td>
  1121. <td class="type">
  1122. <span class="param-type"><a href="Cartesian4.html">Cartesian4</a></span>
  1123. </td>
  1124. <td class="description last">
  1125. The Cartesian4 instance to create a Cartesian2 instance from.</td>
  1126. </tr>
  1127. <tr>
  1128. <td class="name"><code>result</code></td>
  1129. <td class="type">
  1130. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1131. </td>
  1132. <td class="description last">
  1133. <span class="optional">optional</span>
  1134. The object onto which to store the result.</td>
  1135. </tr>
  1136. </tbody>
  1137. </table>
  1138. <h5>Returns:</h5>
  1139. <div class="param-desc">
  1140. The modified result parameter or a new Cartesian2 instance if one was not provided.
  1141. </div>
  1142. <dl class="details">
  1143. </dl>
  1144. </dd>
  1145. <dt>
  1146. <div class="nameContainer">
  1147. <h4 class="name" id=".fromElements">
  1148. <a href="#.fromElements" class="doc-link"></a>
  1149. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.fromElements<span class="signature">(x, y, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1150. <div class="source-link rightLinks">
  1151. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L52">Core/Cartesian2.js 52</a>
  1152. </div>
  1153. </h4>
  1154. </div>
  1155. </dt>
  1156. <dd>
  1157. <div class="description">
  1158. Creates a Cartesian2 instance from x and y coordinates.
  1159. </div>
  1160. <table class="params">
  1161. <thead>
  1162. <tr>
  1163. <th>Name</th>
  1164. <th>Type</th>
  1165. <th class="last">Description</th>
  1166. </tr>
  1167. </thead>
  1168. <tbody>
  1169. <tr>
  1170. <td class="name"><code>x</code></td>
  1171. <td class="type">
  1172. <span class="param-type">Number</span>
  1173. </td>
  1174. <td class="description last">
  1175. The x coordinate.</td>
  1176. </tr>
  1177. <tr>
  1178. <td class="name"><code>y</code></td>
  1179. <td class="type">
  1180. <span class="param-type">Number</span>
  1181. </td>
  1182. <td class="description last">
  1183. The y coordinate.</td>
  1184. </tr>
  1185. <tr>
  1186. <td class="name"><code>result</code></td>
  1187. <td class="type">
  1188. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1189. </td>
  1190. <td class="description last">
  1191. <span class="optional">optional</span>
  1192. The object onto which to store the result.</td>
  1193. </tr>
  1194. </tbody>
  1195. </table>
  1196. <h5>Returns:</h5>
  1197. <div class="param-desc">
  1198. The modified result parameter or a new Cartesian2 instance if one was not provided.
  1199. </div>
  1200. <dl class="details">
  1201. </dl>
  1202. </dd>
  1203. <dt>
  1204. <div class="nameContainer">
  1205. <h4 class="name" id=".lerp">
  1206. <a href="#.lerp" class="doc-link"></a>
  1207. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.lerp<span class="signature">(start, end, t, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1208. <div class="source-link rightLinks">
  1209. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L657">Core/Cartesian2.js 657</a>
  1210. </div>
  1211. </h4>
  1212. </div>
  1213. </dt>
  1214. <dd>
  1215. <div class="description">
  1216. Computes the linear interpolation or extrapolation at t using the provided cartesians.
  1217. </div>
  1218. <table class="params">
  1219. <thead>
  1220. <tr>
  1221. <th>Name</th>
  1222. <th>Type</th>
  1223. <th class="last">Description</th>
  1224. </tr>
  1225. </thead>
  1226. <tbody>
  1227. <tr>
  1228. <td class="name"><code>start</code></td>
  1229. <td class="type">
  1230. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1231. </td>
  1232. <td class="description last">
  1233. The value corresponding to t at 0.0.</td>
  1234. </tr>
  1235. <tr>
  1236. <td class="name"><code>end</code></td>
  1237. <td class="type">
  1238. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1239. </td>
  1240. <td class="description last">
  1241. The value corresponding to t at 1.0.</td>
  1242. </tr>
  1243. <tr>
  1244. <td class="name"><code>t</code></td>
  1245. <td class="type">
  1246. <span class="param-type">Number</span>
  1247. </td>
  1248. <td class="description last">
  1249. The point along t at which to interpolate.</td>
  1250. </tr>
  1251. <tr>
  1252. <td class="name"><code>result</code></td>
  1253. <td class="type">
  1254. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1255. </td>
  1256. <td class="description last">
  1257. The object onto which to store the result.</td>
  1258. </tr>
  1259. </tbody>
  1260. </table>
  1261. <h5>Returns:</h5>
  1262. <div class="param-desc">
  1263. The modified result parameter.
  1264. </div>
  1265. <dl class="details">
  1266. </dl>
  1267. </dd>
  1268. <dt>
  1269. <div class="nameContainer">
  1270. <h4 class="name" id=".magnitude">
  1271. <a href="#.magnitude" class="doc-link"></a>
  1272. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.magnitude<span class="signature">(cartesian)</span> &rarr; <span class="type-signature returnType">Number</span>
  1273. <div class="source-link rightLinks">
  1274. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L345">Core/Cartesian2.js 345</a>
  1275. </div>
  1276. </h4>
  1277. </div>
  1278. </dt>
  1279. <dd>
  1280. <div class="description">
  1281. Computes the Cartesian's magnitude (length).
  1282. </div>
  1283. <table class="params">
  1284. <thead>
  1285. <tr>
  1286. <th>Name</th>
  1287. <th>Type</th>
  1288. <th class="last">Description</th>
  1289. </tr>
  1290. </thead>
  1291. <tbody>
  1292. <tr>
  1293. <td class="name"><code>cartesian</code></td>
  1294. <td class="type">
  1295. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1296. </td>
  1297. <td class="description last">
  1298. The Cartesian instance whose magnitude is to be computed.</td>
  1299. </tr>
  1300. </tbody>
  1301. </table>
  1302. <h5>Returns:</h5>
  1303. <div class="param-desc">
  1304. The magnitude.
  1305. </div>
  1306. <dl class="details">
  1307. </dl>
  1308. </dd>
  1309. <dt>
  1310. <div class="nameContainer">
  1311. <h4 class="name" id=".magnitudeSquared">
  1312. <a href="#.magnitudeSquared" class="doc-link"></a>
  1313. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.magnitudeSquared<span class="signature">(cartesian)</span> &rarr; <span class="type-signature returnType">Number</span>
  1314. <div class="source-link rightLinks">
  1315. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L329">Core/Cartesian2.js 329</a>
  1316. </div>
  1317. </h4>
  1318. </div>
  1319. </dt>
  1320. <dd>
  1321. <div class="description">
  1322. Computes the provided Cartesian's squared magnitude.
  1323. </div>
  1324. <table class="params">
  1325. <thead>
  1326. <tr>
  1327. <th>Name</th>
  1328. <th>Type</th>
  1329. <th class="last">Description</th>
  1330. </tr>
  1331. </thead>
  1332. <tbody>
  1333. <tr>
  1334. <td class="name"><code>cartesian</code></td>
  1335. <td class="type">
  1336. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1337. </td>
  1338. <td class="description last">
  1339. The Cartesian instance whose squared magnitude is to be computed.</td>
  1340. </tr>
  1341. </tbody>
  1342. </table>
  1343. <h5>Returns:</h5>
  1344. <div class="param-desc">
  1345. The squared magnitude.
  1346. </div>
  1347. <dl class="details">
  1348. </dl>
  1349. </dd>
  1350. <dt>
  1351. <div class="nameContainer">
  1352. <h4 class="name" id=".maximumByComponent">
  1353. <a href="#.maximumByComponent" class="doc-link"></a>
  1354. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.maximumByComponent<span class="signature">(first, second, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1355. <div class="source-link rightLinks">
  1356. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L305">Core/Cartesian2.js 305</a>
  1357. </div>
  1358. </h4>
  1359. </div>
  1360. </dt>
  1361. <dd>
  1362. <div class="description">
  1363. Compares two Cartesians and computes a Cartesian which contains the maximum components of the supplied Cartesians.
  1364. </div>
  1365. <table class="params">
  1366. <thead>
  1367. <tr>
  1368. <th>Name</th>
  1369. <th>Type</th>
  1370. <th class="last">Description</th>
  1371. </tr>
  1372. </thead>
  1373. <tbody>
  1374. <tr>
  1375. <td class="name"><code>first</code></td>
  1376. <td class="type">
  1377. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1378. </td>
  1379. <td class="description last">
  1380. A cartesian to compare.</td>
  1381. </tr>
  1382. <tr>
  1383. <td class="name"><code>second</code></td>
  1384. <td class="type">
  1385. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1386. </td>
  1387. <td class="description last">
  1388. A cartesian to compare.</td>
  1389. </tr>
  1390. <tr>
  1391. <td class="name"><code>result</code></td>
  1392. <td class="type">
  1393. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1394. </td>
  1395. <td class="description last">
  1396. The object into which to store the result.</td>
  1397. </tr>
  1398. </tbody>
  1399. </table>
  1400. <h5>Returns:</h5>
  1401. <div class="param-desc">
  1402. A cartesian with the maximum components.
  1403. </div>
  1404. <dl class="details">
  1405. </dl>
  1406. </dd>
  1407. <dt>
  1408. <div class="nameContainer">
  1409. <h4 class="name" id=".maximumComponent">
  1410. <a href="#.maximumComponent" class="doc-link"></a>
  1411. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.maximumComponent<span class="signature">(cartesian)</span> &rarr; <span class="type-signature returnType">Number</span>
  1412. <div class="source-link rightLinks">
  1413. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L243">Core/Cartesian2.js 243</a>
  1414. </div>
  1415. </h4>
  1416. </div>
  1417. </dt>
  1418. <dd>
  1419. <div class="description">
  1420. Computes the value of the maximum component for the supplied Cartesian.
  1421. </div>
  1422. <table class="params">
  1423. <thead>
  1424. <tr>
  1425. <th>Name</th>
  1426. <th>Type</th>
  1427. <th class="last">Description</th>
  1428. </tr>
  1429. </thead>
  1430. <tbody>
  1431. <tr>
  1432. <td class="name"><code>cartesian</code></td>
  1433. <td class="type">
  1434. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1435. </td>
  1436. <td class="description last">
  1437. The cartesian to use.</td>
  1438. </tr>
  1439. </tbody>
  1440. </table>
  1441. <h5>Returns:</h5>
  1442. <div class="param-desc">
  1443. The value of the maximum component.
  1444. </div>
  1445. <dl class="details">
  1446. </dl>
  1447. </dd>
  1448. <dt>
  1449. <div class="nameContainer">
  1450. <h4 class="name" id=".minimumByComponent">
  1451. <a href="#.minimumByComponent" class="doc-link"></a>
  1452. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.minimumByComponent<span class="signature">(first, second, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1453. <div class="source-link rightLinks">
  1454. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L277">Core/Cartesian2.js 277</a>
  1455. </div>
  1456. </h4>
  1457. </div>
  1458. </dt>
  1459. <dd>
  1460. <div class="description">
  1461. Compares two Cartesians and computes a Cartesian which contains the minimum components of the supplied Cartesians.
  1462. </div>
  1463. <table class="params">
  1464. <thead>
  1465. <tr>
  1466. <th>Name</th>
  1467. <th>Type</th>
  1468. <th class="last">Description</th>
  1469. </tr>
  1470. </thead>
  1471. <tbody>
  1472. <tr>
  1473. <td class="name"><code>first</code></td>
  1474. <td class="type">
  1475. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1476. </td>
  1477. <td class="description last">
  1478. A cartesian to compare.</td>
  1479. </tr>
  1480. <tr>
  1481. <td class="name"><code>second</code></td>
  1482. <td class="type">
  1483. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1484. </td>
  1485. <td class="description last">
  1486. A cartesian to compare.</td>
  1487. </tr>
  1488. <tr>
  1489. <td class="name"><code>result</code></td>
  1490. <td class="type">
  1491. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1492. </td>
  1493. <td class="description last">
  1494. The object into which to store the result.</td>
  1495. </tr>
  1496. </tbody>
  1497. </table>
  1498. <h5>Returns:</h5>
  1499. <div class="param-desc">
  1500. A cartesian with the minimum components.
  1501. </div>
  1502. <dl class="details">
  1503. </dl>
  1504. </dd>
  1505. <dt>
  1506. <div class="nameContainer">
  1507. <h4 class="name" id=".minimumComponent">
  1508. <a href="#.minimumComponent" class="doc-link"></a>
  1509. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.minimumComponent<span class="signature">(cartesian)</span> &rarr; <span class="type-signature returnType">Number</span>
  1510. <div class="source-link rightLinks">
  1511. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L259">Core/Cartesian2.js 259</a>
  1512. </div>
  1513. </h4>
  1514. </div>
  1515. </dt>
  1516. <dd>
  1517. <div class="description">
  1518. Computes the value of the minimum component for the supplied Cartesian.
  1519. </div>
  1520. <table class="params">
  1521. <thead>
  1522. <tr>
  1523. <th>Name</th>
  1524. <th>Type</th>
  1525. <th class="last">Description</th>
  1526. </tr>
  1527. </thead>
  1528. <tbody>
  1529. <tr>
  1530. <td class="name"><code>cartesian</code></td>
  1531. <td class="type">
  1532. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1533. </td>
  1534. <td class="description last">
  1535. The cartesian to use.</td>
  1536. </tr>
  1537. </tbody>
  1538. </table>
  1539. <h5>Returns:</h5>
  1540. <div class="param-desc">
  1541. The value of the minimum component.
  1542. </div>
  1543. <dl class="details">
  1544. </dl>
  1545. </dd>
  1546. <dt>
  1547. <div class="nameContainer">
  1548. <h4 class="name" id=".mostOrthogonalAxis">
  1549. <a href="#.mostOrthogonalAxis" class="doc-link"></a>
  1550. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.mostOrthogonalAxis<span class="signature">(cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1551. <div class="source-link rightLinks">
  1552. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L710">Core/Cartesian2.js 710</a>
  1553. </div>
  1554. </h4>
  1555. </div>
  1556. </dt>
  1557. <dd>
  1558. <div class="description">
  1559. Returns the axis that is most orthogonal to the provided Cartesian.
  1560. </div>
  1561. <table class="params">
  1562. <thead>
  1563. <tr>
  1564. <th>Name</th>
  1565. <th>Type</th>
  1566. <th class="last">Description</th>
  1567. </tr>
  1568. </thead>
  1569. <tbody>
  1570. <tr>
  1571. <td class="name"><code>cartesian</code></td>
  1572. <td class="type">
  1573. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1574. </td>
  1575. <td class="description last">
  1576. The Cartesian on which to find the most orthogonal axis.</td>
  1577. </tr>
  1578. <tr>
  1579. <td class="name"><code>result</code></td>
  1580. <td class="type">
  1581. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1582. </td>
  1583. <td class="description last">
  1584. The object onto which to store the result.</td>
  1585. </tr>
  1586. </tbody>
  1587. </table>
  1588. <h5>Returns:</h5>
  1589. <div class="param-desc">
  1590. The most orthogonal axis.
  1591. </div>
  1592. <dl class="details">
  1593. </dl>
  1594. </dd>
  1595. <dt>
  1596. <div class="nameContainer">
  1597. <h4 class="name" id=".multiplyByScalar">
  1598. <a href="#.multiplyByScalar" class="doc-link"></a>
  1599. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.multiplyByScalar<span class="signature">(cartesian, scalar, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1600. <div class="source-link rightLinks">
  1601. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L559">Core/Cartesian2.js 559</a>
  1602. </div>
  1603. </h4>
  1604. </div>
  1605. </dt>
  1606. <dd>
  1607. <div class="description">
  1608. Multiplies the provided Cartesian componentwise by the provided scalar.
  1609. </div>
  1610. <table class="params">
  1611. <thead>
  1612. <tr>
  1613. <th>Name</th>
  1614. <th>Type</th>
  1615. <th class="last">Description</th>
  1616. </tr>
  1617. </thead>
  1618. <tbody>
  1619. <tr>
  1620. <td class="name"><code>cartesian</code></td>
  1621. <td class="type">
  1622. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1623. </td>
  1624. <td class="description last">
  1625. The Cartesian to be scaled.</td>
  1626. </tr>
  1627. <tr>
  1628. <td class="name"><code>scalar</code></td>
  1629. <td class="type">
  1630. <span class="param-type">Number</span>
  1631. </td>
  1632. <td class="description last">
  1633. The scalar to multiply with.</td>
  1634. </tr>
  1635. <tr>
  1636. <td class="name"><code>result</code></td>
  1637. <td class="type">
  1638. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1639. </td>
  1640. <td class="description last">
  1641. The object onto which to store the result.</td>
  1642. </tr>
  1643. </tbody>
  1644. </table>
  1645. <h5>Returns:</h5>
  1646. <div class="param-desc">
  1647. The modified result parameter.
  1648. </div>
  1649. <dl class="details">
  1650. </dl>
  1651. </dd>
  1652. <dt>
  1653. <div class="nameContainer">
  1654. <h4 class="name" id=".multiplyComponents">
  1655. <a href="#.multiplyComponents" class="doc-link"></a>
  1656. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.multiplyComponents<span class="signature">(left, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1657. <div class="source-link rightLinks">
  1658. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L455">Core/Cartesian2.js 455</a>
  1659. </div>
  1660. </h4>
  1661. </div>
  1662. </dt>
  1663. <dd>
  1664. <div class="description">
  1665. Computes the componentwise product of two Cartesians.
  1666. </div>
  1667. <table class="params">
  1668. <thead>
  1669. <tr>
  1670. <th>Name</th>
  1671. <th>Type</th>
  1672. <th class="last">Description</th>
  1673. </tr>
  1674. </thead>
  1675. <tbody>
  1676. <tr>
  1677. <td class="name"><code>left</code></td>
  1678. <td class="type">
  1679. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1680. </td>
  1681. <td class="description last">
  1682. The first Cartesian.</td>
  1683. </tr>
  1684. <tr>
  1685. <td class="name"><code>right</code></td>
  1686. <td class="type">
  1687. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1688. </td>
  1689. <td class="description last">
  1690. The second Cartesian.</td>
  1691. </tr>
  1692. <tr>
  1693. <td class="name"><code>result</code></td>
  1694. <td class="type">
  1695. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1696. </td>
  1697. <td class="description last">
  1698. The object onto which to store the result.</td>
  1699. </tr>
  1700. </tbody>
  1701. </table>
  1702. <h5>Returns:</h5>
  1703. <div class="param-desc">
  1704. The modified result parameter.
  1705. </div>
  1706. <dl class="details">
  1707. </dl>
  1708. </dd>
  1709. <dt>
  1710. <div class="nameContainer">
  1711. <h4 class="name" id=".negate">
  1712. <a href="#.negate" class="doc-link"></a>
  1713. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.negate<span class="signature">(cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1714. <div class="source-link rightLinks">
  1715. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L610">Core/Cartesian2.js 610</a>
  1716. </div>
  1717. </h4>
  1718. </div>
  1719. </dt>
  1720. <dd>
  1721. <div class="description">
  1722. Negates the provided Cartesian.
  1723. </div>
  1724. <table class="params">
  1725. <thead>
  1726. <tr>
  1727. <th>Name</th>
  1728. <th>Type</th>
  1729. <th class="last">Description</th>
  1730. </tr>
  1731. </thead>
  1732. <tbody>
  1733. <tr>
  1734. <td class="name"><code>cartesian</code></td>
  1735. <td class="type">
  1736. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1737. </td>
  1738. <td class="description last">
  1739. The Cartesian to be negated.</td>
  1740. </tr>
  1741. <tr>
  1742. <td class="name"><code>result</code></td>
  1743. <td class="type">
  1744. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1745. </td>
  1746. <td class="description last">
  1747. The object onto which to store the result.</td>
  1748. </tr>
  1749. </tbody>
  1750. </table>
  1751. <h5>Returns:</h5>
  1752. <div class="param-desc">
  1753. The modified result parameter.
  1754. </div>
  1755. <dl class="details">
  1756. </dl>
  1757. </dd>
  1758. <dt>
  1759. <div class="nameContainer">
  1760. <h4 class="name" id=".normalize">
  1761. <a href="#.normalize" class="doc-link"></a>
  1762. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.normalize<span class="signature">(cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1763. <div class="source-link rightLinks">
  1764. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L403">Core/Cartesian2.js 403</a>
  1765. </div>
  1766. </h4>
  1767. </div>
  1768. </dt>
  1769. <dd>
  1770. <div class="description">
  1771. Computes the normalized form of the supplied Cartesian.
  1772. </div>
  1773. <table class="params">
  1774. <thead>
  1775. <tr>
  1776. <th>Name</th>
  1777. <th>Type</th>
  1778. <th class="last">Description</th>
  1779. </tr>
  1780. </thead>
  1781. <tbody>
  1782. <tr>
  1783. <td class="name"><code>cartesian</code></td>
  1784. <td class="type">
  1785. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1786. </td>
  1787. <td class="description last">
  1788. The Cartesian to be normalized.</td>
  1789. </tr>
  1790. <tr>
  1791. <td class="name"><code>result</code></td>
  1792. <td class="type">
  1793. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1794. </td>
  1795. <td class="description last">
  1796. The object onto which to store the result.</td>
  1797. </tr>
  1798. </tbody>
  1799. </table>
  1800. <h5>Returns:</h5>
  1801. <div class="param-desc">
  1802. The modified result parameter.
  1803. </div>
  1804. <dl class="details">
  1805. </dl>
  1806. </dd>
  1807. <dt>
  1808. <div class="nameContainer">
  1809. <h4 class="name" id=".pack">
  1810. <a href="#.pack" class="doc-link"></a>
  1811. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.pack<span class="signature">(value, array, <span class="optional">startingIndex</span>)</span> &rarr; <span class="type-signature returnType">Array.&lt;Number></span>
  1812. <div class="source-link rightLinks">
  1813. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L119">Core/Cartesian2.js 119</a>
  1814. </div>
  1815. </h4>
  1816. </div>
  1817. </dt>
  1818. <dd>
  1819. <div class="description">
  1820. Stores the provided instance into the provided array.
  1821. </div>
  1822. <table class="params">
  1823. <thead>
  1824. <tr>
  1825. <th>Name</th>
  1826. <th>Type</th>
  1827. <th>Default</th>
  1828. <th class="last">Description</th>
  1829. </tr>
  1830. </thead>
  1831. <tbody>
  1832. <tr>
  1833. <td class="name"><code>value</code></td>
  1834. <td class="type">
  1835. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1836. </td>
  1837. <td class="default">
  1838. </td>
  1839. <td class="description last">
  1840. The value to pack.</td>
  1841. </tr>
  1842. <tr>
  1843. <td class="name"><code>array</code></td>
  1844. <td class="type">
  1845. <span class="param-type">Array.&lt;Number></span>
  1846. </td>
  1847. <td class="default">
  1848. </td>
  1849. <td class="description last">
  1850. The array to pack into.</td>
  1851. </tr>
  1852. <tr>
  1853. <td class="name"><code>startingIndex</code></td>
  1854. <td class="type">
  1855. <span class="param-type">Number</span>
  1856. </td>
  1857. <td class="default">
  1858. <code class="language-javascript">0</code>
  1859. </td>
  1860. <td class="description last">
  1861. <span class="optional">optional</span>
  1862. The index into the array at which to start packing the elements.</td>
  1863. </tr>
  1864. </tbody>
  1865. </table>
  1866. <h5>Returns:</h5>
  1867. <div class="param-desc">
  1868. The array that was packed into
  1869. </div>
  1870. <dl class="details">
  1871. </dl>
  1872. </dd>
  1873. <dt>
  1874. <div class="nameContainer">
  1875. <h4 class="name" id=".packArray">
  1876. <a href="#.packArray" class="doc-link"></a>
  1877. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.packArray<span class="signature">(array, result)</span> &rarr; <span class="type-signature returnType">Array.&lt;Number></span>
  1878. <div class="source-link rightLinks">
  1879. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L169">Core/Cartesian2.js 169</a>
  1880. </div>
  1881. </h4>
  1882. </div>
  1883. </dt>
  1884. <dd>
  1885. <div class="description">
  1886. Flattens an array of Cartesian2s into and array of components.
  1887. </div>
  1888. <table class="params">
  1889. <thead>
  1890. <tr>
  1891. <th>Name</th>
  1892. <th>Type</th>
  1893. <th class="last">Description</th>
  1894. </tr>
  1895. </thead>
  1896. <tbody>
  1897. <tr>
  1898. <td class="name"><code>array</code></td>
  1899. <td class="type">
  1900. <span class="param-type">Array.&lt;<a href="Cartesian2.html">Cartesian2</a>></span>
  1901. </td>
  1902. <td class="description last">
  1903. The array of cartesians to pack.</td>
  1904. </tr>
  1905. <tr>
  1906. <td class="name"><code>result</code></td>
  1907. <td class="type">
  1908. <span class="param-type">Array.&lt;Number></span>
  1909. </td>
  1910. <td class="description last">
  1911. The array onto which to store the result.</td>
  1912. </tr>
  1913. </tbody>
  1914. </table>
  1915. <h5>Returns:</h5>
  1916. <div class="param-desc">
  1917. The packed array.
  1918. </div>
  1919. <dl class="details">
  1920. </dl>
  1921. </dd>
  1922. <dt>
  1923. <div class="nameContainer">
  1924. <h4 class="name" id=".subtract">
  1925. <a href="#.subtract" class="doc-link"></a>
  1926. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.subtract<span class="signature">(left, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1927. <div class="source-link rightLinks">
  1928. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L533">Core/Cartesian2.js 533</a>
  1929. </div>
  1930. </h4>
  1931. </div>
  1932. </dt>
  1933. <dd>
  1934. <div class="description">
  1935. Computes the componentwise difference of two Cartesians.
  1936. </div>
  1937. <table class="params">
  1938. <thead>
  1939. <tr>
  1940. <th>Name</th>
  1941. <th>Type</th>
  1942. <th class="last">Description</th>
  1943. </tr>
  1944. </thead>
  1945. <tbody>
  1946. <tr>
  1947. <td class="name"><code>left</code></td>
  1948. <td class="type">
  1949. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1950. </td>
  1951. <td class="description last">
  1952. The first Cartesian.</td>
  1953. </tr>
  1954. <tr>
  1955. <td class="name"><code>right</code></td>
  1956. <td class="type">
  1957. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1958. </td>
  1959. <td class="description last">
  1960. The second Cartesian.</td>
  1961. </tr>
  1962. <tr>
  1963. <td class="name"><code>result</code></td>
  1964. <td class="type">
  1965. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  1966. </td>
  1967. <td class="description last">
  1968. The object onto which to store the result.</td>
  1969. </tr>
  1970. </tbody>
  1971. </table>
  1972. <h5>Returns:</h5>
  1973. <div class="param-desc">
  1974. The modified result parameter.
  1975. </div>
  1976. <dl class="details">
  1977. </dl>
  1978. </dd>
  1979. <dt>
  1980. <div class="nameContainer">
  1981. <h4 class="name" id=".unpack">
  1982. <a href="#.unpack" class="doc-link"></a>
  1983. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.unpack<span class="signature">(array, <span class="optional">startingIndex</span>, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian2.html">Cartesian2</a></span>
  1984. <div class="source-link rightLinks">
  1985. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L145">Core/Cartesian2.js 145</a>
  1986. </div>
  1987. </h4>
  1988. </div>
  1989. </dt>
  1990. <dd>
  1991. <div class="description">
  1992. Retrieves an instance from a packed array.
  1993. </div>
  1994. <table class="params">
  1995. <thead>
  1996. <tr>
  1997. <th>Name</th>
  1998. <th>Type</th>
  1999. <th>Default</th>
  2000. <th class="last">Description</th>
  2001. </tr>
  2002. </thead>
  2003. <tbody>
  2004. <tr>
  2005. <td class="name"><code>array</code></td>
  2006. <td class="type">
  2007. <span class="param-type">Array.&lt;Number></span>
  2008. </td>
  2009. <td class="default">
  2010. </td>
  2011. <td class="description last">
  2012. The packed array.</td>
  2013. </tr>
  2014. <tr>
  2015. <td class="name"><code>startingIndex</code></td>
  2016. <td class="type">
  2017. <span class="param-type">Number</span>
  2018. </td>
  2019. <td class="default">
  2020. <code class="language-javascript">0</code>
  2021. </td>
  2022. <td class="description last">
  2023. <span class="optional">optional</span>
  2024. The starting index of the element to be unpacked.</td>
  2025. </tr>
  2026. <tr>
  2027. <td class="name"><code>result</code></td>
  2028. <td class="type">
  2029. <span class="param-type"><a href="Cartesian2.html">Cartesian2</a></span>
  2030. </td>
  2031. <td class="default">
  2032. </td>
  2033. <td class="description last">
  2034. <span class="optional">optional</span>
  2035. The object into which to store the result.</td>
  2036. </tr>
  2037. </tbody>
  2038. </table>
  2039. <h5>Returns:</h5>
  2040. <div class="param-desc">
  2041. The modified result parameter or a new Cartesian2 instance if one was not provided.
  2042. </div>
  2043. <dl class="details">
  2044. </dl>
  2045. </dd>
  2046. <dt>
  2047. <div class="nameContainer">
  2048. <h4 class="name" id=".unpackArray">
  2049. <a href="#.unpackArray" class="doc-link"></a>
  2050. <span class="type-signature attribute-static">static</span>Cesium.Cartesian2.unpackArray<span class="signature">(array, result)</span> &rarr; <span class="type-signature returnType">Array.&lt;<a href="Cartesian2.html">Cartesian2</a>></span>
  2051. <div class="source-link rightLinks">
  2052. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Cartesian2.js#L196">Core/Cartesian2.js 196</a>
  2053. </div>
  2054. </h4>
  2055. </div>
  2056. </dt>
  2057. <dd>
  2058. <div class="description">
  2059. Unpacks an array of cartesian components into and array of Cartesian2s.
  2060. </div>
  2061. <table class="params">
  2062. <thead>
  2063. <tr>
  2064. <th>Name</th>
  2065. <th>Type</th>
  2066. <th class="last">Description</th>
  2067. </tr>
  2068. </thead>
  2069. <tbody>
  2070. <tr>
  2071. <td class="name"><code>array</code></td>
  2072. <td class="type">
  2073. <span class="param-type">Array.&lt;Number></span>
  2074. </td>
  2075. <td class="description last">
  2076. The array of components to unpack.</td>
  2077. </tr>
  2078. <tr>
  2079. <td class="name"><code>result</code></td>
  2080. <td class="type">
  2081. <span class="param-type">Array.&lt;<a href="Cartesian2.html">Cartesian2</a>></span>
  2082. </td>
  2083. <td class="description last">
  2084. The array onto which to store the result.</td>
  2085. </tr>
  2086. </tbody>
  2087. </table>
  2088. <h5>Returns:</h5>
  2089. <div class="param-desc">
  2090. The unpacked array.
  2091. </div>
  2092. <dl class="details">
  2093. </dl>
  2094. </dd>
  2095. </dl>
  2096. </article>
  2097. </section>
  2098. <footer>
  2099. Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a>
  2100. </footer>
  2101. </div>
  2102. <div class="nav">
  2103. <div class="menu">
  2104. <input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
  2105. <ul id="ClassList"><li data-name="Animation"><a href="Animation.html">Animation</a></li><li data-name="AnimationViewModel"><a href="AnimationViewModel.html">AnimationViewModel</a></li><li data-name="Appearance"><a href="Appearance.html">Appearance</a></li><li data-name="ArcGisImageServerTerrainProvider"><a href="ArcGisImageServerTerrainProvider.html">ArcGisImageServerTerrainProvider</a></li><li data-name="ArcGisMapServerImageryProvider"><a href="ArcGisMapServerImageryProvider.html">ArcGisMapServerImageryProvider</a></li><li data-name="AssociativeArray"><a href="AssociativeArray.html">AssociativeArray</a></li><li data-name="AxisAlignedBoundingBox"><a href="AxisAlignedBoundingBox.html">AxisAlignedBoundingBox</a></li><li data-name="barycentricCoordinates"><a href="barycentricCoordinates.html">barycentricCoordinates</a></li><li data-name="BaseLayerPicker"><a href="BaseLayerPicker.html">BaseLayerPicker</a></li><li data-name="BaseLayerPickerViewModel"><a href="BaseLayerPickerViewModel.html">BaseLayerPickerViewModel</a></li><li data-name="Billboard"><a href="Billboard.html">Billboard</a></li><li data-name="BillboardCollection"><a href="BillboardCollection.html">BillboardCollection</a></li><li data-name="BillboardGraphics"><a href="BillboardGraphics.html">BillboardGraphics</a></li><li data-name="BillboardVisualizer"><a href="BillboardVisualizer.html">BillboardVisualizer</a></li><li data-name="binarySearch"><a href="binarySearch.html">binarySearch</a></li><li data-name="BingMapsApi"><a href="BingMapsApi.html">BingMapsApi</a></li><li data-name="BingMapsImageryProvider"><a href="BingMapsImageryProvider.html">BingMapsImageryProvider</a></li><li data-name="BingMapsStyle"><a href="BingMapsStyle.html">BingMapsStyle</a></li><li data-name="BlendEquation"><a href="BlendEquation.html">BlendEquation</a></li><li data-name="BlendFunction"><a href="BlendFunction.html">BlendFunction</a></li><li data-name="BlendingState"><a href="BlendingState.html">BlendingState</a></li><li data-name="BoundingRectangle"><a href="BoundingRectangle.html">BoundingRectangle</a></li><li data-name="BoundingSphere"><a href="BoundingSphere.html">BoundingSphere</a></li><li data-name="BoxGeometry"><a href="BoxGeometry.html">BoxGeometry</a></li><li data-name="BoxGeometryUpdater"><a href="BoxGeometryUpdater.html">BoxGeometryUpdater</a></li><li data-name="BoxGraphics"><a href="BoxGraphics.html">BoxGraphics</a></li><li data-name="BoxOutlineGeometry"><a href="BoxOutlineGeometry.html">BoxOutlineGeometry</a></li><li data-name="CallbackProperty"><a href="CallbackProperty.html">CallbackProperty</a></li><li data-name="Camera"><a href="Camera.html">Camera</a></li><li data-name="CameraEventAggregator"><a href="CameraEventAggregator.html">CameraEventAggregator</a></li><li data-name="CameraEventType"><a href="CameraEventType.html">CameraEventType</a></li><li data-name="cancelAnimationFrame"><a href="cancelAnimationFrame.html">cancelAnimationFrame</a></li><li data-name="Cartesian2"><a href="Cartesian2.html">Cartesian2</a></li><li data-name="Cartesian3"><a href="Cartesian3.html">Cartesian3</a></li><li data-name="Cartesian4"><a href="Cartesian4.html">Cartesian4</a></li><li data-name="Cartographic"><a href="Cartographic.html">Cartographic</a></li><li data-name="CatmullRomSpline"><a href="CatmullRomSpline.html">CatmullRomSpline</a></li><li data-name="CesiumInspector"><a href="CesiumInspector.html">CesiumInspector</a></li><li data-name="CesiumInspectorViewModel"><a href="CesiumInspectorViewModel.html">CesiumInspectorViewModel</a></li><li data-name="CesiumMath"><a href="CesiumMath.html">CesiumMath</a></li><li data-name="CesiumTerrainProvider"><a href="CesiumTerrainProvider.html">CesiumTerrainProvider</a></li><li data-name="CesiumWidget"><a href="CesiumWidget.html">CesiumWidget</a></li><li data-name="CheckerboardMaterialProperty"><a href="CheckerboardMaterialProperty.html">CheckerboardMaterialProperty</a></li><li data-name="CircleGeometry"><a href="CircleGeometry.html">CircleGeometry</a></li><li data-name="CircleOutlineGeometry"><a href="CircleOutlineGeometry.html">CircleOutlineGeometry</a></li><li data-name="Clock"><a href="Clock.html">Clock</a></li><li data-name="ClockRange"><a href="ClockRange.html">ClockRange</a></li><li data-name="ClockStep"><a href="ClockStep.html">ClockStep</a></li><li data-name="ClockViewModel"><a href="ClockViewModel.html">ClockViewModel</a></li><li data-name="clone"><a href="clone.html">clone</a></li><li data-name="Color"><a href="Color.html">Color</a></li><li data-name="ColorBlendMode"><a href="ColorBlendMode.html">ColorBlendMode</a></li><li data-name="ColorGeometryInstanceAttribute"><a href="ColorGeometryInstanceAttribute.html">ColorGeometryInstanceAttribute</a></li><li data-name="ColorMaterialProperty"><a href="ColorMaterialProperty.html">ColorMaterialProperty</a></li><li data-name="combine"><a href="combine.html">combine</a></li><li data-name="Command"><a href="Command.html">Command</a></li><li data-name="ComponentDatatype"><a href="ComponentDatatype.html">ComponentDatatype</a></li><li data-name="CompositeEntityCollection"><a href="CompositeEntityCollection.html">CompositeEntityCollection</a></li><li data-name="CompositeMaterialProperty"><a href="CompositeMaterialProperty.html">CompositeMaterialProperty</a></li><li data-name="CompositePositionProperty"><a href="CompositePositionProperty.html">CompositePositionProperty</a></li><li data-name="CompositeProperty"><a href="CompositeProperty.html">CompositeProperty</a></li><li data-name="ConstantPositionProperty"><a href="ConstantPositionProperty.html">ConstantPositionProperty</a></li><li data-name="ConstantProperty"><a href="ConstantProperty.html">ConstantProperty</a></li><li data-name="CornerType"><a href="CornerType.html">CornerType</a></li><li data-name="CorridorGeometry"><a href="CorridorGeometry.html">CorridorGeometry</a></li><li data-name="CorridorGeometryUpdater"><a href="CorridorGeometryUpdater.html">CorridorGeometryUpdater</a></li><li data-name="CorridorGraphics"><a href="CorridorGraphics.html">CorridorGraphics</a></li><li data-name="CorridorOutlineGeometry"><a href="CorridorOutlineGeometry.html">CorridorOutlineGeometry</a></li><li data-name="createCommand"><a href="createCommand.html">createCommand</a></li><li data-name="createGuid"><a href="createGuid.html">createGuid</a></li><li data-name="createOpenStreetMapImageryProvider"><a href="createOpenStreetMapImageryProvider.html">createOpenStreetMapImageryProvider</a></li><li data-name="createTangentSpaceDebugPrimitive"><a href="createTangentSpaceDebugPrimitive.html">createTangentSpaceDebugPrimitive</a></li><li data-name="createTaskProcessorWorker"><a href="createTaskProcessorWorker.html">createTaskProcessorWorker</a></li><li data-name="createTileMapServiceImageryProvider"><a href="createTileMapServiceImageryProvider.html">createTileMapServiceImageryProvider</a></li><li data-name="Credit"><a href="Credit.html">Credit</a></li><li data-name="CreditDisplay"><a href="CreditDisplay.html">CreditDisplay</a></li><li data-name="CubicRealPolynomial"><a href="CubicRealPolynomial.html">CubicRealPolynomial</a></li><li data-name="CullFace"><a href="CullFace.html">CullFace</a></li><li data-name="CullingVolume"><a href="CullingVolume.html">CullingVolume</a></li><li data-name="CustomDataSource"><a href="CustomDataSource.html">CustomDataSource</a></li><li data-name="CylinderGeometry"><a href="CylinderGeometry.html">CylinderGeometry</a></li><li data-name="CylinderGeometryUpdater"><a href="CylinderGeometryUpdater.html">CylinderGeometryUpdater</a></li><li data-name="CylinderGraphics"><a href="CylinderGraphics.html">CylinderGraphics</a></li><li data-name="CylinderOutlineGeometry"><a href="CylinderOutlineGeometry.html">CylinderOutlineGeometry</a></li><li data-name="CzmlDataSource"><a href="CzmlDataSource.html">CzmlDataSource</a></li><li data-name="DataSource"><a href="DataSource.html">DataSource</a></li><li data-name="DataSourceClock"><a href="DataSourceClock.html">DataSourceClock</a></li><li data-name="DataSourceCollection"><a href="DataSourceCollection.html">DataSourceCollection</a></li><li data-name="DataSourceDisplay"><a href="DataSourceDisplay.html">DataSourceDisplay</a></li><li data-name="DebugAppearance"><a href="DebugAppearance.html">DebugAppearance</a></li><li data-name="DebugCameraPrimitive"><a href="DebugCameraPrimitive.html">DebugCameraPrimitive</a></li><li data-name="DebugModelMatrixPrimitive"><a href="DebugModelMatrixPrimitive.html">DebugModelMatrixPrimitive</a></li><li data-name="DefaultProxy"><a href="DefaultProxy.html">DefaultProxy</a></li><li data-name="defaultValue"><a href="defaultValue.html">defaultValue</a></li><li data-name="defined"><a href="defined.html">defined</a></li><li data-name="DepthFunction"><a href="DepthFunction.html">DepthFunction</a></li><li data-name="destroyObject"><a href="destroyObject.html">destroyObject</a></li><li data-name="DeveloperError"><a href="DeveloperError.html">DeveloperError</a></li><li data-name="DiscardMissingTileImagePolicy"><a href="DiscardMissingTileImagePolicy.html">DiscardMissingTileImagePolicy</a></li><li data-name="DistanceDisplayCondition"><a href="DistanceDisplayCondition.html">DistanceDisplayCondition</a></li><li data-name="DistanceDisplayConditionGeometryInstanceAttribute"><a href="DistanceDisplayConditionGeometryInstanceAttribute.html">DistanceDisplayConditionGeometryInstanceAttribute</a></li><li data-name="DynamicGeometryUpdater"><a href="DynamicGeometryUpdater.html">DynamicGeometryUpdater</a></li><li data-name="EasingFunction"><a href="EasingFunction.html">EasingFunction</a></li><li data-name="EllipseGeometry"><a href="EllipseGeometry.html">EllipseGeometry</a></li><li data-name="EllipseGeometryUpdater"><a href="EllipseGeometryUpdater.html">EllipseGeometryUpdater</a></li><li data-name="EllipseGraphics"><a href="EllipseGraphics.html">EllipseGraphics</a></li><li data-name="EllipseOutlineGeometry"><a href="EllipseOutlineGeometry.html">EllipseOutlineGeometry</a></li><li data-name="Ellipsoid"><a href="Ellipsoid.html">Ellipsoid</a></li><li data-name="EllipsoidGeodesic"><a href="EllipsoidGeodesic.html">EllipsoidGeodesic</a></li><li data-name="EllipsoidGeometry"><a href="EllipsoidGeometry.html">EllipsoidGeometry</a></li><li data-name="EllipsoidGeometryUpdater"><a href="EllipsoidGeometryUpdater.html">EllipsoidGeometryUpdater</a></li><li data-name="EllipsoidGraphics"><a href="EllipsoidGraphics.html">EllipsoidGraphics</a></li><li data-name="EllipsoidOutlineGeometry"><a href="EllipsoidOutlineGeometry.html">EllipsoidOutlineGeometry</a></li><li data-name="EllipsoidSurfaceAppearance"><a href="EllipsoidSurfaceAppearance.html">EllipsoidSurfaceAppearance</a></li><li data-name="EllipsoidTangentPlane"><a href="EllipsoidTangentPlane.html">EllipsoidTangentPlane</a></li><li data-name="EllipsoidTerrainProvider"><a href="EllipsoidTerrainProvider.html">EllipsoidTerrainProvider</a></li><li data-name="Entity"><a href="Entity.html">Entity</a></li><li data-name="EntityCluster"><a href="EntityCluster.html">EntityCluster</a></li><li data-name="EntityCollection"><a href="EntityCollection.html">EntityCollection</a></li><li data-name="EntityView"><a href="EntityView.html">EntityView</a></li><li data-name="Event"><a href="Event.html">Event</a></li><li data-name="EventHelper"><a href="EventHelper.html">EventHelper</a></li><li data-name="ExtrapolationType"><a href="ExtrapolationType.html">ExtrapolationType</a></li><li data-name="FeatureDetection"><a href="FeatureDetection.html">FeatureDetection</a></li><li data-name="Fog"><a href="Fog.html">Fog</a></li><li data-name="formatError"><a href="formatError.html">formatError</a></li><li data-name="FrameRateMonitor"><a href="FrameRateMonitor.html">FrameRateMonitor</a></li><li data-name="Fullscreen"><a href="Fullscreen.html">Fullscreen</a></li><li data-name="FullscreenButton"><a href="FullscreenButton.html">FullscreenButton</a></li><li data-name="FullscreenButtonViewModel"><a href="FullscreenButtonViewModel.html">FullscreenButtonViewModel</a></li><li data-name="Geocoder"><a href="Geocoder.html">Geocoder</a></li><li data-name="GeocoderViewModel"><a href="GeocoderViewModel.html">GeocoderViewModel</a></li><li data-name="GeographicProjection"><a href="GeographicProjection.html">GeographicProjection</a></li><li data-name="GeographicTilingScheme"><a href="GeographicTilingScheme.html">GeographicTilingScheme</a></li><li data-name="GeoJsonDataSource"><a href="GeoJsonDataSource.html">GeoJsonDataSource</a></li><li data-name="Geometry"><a href="Geometry.html">Geometry</a></li><li data-name="GeometryAttribute"><a href="GeometryAttribute.html">GeometryAttribute</a></li><li data-name="GeometryAttributes"><a href="GeometryAttributes.html">GeometryAttributes</a></li><li data-name="GeometryInstance"><a href="GeometryInstance.html">GeometryInstance</a></li><li data-name="GeometryInstanceAttribute"><a href="GeometryInstanceAttribute.html">GeometryInstanceAttribute</a></li><li data-name="GeometryPipeline"><a href="GeometryPipeline.html">GeometryPipeline</a></li><li data-name="GeometryUpdater"><a href="GeometryUpdater.html">GeometryUpdater</a></li><li data-name="GeometryVisualizer"><a href="GeometryVisualizer.html">GeometryVisualizer</a></li><li data-name="getAbsoluteUri"><a href="getAbsoluteUri.html">getAbsoluteUri</a></li><li data-name="getBaseUri"><a href="getBaseUri.html">getBaseUri</a></li><li data-name="getExtensionFromUri"><a href="getExtensionFromUri.html">getExtensionFromUri</a></li><li data-name="GetFeatureInfoFormat"><a href="GetFeatureInfoFormat.html">GetFeatureInfoFormat</a></li><li data-name="getFilenameFromUri"><a href="getFilenameFromUri.html">getFilenameFromUri</a></li><li data-name="getImagePixels"><a href="getImagePixels.html">getImagePixels</a></li><li data-name="getTimestamp"><a href="getTimestamp.html">getTimestamp</a></li><li data-name="Globe"><a href="Globe.html">Globe</a></li><li data-name="GoogleEarthImageryProvider"><a href="GoogleEarthImageryProvider.html">GoogleEarthImageryProvider</a></li><li data-name="GregorianDate"><a href="GregorianDate.html">GregorianDate</a></li><li data-name="GridImageryProvider"><a href="GridImageryProvider.html">GridImageryProvider</a></li><li data-name="GridMaterialProperty"><a href="GridMaterialProperty.html">GridMaterialProperty</a></li><li data-name="GroundPrimitive"><a href="GroundPrimitive.html">GroundPrimitive</a></li><li data-name="HeadingPitchRange"><a href="HeadingPitchRange.html">HeadingPitchRange</a></li><li data-name="HeadingPitchRoll"><a href="HeadingPitchRoll.html">HeadingPitchRoll</a></li><li data-name="HeightmapTerrainData"><a href="HeightmapTerrainData.html">HeightmapTerrainData</a></li><li data-name="HeightReference"><a href="HeightReference.html">HeightReference</a></li><li data-name="HermitePolynomialApproximation"><a href="HermitePolynomialApproximation.html">HermitePolynomialApproximation</a></li><li data-name="HermiteSpline"><a href="HermiteSpline.html">HermiteSpline</a></li><li data-name="HomeButton"><a href="HomeButton.html">HomeButton</a></li><li data-name="HomeButtonViewModel"><a href="HomeButtonViewModel.html">HomeButtonViewModel</a></li><li data-name="HorizontalOrigin"><a href="HorizontalOrigin.html">HorizontalOrigin</a></li><li data-name="ImageMaterialProperty"><a href="ImageMaterialProperty.html">ImageMaterialProperty</a></li><li data-name="ImageryLayer"><a href="ImageryLayer.html">ImageryLayer</a></li><li data-name="ImageryLayerCollection"><a href="ImageryLayerCollection.html">ImageryLayerCollection</a></li><li data-name="ImageryLayerFeatureInfo"><a href="ImageryLayerFeatureInfo.html">ImageryLayerFeatureInfo</a></li><li data-name="ImageryProvider"><a href="ImageryProvider.html">ImageryProvider</a></li><li data-name="IndexDatatype"><a href="IndexDatatype.html">IndexDatatype</a></li><li data-name="InfoBox"><a href="InfoBox.html">InfoBox</a></li><li data-name="InfoBoxViewModel"><a href="InfoBoxViewModel.html">InfoBoxViewModel</a></li><li data-name="InterpolationAlgorithm"><a href="InterpolationAlgorithm.html">InterpolationAlgorithm</a></li><li data-name="Intersect"><a href="Intersect.html">Intersect</a></li><li data-name="Intersections2D"><a href="Intersections2D.html">Intersections2D</a></li><li data-name="IntersectionTests"><a href="IntersectionTests.html">IntersectionTests</a></li><li data-name="Interval"><a href="Interval.html">Interval</a></li><li data-name="isArray"><a href="isArray.html">isArray</a></li><li data-name="isLeapYear"><a href="isLeapYear.html">isLeapYear</a></li><li data-name="Iso8601"><a href="Iso8601.html">Iso8601</a></li><li data-name="JulianDate"><a href="JulianDate.html">JulianDate</a></li><li data-name="KeyboardEventModifier"><a href="KeyboardEventModifier.html">KeyboardEventModifier</a></li><li data-name="KmlDataSource"><a href="KmlDataSource.html">KmlDataSource</a></li><li data-name="KmlFeatureData"><a href="KmlFeatureData.html">KmlFeatureData</a></li><li data-name="Label"><a href="Label.html">Label</a></li><li data-name="LabelCollection"><a href="LabelCollection.html">LabelCollection</a></li><li data-name="LabelGraphics"><a href="LabelGraphics.html">LabelGraphics</a></li><li data-name="LabelStyle"><a href="LabelStyle.html">LabelStyle</a></li><li data-name="LabelVisualizer"><a href="LabelVisualizer.html">LabelVisualizer</a></li><li data-name="LagrangePolynomialApproximation"><a href="LagrangePolynomialApproximation.html">LagrangePolynomialApproximation</a></li><li data-name="LeapSecond"><a href="LeapSecond.html">LeapSecond</a></li><li data-name="LinearApproximation"><a href="LinearApproximation.html">LinearApproximation</a></li><li data-name="LinearSpline"><a href="LinearSpline.html">LinearSpline</a></li><li data-name="loadArrayBuffer"><a href="loadArrayBuffer.html">loadArrayBuffer</a></li><li data-name="loadBlob"><a href="loadBlob.html">loadBlob</a></li><li data-name="loadImage"><a href="loadImage.html">loadImage</a></li><li data-name="loadImageViaBlob"><a href="loadImageViaBlob.html">loadImageViaBlob</a></li><li data-name="loadJson"><a href="loadJson.html">loadJson</a></li><li data-name="loadJsonp"><a href="loadJsonp.html">loadJsonp</a></li><li data-name="loadText"><a href="loadText.html">loadText</a></li><li data-name="loadWithXhr"><a href="loadWithXhr.html">loadWithXhr</a></li><li data-name="loadXML"><a href="loadXML.html">loadXML</a></li><li data-name="MapboxImageryProvider"><a href="MapboxImageryProvider.html">MapboxImageryProvider</a></li><li data-name="MapMode2D"><a href="MapMode2D.html">MapMode2D</a></li><li data-name="MapProjection"><a href="MapProjection.html">MapProjection</a></li><li data-name="Material"><a href="Material.html">Material</a></li><li data-name="MaterialAppearance"><a href="MaterialAppearance.html">MaterialAppearance</a></li><li data-name="MaterialProperty"><a href="MaterialProperty.html">MaterialProperty</a></li><li data-name="Matrix2"><a href="Matrix2.html">Matrix2</a></li><li data-name="Matrix3"><a href="Matrix3.html">Matrix3</a></li><li data-name="Matrix4"><a href="Matrix4.html">Matrix4</a></li><li data-name="mergeSort"><a href="mergeSort.html">mergeSort</a></li><li data-name="Model"><a href="Model.html">Model</a></li><li data-name="ModelAnimation"><a href="ModelAnimation.html">ModelAnimation</a></li><li data-name="ModelAnimationCollection"><a href="ModelAnimationCollection.html">ModelAnimationCollection</a></li><li data-name="ModelAnimationLoop"><a href="ModelAnimationLoop.html">ModelAnimationLoop</a></li><li data-name="ModelGraphics"><a href="ModelGraphics.html">ModelGraphics</a></li><li data-name="ModelMaterial"><a href="ModelMaterial.html">ModelMaterial</a></li><li data-name="ModelMesh"><a href="ModelMesh.html">ModelMesh</a></li><li data-name="ModelNode"><a href="ModelNode.html">ModelNode</a></li><li data-name="ModelVisualizer"><a href="ModelVisualizer.html">ModelVisualizer</a></li><li data-name="Moon"><a href="Moon.html">Moon</a></li><li data-name="NavigationHelpButton"><a href="NavigationHelpButton.html">NavigationHelpButton</a></li><li data-name="NavigationHelpButtonViewModel"><a href="NavigationHelpButtonViewModel.html">NavigationHelpButtonViewModel</a></li><li data-name="NearFarScalar"><a href="NearFarScalar.html">NearFarScalar</a></li><li data-name="NeverTileDiscardPolicy"><a href="NeverTileDiscardPolicy.html">NeverTileDiscardPolicy</a></li><li data-name="NodeTransformationProperty"><a href="NodeTransformationProperty.html">NodeTransformationProperty</a></li><li data-name="objectToQuery"><a href="objectToQuery.html">objectToQuery</a></li><li data-name="Occluder"><a href="Occluder.html">Occluder</a></li><li data-name="OrientedBoundingBox"><a href="OrientedBoundingBox.html">OrientedBoundingBox</a></li><li data-name="OrthographicFrustum"><a href="OrthographicFrustum.html">OrthographicFrustum</a></li><li data-name="Packable"><a href="Packable.html">Packable</a></li><li data-name="PackableForInterpolation"><a href="PackableForInterpolation.html">PackableForInterpolation</a></li><li data-name="PathGraphics"><a href="PathGraphics.html">PathGraphics</a></li><li data-name="PathVisualizer"><a href="PathVisualizer.html">PathVisualizer</a></li><li data-name="PerformanceWatchdog"><a href="PerformanceWatchdog.html">PerformanceWatchdog</a></li><li data-name="PerformanceWatchdogViewModel"><a href="PerformanceWatchdogViewModel.html">PerformanceWatchdogViewModel</a></li><li data-name="PerInstanceColorAppearance"><a href="PerInstanceColorAppearance.html">PerInstanceColorAppearance</a></li><li data-name="PerspectiveFrustum"><a href="PerspectiveFrustum.html">PerspectiveFrustum</a></li><li data-name="PerspectiveOffCenterFrustum"><a href="PerspectiveOffCenterFrustum.html">PerspectiveOffCenterFrustum</a></li><li data-name="PinBuilder"><a href="PinBuilder.html">PinBuilder</a></li><li data-name="PixelFormat"><a href="PixelFormat.html">PixelFormat</a></li><li data-name="Plane"><a href="Plane.html">Plane</a></li><li data-name="PointGraphics"><a href="PointGraphics.html">PointGraphics</a></li><li data-name="pointInsideTriangle"><a href="pointInsideTriangle.html">pointInsideTriangle</a></li><li data-name="PointPrimitive"><a href="PointPrimitive.html">PointPrimitive</a></li><li data-name="PointPrimitiveCollection"><a href="PointPrimitiveCollection.html">PointPrimitiveCollection</a></li><li data-name="PointVisualizer"><a href="PointVisualizer.html">PointVisualizer</a></li><li data-name="PolygonGeometry"><a href="PolygonGeometry.html">PolygonGeometry</a></li><li data-name="PolygonGeometryUpdater"><a href="PolygonGeometryUpdater.html">PolygonGeometryUpdater</a></li><li data-name="PolygonGraphics"><a href="PolygonGraphics.html">PolygonGraphics</a></li><li data-name="PolygonHierarchy"><a href="PolygonHierarchy.html">PolygonHierarchy</a></li><li data-name="PolygonOutlineGeometry"><a href="PolygonOutlineGeometry.html">PolygonOutlineGeometry</a></li><li data-name="Polyline"><a href="Polyline.html">Polyline</a></li><li data-name="PolylineArrowMaterialProperty"><a href="PolylineArrowMaterialProperty.html">PolylineArrowMaterialProperty</a></li><li data-name="PolylineCollection"><a href="PolylineCollection.html">PolylineCollection</a></li><li data-name="PolylineColorAppearance"><a href="PolylineColorAppearance.html">PolylineColorAppearance</a></li><li data-name="PolylineGeometry"><a href="PolylineGeometry.html">PolylineGeometry</a></li><li data-name="PolylineGeometryUpdater"><a href="PolylineGeometryUpdater.html">PolylineGeometryUpdater</a></li><li data-name="PolylineGlowMaterialProperty"><a href="PolylineGlowMaterialProperty.html">PolylineGlowMaterialProperty</a></li><li data-name="PolylineGraphics"><a href="PolylineGraphics.html">PolylineGraphics</a></li><li data-name="PolylineMaterialAppearance"><a href="PolylineMaterialAppearance.html">PolylineMaterialAppearance</a></li><li data-name="PolylineOutlineMaterialProperty"><a href="PolylineOutlineMaterialProperty.html">PolylineOutlineMaterialProperty</a></li><li data-name="PolylineVolumeGeometry"><a href="PolylineVolumeGeometry.html">PolylineVolumeGeometry</a></li><li data-name="PolylineVolumeGeometryUpdater"><a href="PolylineVolumeGeometryUpdater.html">PolylineVolumeGeometryUpdater</a></li><li data-name="PolylineVolumeGraphics"><a href="PolylineVolumeGraphics.html">PolylineVolumeGraphics</a></li><li data-name="PolylineVolumeOutlineGeometry"><a href="PolylineVolumeOutlineGeometry.html">PolylineVolumeOutlineGeometry</a></li><li data-name="PositionProperty"><a href="PositionProperty.html">PositionProperty</a></li><li data-name="PositionPropertyArray"><a href="PositionPropertyArray.html">PositionPropertyArray</a></li><li data-name="Primitive"><a href="Primitive.html">Primitive</a></li><li data-name="PrimitiveCollection"><a href="PrimitiveCollection.html">PrimitiveCollection</a></li><li data-name="PrimitiveType"><a href="PrimitiveType.html">PrimitiveType</a></li><li data-name="Property"><a href="Property.html">Property</a></li><li data-name="PropertyArray"><a href="PropertyArray.html">PropertyArray</a></li><li data-name="PropertyBag"><a href="PropertyBag.html">PropertyBag</a></li><li data-name="ProviderViewModel"><a href="ProviderViewModel.html">ProviderViewModel</a></li><li data-name="QuadraticRealPolynomial"><a href="QuadraticRealPolynomial.html">QuadraticRealPolynomial</a></li><li data-name="QuantizedMeshTerrainData"><a href="QuantizedMeshTerrainData.html">QuantizedMeshTerrainData</a></li><li data-name="QuarticRealPolynomial"><a href="QuarticRealPolynomial.html">QuarticRealPolynomial</a></li><li data-name="Quaternion"><a href="Quaternion.html">Quaternion</a></li><li data-name="QuaternionSpline"><a href="QuaternionSpline.html">QuaternionSpline</a></li><li data-name="queryToObject"><a href="queryToObject.html">queryToObject</a></li><li data-name="Queue"><a href="Queue.html">Queue</a></li><li data-name="Ray"><a href="Ray.html">Ray</a></li><li data-name="Rectangle"><a href="Rectangle.html">Rectangle</a></li><li data-name="RectangleGeometry"><a href="RectangleGeometry.html">RectangleGeometry</a></li><li data-name="RectangleGeometryUpdater"><a href="RectangleGeometryUpdater.html">RectangleGeometryUpdater</a></li><li data-name="RectangleGraphics"><a href="RectangleGraphics.html">RectangleGraphics</a></li><li data-name="RectangleOutlineGeometry"><a href="RectangleOutlineGeometry.html">RectangleOutlineGeometry</a></li><li data-name="ReferenceFrame"><a href="ReferenceFrame.html">ReferenceFrame</a></li><li data-name="ReferenceProperty"><a href="ReferenceProperty.html">ReferenceProperty</a></li><li data-name="requestAnimationFrame"><a href="requestAnimationFrame.html">requestAnimationFrame</a></li><li data-name="RequestErrorEvent"><a href="RequestErrorEvent.html">RequestErrorEvent</a></li><li data-name="Rotation"><a href="Rotation.html">Rotation</a></li><li data-name="RuntimeError"><a href="RuntimeError.html">RuntimeError</a></li><li data-name="SampledPositionProperty"><a href="SampledPositionProperty.html">SampledPositionProperty</a></li><li data-name="SampledProperty"><a href="SampledProperty.html">SampledProperty</a></li><li data-name="sampleTerrain"><a href="sampleTerrain.html">sampleTerrain</a></li><li data-name="Scene"><a href="Scene.html">Scene</a></li><li data-name="SceneMode"><a href="SceneMode.html">SceneMode</a></li><li data-name="SceneModePicker"><a href="SceneModePicker.html">SceneModePicker</a></li><li data-name="SceneModePickerViewModel"><a href="SceneModePickerViewModel.html">SceneModePickerViewModel</a></li><li data-name="SceneTransforms"><a href="SceneTransforms.html">SceneTransforms</a></li><li data-name="ScreenSpaceCameraController"><a href="ScreenSpaceCameraController.html">ScreenSpaceCameraController</a></li><li data-name="ScreenSpaceEventHandler"><a href="ScreenSpaceEventHandler.html">ScreenSpaceEventHandler</a></li><li data-name="ScreenSpaceEventType"><a href="ScreenSpaceEventType.html">ScreenSpaceEventType</a></li><li data-name="SelectionIndicator"><a href="SelectionIndicator.html">SelectionIndicator</a></li><li data-name="SelectionIndicatorViewModel"><a href="SelectionIndicatorViewModel.html">SelectionIndicatorViewModel</a></li><li data-name="ShadowMap"><a href="ShadowMap.html">ShadowMap</a></li><li data-name="ShadowMode"><a href="ShadowMode.html">ShadowMode</a></li><li data-name="ShowGeometryInstanceAttribute"><a href="ShowGeometryInstanceAttribute.html">ShowGeometryInstanceAttribute</a></li><li data-name="Simon1994PlanetaryPositions"><a href="Simon1994PlanetaryPositions.html">Simon1994PlanetaryPositions</a></li><li data-name="SimplePolylineGeometry"><a href="SimplePolylineGeometry.html">SimplePolylineGeometry</a></li><li data-name="SingleTileImageryProvider"><a href="SingleTileImageryProvider.html">SingleTileImageryProvider</a></li><li data-name="SkyAtmosphere"><a href="SkyAtmosphere.html">SkyAtmosphere</a></li><li data-name="SkyBox"><a href="SkyBox.html">SkyBox</a></li><li data-name="SphereGeometry"><a href="SphereGeometry.html">SphereGeometry</a></li><li data-name="SphereOutlineGeometry"><a href="SphereOutlineGeometry.html">SphereOutlineGeometry</a></li><li data-name="Spherical"><a href="Spherical.html">Spherical</a></li><li data-name="Spline"><a href="Spline.html">Spline</a></li><li data-name="StencilFunction"><a href="StencilFunction.html">StencilFunction</a></li><li data-name="StencilOperation"><a href="StencilOperation.html">StencilOperation</a></li><li data-name="StripeMaterialProperty"><a href="StripeMaterialProperty.html">StripeMaterialProperty</a></li><li data-name="StripeOrientation"><a href="StripeOrientation.html">StripeOrientation</a></li><li data-name="subdivideArray"><a href="subdivideArray.html">subdivideArray</a></li><li data-name="Sun"><a href="Sun.html">Sun</a></li><li data-name="SvgPathBindingHandler"><a href="SvgPathBindingHandler.html">SvgPathBindingHandler</a></li><li data-name="TaskProcessor"><a href="TaskProcessor.html">TaskProcessor</a></li><li data-name="TerrainData"><a href="TerrainData.html">TerrainData</a></li><li data-name="TerrainProvider"><a href="TerrainProvider.html">TerrainProvider</a></li><li data-name="throttleRequestByServer"><a href="throttleRequestByServer.html">throttleRequestByServer</a></li><li data-name="TileCoordinatesImageryProvider"><a href="TileCoordinatesImageryProvider.html">TileCoordinatesImageryProvider</a></li><li data-name="TileDiscardPolicy"><a href="TileDiscardPolicy.html">TileDiscardPolicy</a></li><li data-name="TileProviderError"><a href="TileProviderError.html">TileProviderError</a></li><li data-name="TilingScheme"><a href="TilingScheme.html">TilingScheme</a></li><li data-name="TimeInterval"><a href="TimeInterval.html">TimeInterval</a></li><li data-name="TimeIntervalCollection"><a href="TimeIntervalCollection.html">TimeIntervalCollection</a></li><li data-name="TimeIntervalCollectionPositionProperty"><a href="TimeIntervalCollectionPositionProperty.html">TimeIntervalCollectionPositionProperty</a></li><li data-name="TimeIntervalCollectionProperty"><a href="TimeIntervalCollectionProperty.html">TimeIntervalCollectionProperty</a></li><li data-name="Timeline"><a href="Timeline.html">Timeline</a></li><li data-name="TimeStandard"><a href="TimeStandard.html">TimeStandard</a></li><li data-name="ToggleButtonViewModel"><a href="ToggleButtonViewModel.html">ToggleButtonViewModel</a></li><li data-name="Transforms"><a href="Transforms.html">Transforms</a></li><li data-name="TranslationRotationScale"><a href="TranslationRotationScale.html">TranslationRotationScale</a></li><li data-name="TridiagonalSystemSolver"><a href="TridiagonalSystemSolver.html">TridiagonalSystemSolver</a></li><li data-name="TrustedServers"><a href="TrustedServers.html">TrustedServers</a></li><li data-name="UrlTemplateImageryProvider"><a href="UrlTemplateImageryProvider.html">UrlTemplateImageryProvider</a></li><li data-name="VelocityOrientationProperty"><a href="VelocityOrientationProperty.html">VelocityOrientationProperty</a></li><li data-name="VelocityVectorProperty"><a href="VelocityVectorProperty.html">VelocityVectorProperty</a></li><li data-name="VertexFormat"><a href="VertexFormat.html">VertexFormat</a></li><li data-name="VerticalOrigin"><a href="VerticalOrigin.html">VerticalOrigin</a></li><li data-name="VideoSynchronizer"><a href="VideoSynchronizer.html">VideoSynchronizer</a></li><li data-name="Viewer"><a href="Viewer.html">Viewer</a></li><li data-name="viewerCesiumInspectorMixin"><a href="viewerCesiumInspectorMixin.html">viewerCesiumInspectorMixin</a></li><li data-name="viewerDragDropMixin"><a href="viewerDragDropMixin.html">viewerDragDropMixin</a></li><li data-name="viewerPerformanceWatchdogMixin"><a href="viewerPerformanceWatchdogMixin.html">viewerPerformanceWatchdogMixin</a></li><li data-name="ViewportQuad"><a href="ViewportQuad.html">ViewportQuad</a></li><li data-name="Visibility"><a href="Visibility.html">Visibility</a></li><li data-name="Visualizer"><a href="Visualizer.html">Visualizer</a></li><li data-name="VRButton"><a href="VRButton.html">VRButton</a></li><li data-name="VRButtonViewModel"><a href="VRButtonViewModel.html">VRButtonViewModel</a></li><li data-name="VRTheWorldTerrainProvider"><a href="VRTheWorldTerrainProvider.html">VRTheWorldTerrainProvider</a></li><li data-name="WallGeometry"><a href="WallGeometry.html">WallGeometry</a></li><li data-name="WallGeometryUpdater"><a href="WallGeometryUpdater.html">WallGeometryUpdater</a></li><li data-name="WallGraphics"><a href="WallGraphics.html">WallGraphics</a></li><li data-name="WallOutlineGeometry"><a href="WallOutlineGeometry.html">WallOutlineGeometry</a></li><li data-name="WebGLConstants"><a href="WebGLConstants.html">WebGLConstants</a></li><li data-name="WebMapServiceImageryProvider"><a href="WebMapServiceImageryProvider.html">WebMapServiceImageryProvider</a></li><li data-name="WebMapTileServiceImageryProvider"><a href="WebMapTileServiceImageryProvider.html">WebMapTileServiceImageryProvider</a></li><li data-name="WebMercatorProjection"><a href="WebMercatorProjection.html">WebMercatorProjection</a></li><li data-name="WebMercatorTilingScheme"><a href="WebMercatorTilingScheme.html">WebMercatorTilingScheme</a></li><li data-name="WindingOrder"><a href="WindingOrder.html">WindingOrder</a></li></ul>
  2106. </div>
  2107. </div>
  2108. <script>
  2109. if (window.frameElement) {
  2110. document.body.className = 'embedded';
  2111. var ele = document.createElement('a');
  2112. ele.className = 'popout';
  2113. ele.target = '_blank';
  2114. ele.href = window.location.href;
  2115. ele.title = 'Pop out';
  2116. document.getElementById('main').appendChild(ele);
  2117. }
  2118. // Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
  2119. Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
  2120. if (/^https?:/i.test(a.getAttribute('href'))) {
  2121. a.target='_blank';
  2122. }
  2123. });
  2124. </script>
  2125. <script src="javascript/prism.js"></script>
  2126. <script src="javascript/cesiumDoc.js"></script>
  2127. </body>
  2128. </html>