Matrix4.html 227 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074
  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>Matrix4 - 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. Matrix4
  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="Matrix4">
  29. <a href="#Matrix4" class="doc-link"></a>
  30. new Cesium.Matrix4<span class="signature">(<span class="optional">column0Row0</span>, <span class="optional">column1Row0</span>, <span class="optional">column2Row0</span>, <span class="optional">column3Row0</span>, <span class="optional">column0Row1</span>, <span class="optional">column1Row1</span>, <span class="optional">column2Row1</span>, <span class="optional">column3Row1</span>, <span class="optional">column0Row2</span>, <span class="optional">column1Row2</span>, <span class="optional">column2Row2</span>, <span class="optional">column3Row2</span>, <span class="optional">column0Row3</span>, <span class="optional">column1Row3</span>, <span class="optional">column2Row3</span>, <span class="optional">column3Row3</span>)</span>
  31. <div class="source-link rightLinks">
  32. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L68">Core/Matrix4.js 68</a>
  33. </div>
  34. </h4>
  35. </div>
  36. </dt>
  37. <dd>
  38. <div class="description">
  39. A 4x4 matrix, indexable as a column-major order array. Constructor parameters are in row-major order for code readability.
  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>column0Row0</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 value for column 0, row 0.</td>
  62. </tr>
  63. <tr>
  64. <td class="name"><code>column1Row0</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 value for column 1, row 0.</td>
  74. </tr>
  75. <tr>
  76. <td class="name"><code>column2Row0</code></td>
  77. <td class="type">
  78. <span class="param-type">Number</span>
  79. </td>
  80. <td class="default">
  81. <code class="language-javascript">0.0</code>
  82. </td>
  83. <td class="description last">
  84. <span class="optional">optional</span>
  85. The value for column 2, row 0.</td>
  86. </tr>
  87. <tr>
  88. <td class="name"><code>column3Row0</code></td>
  89. <td class="type">
  90. <span class="param-type">Number</span>
  91. </td>
  92. <td class="default">
  93. <code class="language-javascript">0.0</code>
  94. </td>
  95. <td class="description last">
  96. <span class="optional">optional</span>
  97. The value for column 3, row 0.</td>
  98. </tr>
  99. <tr>
  100. <td class="name"><code>column0Row1</code></td>
  101. <td class="type">
  102. <span class="param-type">Number</span>
  103. </td>
  104. <td class="default">
  105. <code class="language-javascript">0.0</code>
  106. </td>
  107. <td class="description last">
  108. <span class="optional">optional</span>
  109. The value for column 0, row 1.</td>
  110. </tr>
  111. <tr>
  112. <td class="name"><code>column1Row1</code></td>
  113. <td class="type">
  114. <span class="param-type">Number</span>
  115. </td>
  116. <td class="default">
  117. <code class="language-javascript">0.0</code>
  118. </td>
  119. <td class="description last">
  120. <span class="optional">optional</span>
  121. The value for column 1, row 1.</td>
  122. </tr>
  123. <tr>
  124. <td class="name"><code>column2Row1</code></td>
  125. <td class="type">
  126. <span class="param-type">Number</span>
  127. </td>
  128. <td class="default">
  129. <code class="language-javascript">0.0</code>
  130. </td>
  131. <td class="description last">
  132. <span class="optional">optional</span>
  133. The value for column 2, row 1.</td>
  134. </tr>
  135. <tr>
  136. <td class="name"><code>column3Row1</code></td>
  137. <td class="type">
  138. <span class="param-type">Number</span>
  139. </td>
  140. <td class="default">
  141. <code class="language-javascript">0.0</code>
  142. </td>
  143. <td class="description last">
  144. <span class="optional">optional</span>
  145. The value for column 3, row 1.</td>
  146. </tr>
  147. <tr>
  148. <td class="name"><code>column0Row2</code></td>
  149. <td class="type">
  150. <span class="param-type">Number</span>
  151. </td>
  152. <td class="default">
  153. <code class="language-javascript">0.0</code>
  154. </td>
  155. <td class="description last">
  156. <span class="optional">optional</span>
  157. The value for column 0, row 2.</td>
  158. </tr>
  159. <tr>
  160. <td class="name"><code>column1Row2</code></td>
  161. <td class="type">
  162. <span class="param-type">Number</span>
  163. </td>
  164. <td class="default">
  165. <code class="language-javascript">0.0</code>
  166. </td>
  167. <td class="description last">
  168. <span class="optional">optional</span>
  169. The value for column 1, row 2.</td>
  170. </tr>
  171. <tr>
  172. <td class="name"><code>column2Row2</code></td>
  173. <td class="type">
  174. <span class="param-type">Number</span>
  175. </td>
  176. <td class="default">
  177. <code class="language-javascript">0.0</code>
  178. </td>
  179. <td class="description last">
  180. <span class="optional">optional</span>
  181. The value for column 2, row 2.</td>
  182. </tr>
  183. <tr>
  184. <td class="name"><code>column3Row2</code></td>
  185. <td class="type">
  186. <span class="param-type">Number</span>
  187. </td>
  188. <td class="default">
  189. <code class="language-javascript">0.0</code>
  190. </td>
  191. <td class="description last">
  192. <span class="optional">optional</span>
  193. The value for column 3, row 2.</td>
  194. </tr>
  195. <tr>
  196. <td class="name"><code>column0Row3</code></td>
  197. <td class="type">
  198. <span class="param-type">Number</span>
  199. </td>
  200. <td class="default">
  201. <code class="language-javascript">0.0</code>
  202. </td>
  203. <td class="description last">
  204. <span class="optional">optional</span>
  205. The value for column 0, row 3.</td>
  206. </tr>
  207. <tr>
  208. <td class="name"><code>column1Row3</code></td>
  209. <td class="type">
  210. <span class="param-type">Number</span>
  211. </td>
  212. <td class="default">
  213. <code class="language-javascript">0.0</code>
  214. </td>
  215. <td class="description last">
  216. <span class="optional">optional</span>
  217. The value for column 1, row 3.</td>
  218. </tr>
  219. <tr>
  220. <td class="name"><code>column2Row3</code></td>
  221. <td class="type">
  222. <span class="param-type">Number</span>
  223. </td>
  224. <td class="default">
  225. <code class="language-javascript">0.0</code>
  226. </td>
  227. <td class="description last">
  228. <span class="optional">optional</span>
  229. The value for column 2, row 3.</td>
  230. </tr>
  231. <tr>
  232. <td class="name"><code>column3Row3</code></td>
  233. <td class="type">
  234. <span class="param-type">Number</span>
  235. </td>
  236. <td class="default">
  237. <code class="language-javascript">0.0</code>
  238. </td>
  239. <td class="description last">
  240. <span class="optional">optional</span>
  241. The value for column 3, row 3.</td>
  242. </tr>
  243. </tbody>
  244. </table>
  245. <dl class="details">
  246. <h5>See:</h5>
  247. <ul class="see-list">
  248. <li><a href="Matrix4.html#.fromColumnMajorArray">Matrix4.fromColumnMajorArray</a></li>
  249. <li><a href="Matrix4.html#.fromRowMajorArray">Matrix4.fromRowMajorArray</a></li>
  250. <li><a href="Matrix4.html#.fromRotationTranslation">Matrix4.fromRotationTranslation</a></li>
  251. <li><a href="Matrix4.html#.fromTranslationRotationScale">Matrix4.fromTranslationRotationScale</a></li>
  252. <li><a href="Matrix4.html#.fromTranslationQuaternionRotationScale">Matrix4.fromTranslationQuaternionRotationScale</a></li>
  253. <li><a href="Matrix4.html#.fromTranslation">Matrix4.fromTranslation</a></li>
  254. <li><a href="Matrix4.html#.fromScale">Matrix4.fromScale</a></li>
  255. <li><a href="Matrix4.html#.fromUniformScale">Matrix4.fromUniformScale</a></li>
  256. <li><a href="Matrix4.html#.fromCamera">Matrix4.fromCamera</a></li>
  257. <li><a href="Matrix4.html#.computePerspectiveFieldOfView">Matrix4.computePerspectiveFieldOfView</a></li>
  258. <li><a href="Matrix4.html#.computeOrthographicOffCenter">Matrix4.computeOrthographicOffCenter</a></li>
  259. <li><a href="Matrix4.html#.computePerspectiveOffCenter">Matrix4.computePerspectiveOffCenter</a></li>
  260. <li><a href="Matrix4.html#.computeInfinitePerspectiveOffCenter">Matrix4.computeInfinitePerspectiveOffCenter</a></li>
  261. <li><a href="Matrix4.html#.computeViewportTransformation">Matrix4.computeViewportTransformation</a></li>
  262. <li><a href="Matrix4.html#.computeView">Matrix4.computeView</a></li>
  263. <li><a href="Matrix2.html">Matrix2</a></li>
  264. <li><a href="Matrix3.html">Matrix3</a></li>
  265. <li><a href="Packable.html">Packable</a></li>
  266. </ul>
  267. </dl>
  268. </dd>
  269. </div>
  270. <h3 class="subsection-title">Members</h3>
  271. <dl>
  272. <dt>
  273. <div class="nameContainer">
  274. <h4 class="name" id="length">
  275. <a href="#length" class="doc-link"></a>
  276. length<span class="type-signature"> : Number</span>
  277. <div class="source-link rightLinks">
  278. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2767">Core/Matrix4.js 2767</a>
  279. </div>
  280. </h4>
  281. </div>
  282. </dt>
  283. <dd>
  284. <div class="description">
  285. Gets the number of items in the collection.
  286. </div>
  287. <dl class="details">
  288. </dl>
  289. </dd>
  290. <dt>
  291. <div class="nameContainer">
  292. <h4 class="name" id=".COLUMN0ROW0">
  293. <a href="#.COLUMN0ROW0" class="doc-link"></a>
  294. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN0ROW0<span class="type-signature"> : Number</span>
  295. <div class="source-link rightLinks">
  296. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2638">Core/Matrix4.js 2638</a>
  297. </div>
  298. </h4>
  299. </div>
  300. </dt>
  301. <dd>
  302. <div class="description">
  303. The index into Matrix4 for column 0, row 0.
  304. </div>
  305. <dl class="details">
  306. </dl>
  307. </dd>
  308. <dt>
  309. <div class="nameContainer">
  310. <h4 class="name" id=".COLUMN0ROW1">
  311. <a href="#.COLUMN0ROW1" class="doc-link"></a>
  312. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN0ROW1<span class="type-signature"> : Number</span>
  313. <div class="source-link rightLinks">
  314. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2646">Core/Matrix4.js 2646</a>
  315. </div>
  316. </h4>
  317. </div>
  318. </dt>
  319. <dd>
  320. <div class="description">
  321. The index into Matrix4 for column 0, row 1.
  322. </div>
  323. <dl class="details">
  324. </dl>
  325. </dd>
  326. <dt>
  327. <div class="nameContainer">
  328. <h4 class="name" id=".COLUMN0ROW2">
  329. <a href="#.COLUMN0ROW2" class="doc-link"></a>
  330. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN0ROW2<span class="type-signature"> : Number</span>
  331. <div class="source-link rightLinks">
  332. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2654">Core/Matrix4.js 2654</a>
  333. </div>
  334. </h4>
  335. </div>
  336. </dt>
  337. <dd>
  338. <div class="description">
  339. The index into Matrix4 for column 0, row 2.
  340. </div>
  341. <dl class="details">
  342. </dl>
  343. </dd>
  344. <dt>
  345. <div class="nameContainer">
  346. <h4 class="name" id=".COLUMN0ROW3">
  347. <a href="#.COLUMN0ROW3" class="doc-link"></a>
  348. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN0ROW3<span class="type-signature"> : Number</span>
  349. <div class="source-link rightLinks">
  350. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2662">Core/Matrix4.js 2662</a>
  351. </div>
  352. </h4>
  353. </div>
  354. </dt>
  355. <dd>
  356. <div class="description">
  357. The index into Matrix4 for column 0, row 3.
  358. </div>
  359. <dl class="details">
  360. </dl>
  361. </dd>
  362. <dt>
  363. <div class="nameContainer">
  364. <h4 class="name" id=".COLUMN1ROW0">
  365. <a href="#.COLUMN1ROW0" class="doc-link"></a>
  366. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN1ROW0<span class="type-signature"> : Number</span>
  367. <div class="source-link rightLinks">
  368. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2670">Core/Matrix4.js 2670</a>
  369. </div>
  370. </h4>
  371. </div>
  372. </dt>
  373. <dd>
  374. <div class="description">
  375. The index into Matrix4 for column 1, row 0.
  376. </div>
  377. <dl class="details">
  378. </dl>
  379. </dd>
  380. <dt>
  381. <div class="nameContainer">
  382. <h4 class="name" id=".COLUMN1ROW1">
  383. <a href="#.COLUMN1ROW1" class="doc-link"></a>
  384. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN1ROW1<span class="type-signature"> : Number</span>
  385. <div class="source-link rightLinks">
  386. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2678">Core/Matrix4.js 2678</a>
  387. </div>
  388. </h4>
  389. </div>
  390. </dt>
  391. <dd>
  392. <div class="description">
  393. The index into Matrix4 for column 1, row 1.
  394. </div>
  395. <dl class="details">
  396. </dl>
  397. </dd>
  398. <dt>
  399. <div class="nameContainer">
  400. <h4 class="name" id=".COLUMN1ROW2">
  401. <a href="#.COLUMN1ROW2" class="doc-link"></a>
  402. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN1ROW2<span class="type-signature"> : Number</span>
  403. <div class="source-link rightLinks">
  404. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2686">Core/Matrix4.js 2686</a>
  405. </div>
  406. </h4>
  407. </div>
  408. </dt>
  409. <dd>
  410. <div class="description">
  411. The index into Matrix4 for column 1, row 2.
  412. </div>
  413. <dl class="details">
  414. </dl>
  415. </dd>
  416. <dt>
  417. <div class="nameContainer">
  418. <h4 class="name" id=".COLUMN1ROW3">
  419. <a href="#.COLUMN1ROW3" class="doc-link"></a>
  420. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN1ROW3<span class="type-signature"> : Number</span>
  421. <div class="source-link rightLinks">
  422. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2694">Core/Matrix4.js 2694</a>
  423. </div>
  424. </h4>
  425. </div>
  426. </dt>
  427. <dd>
  428. <div class="description">
  429. The index into Matrix4 for column 1, row 3.
  430. </div>
  431. <dl class="details">
  432. </dl>
  433. </dd>
  434. <dt>
  435. <div class="nameContainer">
  436. <h4 class="name" id=".COLUMN2ROW0">
  437. <a href="#.COLUMN2ROW0" class="doc-link"></a>
  438. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN2ROW0<span class="type-signature"> : Number</span>
  439. <div class="source-link rightLinks">
  440. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2702">Core/Matrix4.js 2702</a>
  441. </div>
  442. </h4>
  443. </div>
  444. </dt>
  445. <dd>
  446. <div class="description">
  447. The index into Matrix4 for column 2, row 0.
  448. </div>
  449. <dl class="details">
  450. </dl>
  451. </dd>
  452. <dt>
  453. <div class="nameContainer">
  454. <h4 class="name" id=".COLUMN2ROW1">
  455. <a href="#.COLUMN2ROW1" class="doc-link"></a>
  456. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN2ROW1<span class="type-signature"> : Number</span>
  457. <div class="source-link rightLinks">
  458. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2710">Core/Matrix4.js 2710</a>
  459. </div>
  460. </h4>
  461. </div>
  462. </dt>
  463. <dd>
  464. <div class="description">
  465. The index into Matrix4 for column 2, row 1.
  466. </div>
  467. <dl class="details">
  468. </dl>
  469. </dd>
  470. <dt>
  471. <div class="nameContainer">
  472. <h4 class="name" id=".COLUMN2ROW2">
  473. <a href="#.COLUMN2ROW2" class="doc-link"></a>
  474. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN2ROW2<span class="type-signature"> : Number</span>
  475. <div class="source-link rightLinks">
  476. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2718">Core/Matrix4.js 2718</a>
  477. </div>
  478. </h4>
  479. </div>
  480. </dt>
  481. <dd>
  482. <div class="description">
  483. The index into Matrix4 for column 2, row 2.
  484. </div>
  485. <dl class="details">
  486. </dl>
  487. </dd>
  488. <dt>
  489. <div class="nameContainer">
  490. <h4 class="name" id=".COLUMN2ROW3">
  491. <a href="#.COLUMN2ROW3" class="doc-link"></a>
  492. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN2ROW3<span class="type-signature"> : Number</span>
  493. <div class="source-link rightLinks">
  494. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2726">Core/Matrix4.js 2726</a>
  495. </div>
  496. </h4>
  497. </div>
  498. </dt>
  499. <dd>
  500. <div class="description">
  501. The index into Matrix4 for column 2, row 3.
  502. </div>
  503. <dl class="details">
  504. </dl>
  505. </dd>
  506. <dt>
  507. <div class="nameContainer">
  508. <h4 class="name" id=".COLUMN3ROW0">
  509. <a href="#.COLUMN3ROW0" class="doc-link"></a>
  510. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN3ROW0<span class="type-signature"> : Number</span>
  511. <div class="source-link rightLinks">
  512. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2734">Core/Matrix4.js 2734</a>
  513. </div>
  514. </h4>
  515. </div>
  516. </dt>
  517. <dd>
  518. <div class="description">
  519. The index into Matrix4 for column 3, row 0.
  520. </div>
  521. <dl class="details">
  522. </dl>
  523. </dd>
  524. <dt>
  525. <div class="nameContainer">
  526. <h4 class="name" id=".COLUMN3ROW1">
  527. <a href="#.COLUMN3ROW1" class="doc-link"></a>
  528. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN3ROW1<span class="type-signature"> : Number</span>
  529. <div class="source-link rightLinks">
  530. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2742">Core/Matrix4.js 2742</a>
  531. </div>
  532. </h4>
  533. </div>
  534. </dt>
  535. <dd>
  536. <div class="description">
  537. The index into Matrix4 for column 3, row 1.
  538. </div>
  539. <dl class="details">
  540. </dl>
  541. </dd>
  542. <dt>
  543. <div class="nameContainer">
  544. <h4 class="name" id=".COLUMN3ROW2">
  545. <a href="#.COLUMN3ROW2" class="doc-link"></a>
  546. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN3ROW2<span class="type-signature"> : Number</span>
  547. <div class="source-link rightLinks">
  548. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2750">Core/Matrix4.js 2750</a>
  549. </div>
  550. </h4>
  551. </div>
  552. </dt>
  553. <dd>
  554. <div class="description">
  555. The index into Matrix4 for column 3, row 2.
  556. </div>
  557. <dl class="details">
  558. </dl>
  559. </dd>
  560. <dt>
  561. <div class="nameContainer">
  562. <h4 class="name" id=".COLUMN3ROW3">
  563. <a href="#.COLUMN3ROW3" class="doc-link"></a>
  564. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.COLUMN3ROW3<span class="type-signature"> : Number</span>
  565. <div class="source-link rightLinks">
  566. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2758">Core/Matrix4.js 2758</a>
  567. </div>
  568. </h4>
  569. </div>
  570. </dt>
  571. <dd>
  572. <div class="description">
  573. The index into Matrix4 for column 3, row 3.
  574. </div>
  575. <dl class="details">
  576. </dl>
  577. </dd>
  578. <dt>
  579. <div class="nameContainer">
  580. <h4 class="name" id=".IDENTITY">
  581. <a href="#.IDENTITY" class="doc-link"></a>
  582. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.IDENTITY<span class="type-signature"> : <a href="Matrix4.html">Matrix4</a></span>
  583. <div class="source-link rightLinks">
  584. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2616">Core/Matrix4.js 2616</a>
  585. </div>
  586. </h4>
  587. </div>
  588. </dt>
  589. <dd>
  590. <div class="description">
  591. An immutable Matrix4 instance initialized to the identity matrix.
  592. </div>
  593. <dl class="details">
  594. </dl>
  595. </dd>
  596. <dt>
  597. <div class="nameContainer">
  598. <h4 class="name" id=".packedLength">
  599. <a href="#.packedLength" class="doc-link"></a>
  600. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.packedLength<span class="type-signature"> : Number</span>
  601. <div class="source-link rightLinks">
  602. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L94">Core/Matrix4.js 94</a>
  603. </div>
  604. </h4>
  605. </div>
  606. </dt>
  607. <dd>
  608. <div class="description">
  609. The number of elements used to pack the object into an array.
  610. </div>
  611. <dl class="details">
  612. </dl>
  613. </dd>
  614. <dt>
  615. <div class="nameContainer">
  616. <h4 class="name" id=".ZERO">
  617. <a href="#.ZERO" class="doc-link"></a>
  618. <span class="type-signature attribute-static">static</span><span class="type-signature attribute-constant">constant</span>Cesium.Matrix4.ZERO<span class="type-signature"> : <a href="Matrix4.html">Matrix4</a></span>
  619. <div class="source-link rightLinks">
  620. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2627">Core/Matrix4.js 2627</a>
  621. </div>
  622. </h4>
  623. </div>
  624. </dt>
  625. <dd>
  626. <div class="description">
  627. An immutable Matrix4 instance initialized to the zero matrix.
  628. </div>
  629. <dl class="details">
  630. </dl>
  631. </dd>
  632. </dl>
  633. <h3 class="subsection-title">Methods</h3>
  634. <dl>
  635. <dt>
  636. <div class="nameContainer">
  637. <h4 class="name" id="clone">
  638. <a href="#clone" class="doc-link"></a>
  639. clone<span class="signature">(<span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  640. <div class="source-link rightLinks">
  641. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2780">Core/Matrix4.js 2780</a>
  642. </div>
  643. </h4>
  644. </div>
  645. </dt>
  646. <dd>
  647. <div class="description">
  648. Duplicates the provided Matrix4 instance.
  649. </div>
  650. <table class="params">
  651. <thead>
  652. <tr>
  653. <th>Name</th>
  654. <th>Type</th>
  655. <th class="last">Description</th>
  656. </tr>
  657. </thead>
  658. <tbody>
  659. <tr>
  660. <td class="name"><code>result</code></td>
  661. <td class="type">
  662. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  663. </td>
  664. <td class="description last">
  665. <span class="optional">optional</span>
  666. The object onto which to store the result.</td>
  667. </tr>
  668. </tbody>
  669. </table>
  670. <h5>Returns:</h5>
  671. <div class="param-desc">
  672. The modified result parameter or a new Matrix4 instance if one was not provided.
  673. </div>
  674. <dl class="details">
  675. </dl>
  676. </dd>
  677. <dt>
  678. <div class="nameContainer">
  679. <h4 class="name" id="equals">
  680. <a href="#equals" class="doc-link"></a>
  681. equals<span class="signature">(<span class="optional">right</span>)</span> &rarr; <span class="type-signature returnType">Boolean</span>
  682. <div class="source-link rightLinks">
  683. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2791">Core/Matrix4.js 2791</a>
  684. </div>
  685. </h4>
  686. </div>
  687. </dt>
  688. <dd>
  689. <div class="description">
  690. Compares this matrix to the provided matrix componentwise and returns <code>true</code> if they are equal, <code>false</code> otherwise.
  691. </div>
  692. <table class="params">
  693. <thead>
  694. <tr>
  695. <th>Name</th>
  696. <th>Type</th>
  697. <th class="last">Description</th>
  698. </tr>
  699. </thead>
  700. <tbody>
  701. <tr>
  702. <td class="name"><code>right</code></td>
  703. <td class="type">
  704. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  705. </td>
  706. <td class="description last">
  707. <span class="optional">optional</span>
  708. The right hand side matrix.</td>
  709. </tr>
  710. </tbody>
  711. </table>
  712. <h5>Returns:</h5>
  713. <div class="param-desc">
  714. <code>true</code> if they are equal, <code>false</code> otherwise.
  715. </div>
  716. <dl class="details">
  717. </dl>
  718. </dd>
  719. <dt>
  720. <div class="nameContainer">
  721. <h4 class="name" id="equalsEpsilon">
  722. <a href="#equalsEpsilon" class="doc-link"></a>
  723. equalsEpsilon<span class="signature">(<span class="optional">right</span>, epsilon)</span> &rarr; <span class="type-signature returnType">Boolean</span>
  724. <div class="source-link rightLinks">
  725. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2826">Core/Matrix4.js 2826</a>
  726. </div>
  727. </h4>
  728. </div>
  729. </dt>
  730. <dd>
  731. <div class="description">
  732. Compares this matrix to the provided matrix componentwise and returns <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
  733. </div>
  734. <table class="params">
  735. <thead>
  736. <tr>
  737. <th>Name</th>
  738. <th>Type</th>
  739. <th class="last">Description</th>
  740. </tr>
  741. </thead>
  742. <tbody>
  743. <tr>
  744. <td class="name"><code>right</code></td>
  745. <td class="type">
  746. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  747. </td>
  748. <td class="description last">
  749. <span class="optional">optional</span>
  750. The right hand side matrix.</td>
  751. </tr>
  752. <tr>
  753. <td class="name"><code>epsilon</code></td>
  754. <td class="type">
  755. <span class="param-type">Number</span>
  756. </td>
  757. <td class="description last">
  758. The epsilon to use for equality testing.</td>
  759. </tr>
  760. </tbody>
  761. </table>
  762. <h5>Returns:</h5>
  763. <div class="param-desc">
  764. <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
  765. </div>
  766. <dl class="details">
  767. </dl>
  768. </dd>
  769. <dt>
  770. <div class="nameContainer">
  771. <h4 class="name" id="toString">
  772. <a href="#toString" class="doc-link"></a>
  773. toString<span class="signature">()</span> &rarr; <span class="type-signature returnType">String</span>
  774. <div class="source-link rightLinks">
  775. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2836">Core/Matrix4.js 2836</a>
  776. </div>
  777. </h4>
  778. </div>
  779. </dt>
  780. <dd>
  781. <div class="description">
  782. Computes a string representing this Matrix with each row being on a separate line and in the format '(column0, column1, column2, column3)'.
  783. </div>
  784. <h5>Returns:</h5>
  785. <div class="param-desc">
  786. A string representing the provided Matrix with each row being on a separate line and in the format '(column0, column1, column2, column3)'.
  787. </div>
  788. <dl class="details">
  789. </dl>
  790. </dd>
  791. <dt>
  792. <div class="nameContainer">
  793. <h4 class="name" id=".abs">
  794. <a href="#.abs" class="doc-link"></a>
  795. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.abs<span class="signature">(matrix, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  796. <div class="source-link rightLinks">
  797. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2179">Core/Matrix4.js 2179</a>
  798. </div>
  799. </h4>
  800. </div>
  801. </dt>
  802. <dd>
  803. <div class="description">
  804. Computes a matrix, which contains the absolute (unsigned) values of the provided matrix's elements.
  805. </div>
  806. <table class="params">
  807. <thead>
  808. <tr>
  809. <th>Name</th>
  810. <th>Type</th>
  811. <th class="last">Description</th>
  812. </tr>
  813. </thead>
  814. <tbody>
  815. <tr>
  816. <td class="name"><code>matrix</code></td>
  817. <td class="type">
  818. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  819. </td>
  820. <td class="description last">
  821. The matrix with signed elements.</td>
  822. </tr>
  823. <tr>
  824. <td class="name"><code>result</code></td>
  825. <td class="type">
  826. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  827. </td>
  828. <td class="description last">
  829. The object onto which to store the result.</td>
  830. </tr>
  831. </tbody>
  832. </table>
  833. <h5>Returns:</h5>
  834. <div class="param-desc">
  835. The modified result parameter.
  836. </div>
  837. <dl class="details">
  838. </dl>
  839. </dd>
  840. <dt>
  841. <div class="nameContainer">
  842. <h4 class="name" id=".add">
  843. <a href="#.add" class="doc-link"></a>
  844. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.add<span class="signature">(left, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  845. <div class="source-link rightLinks">
  846. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1487">Core/Matrix4.js 1487</a>
  847. </div>
  848. </h4>
  849. </div>
  850. </dt>
  851. <dd>
  852. <div class="description">
  853. Computes the sum of two matrices.
  854. </div>
  855. <table class="params">
  856. <thead>
  857. <tr>
  858. <th>Name</th>
  859. <th>Type</th>
  860. <th class="last">Description</th>
  861. </tr>
  862. </thead>
  863. <tbody>
  864. <tr>
  865. <td class="name"><code>left</code></td>
  866. <td class="type">
  867. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  868. </td>
  869. <td class="description last">
  870. The first matrix.</td>
  871. </tr>
  872. <tr>
  873. <td class="name"><code>right</code></td>
  874. <td class="type">
  875. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  876. </td>
  877. <td class="description last">
  878. The second matrix.</td>
  879. </tr>
  880. <tr>
  881. <td class="name"><code>result</code></td>
  882. <td class="type">
  883. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  884. </td>
  885. <td class="description last">
  886. The object onto which to store the result.</td>
  887. </tr>
  888. </tbody>
  889. </table>
  890. <h5>Returns:</h5>
  891. <div class="param-desc">
  892. The modified result parameter.
  893. </div>
  894. <dl class="details">
  895. </dl>
  896. </dd>
  897. <dt>
  898. <div class="nameContainer">
  899. <h4 class="name" id=".clone">
  900. <a href="#.clone" class="doc-link"></a>
  901. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.clone<span class="signature">(matrix, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  902. <div class="source-link rightLinks">
  903. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L185">Core/Matrix4.js 185</a>
  904. </div>
  905. </h4>
  906. </div>
  907. </dt>
  908. <dd>
  909. <div class="description">
  910. Duplicates a Matrix4 instance.
  911. </div>
  912. <table class="params">
  913. <thead>
  914. <tr>
  915. <th>Name</th>
  916. <th>Type</th>
  917. <th class="last">Description</th>
  918. </tr>
  919. </thead>
  920. <tbody>
  921. <tr>
  922. <td class="name"><code>matrix</code></td>
  923. <td class="type">
  924. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  925. </td>
  926. <td class="description last">
  927. The matrix to duplicate.</td>
  928. </tr>
  929. <tr>
  930. <td class="name"><code>result</code></td>
  931. <td class="type">
  932. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  933. </td>
  934. <td class="description last">
  935. <span class="optional">optional</span>
  936. The object onto which to store the result.</td>
  937. </tr>
  938. </tbody>
  939. </table>
  940. <h5>Returns:</h5>
  941. <div class="param-desc">
  942. The modified result parameter or a new Matrix4 instance if one was not provided. (Returns undefined if matrix is undefined)
  943. </div>
  944. <dl class="details">
  945. </dl>
  946. </dd>
  947. <dt>
  948. <div class="nameContainer">
  949. <h4 class="name" id=".computeInfinitePerspectiveOffCenter">
  950. <a href="#.computeInfinitePerspectiveOffCenter" class="doc-link"></a>
  951. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.computeInfinitePerspectiveOffCenter<span class="signature">(left, right, bottom, top, near, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  952. <div class="source-link rightLinks">
  953. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L851">Core/Matrix4.js 851</a>
  954. </div>
  955. </h4>
  956. </div>
  957. </dt>
  958. <dd>
  959. <div class="description">
  960. Computes a Matrix4 instance representing an infinite off center perspective transformation.
  961. </div>
  962. <table class="params">
  963. <thead>
  964. <tr>
  965. <th>Name</th>
  966. <th>Type</th>
  967. <th class="last">Description</th>
  968. </tr>
  969. </thead>
  970. <tbody>
  971. <tr>
  972. <td class="name"><code>left</code></td>
  973. <td class="type">
  974. <span class="param-type">Number</span>
  975. </td>
  976. <td class="description last">
  977. The number of meters to the left of the camera that will be in view.</td>
  978. </tr>
  979. <tr>
  980. <td class="name"><code>right</code></td>
  981. <td class="type">
  982. <span class="param-type">Number</span>
  983. </td>
  984. <td class="description last">
  985. The number of meters to the right of the camera that will be in view.</td>
  986. </tr>
  987. <tr>
  988. <td class="name"><code>bottom</code></td>
  989. <td class="type">
  990. <span class="param-type">Number</span>
  991. </td>
  992. <td class="description last">
  993. The number of meters below of the camera that will be in view.</td>
  994. </tr>
  995. <tr>
  996. <td class="name"><code>top</code></td>
  997. <td class="type">
  998. <span class="param-type">Number</span>
  999. </td>
  1000. <td class="description last">
  1001. The number of meters above of the camera that will be in view.</td>
  1002. </tr>
  1003. <tr>
  1004. <td class="name"><code>near</code></td>
  1005. <td class="type">
  1006. <span class="param-type">Number</span>
  1007. </td>
  1008. <td class="description last">
  1009. The distance to the near plane in meters.</td>
  1010. </tr>
  1011. <tr>
  1012. <td class="name"><code>result</code></td>
  1013. <td class="type">
  1014. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1015. </td>
  1016. <td class="description last">
  1017. The object in which the result will be stored.</td>
  1018. </tr>
  1019. </tbody>
  1020. </table>
  1021. <h5>Returns:</h5>
  1022. <div class="param-desc">
  1023. The modified result parameter.
  1024. </div>
  1025. <dl class="details">
  1026. </dl>
  1027. </dd>
  1028. <dt>
  1029. <div class="nameContainer">
  1030. <h4 class="name" id=".computeOrthographicOffCenter">
  1031. <a href="#.computeOrthographicOffCenter" class="doc-link"></a>
  1032. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.computeOrthographicOffCenter<span class="signature">(left, right, bottom, top, near, far, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1033. <div class="source-link rightLinks">
  1034. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L721">Core/Matrix4.js 721</a>
  1035. </div>
  1036. </h4>
  1037. </div>
  1038. </dt>
  1039. <dd>
  1040. <div class="description">
  1041. Computes a Matrix4 instance representing an orthographic transformation matrix.
  1042. </div>
  1043. <table class="params">
  1044. <thead>
  1045. <tr>
  1046. <th>Name</th>
  1047. <th>Type</th>
  1048. <th class="last">Description</th>
  1049. </tr>
  1050. </thead>
  1051. <tbody>
  1052. <tr>
  1053. <td class="name"><code>left</code></td>
  1054. <td class="type">
  1055. <span class="param-type">Number</span>
  1056. </td>
  1057. <td class="description last">
  1058. The number of meters to the left of the camera that will be in view.</td>
  1059. </tr>
  1060. <tr>
  1061. <td class="name"><code>right</code></td>
  1062. <td class="type">
  1063. <span class="param-type">Number</span>
  1064. </td>
  1065. <td class="description last">
  1066. The number of meters to the right of the camera that will be in view.</td>
  1067. </tr>
  1068. <tr>
  1069. <td class="name"><code>bottom</code></td>
  1070. <td class="type">
  1071. <span class="param-type">Number</span>
  1072. </td>
  1073. <td class="description last">
  1074. The number of meters below of the camera that will be in view.</td>
  1075. </tr>
  1076. <tr>
  1077. <td class="name"><code>top</code></td>
  1078. <td class="type">
  1079. <span class="param-type">Number</span>
  1080. </td>
  1081. <td class="description last">
  1082. The number of meters above of the camera that will be in view.</td>
  1083. </tr>
  1084. <tr>
  1085. <td class="name"><code>near</code></td>
  1086. <td class="type">
  1087. <span class="param-type">Number</span>
  1088. </td>
  1089. <td class="description last">
  1090. The distance to the near plane in meters.</td>
  1091. </tr>
  1092. <tr>
  1093. <td class="name"><code>far</code></td>
  1094. <td class="type">
  1095. <span class="param-type">Number</span>
  1096. </td>
  1097. <td class="description last">
  1098. The distance to the far plane in meters.</td>
  1099. </tr>
  1100. <tr>
  1101. <td class="name"><code>result</code></td>
  1102. <td class="type">
  1103. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1104. </td>
  1105. <td class="description last">
  1106. The object in which the result will be stored.</td>
  1107. </tr>
  1108. </tbody>
  1109. </table>
  1110. <h5>Returns:</h5>
  1111. <div class="param-desc">
  1112. The modified result parameter.
  1113. </div>
  1114. <dl class="details">
  1115. </dl>
  1116. </dd>
  1117. <dt>
  1118. <div class="nameContainer">
  1119. <h4 class="name" id=".computePerspectiveFieldOfView">
  1120. <a href="#.computePerspectiveFieldOfView" class="doc-link"></a>
  1121. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.computePerspectiveFieldOfView<span class="signature">(fovY, aspectRatio, near, far, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1122. <div class="source-link rightLinks">
  1123. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L664">Core/Matrix4.js 664</a>
  1124. </div>
  1125. </h4>
  1126. </div>
  1127. </dt>
  1128. <dd>
  1129. <div class="description">
  1130. Computes a Matrix4 instance representing a perspective transformation matrix.
  1131. </div>
  1132. <table class="params">
  1133. <thead>
  1134. <tr>
  1135. <th>Name</th>
  1136. <th>Type</th>
  1137. <th class="last">Description</th>
  1138. </tr>
  1139. </thead>
  1140. <tbody>
  1141. <tr>
  1142. <td class="name"><code>fovY</code></td>
  1143. <td class="type">
  1144. <span class="param-type">Number</span>
  1145. </td>
  1146. <td class="description last">
  1147. The field of view along the Y axis in radians.</td>
  1148. </tr>
  1149. <tr>
  1150. <td class="name"><code>aspectRatio</code></td>
  1151. <td class="type">
  1152. <span class="param-type">Number</span>
  1153. </td>
  1154. <td class="description last">
  1155. The aspect ratio.</td>
  1156. </tr>
  1157. <tr>
  1158. <td class="name"><code>near</code></td>
  1159. <td class="type">
  1160. <span class="param-type">Number</span>
  1161. </td>
  1162. <td class="description last">
  1163. The distance to the near plane in meters.</td>
  1164. </tr>
  1165. <tr>
  1166. <td class="name"><code>far</code></td>
  1167. <td class="type">
  1168. <span class="param-type">Number</span>
  1169. </td>
  1170. <td class="description last">
  1171. The distance to the far plane in meters.</td>
  1172. </tr>
  1173. <tr>
  1174. <td class="name"><code>result</code></td>
  1175. <td class="type">
  1176. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1177. </td>
  1178. <td class="description last">
  1179. The object in which the result will be stored.</td>
  1180. </tr>
  1181. </tbody>
  1182. </table>
  1183. <h5>Returns:</h5>
  1184. <div class="param-desc">
  1185. The modified result parameter.
  1186. </div>
  1187. <h5>Throws:</h5>
  1188. <ul>
  1189. <li>
  1190. <div class="param-desc">
  1191. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  1192. : fovY must be in (0, PI].
  1193. </div>
  1194. </li>
  1195. <li>
  1196. <div class="param-desc">
  1197. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  1198. : aspectRatio must be greater than zero.
  1199. </div>
  1200. </li>
  1201. <li>
  1202. <div class="param-desc">
  1203. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  1204. : near must be greater than zero.
  1205. </div>
  1206. </li>
  1207. <li>
  1208. <div class="param-desc">
  1209. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  1210. : far must be greater than zero.
  1211. </div>
  1212. </li>
  1213. </ul>
  1214. <dl class="details">
  1215. </dl>
  1216. </dd>
  1217. <dt>
  1218. <div class="nameContainer">
  1219. <h4 class="name" id=".computePerspectiveOffCenter">
  1220. <a href="#.computePerspectiveOffCenter" class="doc-link"></a>
  1221. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.computePerspectiveOffCenter<span class="signature">(left, right, bottom, top, near, far, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1222. <div class="source-link rightLinks">
  1223. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L788">Core/Matrix4.js 788</a>
  1224. </div>
  1225. </h4>
  1226. </div>
  1227. </dt>
  1228. <dd>
  1229. <div class="description">
  1230. Computes a Matrix4 instance representing an off center perspective transformation.
  1231. </div>
  1232. <table class="params">
  1233. <thead>
  1234. <tr>
  1235. <th>Name</th>
  1236. <th>Type</th>
  1237. <th class="last">Description</th>
  1238. </tr>
  1239. </thead>
  1240. <tbody>
  1241. <tr>
  1242. <td class="name"><code>left</code></td>
  1243. <td class="type">
  1244. <span class="param-type">Number</span>
  1245. </td>
  1246. <td class="description last">
  1247. The number of meters to the left of the camera that will be in view.</td>
  1248. </tr>
  1249. <tr>
  1250. <td class="name"><code>right</code></td>
  1251. <td class="type">
  1252. <span class="param-type">Number</span>
  1253. </td>
  1254. <td class="description last">
  1255. The number of meters to the right of the camera that will be in view.</td>
  1256. </tr>
  1257. <tr>
  1258. <td class="name"><code>bottom</code></td>
  1259. <td class="type">
  1260. <span class="param-type">Number</span>
  1261. </td>
  1262. <td class="description last">
  1263. The number of meters below of the camera that will be in view.</td>
  1264. </tr>
  1265. <tr>
  1266. <td class="name"><code>top</code></td>
  1267. <td class="type">
  1268. <span class="param-type">Number</span>
  1269. </td>
  1270. <td class="description last">
  1271. The number of meters above of the camera that will be in view.</td>
  1272. </tr>
  1273. <tr>
  1274. <td class="name"><code>near</code></td>
  1275. <td class="type">
  1276. <span class="param-type">Number</span>
  1277. </td>
  1278. <td class="description last">
  1279. The distance to the near plane in meters.</td>
  1280. </tr>
  1281. <tr>
  1282. <td class="name"><code>far</code></td>
  1283. <td class="type">
  1284. <span class="param-type">Number</span>
  1285. </td>
  1286. <td class="description last">
  1287. The distance to the far plane in meters.</td>
  1288. </tr>
  1289. <tr>
  1290. <td class="name"><code>result</code></td>
  1291. <td class="type">
  1292. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1293. </td>
  1294. <td class="description last">
  1295. The object in which the result will be stored.</td>
  1296. </tr>
  1297. </tbody>
  1298. </table>
  1299. <h5>Returns:</h5>
  1300. <div class="param-desc">
  1301. The modified result parameter.
  1302. </div>
  1303. <dl class="details">
  1304. </dl>
  1305. </dd>
  1306. <dt>
  1307. <div class="nameContainer">
  1308. <h4 class="name" id=".computeView">
  1309. <a href="#.computeView" class="doc-link"></a>
  1310. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.computeView<span class="signature">(position, direction, up, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1311. <div class="source-link rightLinks">
  1312. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L974">Core/Matrix4.js 974</a>
  1313. </div>
  1314. </h4>
  1315. </div>
  1316. </dt>
  1317. <dd>
  1318. <div class="description">
  1319. Computes a Matrix4 instance that transforms from world space to view space.
  1320. </div>
  1321. <table class="params">
  1322. <thead>
  1323. <tr>
  1324. <th>Name</th>
  1325. <th>Type</th>
  1326. <th class="last">Description</th>
  1327. </tr>
  1328. </thead>
  1329. <tbody>
  1330. <tr>
  1331. <td class="name"><code>position</code></td>
  1332. <td class="type">
  1333. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1334. </td>
  1335. <td class="description last">
  1336. The position of the camera.</td>
  1337. </tr>
  1338. <tr>
  1339. <td class="name"><code>direction</code></td>
  1340. <td class="type">
  1341. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1342. </td>
  1343. <td class="description last">
  1344. The forward direction.</td>
  1345. </tr>
  1346. <tr>
  1347. <td class="name"><code>up</code></td>
  1348. <td class="type">
  1349. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1350. </td>
  1351. <td class="description last">
  1352. The up direction.</td>
  1353. </tr>
  1354. <tr>
  1355. <td class="name"><code>right</code></td>
  1356. <td class="type">
  1357. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1358. </td>
  1359. <td class="description last">
  1360. The right direction.</td>
  1361. </tr>
  1362. <tr>
  1363. <td class="name"><code>result</code></td>
  1364. <td class="type">
  1365. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1366. </td>
  1367. <td class="description last">
  1368. The object in which the result will be stored.</td>
  1369. </tr>
  1370. </tbody>
  1371. </table>
  1372. <h5>Returns:</h5>
  1373. <div class="param-desc">
  1374. The modified result parameter.
  1375. </div>
  1376. <dl class="details">
  1377. </dl>
  1378. </dd>
  1379. <dt>
  1380. <div class="nameContainer">
  1381. <h4 class="name" id=".computeViewportTransformation">
  1382. <a href="#.computeViewportTransformation" class="doc-link"></a>
  1383. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.computeViewportTransformation<span class="signature">(<span class="optional">viewport</span>, <span class="optional">nearDepthRange</span>, <span class="optional">farDepthRange</span>, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1384. <div class="source-link rightLinks">
  1385. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L918">Core/Matrix4.js 918</a>
  1386. </div>
  1387. </h4>
  1388. </div>
  1389. </dt>
  1390. <dd>
  1391. <div class="description">
  1392. Computes a Matrix4 instance that transforms from normalized device coordinates to window coordinates.
  1393. </div>
  1394. <table class="params">
  1395. <thead>
  1396. <tr>
  1397. <th>Name</th>
  1398. <th>Type</th>
  1399. <th>Default</th>
  1400. <th class="last">Description</th>
  1401. </tr>
  1402. </thead>
  1403. <tbody>
  1404. <tr>
  1405. <td class="name"><code>viewport</code></td>
  1406. <td class="type">
  1407. <span class="param-type">Object</span>
  1408. </td>
  1409. <td class="default">
  1410. <code class="language-javascript">{ x : 0.0, y : 0.0, width : 0.0, height : 0.0 }</code>
  1411. </td>
  1412. <td class="description last">
  1413. <span class="optional">optional</span>
  1414. The viewport's corners as shown in Example 1.</td>
  1415. </tr>
  1416. <tr>
  1417. <td class="name"><code>nearDepthRange</code></td>
  1418. <td class="type">
  1419. <span class="param-type">Number</span>
  1420. </td>
  1421. <td class="default">
  1422. <code class="language-javascript">0.0</code>
  1423. </td>
  1424. <td class="description last">
  1425. <span class="optional">optional</span>
  1426. The near plane distance in window coordinates.</td>
  1427. </tr>
  1428. <tr>
  1429. <td class="name"><code>farDepthRange</code></td>
  1430. <td class="type">
  1431. <span class="param-type">Number</span>
  1432. </td>
  1433. <td class="default">
  1434. <code class="language-javascript">1.0</code>
  1435. </td>
  1436. <td class="description last">
  1437. <span class="optional">optional</span>
  1438. The far plane distance in window coordinates.</td>
  1439. </tr>
  1440. <tr>
  1441. <td class="name"><code>result</code></td>
  1442. <td class="type">
  1443. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1444. </td>
  1445. <td class="default">
  1446. </td>
  1447. <td class="description last">
  1448. The object in which the result will be stored.</td>
  1449. </tr>
  1450. </tbody>
  1451. </table>
  1452. <h5>Returns:</h5>
  1453. <div class="param-desc">
  1454. The modified result parameter.
  1455. </div>
  1456. <dl class="details">
  1457. <h5>Example:</h5>
  1458. <pre><code class="language-javascript">// Create viewport transformation using an explicit viewport and depth range. var m = Cesium.Matrix4.computeViewportTransformation({ x : 0.0, y : 0.0, width : 1024.0, height : 768.0 }, 0.0, 1.0, new Cesium.Matrix4());</code></pre>
  1459. </dl>
  1460. </dd>
  1461. <dt>
  1462. <div class="nameContainer">
  1463. <h4 class="name" id=".equals">
  1464. <a href="#.equals" class="doc-link"></a>
  1465. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.equals<span class="signature">(<span class="optional">left</span>, <span class="optional">right</span>)</span> &rarr; <span class="type-signature returnType">Boolean</span>
  1466. <div class="source-link rightLinks">
  1467. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2238">Core/Matrix4.js 2238</a>
  1468. </div>
  1469. </h4>
  1470. </div>
  1471. </dt>
  1472. <dd>
  1473. <div class="description">
  1474. Compares the provided matrices componentwise and returns <code>true</code> if they are equal, <code>false</code> otherwise.
  1475. </div>
  1476. <table class="params">
  1477. <thead>
  1478. <tr>
  1479. <th>Name</th>
  1480. <th>Type</th>
  1481. <th class="last">Description</th>
  1482. </tr>
  1483. </thead>
  1484. <tbody>
  1485. <tr>
  1486. <td class="name"><code>left</code></td>
  1487. <td class="type">
  1488. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1489. </td>
  1490. <td class="description last">
  1491. <span class="optional">optional</span>
  1492. The first matrix.</td>
  1493. </tr>
  1494. <tr>
  1495. <td class="name"><code>right</code></td>
  1496. <td class="type">
  1497. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1498. </td>
  1499. <td class="description last">
  1500. <span class="optional">optional</span>
  1501. The second matrix.</td>
  1502. </tr>
  1503. </tbody>
  1504. </table>
  1505. <h5>Returns:</h5>
  1506. <div class="param-desc">
  1507. <code>true</code> if left and right are equal, <code>false</code> otherwise.
  1508. </div>
  1509. <dl class="details">
  1510. <h5>Example:</h5>
  1511. <pre><code class="language-javascript">//compares two Matrix4 instances // a = [10.0, 14.0, 18.0, 22.0] // [11.0, 15.0, 19.0, 23.0] // [12.0, 16.0, 20.0, 24.0] // [13.0, 17.0, 21.0, 25.0] // b = [10.0, 14.0, 18.0, 22.0] // [11.0, 15.0, 19.0, 23.0] // [12.0, 16.0, 20.0, 24.0] // [13.0, 17.0, 21.0, 25.0] if(Cesium.Matrix4.equals(a,b)) { console.log("Both matrices are equal"); } else { console.log("They are not equal"); } //Prints "Both matrices are equal" on the console</code></pre>
  1512. </dl>
  1513. </dd>
  1514. <dt>
  1515. <div class="nameContainer">
  1516. <h4 class="name" id=".equalsEpsilon">
  1517. <a href="#.equalsEpsilon" class="doc-link"></a>
  1518. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.equalsEpsilon<span class="signature">(<span class="optional">left</span>, <span class="optional">right</span>, epsilon)</span> &rarr; <span class="type-signature returnType">Boolean</span>
  1519. <div class="source-link rightLinks">
  1520. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2300">Core/Matrix4.js 2300</a>
  1521. </div>
  1522. </h4>
  1523. </div>
  1524. </dt>
  1525. <dd>
  1526. <div class="description">
  1527. Compares the provided matrices componentwise and returns <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
  1528. </div>
  1529. <table class="params">
  1530. <thead>
  1531. <tr>
  1532. <th>Name</th>
  1533. <th>Type</th>
  1534. <th class="last">Description</th>
  1535. </tr>
  1536. </thead>
  1537. <tbody>
  1538. <tr>
  1539. <td class="name"><code>left</code></td>
  1540. <td class="type">
  1541. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1542. </td>
  1543. <td class="description last">
  1544. <span class="optional">optional</span>
  1545. The first matrix.</td>
  1546. </tr>
  1547. <tr>
  1548. <td class="name"><code>right</code></td>
  1549. <td class="type">
  1550. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1551. </td>
  1552. <td class="description last">
  1553. <span class="optional">optional</span>
  1554. The second matrix.</td>
  1555. </tr>
  1556. <tr>
  1557. <td class="name"><code>epsilon</code></td>
  1558. <td class="type">
  1559. <span class="param-type">Number</span>
  1560. </td>
  1561. <td class="description last">
  1562. The epsilon to use for equality testing.</td>
  1563. </tr>
  1564. </tbody>
  1565. </table>
  1566. <h5>Returns:</h5>
  1567. <div class="param-desc">
  1568. <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
  1569. </div>
  1570. <dl class="details">
  1571. <h5>Example:</h5>
  1572. <pre><code class="language-javascript">//compares two Matrix4 instances // a = [10.5, 14.5, 18.5, 22.5] // [11.5, 15.5, 19.5, 23.5] // [12.5, 16.5, 20.5, 24.5] // [13.5, 17.5, 21.5, 25.5] // b = [10.0, 14.0, 18.0, 22.0] // [11.0, 15.0, 19.0, 23.0] // [12.0, 16.0, 20.0, 24.0] // [13.0, 17.0, 21.0, 25.0] if(Cesium.Matrix4.equalsEpsilon(a,b,0.1)){ console.log("Difference between both the matrices is less than 0.1"); } else { console.log("Difference between both the matrices is not less than 0.1"); } //Prints "Difference between both the matrices is not less than 0.1" on the console</code></pre>
  1573. </dl>
  1574. </dd>
  1575. <dt>
  1576. <div class="nameContainer">
  1577. <h4 class="name" id=".fromArray">
  1578. <a href="#.fromArray" class="doc-link"></a>
  1579. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromArray<span class="signature">(array, <span class="optional">startingIndex</span>, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1580. <div class="source-link rightLinks">
  1581. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L237">Core/Matrix4.js 237</a>
  1582. </div>
  1583. </h4>
  1584. </div>
  1585. </dt>
  1586. <dd>
  1587. <div class="description">
  1588. Creates a Matrix4 from 16 consecutive elements in an array.
  1589. </div>
  1590. <table class="params">
  1591. <thead>
  1592. <tr>
  1593. <th>Name</th>
  1594. <th>Type</th>
  1595. <th>Default</th>
  1596. <th class="last">Description</th>
  1597. </tr>
  1598. </thead>
  1599. <tbody>
  1600. <tr>
  1601. <td class="name"><code>array</code></td>
  1602. <td class="type">
  1603. <span class="param-type">Array.&lt;Number></span>
  1604. </td>
  1605. <td class="default">
  1606. </td>
  1607. <td class="description last">
  1608. The array whose 16 consecutive elements correspond to the positions of the matrix. Assumes column-major order.</td>
  1609. </tr>
  1610. <tr>
  1611. <td class="name"><code>startingIndex</code></td>
  1612. <td class="type">
  1613. <span class="param-type">Number</span>
  1614. </td>
  1615. <td class="default">
  1616. <code class="language-javascript">0</code>
  1617. </td>
  1618. <td class="description last">
  1619. <span class="optional">optional</span>
  1620. The offset into the array of the first element, which corresponds to first column first row position in the matrix.</td>
  1621. </tr>
  1622. <tr>
  1623. <td class="name"><code>result</code></td>
  1624. <td class="type">
  1625. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1626. </td>
  1627. <td class="default">
  1628. </td>
  1629. <td class="description last">
  1630. <span class="optional">optional</span>
  1631. The object onto which to store the result.</td>
  1632. </tr>
  1633. </tbody>
  1634. </table>
  1635. <h5>Returns:</h5>
  1636. <div class="param-desc">
  1637. The modified result parameter or a new Matrix4 instance if one was not provided.
  1638. </div>
  1639. <dl class="details">
  1640. <h5>Example:</h5>
  1641. <pre><code class="language-javascript">// Create the Matrix4: // [1.0, 2.0, 3.0, 4.0] // [1.0, 2.0, 3.0, 4.0] // [1.0, 2.0, 3.0, 4.0] // [1.0, 2.0, 3.0, 4.0] var v = [1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 2.0, 3.0, 3.0, 3.0, 3.0, 4.0, 4.0, 4.0, 4.0]; var m = Cesium.Matrix4.fromArray(v); // Create same Matrix4 with using an offset into an array var v2 = [0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 2.0, 3.0, 3.0, 3.0, 3.0, 4.0, 4.0, 4.0, 4.0]; var m2 = Cesium.Matrix4.fromArray(v2, 2);</code></pre>
  1642. </dl>
  1643. </dd>
  1644. <dt>
  1645. <div class="nameContainer">
  1646. <h4 class="name" id=".fromCamera">
  1647. <a href="#.fromCamera" class="doc-link"></a>
  1648. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromCamera<span class="signature">(camera, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1649. <div class="source-link rightLinks">
  1650. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L565">Core/Matrix4.js 565</a>
  1651. </div>
  1652. </h4>
  1653. </div>
  1654. </dt>
  1655. <dd>
  1656. <div class="description">
  1657. Computes a Matrix4 instance from a Camera.
  1658. </div>
  1659. <table class="params">
  1660. <thead>
  1661. <tr>
  1662. <th>Name</th>
  1663. <th>Type</th>
  1664. <th class="last">Description</th>
  1665. </tr>
  1666. </thead>
  1667. <tbody>
  1668. <tr>
  1669. <td class="name"><code>camera</code></td>
  1670. <td class="type">
  1671. <span class="param-type"><a href="Camera.html">Camera</a></span>
  1672. </td>
  1673. <td class="description last">
  1674. The camera to use.</td>
  1675. </tr>
  1676. <tr>
  1677. <td class="name"><code>result</code></td>
  1678. <td class="type">
  1679. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1680. </td>
  1681. <td class="description last">
  1682. <span class="optional">optional</span>
  1683. The object in which the result will be stored, if undefined a new instance will be created.</td>
  1684. </tr>
  1685. </tbody>
  1686. </table>
  1687. <h5>Returns:</h5>
  1688. <div class="param-desc">
  1689. The modified result parameter, or a new Matrix4 instance if one was not provided.
  1690. </div>
  1691. <dl class="details">
  1692. </dl>
  1693. </dd>
  1694. <dt>
  1695. <div class="nameContainer">
  1696. <h4 class="name" id=".fromColumnMajorArray">
  1697. <a href="#.fromColumnMajorArray" class="doc-link"></a>
  1698. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromColumnMajorArray<span class="signature">(values, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1699. <div class="source-link rightLinks">
  1700. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L246">Core/Matrix4.js 246</a>
  1701. </div>
  1702. </h4>
  1703. </div>
  1704. </dt>
  1705. <dd>
  1706. <div class="description">
  1707. Computes a Matrix4 instance from a column-major order array.
  1708. </div>
  1709. <table class="params">
  1710. <thead>
  1711. <tr>
  1712. <th>Name</th>
  1713. <th>Type</th>
  1714. <th class="last">Description</th>
  1715. </tr>
  1716. </thead>
  1717. <tbody>
  1718. <tr>
  1719. <td class="name"><code>values</code></td>
  1720. <td class="type">
  1721. <span class="param-type">Array.&lt;Number></span>
  1722. </td>
  1723. <td class="description last">
  1724. The column-major order array.</td>
  1725. </tr>
  1726. <tr>
  1727. <td class="name"><code>result</code></td>
  1728. <td class="type">
  1729. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1730. </td>
  1731. <td class="description last">
  1732. <span class="optional">optional</span>
  1733. The object in which the result will be stored, if undefined a new instance will be created.</td>
  1734. </tr>
  1735. </tbody>
  1736. </table>
  1737. <h5>Returns:</h5>
  1738. <div class="param-desc">
  1739. The modified result parameter, or a new Matrix4 instance if one was not provided.
  1740. </div>
  1741. <dl class="details">
  1742. </dl>
  1743. </dd>
  1744. <dt>
  1745. <div class="nameContainer">
  1746. <h4 class="name" id=".fromRotationTranslation">
  1747. <a href="#.fromRotationTranslation" class="doc-link"></a>
  1748. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromRotationTranslation<span class="signature">(rotation, <span class="optional">translation</span>, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1749. <div class="source-link rightLinks">
  1750. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L305">Core/Matrix4.js 305</a>
  1751. </div>
  1752. </h4>
  1753. </div>
  1754. </dt>
  1755. <dd>
  1756. <div class="description">
  1757. Computes a Matrix4 instance from a Matrix3 representing the rotation and a Cartesian3 representing the translation.
  1758. </div>
  1759. <table class="params">
  1760. <thead>
  1761. <tr>
  1762. <th>Name</th>
  1763. <th>Type</th>
  1764. <th>Default</th>
  1765. <th class="last">Description</th>
  1766. </tr>
  1767. </thead>
  1768. <tbody>
  1769. <tr>
  1770. <td class="name"><code>rotation</code></td>
  1771. <td class="type">
  1772. <span class="param-type"><a href="Matrix3.html">Matrix3</a></span>
  1773. </td>
  1774. <td class="default">
  1775. </td>
  1776. <td class="description last">
  1777. The upper left portion of the matrix representing the rotation.</td>
  1778. </tr>
  1779. <tr>
  1780. <td class="name"><code>translation</code></td>
  1781. <td class="type">
  1782. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1783. </td>
  1784. <td class="default">
  1785. <code class="language-javascript">Cartesian3.ZERO</code>
  1786. </td>
  1787. <td class="description last">
  1788. <span class="optional">optional</span>
  1789. The upper right portion of the matrix representing the translation.</td>
  1790. </tr>
  1791. <tr>
  1792. <td class="name"><code>result</code></td>
  1793. <td class="type">
  1794. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1795. </td>
  1796. <td class="default">
  1797. </td>
  1798. <td class="description last">
  1799. <span class="optional">optional</span>
  1800. The object in which the result will be stored, if undefined a new instance will be created.</td>
  1801. </tr>
  1802. </tbody>
  1803. </table>
  1804. <h5>Returns:</h5>
  1805. <div class="param-desc">
  1806. The modified result parameter, or a new Matrix4 instance if one was not provided.
  1807. </div>
  1808. <dl class="details">
  1809. </dl>
  1810. </dd>
  1811. <dt>
  1812. <div class="nameContainer">
  1813. <h4 class="name" id=".fromRowMajorArray">
  1814. <a href="#.fromRowMajorArray" class="doc-link"></a>
  1815. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromRowMajorArray<span class="signature">(values, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1816. <div class="source-link rightLinks">
  1817. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L264">Core/Matrix4.js 264</a>
  1818. </div>
  1819. </h4>
  1820. </div>
  1821. </dt>
  1822. <dd>
  1823. <div class="description">
  1824. Computes a Matrix4 instance from a row-major order array. The resulting matrix will be in column-major order.
  1825. </div>
  1826. <table class="params">
  1827. <thead>
  1828. <tr>
  1829. <th>Name</th>
  1830. <th>Type</th>
  1831. <th class="last">Description</th>
  1832. </tr>
  1833. </thead>
  1834. <tbody>
  1835. <tr>
  1836. <td class="name"><code>values</code></td>
  1837. <td class="type">
  1838. <span class="param-type">Array.&lt;Number></span>
  1839. </td>
  1840. <td class="description last">
  1841. The row-major order array.</td>
  1842. </tr>
  1843. <tr>
  1844. <td class="name"><code>result</code></td>
  1845. <td class="type">
  1846. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1847. </td>
  1848. <td class="description last">
  1849. <span class="optional">optional</span>
  1850. The object in which the result will be stored, if undefined a new instance will be created.</td>
  1851. </tr>
  1852. </tbody>
  1853. </table>
  1854. <h5>Returns:</h5>
  1855. <div class="param-desc">
  1856. The modified result parameter, or a new Matrix4 instance if one was not provided.
  1857. </div>
  1858. <dl class="details">
  1859. </dl>
  1860. </dd>
  1861. <dt>
  1862. <div class="nameContainer">
  1863. <h4 class="name" id=".fromScale">
  1864. <a href="#.fromScale" class="doc-link"></a>
  1865. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromScale<span class="signature">(scale, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1866. <div class="source-link rightLinks">
  1867. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L472">Core/Matrix4.js 472</a>
  1868. </div>
  1869. </h4>
  1870. </div>
  1871. </dt>
  1872. <dd>
  1873. <div class="description">
  1874. Computes a Matrix4 instance representing a non-uniform scale.
  1875. </div>
  1876. <table class="params">
  1877. <thead>
  1878. <tr>
  1879. <th>Name</th>
  1880. <th>Type</th>
  1881. <th class="last">Description</th>
  1882. </tr>
  1883. </thead>
  1884. <tbody>
  1885. <tr>
  1886. <td class="name"><code>scale</code></td>
  1887. <td class="type">
  1888. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1889. </td>
  1890. <td class="description last">
  1891. The x, y, and z scale factors.</td>
  1892. </tr>
  1893. <tr>
  1894. <td class="name"><code>result</code></td>
  1895. <td class="type">
  1896. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1897. </td>
  1898. <td class="description last">
  1899. <span class="optional">optional</span>
  1900. The object in which the result will be stored, if undefined a new instance will be created.</td>
  1901. </tr>
  1902. </tbody>
  1903. </table>
  1904. <h5>Returns:</h5>
  1905. <div class="param-desc">
  1906. The modified result parameter, or a new Matrix4 instance if one was not provided.
  1907. </div>
  1908. <dl class="details">
  1909. <h5>Example:</h5>
  1910. <pre><code class="language-javascript">// Creates // [7.0, 0.0, 0.0, 0.0] // [0.0, 8.0, 0.0, 0.0] // [0.0, 0.0, 9.0, 0.0] // [0.0, 0.0, 0.0, 1.0] var m = Cesium.Matrix4.fromScale(new Cesium.Cartesian3(7.0, 8.0, 9.0));</code></pre>
  1911. </dl>
  1912. </dd>
  1913. <dt>
  1914. <div class="nameContainer">
  1915. <h4 class="name" id=".fromTranslation">
  1916. <a href="#.fromTranslation" class="doc-link"></a>
  1917. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromTranslation<span class="signature">(translation, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1918. <div class="source-link rightLinks">
  1919. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L447">Core/Matrix4.js 447</a>
  1920. </div>
  1921. </h4>
  1922. </div>
  1923. </dt>
  1924. <dd>
  1925. <div class="description">
  1926. Creates a Matrix4 instance from a Cartesian3 representing the translation.
  1927. </div>
  1928. <table class="params">
  1929. <thead>
  1930. <tr>
  1931. <th>Name</th>
  1932. <th>Type</th>
  1933. <th class="last">Description</th>
  1934. </tr>
  1935. </thead>
  1936. <tbody>
  1937. <tr>
  1938. <td class="name"><code>translation</code></td>
  1939. <td class="type">
  1940. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1941. </td>
  1942. <td class="description last">
  1943. The upper right portion of the matrix representing the translation.</td>
  1944. </tr>
  1945. <tr>
  1946. <td class="name"><code>result</code></td>
  1947. <td class="type">
  1948. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  1949. </td>
  1950. <td class="description last">
  1951. <span class="optional">optional</span>
  1952. The object in which the result will be stored, if undefined a new instance will be created.</td>
  1953. </tr>
  1954. </tbody>
  1955. </table>
  1956. <h5>Returns:</h5>
  1957. <div class="param-desc">
  1958. The modified result parameter, or a new Matrix4 instance if one was not provided.
  1959. </div>
  1960. <dl class="details">
  1961. <h5>See:</h5>
  1962. <ul class="see-list">
  1963. <li><a href="Matrix4.html#.multiplyByTranslation">Matrix4.multiplyByTranslation</a></li>
  1964. </ul>
  1965. </dl>
  1966. </dd>
  1967. <dt>
  1968. <div class="nameContainer">
  1969. <h4 class="name" id=".fromTranslationQuaternionRotationScale">
  1970. <a href="#.fromTranslationQuaternionRotationScale" class="doc-link"></a>
  1971. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromTranslationQuaternionRotationScale<span class="signature">(translation, rotation, scale, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  1972. <div class="source-link rightLinks">
  1973. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L357">Core/Matrix4.js 357</a>
  1974. </div>
  1975. </h4>
  1976. </div>
  1977. </dt>
  1978. <dd>
  1979. <div class="description">
  1980. Computes a Matrix4 instance from a translation, rotation, and scale (TRS) representation with the rotation represented as a quaternion.
  1981. </div>
  1982. <table class="params">
  1983. <thead>
  1984. <tr>
  1985. <th>Name</th>
  1986. <th>Type</th>
  1987. <th class="last">Description</th>
  1988. </tr>
  1989. </thead>
  1990. <tbody>
  1991. <tr>
  1992. <td class="name"><code>translation</code></td>
  1993. <td class="type">
  1994. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  1995. </td>
  1996. <td class="description last">
  1997. The translation transformation.</td>
  1998. </tr>
  1999. <tr>
  2000. <td class="name"><code>rotation</code></td>
  2001. <td class="type">
  2002. <span class="param-type"><a href="Quaternion.html">Quaternion</a></span>
  2003. </td>
  2004. <td class="description last">
  2005. The rotation transformation.</td>
  2006. </tr>
  2007. <tr>
  2008. <td class="name"><code>scale</code></td>
  2009. <td class="type">
  2010. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  2011. </td>
  2012. <td class="description last">
  2013. The non-uniform scale transformation.</td>
  2014. </tr>
  2015. <tr>
  2016. <td class="name"><code>result</code></td>
  2017. <td class="type">
  2018. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2019. </td>
  2020. <td class="description last">
  2021. <span class="optional">optional</span>
  2022. The object in which the result will be stored, if undefined a new instance will be created.</td>
  2023. </tr>
  2024. </tbody>
  2025. </table>
  2026. <h5>Returns:</h5>
  2027. <div class="param-desc">
  2028. The modified result parameter, or a new Matrix4 instance if one was not provided.
  2029. </div>
  2030. <dl class="details">
  2031. <h5>Example:</h5>
  2032. <pre><code class="language-javascript">var result = Cesium.Matrix4.fromTranslationQuaternionRotationScale( new Cesium.Cartesian3(1.0, 2.0, 3.0), // translation Cesium.Quaternion.IDENTITY, // rotation new Cesium.Cartesian3(7.0, 8.0, 9.0), // scale result);</code></pre>
  2033. </dl>
  2034. </dd>
  2035. <dt>
  2036. <div class="nameContainer">
  2037. <h4 class="name" id=".fromTranslationRotationScale">
  2038. <a href="#.fromTranslationRotationScale" class="doc-link"></a>
  2039. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromTranslationRotationScale<span class="signature">(translationRotationScale, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  2040. <div class="source-link rightLinks">
  2041. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L428">Core/Matrix4.js 428</a>
  2042. </div>
  2043. </h4>
  2044. </div>
  2045. </dt>
  2046. <dd>
  2047. <div class="description">
  2048. Creates a Matrix4 instance from a <a href="TranslationRotationScale.html"><code>TranslationRotationScale</code></a> instance.
  2049. </div>
  2050. <table class="params">
  2051. <thead>
  2052. <tr>
  2053. <th>Name</th>
  2054. <th>Type</th>
  2055. <th class="last">Description</th>
  2056. </tr>
  2057. </thead>
  2058. <tbody>
  2059. <tr>
  2060. <td class="name"><code>translationRotationScale</code></td>
  2061. <td class="type">
  2062. <span class="param-type"><a href="TranslationRotationScale.html">TranslationRotationScale</a></span>
  2063. </td>
  2064. <td class="description last">
  2065. The instance.</td>
  2066. </tr>
  2067. <tr>
  2068. <td class="name"><code>result</code></td>
  2069. <td class="type">
  2070. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2071. </td>
  2072. <td class="description last">
  2073. <span class="optional">optional</span>
  2074. The object in which the result will be stored, if undefined a new instance will be created.</td>
  2075. </tr>
  2076. </tbody>
  2077. </table>
  2078. <h5>Returns:</h5>
  2079. <div class="param-desc">
  2080. The modified result parameter, or a new Matrix4 instance if one was not provided.
  2081. </div>
  2082. <dl class="details">
  2083. </dl>
  2084. </dd>
  2085. <dt>
  2086. <div class="nameContainer">
  2087. <h4 class="name" id=".fromUniformScale">
  2088. <a href="#.fromUniformScale" class="doc-link"></a>
  2089. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.fromUniformScale<span class="signature">(scale, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  2090. <div class="source-link rightLinks">
  2091. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L521">Core/Matrix4.js 521</a>
  2092. </div>
  2093. </h4>
  2094. </div>
  2095. </dt>
  2096. <dd>
  2097. <div class="description">
  2098. Computes a Matrix4 instance representing a uniform scale.
  2099. </div>
  2100. <table class="params">
  2101. <thead>
  2102. <tr>
  2103. <th>Name</th>
  2104. <th>Type</th>
  2105. <th class="last">Description</th>
  2106. </tr>
  2107. </thead>
  2108. <tbody>
  2109. <tr>
  2110. <td class="name"><code>scale</code></td>
  2111. <td class="type">
  2112. <span class="param-type">Number</span>
  2113. </td>
  2114. <td class="description last">
  2115. The uniform scale factor.</td>
  2116. </tr>
  2117. <tr>
  2118. <td class="name"><code>result</code></td>
  2119. <td class="type">
  2120. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2121. </td>
  2122. <td class="description last">
  2123. <span class="optional">optional</span>
  2124. The object in which the result will be stored, if undefined a new instance will be created.</td>
  2125. </tr>
  2126. </tbody>
  2127. </table>
  2128. <h5>Returns:</h5>
  2129. <div class="param-desc">
  2130. The modified result parameter, or a new Matrix4 instance if one was not provided.
  2131. </div>
  2132. <dl class="details">
  2133. <h5>Example:</h5>
  2134. <pre><code class="language-javascript">// Creates // [2.0, 0.0, 0.0, 0.0] // [0.0, 2.0, 0.0, 0.0] // [0.0, 0.0, 2.0, 0.0] // [0.0, 0.0, 0.0, 1.0] var m = Cesium.Matrix4.fromUniformScale(2.0);</code></pre>
  2135. </dl>
  2136. </dd>
  2137. <dt>
  2138. <div class="nameContainer">
  2139. <h4 class="name" id=".getColumn">
  2140. <a href="#.getColumn" class="doc-link"></a>
  2141. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.getColumn<span class="signature">(matrix, index, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian4.html">Cartesian4</a></span>
  2142. <div class="source-link rightLinks">
  2143. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1119">Core/Matrix4.js 1119</a>
  2144. </div>
  2145. </h4>
  2146. </div>
  2147. </dt>
  2148. <dd>
  2149. <div class="description">
  2150. Retrieves a copy of the matrix column at the provided index as a Cartesian4 instance.
  2151. </div>
  2152. <table class="params">
  2153. <thead>
  2154. <tr>
  2155. <th>Name</th>
  2156. <th>Type</th>
  2157. <th class="last">Description</th>
  2158. </tr>
  2159. </thead>
  2160. <tbody>
  2161. <tr>
  2162. <td class="name"><code>matrix</code></td>
  2163. <td class="type">
  2164. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2165. </td>
  2166. <td class="description last">
  2167. The matrix to use.</td>
  2168. </tr>
  2169. <tr>
  2170. <td class="name"><code>index</code></td>
  2171. <td class="type">
  2172. <span class="param-type">Number</span>
  2173. </td>
  2174. <td class="description last">
  2175. The zero-based index of the column to retrieve.</td>
  2176. </tr>
  2177. <tr>
  2178. <td class="name"><code>result</code></td>
  2179. <td class="type">
  2180. <span class="param-type"><a href="Cartesian4.html">Cartesian4</a></span>
  2181. </td>
  2182. <td class="description last">
  2183. The object onto which to store the result.</td>
  2184. </tr>
  2185. </tbody>
  2186. </table>
  2187. <h5>Returns:</h5>
  2188. <div class="param-desc">
  2189. The modified result parameter.
  2190. </div>
  2191. <h5>Throws:</h5>
  2192. <ul>
  2193. <li>
  2194. <div class="param-desc">
  2195. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  2196. : index must be 0, 1, 2, or 3.
  2197. </div>
  2198. </li>
  2199. </ul>
  2200. <dl class="details">
  2201. <h5>Examples:</h5>
  2202. <pre><code class="language-javascript">//returns a Cartesian4 instance with values from the specified column // m = [10.0, 11.0, 12.0, 13.0] // [14.0, 15.0, 16.0, 17.0] // [18.0, 19.0, 20.0, 21.0] // [22.0, 23.0, 24.0, 25.0] //Example 1: Creates an instance of Cartesian var a = Cesium.Matrix4.getColumn(m, 2, new Cesium.Cartesian4());</code></pre>
  2203. <pre><code class="language-javascript">//Example 2: Sets values for Cartesian instance var a = new Cesium.Cartesian4(); Cesium.Matrix4.getColumn(m, 2, a); // a.x = 12.0; a.y = 16.0; a.z = 20.0; a.w = 24.0;</code></pre>
  2204. </dl>
  2205. </dd>
  2206. <dt>
  2207. <div class="nameContainer">
  2208. <h4 class="name" id=".getElementIndex">
  2209. <a href="#.getElementIndex" class="doc-link"></a>
  2210. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.getElementIndex<span class="signature">(row, column)</span> &rarr; <span class="type-signature returnType">Number</span>
  2211. <div class="source-link rightLinks">
  2212. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1079">Core/Matrix4.js 1079</a>
  2213. </div>
  2214. </h4>
  2215. </div>
  2216. </dt>
  2217. <dd>
  2218. <div class="description">
  2219. Computes the array index of the element at the provided row and column.
  2220. </div>
  2221. <table class="params">
  2222. <thead>
  2223. <tr>
  2224. <th>Name</th>
  2225. <th>Type</th>
  2226. <th class="last">Description</th>
  2227. </tr>
  2228. </thead>
  2229. <tbody>
  2230. <tr>
  2231. <td class="name"><code>row</code></td>
  2232. <td class="type">
  2233. <span class="param-type">Number</span>
  2234. </td>
  2235. <td class="description last">
  2236. The zero-based index of the row.</td>
  2237. </tr>
  2238. <tr>
  2239. <td class="name"><code>column</code></td>
  2240. <td class="type">
  2241. <span class="param-type">Number</span>
  2242. </td>
  2243. <td class="description last">
  2244. The zero-based index of the column.</td>
  2245. </tr>
  2246. </tbody>
  2247. </table>
  2248. <h5>Returns:</h5>
  2249. <div class="param-desc">
  2250. The index of the element at the provided row and column.
  2251. </div>
  2252. <h5>Throws:</h5>
  2253. <ul>
  2254. <li>
  2255. <div class="param-desc">
  2256. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  2257. : row must be 0, 1, 2, or 3.
  2258. </div>
  2259. </li>
  2260. <li>
  2261. <div class="param-desc">
  2262. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  2263. : column must be 0, 1, 2, or 3.
  2264. </div>
  2265. </li>
  2266. </ul>
  2267. <dl class="details">
  2268. <h5>Example:</h5>
  2269. <pre><code class="language-javascript">var myMatrix = new Cesium.Matrix4(); var column1Row0Index = Cesium.Matrix4.getElementIndex(1, 0); var column1Row0 = myMatrix[column1Row0Index]; myMatrix[column1Row0Index] = 10.0;</code></pre>
  2270. </dl>
  2271. </dd>
  2272. <dt>
  2273. <div class="nameContainer">
  2274. <h4 class="name" id=".getMaximumScale">
  2275. <a href="#.getMaximumScale" class="doc-link"></a>
  2276. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.getMaximumScale<span class="signature">(matrix)</span> &rarr; <span class="type-signature returnType">Number</span>
  2277. <div class="source-link rightLinks">
  2278. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1380">Core/Matrix4.js 1380</a>
  2279. </div>
  2280. </h4>
  2281. </div>
  2282. </dt>
  2283. <dd>
  2284. <div class="description">
  2285. Computes the maximum scale assuming the matrix is an affine transformation. The maximum scale is the maximum length of the column vectors in the upper-left 3x3 matrix.
  2286. </div>
  2287. <table class="params">
  2288. <thead>
  2289. <tr>
  2290. <th>Name</th>
  2291. <th>Type</th>
  2292. <th class="last">Description</th>
  2293. </tr>
  2294. </thead>
  2295. <tbody>
  2296. <tr>
  2297. <td class="name"><code>matrix</code></td>
  2298. <td class="type">
  2299. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2300. </td>
  2301. <td class="description last">
  2302. The matrix.</td>
  2303. </tr>
  2304. </tbody>
  2305. </table>
  2306. <h5>Returns:</h5>
  2307. <div class="param-desc">
  2308. The maximum scale.
  2309. </div>
  2310. <dl class="details">
  2311. </dl>
  2312. </dd>
  2313. <dt>
  2314. <div class="nameContainer">
  2315. <h4 class="name" id=".getRotation">
  2316. <a href="#.getRotation" class="doc-link"></a>
  2317. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.getRotation<span class="signature">(matrix, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix3.html">Matrix3</a></span>
  2318. <div class="source-link rightLinks">
  2319. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2373">Core/Matrix4.js 2373</a>
  2320. </div>
  2321. </h4>
  2322. </div>
  2323. </dt>
  2324. <dd>
  2325. <div class="description">
  2326. Gets the upper left 3x3 rotation matrix of the provided matrix, assuming the matrix is a affine transformation matrix.
  2327. </div>
  2328. <table class="params">
  2329. <thead>
  2330. <tr>
  2331. <th>Name</th>
  2332. <th>Type</th>
  2333. <th class="last">Description</th>
  2334. </tr>
  2335. </thead>
  2336. <tbody>
  2337. <tr>
  2338. <td class="name"><code>matrix</code></td>
  2339. <td class="type">
  2340. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2341. </td>
  2342. <td class="description last">
  2343. The matrix to use.</td>
  2344. </tr>
  2345. <tr>
  2346. <td class="name"><code>result</code></td>
  2347. <td class="type">
  2348. <span class="param-type"><a href="Matrix3.html">Matrix3</a></span>
  2349. </td>
  2350. <td class="description last">
  2351. The object onto which to store the result.</td>
  2352. </tr>
  2353. </tbody>
  2354. </table>
  2355. <h5>Returns:</h5>
  2356. <div class="param-desc">
  2357. The modified result parameter.
  2358. </div>
  2359. <dl class="details">
  2360. <h5>Example:</h5>
  2361. <pre><code class="language-javascript">// returns a Matrix3 instance from a Matrix4 instance // m = [10.0, 14.0, 18.0, 22.0] // [11.0, 15.0, 19.0, 23.0] // [12.0, 16.0, 20.0, 24.0] // [13.0, 17.0, 21.0, 25.0] var b = new Cesium.Matrix3(); Cesium.Matrix4.getRotation(m,b); // b = [10.0, 14.0, 18.0] // [11.0, 15.0, 19.0] // [12.0, 16.0, 20.0]</code></pre>
  2362. </dl>
  2363. </dd>
  2364. <dt>
  2365. <div class="nameContainer">
  2366. <h4 class="name" id=".getRow">
  2367. <a href="#.getRow" class="doc-link"></a>
  2368. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.getRow<span class="signature">(matrix, index, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian4.html">Cartesian4</a></span>
  2369. <div class="source-link rightLinks">
  2370. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1269">Core/Matrix4.js 1269</a>
  2371. </div>
  2372. </h4>
  2373. </div>
  2374. </dt>
  2375. <dd>
  2376. <div class="description">
  2377. Retrieves a copy of the matrix row at the provided index as a Cartesian4 instance.
  2378. </div>
  2379. <table class="params">
  2380. <thead>
  2381. <tr>
  2382. <th>Name</th>
  2383. <th>Type</th>
  2384. <th class="last">Description</th>
  2385. </tr>
  2386. </thead>
  2387. <tbody>
  2388. <tr>
  2389. <td class="name"><code>matrix</code></td>
  2390. <td class="type">
  2391. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2392. </td>
  2393. <td class="description last">
  2394. The matrix to use.</td>
  2395. </tr>
  2396. <tr>
  2397. <td class="name"><code>index</code></td>
  2398. <td class="type">
  2399. <span class="param-type">Number</span>
  2400. </td>
  2401. <td class="description last">
  2402. The zero-based index of the row to retrieve.</td>
  2403. </tr>
  2404. <tr>
  2405. <td class="name"><code>result</code></td>
  2406. <td class="type">
  2407. <span class="param-type"><a href="Cartesian4.html">Cartesian4</a></span>
  2408. </td>
  2409. <td class="description last">
  2410. The object onto which to store the result.</td>
  2411. </tr>
  2412. </tbody>
  2413. </table>
  2414. <h5>Returns:</h5>
  2415. <div class="param-desc">
  2416. The modified result parameter.
  2417. </div>
  2418. <h5>Throws:</h5>
  2419. <ul>
  2420. <li>
  2421. <div class="param-desc">
  2422. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  2423. : index must be 0, 1, 2, or 3.
  2424. </div>
  2425. </li>
  2426. </ul>
  2427. <dl class="details">
  2428. <h5>Examples:</h5>
  2429. <pre><code class="language-javascript">//returns a Cartesian4 instance with values from the specified column // m = [10.0, 11.0, 12.0, 13.0] // [14.0, 15.0, 16.0, 17.0] // [18.0, 19.0, 20.0, 21.0] // [22.0, 23.0, 24.0, 25.0] //Example 1: Returns an instance of Cartesian var a = Cesium.Matrix4.getRow(m, 2, new Cesium.Cartesian4());</code></pre>
  2430. <pre><code class="language-javascript">//Example 2: Sets values for a Cartesian instance var a = new Cesium.Cartesian4(); Cesium.Matrix4.getRow(m, 2, a); // a.x = 18.0; a.y = 19.0; a.z = 20.0; a.w = 21.0;</code></pre>
  2431. </dl>
  2432. </dd>
  2433. <dt>
  2434. <div class="nameContainer">
  2435. <h4 class="name" id=".getScale">
  2436. <a href="#.getScale" class="doc-link"></a>
  2437. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.getScale<span class="signature">(matrix, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian3.html">Cartesian3</a></span>
  2438. <div class="source-link rightLinks">
  2439. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1354">Core/Matrix4.js 1354</a>
  2440. </div>
  2441. </h4>
  2442. </div>
  2443. </dt>
  2444. <dd>
  2445. <div class="description">
  2446. Extracts the non-uniform scale assuming the matrix is an affine transformation.
  2447. </div>
  2448. <table class="params">
  2449. <thead>
  2450. <tr>
  2451. <th>Name</th>
  2452. <th>Type</th>
  2453. <th class="last">Description</th>
  2454. </tr>
  2455. </thead>
  2456. <tbody>
  2457. <tr>
  2458. <td class="name"><code>matrix</code></td>
  2459. <td class="type">
  2460. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2461. </td>
  2462. <td class="description last">
  2463. The matrix.</td>
  2464. </tr>
  2465. <tr>
  2466. <td class="name"><code>result</code></td>
  2467. <td class="type">
  2468. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  2469. </td>
  2470. <td class="description last">
  2471. The object onto which to store the result.</td>
  2472. </tr>
  2473. </tbody>
  2474. </table>
  2475. <h5>Returns:</h5>
  2476. <div class="param-desc">
  2477. The modified result parameter
  2478. </div>
  2479. <dl class="details">
  2480. </dl>
  2481. </dd>
  2482. <dt>
  2483. <div class="nameContainer">
  2484. <h4 class="name" id=".getTranslation">
  2485. <a href="#.getTranslation" class="doc-link"></a>
  2486. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.getTranslation<span class="signature">(matrix, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian3.html">Cartesian3</a></span>
  2487. <div class="source-link rightLinks">
  2488. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2335">Core/Matrix4.js 2335</a>
  2489. </div>
  2490. </h4>
  2491. </div>
  2492. </dt>
  2493. <dd>
  2494. <div class="description">
  2495. Gets the translation portion of the provided matrix, assuming the matrix is a affine transformation matrix.
  2496. </div>
  2497. <table class="params">
  2498. <thead>
  2499. <tr>
  2500. <th>Name</th>
  2501. <th>Type</th>
  2502. <th class="last">Description</th>
  2503. </tr>
  2504. </thead>
  2505. <tbody>
  2506. <tr>
  2507. <td class="name"><code>matrix</code></td>
  2508. <td class="type">
  2509. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2510. </td>
  2511. <td class="description last">
  2512. The matrix to use.</td>
  2513. </tr>
  2514. <tr>
  2515. <td class="name"><code>result</code></td>
  2516. <td class="type">
  2517. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  2518. </td>
  2519. <td class="description last">
  2520. The object onto which to store the result.</td>
  2521. </tr>
  2522. </tbody>
  2523. </table>
  2524. <h5>Returns:</h5>
  2525. <div class="param-desc">
  2526. The modified result parameter.
  2527. </div>
  2528. <dl class="details">
  2529. </dl>
  2530. </dd>
  2531. <dt>
  2532. <div class="nameContainer">
  2533. <h4 class="name" id=".inverse">
  2534. <a href="#.inverse" class="doc-link"></a>
  2535. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.inverse<span class="signature">(matrix, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  2536. <div class="source-link rightLinks">
  2537. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2412">Core/Matrix4.js 2412</a>
  2538. </div>
  2539. </h4>
  2540. </div>
  2541. </dt>
  2542. <dd>
  2543. <div class="description">
  2544. Computes the inverse of the provided matrix using Cramers Rule. If the determinant is zero, the matrix can not be inverted, and an exception is thrown. If the matrix is an affine transformation matrix, it is more efficient to invert it with <a href="Matrix4.html#.inverseTransformation"><code>Matrix4.inverseTransformation</code></a>.
  2545. </div>
  2546. <table class="params">
  2547. <thead>
  2548. <tr>
  2549. <th>Name</th>
  2550. <th>Type</th>
  2551. <th class="last">Description</th>
  2552. </tr>
  2553. </thead>
  2554. <tbody>
  2555. <tr>
  2556. <td class="name"><code>matrix</code></td>
  2557. <td class="type">
  2558. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2559. </td>
  2560. <td class="description last">
  2561. The matrix to invert.</td>
  2562. </tr>
  2563. <tr>
  2564. <td class="name"><code>result</code></td>
  2565. <td class="type">
  2566. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2567. </td>
  2568. <td class="description last">
  2569. The object onto which to store the result.</td>
  2570. </tr>
  2571. </tbody>
  2572. </table>
  2573. <h5>Returns:</h5>
  2574. <div class="param-desc">
  2575. The modified result parameter.
  2576. </div>
  2577. <h5>Throws:</h5>
  2578. <ul>
  2579. <li>
  2580. <div class="param-desc">
  2581. <span class="param-type"><a href="RuntimeError.html">RuntimeError</a></span>
  2582. : matrix is not invertible because its determinate is zero.
  2583. </div>
  2584. </li>
  2585. </ul>
  2586. <dl class="details">
  2587. </dl>
  2588. </dd>
  2589. <dt>
  2590. <div class="nameContainer">
  2591. <h4 class="name" id=".inverseTransformation">
  2592. <a href="#.inverseTransformation" class="doc-link"></a>
  2593. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.inverseTransformation<span class="signature">(matrix, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  2594. <div class="source-link rightLinks">
  2595. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2557">Core/Matrix4.js 2557</a>
  2596. </div>
  2597. </h4>
  2598. </div>
  2599. </dt>
  2600. <dd>
  2601. <div class="description">
  2602. Computes the inverse of the provided matrix assuming it is an affine transformation matrix, where the upper left 3x3 elements are a rotation matrix, and the upper three elements in the fourth column are the translation. The bottom row is assumed to be [0, 0, 0, 1]. The matrix is not verified to be in the proper form. This method is faster than computing the inverse for a general 4x4 matrix using <a href="Matrix4.html#.inverse"><code>Matrix4.inverse</code></a>.
  2603. </div>
  2604. <table class="params">
  2605. <thead>
  2606. <tr>
  2607. <th>Name</th>
  2608. <th>Type</th>
  2609. <th class="last">Description</th>
  2610. </tr>
  2611. </thead>
  2612. <tbody>
  2613. <tr>
  2614. <td class="name"><code>matrix</code></td>
  2615. <td class="type">
  2616. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2617. </td>
  2618. <td class="description last">
  2619. The matrix to invert.</td>
  2620. </tr>
  2621. <tr>
  2622. <td class="name"><code>result</code></td>
  2623. <td class="type">
  2624. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2625. </td>
  2626. <td class="description last">
  2627. The object onto which to store the result.</td>
  2628. </tr>
  2629. </tbody>
  2630. </table>
  2631. <h5>Returns:</h5>
  2632. <div class="param-desc">
  2633. The modified result parameter.
  2634. </div>
  2635. <dl class="details">
  2636. </dl>
  2637. </dd>
  2638. <dt>
  2639. <div class="nameContainer">
  2640. <h4 class="name" id=".multiply">
  2641. <a href="#.multiply" class="doc-link"></a>
  2642. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiply<span class="signature">(left, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  2643. <div class="source-link rightLinks">
  2644. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1393">Core/Matrix4.js 1393</a>
  2645. </div>
  2646. </h4>
  2647. </div>
  2648. </dt>
  2649. <dd>
  2650. <div class="description">
  2651. Computes the product of two matrices.
  2652. </div>
  2653. <table class="params">
  2654. <thead>
  2655. <tr>
  2656. <th>Name</th>
  2657. <th>Type</th>
  2658. <th class="last">Description</th>
  2659. </tr>
  2660. </thead>
  2661. <tbody>
  2662. <tr>
  2663. <td class="name"><code>left</code></td>
  2664. <td class="type">
  2665. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2666. </td>
  2667. <td class="description last">
  2668. The first matrix.</td>
  2669. </tr>
  2670. <tr>
  2671. <td class="name"><code>right</code></td>
  2672. <td class="type">
  2673. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2674. </td>
  2675. <td class="description last">
  2676. The second matrix.</td>
  2677. </tr>
  2678. <tr>
  2679. <td class="name"><code>result</code></td>
  2680. <td class="type">
  2681. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2682. </td>
  2683. <td class="description last">
  2684. The object onto which to store the result.</td>
  2685. </tr>
  2686. </tbody>
  2687. </table>
  2688. <h5>Returns:</h5>
  2689. <div class="param-desc">
  2690. The modified result parameter.
  2691. </div>
  2692. <dl class="details">
  2693. </dl>
  2694. </dd>
  2695. <dt>
  2696. <div class="nameContainer">
  2697. <h4 class="name" id=".multiplyByMatrix3">
  2698. <a href="#.multiplyByMatrix3" class="doc-link"></a>
  2699. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyByMatrix3<span class="signature">(matrix, rotation, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  2700. <div class="source-link rightLinks">
  2701. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1666">Core/Matrix4.js 1666</a>
  2702. </div>
  2703. </h4>
  2704. </div>
  2705. </dt>
  2706. <dd>
  2707. <div class="description">
  2708. Multiplies a transformation matrix (with a bottom row of <code>[0.0, 0.0, 0.0, 1.0]</code>) by a 3x3 rotation matrix. This is an optimization for <code>Matrix4.multiply(m, Matrix4.fromRotationTranslation(rotation), m);</code> with less allocations and arithmetic operations.
  2709. </div>
  2710. <table class="params">
  2711. <thead>
  2712. <tr>
  2713. <th>Name</th>
  2714. <th>Type</th>
  2715. <th class="last">Description</th>
  2716. </tr>
  2717. </thead>
  2718. <tbody>
  2719. <tr>
  2720. <td class="name"><code>matrix</code></td>
  2721. <td class="type">
  2722. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2723. </td>
  2724. <td class="description last">
  2725. The matrix on the left-hand side.</td>
  2726. </tr>
  2727. <tr>
  2728. <td class="name"><code>rotation</code></td>
  2729. <td class="type">
  2730. <span class="param-type"><a href="Matrix3.html">Matrix3</a></span>
  2731. </td>
  2732. <td class="description last">
  2733. The 3x3 rotation matrix on the right-hand side.</td>
  2734. </tr>
  2735. <tr>
  2736. <td class="name"><code>result</code></td>
  2737. <td class="type">
  2738. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2739. </td>
  2740. <td class="description last">
  2741. The object onto which to store the result.</td>
  2742. </tr>
  2743. </tbody>
  2744. </table>
  2745. <h5>Returns:</h5>
  2746. <div class="param-desc">
  2747. The modified result parameter.
  2748. </div>
  2749. <dl class="details">
  2750. <h5>Example:</h5>
  2751. <pre><code class="language-javascript">// Instead of Cesium.Matrix4.multiply(m, Cesium.Matrix4.fromRotationTranslation(rotation), m); Cesium.Matrix4.multiplyByMatrix3(m, rotation, m);</code></pre>
  2752. </dl>
  2753. </dd>
  2754. <dt>
  2755. <div class="nameContainer">
  2756. <h4 class="name" id=".multiplyByPoint">
  2757. <a href="#.multiplyByPoint" class="doc-link"></a>
  2758. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyByPoint<span class="signature">(matrix, cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian3.html">Cartesian3</a></span>
  2759. <div class="source-link rightLinks">
  2760. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1980">Core/Matrix4.js 1980</a>
  2761. </div>
  2762. </h4>
  2763. </div>
  2764. </dt>
  2765. <dd>
  2766. <div class="description">
  2767. Computes the product of a matrix and a <a href="Cartesian3.html"><code>Cartesian3</code></a>. This is equivalent to calling <a href="Matrix4.html#.multiplyByVector"><code>Matrix4.multiplyByVector</code></a> with a <a href="Cartesian4.html"><code>Cartesian4</code></a> with a <code>w</code> component of 1, but returns a <a href="Cartesian3.html"><code>Cartesian3</code></a> instead of a <a href="Cartesian4.html"><code>Cartesian4</code></a>.
  2768. </div>
  2769. <table class="params">
  2770. <thead>
  2771. <tr>
  2772. <th>Name</th>
  2773. <th>Type</th>
  2774. <th class="last">Description</th>
  2775. </tr>
  2776. </thead>
  2777. <tbody>
  2778. <tr>
  2779. <td class="name"><code>matrix</code></td>
  2780. <td class="type">
  2781. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2782. </td>
  2783. <td class="description last">
  2784. The matrix.</td>
  2785. </tr>
  2786. <tr>
  2787. <td class="name"><code>cartesian</code></td>
  2788. <td class="type">
  2789. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  2790. </td>
  2791. <td class="description last">
  2792. The point.</td>
  2793. </tr>
  2794. <tr>
  2795. <td class="name"><code>result</code></td>
  2796. <td class="type">
  2797. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  2798. </td>
  2799. <td class="description last">
  2800. The object onto which to store the result.</td>
  2801. </tr>
  2802. </tbody>
  2803. </table>
  2804. <h5>Returns:</h5>
  2805. <div class="param-desc">
  2806. The modified result parameter.
  2807. </div>
  2808. <dl class="details">
  2809. <h5>Example:</h5>
  2810. <pre><code class="language-javascript">var p = new Cesium.Cartesian3(1.0, 2.0, 3.0); var result = Cesium.Matrix4.multiplyByPoint(matrix, p, new Cesium.Cartesian3());</code></pre>
  2811. </dl>
  2812. </dd>
  2813. <dt>
  2814. <div class="nameContainer">
  2815. <h4 class="name" id=".multiplyByPointAsVector">
  2816. <a href="#.multiplyByPointAsVector" class="doc-link"></a>
  2817. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyByPointAsVector<span class="signature">(matrix, cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian3.html">Cartesian3</a></span>
  2818. <div class="source-link rightLinks">
  2819. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1940">Core/Matrix4.js 1940</a>
  2820. </div>
  2821. </h4>
  2822. </div>
  2823. </dt>
  2824. <dd>
  2825. <div class="description">
  2826. Computes the product of a matrix and a <a href="Cartesian3.html"><code>Cartesian3</code></a>. This is equivalent to calling <a href="Matrix4.html#.multiplyByVector"><code>Matrix4.multiplyByVector</code></a> with a <a href="Cartesian4.html"><code>Cartesian4</code></a> with a <code>w</code> component of zero.
  2827. </div>
  2828. <table class="params">
  2829. <thead>
  2830. <tr>
  2831. <th>Name</th>
  2832. <th>Type</th>
  2833. <th class="last">Description</th>
  2834. </tr>
  2835. </thead>
  2836. <tbody>
  2837. <tr>
  2838. <td class="name"><code>matrix</code></td>
  2839. <td class="type">
  2840. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2841. </td>
  2842. <td class="description last">
  2843. The matrix.</td>
  2844. </tr>
  2845. <tr>
  2846. <td class="name"><code>cartesian</code></td>
  2847. <td class="type">
  2848. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  2849. </td>
  2850. <td class="description last">
  2851. The point.</td>
  2852. </tr>
  2853. <tr>
  2854. <td class="name"><code>result</code></td>
  2855. <td class="type">
  2856. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  2857. </td>
  2858. <td class="description last">
  2859. The object onto which to store the result.</td>
  2860. </tr>
  2861. </tbody>
  2862. </table>
  2863. <h5>Returns:</h5>
  2864. <div class="param-desc">
  2865. The modified result parameter.
  2866. </div>
  2867. <dl class="details">
  2868. <h5>Example:</h5>
  2869. <pre><code class="language-javascript">var p = new Cesium.Cartesian3(1.0, 2.0, 3.0); var result = Cesium.Matrix4.multiplyByPointAsVector(matrix, p, new Cesium.Cartesian3()); // A shortcut for // Cartesian3 p = ... // Cesium.Matrix4.multiplyByVector(matrix, new Cesium.Cartesian4(p.x, p.y, p.z, 0.0), result);</code></pre>
  2870. </dl>
  2871. </dd>
  2872. <dt>
  2873. <div class="nameContainer">
  2874. <h4 class="name" id=".multiplyByScalar">
  2875. <a href="#.multiplyByScalar" class="doc-link"></a>
  2876. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyByScalar<span class="signature">(matrix, scalar, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  2877. <div class="source-link rightLinks">
  2878. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2031">Core/Matrix4.js 2031</a>
  2879. </div>
  2880. </h4>
  2881. </div>
  2882. </dt>
  2883. <dd>
  2884. <div class="description">
  2885. Computes the product of a matrix and a scalar.
  2886. </div>
  2887. <table class="params">
  2888. <thead>
  2889. <tr>
  2890. <th>Name</th>
  2891. <th>Type</th>
  2892. <th class="last">Description</th>
  2893. </tr>
  2894. </thead>
  2895. <tbody>
  2896. <tr>
  2897. <td class="name"><code>matrix</code></td>
  2898. <td class="type">
  2899. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2900. </td>
  2901. <td class="description last">
  2902. The matrix.</td>
  2903. </tr>
  2904. <tr>
  2905. <td class="name"><code>scalar</code></td>
  2906. <td class="type">
  2907. <span class="param-type">Number</span>
  2908. </td>
  2909. <td class="description last">
  2910. The number to multiply by.</td>
  2911. </tr>
  2912. <tr>
  2913. <td class="name"><code>result</code></td>
  2914. <td class="type">
  2915. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2916. </td>
  2917. <td class="description last">
  2918. The object onto which to store the result.</td>
  2919. </tr>
  2920. </tbody>
  2921. </table>
  2922. <h5>Returns:</h5>
  2923. <div class="param-desc">
  2924. The modified result parameter.
  2925. </div>
  2926. <dl class="details">
  2927. <h5>Example:</h5>
  2928. <pre><code class="language-javascript">//create a Matrix4 instance which is a scaled version of the supplied Matrix4 // m = [10.0, 11.0, 12.0, 13.0] // [14.0, 15.0, 16.0, 17.0] // [18.0, 19.0, 20.0, 21.0] // [22.0, 23.0, 24.0, 25.0] var a = Cesium.Matrix4.multiplyByScalar(m, -2, new Cesium.Matrix4()); // m remains the same // a = [-20.0, -22.0, -24.0, -26.0] // [-28.0, -30.0, -32.0, -34.0] // [-36.0, -38.0, -40.0, -42.0] // [-44.0, -46.0, -48.0, -50.0]</code></pre>
  2929. </dl>
  2930. </dd>
  2931. <dt>
  2932. <div class="nameContainer">
  2933. <h4 class="name" id=".multiplyByScale">
  2934. <a href="#.multiplyByScale" class="doc-link"></a>
  2935. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyByScale<span class="signature">(matrix, scale, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  2936. <div class="source-link rightLinks">
  2937. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1845">Core/Matrix4.js 1845</a>
  2938. </div>
  2939. </h4>
  2940. </div>
  2941. </dt>
  2942. <dd>
  2943. <div class="description">
  2944. Multiplies an affine transformation matrix (with a bottom row of <code>[0.0, 0.0, 0.0, 1.0]</code>) by an implicit non-uniform scale matrix. This is an optimization for <code>Matrix4.multiply(m, Matrix4.fromUniformScale(scale), m);</code>, where <code>m</code> must be an affine matrix. This function performs fewer allocations and arithmetic operations.
  2945. </div>
  2946. <table class="params">
  2947. <thead>
  2948. <tr>
  2949. <th>Name</th>
  2950. <th>Type</th>
  2951. <th class="last">Description</th>
  2952. </tr>
  2953. </thead>
  2954. <tbody>
  2955. <tr>
  2956. <td class="name"><code>matrix</code></td>
  2957. <td class="type">
  2958. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2959. </td>
  2960. <td class="description last">
  2961. The affine matrix on the left-hand side.</td>
  2962. </tr>
  2963. <tr>
  2964. <td class="name"><code>scale</code></td>
  2965. <td class="type">
  2966. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  2967. </td>
  2968. <td class="description last">
  2969. The non-uniform scale on the right-hand side.</td>
  2970. </tr>
  2971. <tr>
  2972. <td class="name"><code>result</code></td>
  2973. <td class="type">
  2974. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  2975. </td>
  2976. <td class="description last">
  2977. The object onto which to store the result.</td>
  2978. </tr>
  2979. </tbody>
  2980. </table>
  2981. <h5>Returns:</h5>
  2982. <div class="param-desc">
  2983. The modified result parameter.
  2984. </div>
  2985. <dl class="details">
  2986. <h5>Example:</h5>
  2987. <pre><code class="language-javascript">// Instead of Cesium.Matrix4.multiply(m, Cesium.Matrix4.fromScale(scale), m); Cesium.Matrix4.multiplyByScale(m, scale, m);</code></pre>
  2988. <h5>See:</h5>
  2989. <ul class="see-list">
  2990. <li><a href="Matrix4.html#.fromScale">Matrix4.fromScale</a></li>
  2991. <li><a href="Matrix4.html#.multiplyByUniformScale">Matrix4.multiplyByUniformScale</a></li>
  2992. </ul>
  2993. </dl>
  2994. </dd>
  2995. <dt>
  2996. <div class="nameContainer">
  2997. <h4 class="name" id=".multiplyByTranslation">
  2998. <a href="#.multiplyByTranslation" class="doc-link"></a>
  2999. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyByTranslation<span class="signature">(matrix, translation, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3000. <div class="source-link rightLinks">
  3001. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1744">Core/Matrix4.js 1744</a>
  3002. </div>
  3003. </h4>
  3004. </div>
  3005. </dt>
  3006. <dd>
  3007. <div class="description">
  3008. Multiplies a transformation matrix (with a bottom row of <code>[0.0, 0.0, 0.0, 1.0]</code>) by an implicit translation matrix defined by a <a href="Cartesian3.html"><code>Cartesian3</code></a>. This is an optimization for <code>Matrix4.multiply(m, Matrix4.fromTranslation(position), m);</code> with less allocations and arithmetic operations.
  3009. </div>
  3010. <table class="params">
  3011. <thead>
  3012. <tr>
  3013. <th>Name</th>
  3014. <th>Type</th>
  3015. <th class="last">Description</th>
  3016. </tr>
  3017. </thead>
  3018. <tbody>
  3019. <tr>
  3020. <td class="name"><code>matrix</code></td>
  3021. <td class="type">
  3022. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3023. </td>
  3024. <td class="description last">
  3025. The matrix on the left-hand side.</td>
  3026. </tr>
  3027. <tr>
  3028. <td class="name"><code>translation</code></td>
  3029. <td class="type">
  3030. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  3031. </td>
  3032. <td class="description last">
  3033. The translation on the right-hand side.</td>
  3034. </tr>
  3035. <tr>
  3036. <td class="name"><code>result</code></td>
  3037. <td class="type">
  3038. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3039. </td>
  3040. <td class="description last">
  3041. The object onto which to store the result.</td>
  3042. </tr>
  3043. </tbody>
  3044. </table>
  3045. <h5>Returns:</h5>
  3046. <div class="param-desc">
  3047. The modified result parameter.
  3048. </div>
  3049. <dl class="details">
  3050. <h5>Example:</h5>
  3051. <pre><code class="language-javascript">// Instead of Cesium.Matrix4.multiply(m, Cesium.Matrix4.fromTranslation(position), m); Cesium.Matrix4.multiplyByTranslation(m, position, m);</code></pre>
  3052. </dl>
  3053. </dd>
  3054. <dt>
  3055. <div class="nameContainer">
  3056. <h4 class="name" id=".multiplyByUniformScale">
  3057. <a href="#.multiplyByUniformScale" class="doc-link"></a>
  3058. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyByUniformScale<span class="signature">(matrix, scale, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3059. <div class="source-link rightLinks">
  3060. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1806">Core/Matrix4.js 1806</a>
  3061. </div>
  3062. </h4>
  3063. </div>
  3064. </dt>
  3065. <dd>
  3066. <div class="description">
  3067. Multiplies an affine transformation matrix (with a bottom row of <code>[0.0, 0.0, 0.0, 1.0]</code>) by an implicit uniform scale matrix. This is an optimization for <code>Matrix4.multiply(m, Matrix4.fromUniformScale(scale), m);</code>, where <code>m</code> must be an affine matrix. This function performs fewer allocations and arithmetic operations.
  3068. </div>
  3069. <table class="params">
  3070. <thead>
  3071. <tr>
  3072. <th>Name</th>
  3073. <th>Type</th>
  3074. <th class="last">Description</th>
  3075. </tr>
  3076. </thead>
  3077. <tbody>
  3078. <tr>
  3079. <td class="name"><code>matrix</code></td>
  3080. <td class="type">
  3081. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3082. </td>
  3083. <td class="description last">
  3084. The affine matrix on the left-hand side.</td>
  3085. </tr>
  3086. <tr>
  3087. <td class="name"><code>scale</code></td>
  3088. <td class="type">
  3089. <span class="param-type">Number</span>
  3090. </td>
  3091. <td class="description last">
  3092. The uniform scale on the right-hand side.</td>
  3093. </tr>
  3094. <tr>
  3095. <td class="name"><code>result</code></td>
  3096. <td class="type">
  3097. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3098. </td>
  3099. <td class="description last">
  3100. The object onto which to store the result.</td>
  3101. </tr>
  3102. </tbody>
  3103. </table>
  3104. <h5>Returns:</h5>
  3105. <div class="param-desc">
  3106. The modified result parameter.
  3107. </div>
  3108. <dl class="details">
  3109. <h5>Example:</h5>
  3110. <pre><code class="language-javascript">// Instead of Cesium.Matrix4.multiply(m, Cesium.Matrix4.fromUniformScale(scale), m); Cesium.Matrix4.multiplyByUniformScale(m, scale, m);</code></pre>
  3111. <h5>See:</h5>
  3112. <ul class="see-list">
  3113. <li><a href="Matrix4.html#.fromUniformScale">Matrix4.fromUniformScale</a></li>
  3114. <li><a href="Matrix4.html#.multiplyByScale">Matrix4.multiplyByScale</a></li>
  3115. </ul>
  3116. </dl>
  3117. </dd>
  3118. <dt>
  3119. <div class="nameContainer">
  3120. <h4 class="name" id=".multiplyByVector">
  3121. <a href="#.multiplyByVector" class="doc-link"></a>
  3122. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyByVector<span class="signature">(matrix, cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Cartesian4.html">Cartesian4</a></span>
  3123. <div class="source-link rightLinks">
  3124. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1894">Core/Matrix4.js 1894</a>
  3125. </div>
  3126. </h4>
  3127. </div>
  3128. </dt>
  3129. <dd>
  3130. <div class="description">
  3131. Computes the product of a matrix and a column vector.
  3132. </div>
  3133. <table class="params">
  3134. <thead>
  3135. <tr>
  3136. <th>Name</th>
  3137. <th>Type</th>
  3138. <th class="last">Description</th>
  3139. </tr>
  3140. </thead>
  3141. <tbody>
  3142. <tr>
  3143. <td class="name"><code>matrix</code></td>
  3144. <td class="type">
  3145. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3146. </td>
  3147. <td class="description last">
  3148. The matrix.</td>
  3149. </tr>
  3150. <tr>
  3151. <td class="name"><code>cartesian</code></td>
  3152. <td class="type">
  3153. <span class="param-type"><a href="Cartesian4.html">Cartesian4</a></span>
  3154. </td>
  3155. <td class="description last">
  3156. The vector.</td>
  3157. </tr>
  3158. <tr>
  3159. <td class="name"><code>result</code></td>
  3160. <td class="type">
  3161. <span class="param-type"><a href="Cartesian4.html">Cartesian4</a></span>
  3162. </td>
  3163. <td class="description last">
  3164. The object onto which to store the result.</td>
  3165. </tr>
  3166. </tbody>
  3167. </table>
  3168. <h5>Returns:</h5>
  3169. <div class="param-desc">
  3170. The modified result parameter.
  3171. </div>
  3172. <dl class="details">
  3173. </dl>
  3174. </dd>
  3175. <dt>
  3176. <div class="nameContainer">
  3177. <h4 class="name" id=".multiplyTransformation">
  3178. <a href="#.multiplyTransformation" class="doc-link"></a>
  3179. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.multiplyTransformation<span class="signature">(left, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3180. <div class="source-link rightLinks">
  3181. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1578">Core/Matrix4.js 1578</a>
  3182. </div>
  3183. </h4>
  3184. </div>
  3185. </dt>
  3186. <dd>
  3187. <div class="description">
  3188. Computes the product of two matrices assuming the matrices are affine transformation matrices, where the upper left 3x3 elements are a rotation matrix, and the upper three elements in the fourth column are the translation. The bottom row is assumed to be [0, 0, 0, 1]. The matrix is not verified to be in the proper form. This method is faster than computing the product for general 4x4 matrices using <a href="Matrix4.html#.multiply"><code>Matrix4.multiply</code></a>.
  3189. </div>
  3190. <table class="params">
  3191. <thead>
  3192. <tr>
  3193. <th>Name</th>
  3194. <th>Type</th>
  3195. <th class="last">Description</th>
  3196. </tr>
  3197. </thead>
  3198. <tbody>
  3199. <tr>
  3200. <td class="name"><code>left</code></td>
  3201. <td class="type">
  3202. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3203. </td>
  3204. <td class="description last">
  3205. The first matrix.</td>
  3206. </tr>
  3207. <tr>
  3208. <td class="name"><code>right</code></td>
  3209. <td class="type">
  3210. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3211. </td>
  3212. <td class="description last">
  3213. The second matrix.</td>
  3214. </tr>
  3215. <tr>
  3216. <td class="name"><code>result</code></td>
  3217. <td class="type">
  3218. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3219. </td>
  3220. <td class="description last">
  3221. The object onto which to store the result.</td>
  3222. </tr>
  3223. </tbody>
  3224. </table>
  3225. <h5>Returns:</h5>
  3226. <div class="param-desc">
  3227. The modified result parameter.
  3228. </div>
  3229. <dl class="details">
  3230. <h5>Example:</h5>
  3231. <pre><code class="language-javascript">var m1 = new Cesium.Matrix4(1.0, 6.0, 7.0, 0.0, 2.0, 5.0, 8.0, 0.0, 3.0, 4.0, 9.0, 0.0, 0.0, 0.0, 0.0, 1.0); var m2 = Cesium.Transforms.eastNorthUpToFixedFrame(new Cesium.Cartesian3(1.0, 1.0, 1.0)); var m3 = Cesium.Matrix4.multiplyTransformation(m1, m2, new Cesium.Matrix4());</code></pre>
  3232. </dl>
  3233. </dd>
  3234. <dt>
  3235. <div class="nameContainer">
  3236. <h4 class="name" id=".negate">
  3237. <a href="#.negate" class="doc-link"></a>
  3238. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.negate<span class="signature">(matrix, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3239. <div class="source-link rightLinks">
  3240. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2085">Core/Matrix4.js 2085</a>
  3241. </div>
  3242. </h4>
  3243. </div>
  3244. </dt>
  3245. <dd>
  3246. <div class="description">
  3247. Computes a negated copy of the provided matrix.
  3248. </div>
  3249. <table class="params">
  3250. <thead>
  3251. <tr>
  3252. <th>Name</th>
  3253. <th>Type</th>
  3254. <th class="last">Description</th>
  3255. </tr>
  3256. </thead>
  3257. <tbody>
  3258. <tr>
  3259. <td class="name"><code>matrix</code></td>
  3260. <td class="type">
  3261. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3262. </td>
  3263. <td class="description last">
  3264. The matrix to negate.</td>
  3265. </tr>
  3266. <tr>
  3267. <td class="name"><code>result</code></td>
  3268. <td class="type">
  3269. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3270. </td>
  3271. <td class="description last">
  3272. The object onto which to store the result.</td>
  3273. </tr>
  3274. </tbody>
  3275. </table>
  3276. <h5>Returns:</h5>
  3277. <div class="param-desc">
  3278. The modified result parameter.
  3279. </div>
  3280. <dl class="details">
  3281. <h5>Example:</h5>
  3282. <pre><code class="language-javascript">//create a new Matrix4 instance which is a negation of a Matrix4 // m = [10.0, 11.0, 12.0, 13.0] // [14.0, 15.0, 16.0, 17.0] // [18.0, 19.0, 20.0, 21.0] // [22.0, 23.0, 24.0, 25.0] var a = Cesium.Matrix4.negate(m, new Cesium.Matrix4()); // m remains the same // a = [-10.0, -11.0, -12.0, -13.0] // [-14.0, -15.0, -16.0, -17.0] // [-18.0, -19.0, -20.0, -21.0] // [-22.0, -23.0, -24.0, -25.0]</code></pre>
  3283. </dl>
  3284. </dd>
  3285. <dt>
  3286. <div class="nameContainer">
  3287. <h4 class="name" id=".pack">
  3288. <a href="#.pack" class="doc-link"></a>
  3289. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.pack<span class="signature">(value, array, <span class="optional">startingIndex</span>)</span> &rarr; <span class="type-signature returnType">Array.&lt;Number></span>
  3290. <div class="source-link rightLinks">
  3291. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L105">Core/Matrix4.js 105</a>
  3292. </div>
  3293. </h4>
  3294. </div>
  3295. </dt>
  3296. <dd>
  3297. <div class="description">
  3298. Stores the provided instance into the provided array.
  3299. </div>
  3300. <table class="params">
  3301. <thead>
  3302. <tr>
  3303. <th>Name</th>
  3304. <th>Type</th>
  3305. <th>Default</th>
  3306. <th class="last">Description</th>
  3307. </tr>
  3308. </thead>
  3309. <tbody>
  3310. <tr>
  3311. <td class="name"><code>value</code></td>
  3312. <td class="type">
  3313. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3314. </td>
  3315. <td class="default">
  3316. </td>
  3317. <td class="description last">
  3318. The value to pack.</td>
  3319. </tr>
  3320. <tr>
  3321. <td class="name"><code>array</code></td>
  3322. <td class="type">
  3323. <span class="param-type">Array.&lt;Number></span>
  3324. </td>
  3325. <td class="default">
  3326. </td>
  3327. <td class="description last">
  3328. The array to pack into.</td>
  3329. </tr>
  3330. <tr>
  3331. <td class="name"><code>startingIndex</code></td>
  3332. <td class="type">
  3333. <span class="param-type">Number</span>
  3334. </td>
  3335. <td class="default">
  3336. <code class="language-javascript">0</code>
  3337. </td>
  3338. <td class="description last">
  3339. <span class="optional">optional</span>
  3340. The index into the array at which to start packing the elements.</td>
  3341. </tr>
  3342. </tbody>
  3343. </table>
  3344. <h5>Returns:</h5>
  3345. <div class="param-desc">
  3346. The array that was packed into
  3347. </div>
  3348. <dl class="details">
  3349. </dl>
  3350. </dd>
  3351. <dt>
  3352. <div class="nameContainer">
  3353. <h4 class="name" id=".setColumn">
  3354. <a href="#.setColumn" class="doc-link"></a>
  3355. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.setColumn<span class="signature">(matrix, index, cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3356. <div class="source-link rightLinks">
  3357. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1172">Core/Matrix4.js 1172</a>
  3358. </div>
  3359. </h4>
  3360. </div>
  3361. </dt>
  3362. <dd>
  3363. <div class="description">
  3364. Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian4 instance.
  3365. </div>
  3366. <table class="params">
  3367. <thead>
  3368. <tr>
  3369. <th>Name</th>
  3370. <th>Type</th>
  3371. <th class="last">Description</th>
  3372. </tr>
  3373. </thead>
  3374. <tbody>
  3375. <tr>
  3376. <td class="name"><code>matrix</code></td>
  3377. <td class="type">
  3378. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3379. </td>
  3380. <td class="description last">
  3381. The matrix to use.</td>
  3382. </tr>
  3383. <tr>
  3384. <td class="name"><code>index</code></td>
  3385. <td class="type">
  3386. <span class="param-type">Number</span>
  3387. </td>
  3388. <td class="description last">
  3389. The zero-based index of the column to set.</td>
  3390. </tr>
  3391. <tr>
  3392. <td class="name"><code>cartesian</code></td>
  3393. <td class="type">
  3394. <span class="param-type"><a href="Cartesian4.html">Cartesian4</a></span>
  3395. </td>
  3396. <td class="description last">
  3397. The Cartesian whose values will be assigned to the specified column.</td>
  3398. </tr>
  3399. <tr>
  3400. <td class="name"><code>result</code></td>
  3401. <td class="type">
  3402. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3403. </td>
  3404. <td class="description last">
  3405. The object onto which to store the result.</td>
  3406. </tr>
  3407. </tbody>
  3408. </table>
  3409. <h5>Returns:</h5>
  3410. <div class="param-desc">
  3411. The modified result parameter.
  3412. </div>
  3413. <h5>Throws:</h5>
  3414. <ul>
  3415. <li>
  3416. <div class="param-desc">
  3417. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  3418. : index must be 0, 1, 2, or 3.
  3419. </div>
  3420. </li>
  3421. </ul>
  3422. <dl class="details">
  3423. <h5>Example:</h5>
  3424. <pre><code class="language-javascript">//creates a new Matrix4 instance with new column values from the Cartesian4 instance // m = [10.0, 11.0, 12.0, 13.0] // [14.0, 15.0, 16.0, 17.0] // [18.0, 19.0, 20.0, 21.0] // [22.0, 23.0, 24.0, 25.0] var a = Cesium.Matrix4.setColumn(m, 2, new Cesium.Cartesian4(99.0, 98.0, 97.0, 96.0), new Cesium.Matrix4()); // m remains the same // a = [10.0, 11.0, 99.0, 13.0] // [14.0, 15.0, 98.0, 17.0] // [18.0, 19.0, 97.0, 21.0] // [22.0, 23.0, 96.0, 25.0]</code></pre>
  3425. </dl>
  3426. </dd>
  3427. <dt>
  3428. <div class="nameContainer">
  3429. <h4 class="name" id=".setRow">
  3430. <a href="#.setRow" class="doc-link"></a>
  3431. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.setRow<span class="signature">(matrix, index, cartesian, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3432. <div class="source-link rightLinks">
  3433. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1321">Core/Matrix4.js 1321</a>
  3434. </div>
  3435. </h4>
  3436. </div>
  3437. </dt>
  3438. <dd>
  3439. <div class="description">
  3440. Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian4 instance.
  3441. </div>
  3442. <table class="params">
  3443. <thead>
  3444. <tr>
  3445. <th>Name</th>
  3446. <th>Type</th>
  3447. <th class="last">Description</th>
  3448. </tr>
  3449. </thead>
  3450. <tbody>
  3451. <tr>
  3452. <td class="name"><code>matrix</code></td>
  3453. <td class="type">
  3454. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3455. </td>
  3456. <td class="description last">
  3457. The matrix to use.</td>
  3458. </tr>
  3459. <tr>
  3460. <td class="name"><code>index</code></td>
  3461. <td class="type">
  3462. <span class="param-type">Number</span>
  3463. </td>
  3464. <td class="description last">
  3465. The zero-based index of the row to set.</td>
  3466. </tr>
  3467. <tr>
  3468. <td class="name"><code>cartesian</code></td>
  3469. <td class="type">
  3470. <span class="param-type"><a href="Cartesian4.html">Cartesian4</a></span>
  3471. </td>
  3472. <td class="description last">
  3473. The Cartesian whose values will be assigned to the specified row.</td>
  3474. </tr>
  3475. <tr>
  3476. <td class="name"><code>result</code></td>
  3477. <td class="type">
  3478. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3479. </td>
  3480. <td class="description last">
  3481. The object onto which to store the result.</td>
  3482. </tr>
  3483. </tbody>
  3484. </table>
  3485. <h5>Returns:</h5>
  3486. <div class="param-desc">
  3487. The modified result parameter.
  3488. </div>
  3489. <h5>Throws:</h5>
  3490. <ul>
  3491. <li>
  3492. <div class="param-desc">
  3493. <span class="param-type"><a href="DeveloperError.html">DeveloperError</a></span>
  3494. : index must be 0, 1, 2, or 3.
  3495. </div>
  3496. </li>
  3497. </ul>
  3498. <dl class="details">
  3499. <h5>Example:</h5>
  3500. <pre><code class="language-javascript">//create a new Matrix4 instance with new row values from the Cartesian4 instance // m = [10.0, 11.0, 12.0, 13.0] // [14.0, 15.0, 16.0, 17.0] // [18.0, 19.0, 20.0, 21.0] // [22.0, 23.0, 24.0, 25.0] var a = Cesium.Matrix4.setRow(m, 2, new Cesium.Cartesian4(99.0, 98.0, 97.0, 96.0), new Cesium.Matrix4()); // m remains the same // a = [10.0, 11.0, 12.0, 13.0] // [14.0, 15.0, 16.0, 17.0] // [99.0, 98.0, 97.0, 96.0] // [22.0, 23.0, 24.0, 25.0]</code></pre>
  3501. </dl>
  3502. </dd>
  3503. <dt>
  3504. <div class="nameContainer">
  3505. <h4 class="name" id=".setTranslation">
  3506. <a href="#.setTranslation" class="doc-link"></a>
  3507. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.setTranslation<span class="signature">(matrix, translation, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3508. <div class="source-link rightLinks">
  3509. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1206">Core/Matrix4.js 1206</a>
  3510. </div>
  3511. </h4>
  3512. </div>
  3513. </dt>
  3514. <dd>
  3515. <div class="description">
  3516. Computes a new matrix that replaces the translation in the rightmost column of the provided matrix with the provided translation. This assumes the matrix is an affine transformation
  3517. </div>
  3518. <table class="params">
  3519. <thead>
  3520. <tr>
  3521. <th>Name</th>
  3522. <th>Type</th>
  3523. <th class="last">Description</th>
  3524. </tr>
  3525. </thead>
  3526. <tbody>
  3527. <tr>
  3528. <td class="name"><code>matrix</code></td>
  3529. <td class="type">
  3530. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3531. </td>
  3532. <td class="description last">
  3533. The matrix to use.</td>
  3534. </tr>
  3535. <tr>
  3536. <td class="name"><code>translation</code></td>
  3537. <td class="type">
  3538. <span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>
  3539. </td>
  3540. <td class="description last">
  3541. The translation that replaces the translation of the provided matrix.</td>
  3542. </tr>
  3543. <tr>
  3544. <td class="name"><code>result</code></td>
  3545. <td class="type">
  3546. <span class="param-type"><a href="Cartesian4.html">Cartesian4</a></span>
  3547. </td>
  3548. <td class="description last">
  3549. The object onto which to store the result.</td>
  3550. </tr>
  3551. </tbody>
  3552. </table>
  3553. <h5>Returns:</h5>
  3554. <div class="param-desc">
  3555. The modified result parameter.
  3556. </div>
  3557. <dl class="details">
  3558. </dl>
  3559. </dd>
  3560. <dt>
  3561. <div class="nameContainer">
  3562. <h4 class="name" id=".subtract">
  3563. <a href="#.subtract" class="doc-link"></a>
  3564. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.subtract<span class="signature">(left, right, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3565. <div class="source-link rightLinks">
  3566. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1527">Core/Matrix4.js 1527</a>
  3567. </div>
  3568. </h4>
  3569. </div>
  3570. </dt>
  3571. <dd>
  3572. <div class="description">
  3573. Computes the difference of two matrices.
  3574. </div>
  3575. <table class="params">
  3576. <thead>
  3577. <tr>
  3578. <th>Name</th>
  3579. <th>Type</th>
  3580. <th class="last">Description</th>
  3581. </tr>
  3582. </thead>
  3583. <tbody>
  3584. <tr>
  3585. <td class="name"><code>left</code></td>
  3586. <td class="type">
  3587. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3588. </td>
  3589. <td class="description last">
  3590. The first matrix.</td>
  3591. </tr>
  3592. <tr>
  3593. <td class="name"><code>right</code></td>
  3594. <td class="type">
  3595. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3596. </td>
  3597. <td class="description last">
  3598. The second matrix.</td>
  3599. </tr>
  3600. <tr>
  3601. <td class="name"><code>result</code></td>
  3602. <td class="type">
  3603. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3604. </td>
  3605. <td class="description last">
  3606. The object onto which to store the result.</td>
  3607. </tr>
  3608. </tbody>
  3609. </table>
  3610. <h5>Returns:</h5>
  3611. <div class="param-desc">
  3612. The modified result parameter.
  3613. </div>
  3614. <dl class="details">
  3615. </dl>
  3616. </dd>
  3617. <dt>
  3618. <div class="nameContainer">
  3619. <h4 class="name" id=".toArray">
  3620. <a href="#.toArray" class="doc-link"></a>
  3621. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.toArray<span class="signature">(matrix, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType">Array.&lt;Number></span>
  3622. <div class="source-link rightLinks">
  3623. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L1031">Core/Matrix4.js 1031</a>
  3624. </div>
  3625. </h4>
  3626. </div>
  3627. </dt>
  3628. <dd>
  3629. <div class="description">
  3630. Computes an Array from the provided Matrix4 instance. The array will be in column-major order.
  3631. </div>
  3632. <table class="params">
  3633. <thead>
  3634. <tr>
  3635. <th>Name</th>
  3636. <th>Type</th>
  3637. <th class="last">Description</th>
  3638. </tr>
  3639. </thead>
  3640. <tbody>
  3641. <tr>
  3642. <td class="name"><code>matrix</code></td>
  3643. <td class="type">
  3644. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3645. </td>
  3646. <td class="description last">
  3647. The matrix to use..</td>
  3648. </tr>
  3649. <tr>
  3650. <td class="name"><code>result</code></td>
  3651. <td class="type">
  3652. <span class="param-type">Array.&lt;Number></span>
  3653. </td>
  3654. <td class="description last">
  3655. <span class="optional">optional</span>
  3656. The Array onto which to store the result.</td>
  3657. </tr>
  3658. </tbody>
  3659. </table>
  3660. <h5>Returns:</h5>
  3661. <div class="param-desc">
  3662. The modified Array parameter or a new Array instance if one was not provided.
  3663. </div>
  3664. <dl class="details">
  3665. <h5>Example:</h5>
  3666. <pre><code class="language-javascript">//create an array from an instance of Matrix4 // m = [10.0, 14.0, 18.0, 22.0] // [11.0, 15.0, 19.0, 23.0] // [12.0, 16.0, 20.0, 24.0] // [13.0, 17.0, 21.0, 25.0] var a = Cesium.Matrix4.toArray(m); // m remains the same //creates a = [10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0]</code></pre>
  3667. </dl>
  3668. </dd>
  3669. <dt>
  3670. <div class="nameContainer">
  3671. <h4 class="name" id=".transpose">
  3672. <a href="#.transpose" class="doc-link"></a>
  3673. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.transpose<span class="signature">(matrix, result)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3674. <div class="source-link rightLinks">
  3675. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L2136">Core/Matrix4.js 2136</a>
  3676. </div>
  3677. </h4>
  3678. </div>
  3679. </dt>
  3680. <dd>
  3681. <div class="description">
  3682. Computes the transpose of the provided matrix.
  3683. </div>
  3684. <table class="params">
  3685. <thead>
  3686. <tr>
  3687. <th>Name</th>
  3688. <th>Type</th>
  3689. <th class="last">Description</th>
  3690. </tr>
  3691. </thead>
  3692. <tbody>
  3693. <tr>
  3694. <td class="name"><code>matrix</code></td>
  3695. <td class="type">
  3696. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3697. </td>
  3698. <td class="description last">
  3699. The matrix to transpose.</td>
  3700. </tr>
  3701. <tr>
  3702. <td class="name"><code>result</code></td>
  3703. <td class="type">
  3704. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3705. </td>
  3706. <td class="description last">
  3707. The object onto which to store the result.</td>
  3708. </tr>
  3709. </tbody>
  3710. </table>
  3711. <h5>Returns:</h5>
  3712. <div class="param-desc">
  3713. The modified result parameter.
  3714. </div>
  3715. <dl class="details">
  3716. <h5>Example:</h5>
  3717. <pre><code class="language-javascript">//returns transpose of a Matrix4 // m = [10.0, 11.0, 12.0, 13.0] // [14.0, 15.0, 16.0, 17.0] // [18.0, 19.0, 20.0, 21.0] // [22.0, 23.0, 24.0, 25.0] var a = Cesium.Matrix4.transpose(m, new Cesium.Matrix4()); // m remains the same // a = [10.0, 14.0, 18.0, 22.0] // [11.0, 15.0, 19.0, 23.0] // [12.0, 16.0, 20.0, 24.0] // [13.0, 17.0, 21.0, 25.0]</code></pre>
  3718. </dl>
  3719. </dd>
  3720. <dt>
  3721. <div class="nameContainer">
  3722. <h4 class="name" id=".unpack">
  3723. <a href="#.unpack" class="doc-link"></a>
  3724. <span class="type-signature attribute-static">static</span>Cesium.Matrix4.unpack<span class="signature">(array, <span class="optional">startingIndex</span>, <span class="optional">result</span>)</span> &rarr; <span class="type-signature returnType"><a href="Matrix4.html">Matrix4</a></span>
  3725. <div class="source-link rightLinks">
  3726. <a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/1.29/Source/Core/Matrix4.js#L146">Core/Matrix4.js 146</a>
  3727. </div>
  3728. </h4>
  3729. </div>
  3730. </dt>
  3731. <dd>
  3732. <div class="description">
  3733. Retrieves an instance from a packed array.
  3734. </div>
  3735. <table class="params">
  3736. <thead>
  3737. <tr>
  3738. <th>Name</th>
  3739. <th>Type</th>
  3740. <th>Default</th>
  3741. <th class="last">Description</th>
  3742. </tr>
  3743. </thead>
  3744. <tbody>
  3745. <tr>
  3746. <td class="name"><code>array</code></td>
  3747. <td class="type">
  3748. <span class="param-type">Array.&lt;Number></span>
  3749. </td>
  3750. <td class="default">
  3751. </td>
  3752. <td class="description last">
  3753. The packed array.</td>
  3754. </tr>
  3755. <tr>
  3756. <td class="name"><code>startingIndex</code></td>
  3757. <td class="type">
  3758. <span class="param-type">Number</span>
  3759. </td>
  3760. <td class="default">
  3761. <code class="language-javascript">0</code>
  3762. </td>
  3763. <td class="description last">
  3764. <span class="optional">optional</span>
  3765. The starting index of the element to be unpacked.</td>
  3766. </tr>
  3767. <tr>
  3768. <td class="name"><code>result</code></td>
  3769. <td class="type">
  3770. <span class="param-type"><a href="Matrix4.html">Matrix4</a></span>
  3771. </td>
  3772. <td class="default">
  3773. </td>
  3774. <td class="description last">
  3775. <span class="optional">optional</span>
  3776. The object into which to store the result.</td>
  3777. </tr>
  3778. </tbody>
  3779. </table>
  3780. <h5>Returns:</h5>
  3781. <div class="param-desc">
  3782. The modified result parameter or a new Matrix4 instance if one was not provided.
  3783. </div>
  3784. <dl class="details">
  3785. </dl>
  3786. </dd>
  3787. </dl>
  3788. </article>
  3789. </section>
  3790. <footer>
  3791. Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a>
  3792. </footer>
  3793. </div>
  3794. <div class="nav">
  3795. <div class="menu">
  3796. <input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
  3797. <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>
  3798. </div>
  3799. </div>
  3800. <script>
  3801. if (window.frameElement) {
  3802. document.body.className = 'embedded';
  3803. var ele = document.createElement('a');
  3804. ele.className = 'popout';
  3805. ele.target = '_blank';
  3806. ele.href = window.location.href;
  3807. ele.title = 'Pop out';
  3808. document.getElementById('main').appendChild(ele);
  3809. }
  3810. // Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
  3811. Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
  3812. if (/^https?:/i.test(a.getAttribute('href'))) {
  3813. a.target='_blank';
  3814. }
  3815. });
  3816. </script>
  3817. <script src="javascript/prism.js"></script>
  3818. <script src="javascript/cesiumDoc.js"></script>
  3819. </body>
  3820. </html>