cdn.jsdelivr.net_npm_web-ifc@0.0.36_web-ifc-api.js 1.8 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951
  1. var __defProp = Object.defineProperty;
  2. var __getOwnPropSymbols = Object.getOwnPropertySymbols;
  3. var __hasOwnProp = Object.prototype.hasOwnProperty;
  4. var __propIsEnum = Object.prototype.propertyIsEnumerable;
  5. var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
  6. var __spreadValues = (a, b) => {
  7. for (var prop in b || (b = {}))
  8. if (__hasOwnProp.call(b, prop))
  9. __defNormalProp(a, prop, b[prop]);
  10. if (__getOwnPropSymbols)
  11. for (var prop of __getOwnPropSymbols(b)) {
  12. if (__propIsEnum.call(b, prop))
  13. __defNormalProp(a, prop, b[prop]);
  14. }
  15. return a;
  16. };
  17. var __require = (x) => {
  18. if (typeof require !== "undefined")
  19. return require(x);
  20. throw new Error('Dynamic require of "' + x + '" is not supported');
  21. };
  22. var __commonJS = (cb, mod) => function __require2() {
  23. return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
  24. };
  25. var __async = (__this, __arguments, generator) => {
  26. return new Promise((resolve, reject) => {
  27. var fulfilled = (value) => {
  28. try {
  29. step(generator.next(value));
  30. } catch (e) {
  31. reject(e);
  32. }
  33. };
  34. var rejected = (value) => {
  35. try {
  36. step(generator.throw(value));
  37. } catch (e) {
  38. reject(e);
  39. }
  40. };
  41. var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
  42. step((generator = generator.apply(__this, __arguments)).next());
  43. });
  44. };
  45. // (disabled):crypto
  46. var require_crypto = __commonJS({
  47. "(disabled):crypto"() {
  48. }
  49. });
  50. // dist/web-ifc-mt.js
  51. var require_web_ifc_mt = __commonJS({
  52. "dist/web-ifc-mt.js"(exports, module) {
  53. var WebIFCWasm2 = function() {
  54. var _scriptDir = typeof document !== "undefined" && document.currentScript ? document.currentScript.src : void 0;
  55. if (typeof __filename !== "undefined")
  56. _scriptDir = _scriptDir || __filename;
  57. return function(WebIFCWasm3) {
  58. WebIFCWasm3 = WebIFCWasm3 || {};
  59. function GROWABLE_HEAP_I8() {
  60. if (wasmMemory.buffer != buffer) {
  61. updateGlobalBufferAndViews(wasmMemory.buffer);
  62. }
  63. return HEAP8;
  64. }
  65. function GROWABLE_HEAP_U8() {
  66. if (wasmMemory.buffer != buffer) {
  67. updateGlobalBufferAndViews(wasmMemory.buffer);
  68. }
  69. return HEAPU8;
  70. }
  71. function GROWABLE_HEAP_I16() {
  72. if (wasmMemory.buffer != buffer) {
  73. updateGlobalBufferAndViews(wasmMemory.buffer);
  74. }
  75. return HEAP16;
  76. }
  77. function GROWABLE_HEAP_U16() {
  78. if (wasmMemory.buffer != buffer) {
  79. updateGlobalBufferAndViews(wasmMemory.buffer);
  80. }
  81. return HEAPU16;
  82. }
  83. function GROWABLE_HEAP_I32() {
  84. if (wasmMemory.buffer != buffer) {
  85. updateGlobalBufferAndViews(wasmMemory.buffer);
  86. }
  87. return HEAP32;
  88. }
  89. function GROWABLE_HEAP_U32() {
  90. if (wasmMemory.buffer != buffer) {
  91. updateGlobalBufferAndViews(wasmMemory.buffer);
  92. }
  93. return HEAPU32;
  94. }
  95. function GROWABLE_HEAP_F32() {
  96. if (wasmMemory.buffer != buffer) {
  97. updateGlobalBufferAndViews(wasmMemory.buffer);
  98. }
  99. return HEAPF32;
  100. }
  101. function GROWABLE_HEAP_F64() {
  102. if (wasmMemory.buffer != buffer) {
  103. updateGlobalBufferAndViews(wasmMemory.buffer);
  104. }
  105. return HEAPF64;
  106. }
  107. var Module = typeof WebIFCWasm3 !== "undefined" ? WebIFCWasm3 : {};
  108. var readyPromiseResolve, readyPromiseReject;
  109. Module["ready"] = new Promise(function(resolve, reject) {
  110. readyPromiseResolve = resolve;
  111. readyPromiseReject = reject;
  112. });
  113. var moduleOverrides = {};
  114. var key;
  115. for (key in Module) {
  116. if (Module.hasOwnProperty(key)) {
  117. moduleOverrides[key] = Module[key];
  118. }
  119. }
  120. var arguments_ = [];
  121. var thisProgram = "./this.program";
  122. var quit_ = function(status, toThrow) {
  123. throw toThrow;
  124. };
  125. var ENVIRONMENT_IS_WEB = typeof window === "object";
  126. var ENVIRONMENT_IS_WORKER = typeof importScripts === "function";
  127. var ENVIRONMENT_IS_NODE = typeof process === "object" && typeof process.versions === "object" && typeof process.versions.node === "string";
  128. var ENVIRONMENT_IS_PTHREAD = Module["ENVIRONMENT_IS_PTHREAD"] || false;
  129. var scriptDirectory = "";
  130. function locateFile(path) {
  131. if (Module["locateFile"]) {
  132. return Module["locateFile"](path, scriptDirectory);
  133. }
  134. return scriptDirectory + path;
  135. }
  136. var read_, readAsync, readBinary, setWindowTitle;
  137. var nodeFS;
  138. var nodePath;
  139. if (ENVIRONMENT_IS_NODE) {
  140. if (ENVIRONMENT_IS_WORKER) {
  141. scriptDirectory = __require("path").dirname(scriptDirectory) + "/";
  142. } else {
  143. scriptDirectory = __dirname + "/";
  144. }
  145. read_ = function shell_read(filename, binary) {
  146. if (!nodeFS)
  147. nodeFS = __require("fs");
  148. if (!nodePath)
  149. nodePath = __require("path");
  150. filename = nodePath["normalize"](filename);
  151. return nodeFS["readFileSync"](filename, binary ? null : "utf8");
  152. };
  153. readBinary = function readBinary2(filename) {
  154. var ret = read_(filename, true);
  155. if (!ret.buffer) {
  156. ret = new Uint8Array(ret);
  157. }
  158. assert(ret.buffer);
  159. return ret;
  160. };
  161. readAsync = function readAsync2(filename, onload, onerror) {
  162. if (!nodeFS)
  163. nodeFS = __require("fs");
  164. if (!nodePath)
  165. nodePath = __require("path");
  166. filename = nodePath["normalize"](filename);
  167. nodeFS["readFile"](filename, function(err2, data) {
  168. if (err2)
  169. onerror(err2);
  170. else
  171. onload(data.buffer);
  172. });
  173. };
  174. if (process["argv"].length > 1) {
  175. thisProgram = process["argv"][1].replace(/\\/g, "/");
  176. }
  177. arguments_ = process["argv"].slice(2);
  178. process["on"]("uncaughtException", function(ex) {
  179. if (!(ex instanceof ExitStatus)) {
  180. throw ex;
  181. }
  182. });
  183. process["on"]("unhandledRejection", abort);
  184. quit_ = function(status, toThrow) {
  185. if (keepRuntimeAlive()) {
  186. process["exitCode"] = status;
  187. throw toThrow;
  188. }
  189. process["exit"](status);
  190. };
  191. Module["inspect"] = function() {
  192. return "[Emscripten Module object]";
  193. };
  194. var nodeWorkerThreads;
  195. try {
  196. nodeWorkerThreads = __require("worker_threads");
  197. } catch (e) {
  198. console.error('The "worker_threads" module is not supported in this node.js build - perhaps a newer version is needed?');
  199. throw e;
  200. }
  201. global.Worker = nodeWorkerThreads.Worker;
  202. } else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
  203. if (ENVIRONMENT_IS_WORKER) {
  204. scriptDirectory = self.location.href;
  205. } else if (typeof document !== "undefined" && document.currentScript) {
  206. scriptDirectory = document.currentScript.src;
  207. }
  208. if (_scriptDir) {
  209. scriptDirectory = _scriptDir;
  210. }
  211. if (scriptDirectory.indexOf("blob:") !== 0) {
  212. scriptDirectory = scriptDirectory.substr(0, scriptDirectory.lastIndexOf("/") + 1);
  213. } else {
  214. scriptDirectory = "";
  215. }
  216. if (ENVIRONMENT_IS_NODE) {
  217. read_ = function shell_read(filename, binary) {
  218. if (!nodeFS)
  219. nodeFS = __require("fs");
  220. if (!nodePath)
  221. nodePath = __require("path");
  222. filename = nodePath["normalize"](filename);
  223. return nodeFS["readFileSync"](filename, binary ? null : "utf8");
  224. };
  225. readBinary = function readBinary2(filename) {
  226. var ret = read_(filename, true);
  227. if (!ret.buffer) {
  228. ret = new Uint8Array(ret);
  229. }
  230. assert(ret.buffer);
  231. return ret;
  232. };
  233. readAsync = function readAsync2(filename, onload, onerror) {
  234. if (!nodeFS)
  235. nodeFS = __require("fs");
  236. if (!nodePath)
  237. nodePath = __require("path");
  238. filename = nodePath["normalize"](filename);
  239. nodeFS["readFile"](filename, function(err2, data) {
  240. if (err2)
  241. onerror(err2);
  242. else
  243. onload(data.buffer);
  244. });
  245. };
  246. } else {
  247. read_ = function(url) {
  248. var xhr = new XMLHttpRequest();
  249. xhr.open("GET", url, false);
  250. xhr.send(null);
  251. return xhr.responseText;
  252. };
  253. if (ENVIRONMENT_IS_WORKER) {
  254. readBinary = function(url) {
  255. var xhr = new XMLHttpRequest();
  256. xhr.open("GET", url, false);
  257. xhr.responseType = "arraybuffer";
  258. xhr.send(null);
  259. return new Uint8Array(xhr.response);
  260. };
  261. }
  262. readAsync = function(url, onload, onerror) {
  263. var xhr = new XMLHttpRequest();
  264. xhr.open("GET", url, true);
  265. xhr.responseType = "arraybuffer";
  266. xhr.onload = function() {
  267. if (xhr.status == 200 || xhr.status == 0 && xhr.response) {
  268. onload(xhr.response);
  269. return;
  270. }
  271. onerror();
  272. };
  273. xhr.onerror = onerror;
  274. xhr.send(null);
  275. };
  276. }
  277. setWindowTitle = function(title) {
  278. document.title = title;
  279. };
  280. } else {
  281. }
  282. if (ENVIRONMENT_IS_NODE) {
  283. if (typeof performance === "undefined") {
  284. global.performance = __require("perf_hooks").performance;
  285. }
  286. }
  287. var out = Module["print"] || console.log.bind(console);
  288. var err = Module["printErr"] || console.warn.bind(console);
  289. for (key in moduleOverrides) {
  290. if (moduleOverrides.hasOwnProperty(key)) {
  291. Module[key] = moduleOverrides[key];
  292. }
  293. }
  294. moduleOverrides = null;
  295. if (Module["arguments"])
  296. arguments_ = Module["arguments"];
  297. if (Module["thisProgram"])
  298. thisProgram = Module["thisProgram"];
  299. if (Module["quit"])
  300. quit_ = Module["quit"];
  301. var STACK_ALIGN = 16;
  302. function alignMemory(size, factor) {
  303. if (!factor)
  304. factor = STACK_ALIGN;
  305. return Math.ceil(size / factor) * factor;
  306. }
  307. function warnOnce(text) {
  308. if (!warnOnce.shown)
  309. warnOnce.shown = {};
  310. if (!warnOnce.shown[text]) {
  311. warnOnce.shown[text] = 1;
  312. err(text);
  313. }
  314. }
  315. var tempRet0 = 0;
  316. var setTempRet0 = function(value) {
  317. tempRet0 = value;
  318. };
  319. var getTempRet0 = function() {
  320. return tempRet0;
  321. };
  322. var Atomics_load = Atomics.load;
  323. var Atomics_store = Atomics.store;
  324. var Atomics_compareExchange = Atomics.compareExchange;
  325. var wasmBinary;
  326. if (Module["wasmBinary"])
  327. wasmBinary = Module["wasmBinary"];
  328. var noExitRuntime = Module["noExitRuntime"] || true;
  329. if (typeof WebAssembly !== "object") {
  330. abort("no native wasm support detected");
  331. }
  332. var wasmMemory;
  333. var wasmModule;
  334. var ABORT = false;
  335. var EXITSTATUS;
  336. function assert(condition, text) {
  337. if (!condition) {
  338. abort("Assertion failed: " + text);
  339. }
  340. }
  341. function TextDecoderWrapper(encoding) {
  342. var textDecoder = new TextDecoder(encoding);
  343. this.decode = function(data) {
  344. if (data.buffer instanceof SharedArrayBuffer) {
  345. data = new Uint8Array(data);
  346. }
  347. return textDecoder.decode.call(textDecoder, data);
  348. };
  349. }
  350. var UTF8Decoder = typeof TextDecoder !== "undefined" ? new TextDecoderWrapper("utf8") : void 0;
  351. function UTF8ArrayToString(heap, idx, maxBytesToRead) {
  352. idx >>>= 0;
  353. var endIdx = idx + maxBytesToRead;
  354. var endPtr = idx;
  355. while (heap[endPtr >>> 0] && !(endPtr >= endIdx))
  356. ++endPtr;
  357. if (endPtr - idx > 16 && heap.subarray && UTF8Decoder) {
  358. return UTF8Decoder.decode(heap.subarray(idx >>> 0, endPtr >>> 0));
  359. } else {
  360. var str = "";
  361. while (idx < endPtr) {
  362. var u0 = heap[idx++ >>> 0];
  363. if (!(u0 & 128)) {
  364. str += String.fromCharCode(u0);
  365. continue;
  366. }
  367. var u1 = heap[idx++ >>> 0] & 63;
  368. if ((u0 & 224) == 192) {
  369. str += String.fromCharCode((u0 & 31) << 6 | u1);
  370. continue;
  371. }
  372. var u2 = heap[idx++ >>> 0] & 63;
  373. if ((u0 & 240) == 224) {
  374. u0 = (u0 & 15) << 12 | u1 << 6 | u2;
  375. } else {
  376. u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | heap[idx++ >>> 0] & 63;
  377. }
  378. if (u0 < 65536) {
  379. str += String.fromCharCode(u0);
  380. } else {
  381. var ch = u0 - 65536;
  382. str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023);
  383. }
  384. }
  385. }
  386. return str;
  387. }
  388. function UTF8ToString(ptr, maxBytesToRead) {
  389. ptr >>>= 0;
  390. return ptr ? UTF8ArrayToString(GROWABLE_HEAP_U8(), ptr, maxBytesToRead) : "";
  391. }
  392. function stringToUTF8Array(str, heap, outIdx, maxBytesToWrite) {
  393. outIdx >>>= 0;
  394. if (!(maxBytesToWrite > 0))
  395. return 0;
  396. var startIdx = outIdx;
  397. var endIdx = outIdx + maxBytesToWrite - 1;
  398. for (var i = 0; i < str.length; ++i) {
  399. var u = str.charCodeAt(i);
  400. if (u >= 55296 && u <= 57343) {
  401. var u1 = str.charCodeAt(++i);
  402. u = 65536 + ((u & 1023) << 10) | u1 & 1023;
  403. }
  404. if (u <= 127) {
  405. if (outIdx >= endIdx)
  406. break;
  407. heap[outIdx++ >>> 0] = u;
  408. } else if (u <= 2047) {
  409. if (outIdx + 1 >= endIdx)
  410. break;
  411. heap[outIdx++ >>> 0] = 192 | u >> 6;
  412. heap[outIdx++ >>> 0] = 128 | u & 63;
  413. } else if (u <= 65535) {
  414. if (outIdx + 2 >= endIdx)
  415. break;
  416. heap[outIdx++ >>> 0] = 224 | u >> 12;
  417. heap[outIdx++ >>> 0] = 128 | u >> 6 & 63;
  418. heap[outIdx++ >>> 0] = 128 | u & 63;
  419. } else {
  420. if (outIdx + 3 >= endIdx)
  421. break;
  422. heap[outIdx++ >>> 0] = 240 | u >> 18;
  423. heap[outIdx++ >>> 0] = 128 | u >> 12 & 63;
  424. heap[outIdx++ >>> 0] = 128 | u >> 6 & 63;
  425. heap[outIdx++ >>> 0] = 128 | u & 63;
  426. }
  427. }
  428. heap[outIdx >>> 0] = 0;
  429. return outIdx - startIdx;
  430. }
  431. function stringToUTF8(str, outPtr, maxBytesToWrite) {
  432. return stringToUTF8Array(str, GROWABLE_HEAP_U8(), outPtr, maxBytesToWrite);
  433. }
  434. function lengthBytesUTF8(str) {
  435. var len = 0;
  436. for (var i = 0; i < str.length; ++i) {
  437. var u = str.charCodeAt(i);
  438. if (u >= 55296 && u <= 57343)
  439. u = 65536 + ((u & 1023) << 10) | str.charCodeAt(++i) & 1023;
  440. if (u <= 127)
  441. ++len;
  442. else if (u <= 2047)
  443. len += 2;
  444. else if (u <= 65535)
  445. len += 3;
  446. else
  447. len += 4;
  448. }
  449. return len;
  450. }
  451. var UTF16Decoder = typeof TextDecoder !== "undefined" ? new TextDecoderWrapper("utf-16le") : void 0;
  452. function UTF16ToString(ptr, maxBytesToRead) {
  453. var endPtr = ptr;
  454. var idx = endPtr >> 1;
  455. var maxIdx = idx + maxBytesToRead / 2;
  456. while (!(idx >= maxIdx) && GROWABLE_HEAP_U16()[idx >>> 0])
  457. ++idx;
  458. endPtr = idx << 1;
  459. if (endPtr - ptr > 32 && UTF16Decoder) {
  460. return UTF16Decoder.decode(GROWABLE_HEAP_U8().subarray(ptr >>> 0, endPtr >>> 0));
  461. } else {
  462. var str = "";
  463. for (var i = 0; !(i >= maxBytesToRead / 2); ++i) {
  464. var codeUnit = GROWABLE_HEAP_I16()[ptr + i * 2 >>> 1];
  465. if (codeUnit == 0)
  466. break;
  467. str += String.fromCharCode(codeUnit);
  468. }
  469. return str;
  470. }
  471. }
  472. function stringToUTF16(str, outPtr, maxBytesToWrite) {
  473. if (maxBytesToWrite === void 0) {
  474. maxBytesToWrite = 2147483647;
  475. }
  476. if (maxBytesToWrite < 2)
  477. return 0;
  478. maxBytesToWrite -= 2;
  479. var startPtr = outPtr;
  480. var numCharsToWrite = maxBytesToWrite < str.length * 2 ? maxBytesToWrite / 2 : str.length;
  481. for (var i = 0; i < numCharsToWrite; ++i) {
  482. var codeUnit = str.charCodeAt(i);
  483. GROWABLE_HEAP_I16()[outPtr >>> 1] = codeUnit;
  484. outPtr += 2;
  485. }
  486. GROWABLE_HEAP_I16()[outPtr >>> 1] = 0;
  487. return outPtr - startPtr;
  488. }
  489. function lengthBytesUTF16(str) {
  490. return str.length * 2;
  491. }
  492. function UTF32ToString(ptr, maxBytesToRead) {
  493. var i = 0;
  494. var str = "";
  495. while (!(i >= maxBytesToRead / 4)) {
  496. var utf32 = GROWABLE_HEAP_I32()[ptr + i * 4 >>> 2];
  497. if (utf32 == 0)
  498. break;
  499. ++i;
  500. if (utf32 >= 65536) {
  501. var ch = utf32 - 65536;
  502. str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023);
  503. } else {
  504. str += String.fromCharCode(utf32);
  505. }
  506. }
  507. return str;
  508. }
  509. function stringToUTF32(str, outPtr, maxBytesToWrite) {
  510. outPtr >>>= 0;
  511. if (maxBytesToWrite === void 0) {
  512. maxBytesToWrite = 2147483647;
  513. }
  514. if (maxBytesToWrite < 4)
  515. return 0;
  516. var startPtr = outPtr;
  517. var endPtr = startPtr + maxBytesToWrite - 4;
  518. for (var i = 0; i < str.length; ++i) {
  519. var codeUnit = str.charCodeAt(i);
  520. if (codeUnit >= 55296 && codeUnit <= 57343) {
  521. var trailSurrogate = str.charCodeAt(++i);
  522. codeUnit = 65536 + ((codeUnit & 1023) << 10) | trailSurrogate & 1023;
  523. }
  524. GROWABLE_HEAP_I32()[outPtr >>> 2] = codeUnit;
  525. outPtr += 4;
  526. if (outPtr + 4 > endPtr)
  527. break;
  528. }
  529. GROWABLE_HEAP_I32()[outPtr >>> 2] = 0;
  530. return outPtr - startPtr;
  531. }
  532. function lengthBytesUTF32(str) {
  533. var len = 0;
  534. for (var i = 0; i < str.length; ++i) {
  535. var codeUnit = str.charCodeAt(i);
  536. if (codeUnit >= 55296 && codeUnit <= 57343)
  537. ++i;
  538. len += 4;
  539. }
  540. return len;
  541. }
  542. function writeArrayToMemory(array, buffer2) {
  543. GROWABLE_HEAP_I8().set(array, buffer2 >>> 0);
  544. }
  545. function writeAsciiToMemory(str, buffer2, dontAddNull) {
  546. for (var i = 0; i < str.length; ++i) {
  547. GROWABLE_HEAP_I8()[buffer2++ >>> 0] = str.charCodeAt(i);
  548. }
  549. if (!dontAddNull)
  550. GROWABLE_HEAP_I8()[buffer2 >>> 0] = 0;
  551. }
  552. function alignUp(x, multiple) {
  553. if (x % multiple > 0) {
  554. x += multiple - x % multiple;
  555. }
  556. return x;
  557. }
  558. var buffer, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64;
  559. if (ENVIRONMENT_IS_PTHREAD) {
  560. buffer = Module["buffer"];
  561. }
  562. function updateGlobalBufferAndViews(buf) {
  563. buffer = buf;
  564. Module["HEAP8"] = HEAP8 = new Int8Array(buf);
  565. Module["HEAP16"] = HEAP16 = new Int16Array(buf);
  566. Module["HEAP32"] = HEAP32 = new Int32Array(buf);
  567. Module["HEAPU8"] = HEAPU8 = new Uint8Array(buf);
  568. Module["HEAPU16"] = HEAPU16 = new Uint16Array(buf);
  569. Module["HEAPU32"] = HEAPU32 = new Uint32Array(buf);
  570. Module["HEAPF32"] = HEAPF32 = new Float32Array(buf);
  571. Module["HEAPF64"] = HEAPF64 = new Float64Array(buf);
  572. }
  573. var INITIAL_MEMORY = Module["INITIAL_MEMORY"] || 16777216;
  574. if (ENVIRONMENT_IS_PTHREAD) {
  575. wasmMemory = Module["wasmMemory"];
  576. buffer = Module["buffer"];
  577. } else {
  578. if (Module["wasmMemory"]) {
  579. wasmMemory = Module["wasmMemory"];
  580. } else {
  581. wasmMemory = new WebAssembly.Memory({ "initial": INITIAL_MEMORY / 65536, "maximum": 4294967296 / 65536, "shared": true });
  582. if (!(wasmMemory.buffer instanceof SharedArrayBuffer)) {
  583. err("requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag");
  584. if (ENVIRONMENT_IS_NODE) {
  585. console.log("(on node you may need: --experimental-wasm-threads --experimental-wasm-bulk-memory and also use a recent version)");
  586. }
  587. throw Error("bad memory");
  588. }
  589. }
  590. }
  591. if (wasmMemory) {
  592. buffer = wasmMemory.buffer;
  593. }
  594. INITIAL_MEMORY = buffer.byteLength;
  595. updateGlobalBufferAndViews(buffer);
  596. var wasmTable;
  597. var __ATPRERUN__ = [];
  598. var __ATINIT__ = [];
  599. var __ATMAIN__ = [];
  600. var __ATEXIT__ = [];
  601. var __ATPOSTRUN__ = [];
  602. var runtimeInitialized = false;
  603. var runtimeExited = false;
  604. var runtimeKeepaliveCounter = 0;
  605. function keepRuntimeAlive() {
  606. return noExitRuntime || runtimeKeepaliveCounter > 0;
  607. }
  608. function preRun() {
  609. if (ENVIRONMENT_IS_PTHREAD)
  610. return;
  611. if (Module["preRun"]) {
  612. if (typeof Module["preRun"] == "function")
  613. Module["preRun"] = [Module["preRun"]];
  614. while (Module["preRun"].length) {
  615. addOnPreRun(Module["preRun"].shift());
  616. }
  617. }
  618. callRuntimeCallbacks(__ATPRERUN__);
  619. }
  620. function initRuntime() {
  621. runtimeInitialized = true;
  622. if (ENVIRONMENT_IS_PTHREAD)
  623. return;
  624. if (!Module["noFSInit"] && !FS.init.initialized)
  625. FS.init();
  626. FS.ignorePermissions = false;
  627. TTY.init();
  628. callRuntimeCallbacks(__ATINIT__);
  629. }
  630. function preMain() {
  631. if (ENVIRONMENT_IS_PTHREAD)
  632. return;
  633. callRuntimeCallbacks(__ATMAIN__);
  634. }
  635. function exitRuntime() {
  636. if (ENVIRONMENT_IS_PTHREAD)
  637. return;
  638. runtimeExited = true;
  639. }
  640. function postRun() {
  641. if (ENVIRONMENT_IS_PTHREAD)
  642. return;
  643. if (Module["postRun"]) {
  644. if (typeof Module["postRun"] == "function")
  645. Module["postRun"] = [Module["postRun"]];
  646. while (Module["postRun"].length) {
  647. addOnPostRun(Module["postRun"].shift());
  648. }
  649. }
  650. callRuntimeCallbacks(__ATPOSTRUN__);
  651. }
  652. function addOnPreRun(cb) {
  653. __ATPRERUN__.unshift(cb);
  654. }
  655. function addOnInit(cb) {
  656. __ATINIT__.unshift(cb);
  657. }
  658. function addOnPostRun(cb) {
  659. __ATPOSTRUN__.unshift(cb);
  660. }
  661. var runDependencies = 0;
  662. var runDependencyWatcher = null;
  663. var dependenciesFulfilled = null;
  664. function getUniqueRunDependency(id) {
  665. return id;
  666. }
  667. function addRunDependency(id) {
  668. runDependencies++;
  669. if (Module["monitorRunDependencies"]) {
  670. Module["monitorRunDependencies"](runDependencies);
  671. }
  672. }
  673. function removeRunDependency(id) {
  674. runDependencies--;
  675. if (Module["monitorRunDependencies"]) {
  676. Module["monitorRunDependencies"](runDependencies);
  677. }
  678. if (runDependencies == 0) {
  679. if (runDependencyWatcher !== null) {
  680. clearInterval(runDependencyWatcher);
  681. runDependencyWatcher = null;
  682. }
  683. if (dependenciesFulfilled) {
  684. var callback = dependenciesFulfilled;
  685. dependenciesFulfilled = null;
  686. callback();
  687. }
  688. }
  689. }
  690. Module["preloadedImages"] = {};
  691. Module["preloadedAudios"] = {};
  692. function abort(what) {
  693. if (Module["onAbort"]) {
  694. Module["onAbort"](what);
  695. }
  696. if (ENVIRONMENT_IS_PTHREAD)
  697. console.error("Pthread aborting at " + new Error().stack);
  698. what += "";
  699. err(what);
  700. ABORT = true;
  701. EXITSTATUS = 1;
  702. what = "abort(" + what + "). Build with -s ASSERTIONS=1 for more info.";
  703. var e = new WebAssembly.RuntimeError(what);
  704. readyPromiseReject(e);
  705. throw e;
  706. }
  707. var dataURIPrefix = "data:application/octet-stream;base64,";
  708. function isDataURI(filename) {
  709. return filename.startsWith(dataURIPrefix);
  710. }
  711. function isFileURI(filename) {
  712. return filename.startsWith("file://");
  713. }
  714. var wasmBinaryFile;
  715. wasmBinaryFile = "web-ifc-mt.wasm";
  716. if (!isDataURI(wasmBinaryFile)) {
  717. wasmBinaryFile = locateFile(wasmBinaryFile);
  718. }
  719. function getBinary(file) {
  720. try {
  721. if (file == wasmBinaryFile && wasmBinary) {
  722. return new Uint8Array(wasmBinary);
  723. }
  724. if (readBinary) {
  725. return readBinary(file);
  726. } else {
  727. throw "both async and sync fetching of the wasm failed";
  728. }
  729. } catch (err2) {
  730. abort(err2);
  731. }
  732. }
  733. function getBinaryPromise() {
  734. if (!wasmBinary && (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER)) {
  735. if (typeof fetch === "function" && !isFileURI(wasmBinaryFile)) {
  736. return fetch(wasmBinaryFile, { credentials: "same-origin" }).then(function(response) {
  737. if (!response["ok"]) {
  738. throw "failed to load wasm binary file at '" + wasmBinaryFile + "'";
  739. }
  740. return response["arrayBuffer"]();
  741. }).catch(function() {
  742. return getBinary(wasmBinaryFile);
  743. });
  744. } else {
  745. if (readAsync) {
  746. return new Promise(function(resolve, reject) {
  747. readAsync(wasmBinaryFile, function(response) {
  748. resolve(new Uint8Array(response));
  749. }, reject);
  750. });
  751. }
  752. }
  753. }
  754. return Promise.resolve().then(function() {
  755. return getBinary(wasmBinaryFile);
  756. });
  757. }
  758. function createWasm() {
  759. var info = { "a": asmLibraryArg };
  760. function receiveInstance(instance, module2) {
  761. var exports3 = instance.exports;
  762. Module["asm"] = exports3;
  763. wasmTable = Module["asm"]["db"];
  764. addOnInit(Module["asm"]["ab"]);
  765. PThread.tlsInitFunctions.push(Module["asm"]["fb"]);
  766. wasmModule = module2;
  767. if (!ENVIRONMENT_IS_PTHREAD) {
  768. var numWorkersToLoad = PThread.unusedWorkers.length;
  769. PThread.unusedWorkers.forEach(function(w) {
  770. PThread.loadWasmModuleToWorker(w, function() {
  771. if (!--numWorkersToLoad)
  772. removeRunDependency("wasm-instantiate");
  773. });
  774. });
  775. }
  776. }
  777. if (!ENVIRONMENT_IS_PTHREAD) {
  778. addRunDependency("wasm-instantiate");
  779. }
  780. function receiveInstantiationResult(result) {
  781. receiveInstance(result["instance"], result["module"]);
  782. }
  783. function instantiateArrayBuffer(receiver) {
  784. return getBinaryPromise().then(function(binary) {
  785. var result = WebAssembly.instantiate(binary, info);
  786. return result;
  787. }).then(receiver, function(reason) {
  788. err("failed to asynchronously prepare wasm: " + reason);
  789. abort(reason);
  790. });
  791. }
  792. function instantiateAsync() {
  793. if (!wasmBinary && typeof WebAssembly.instantiateStreaming === "function" && !isDataURI(wasmBinaryFile) && !isFileURI(wasmBinaryFile) && typeof fetch === "function") {
  794. return fetch(wasmBinaryFile, { credentials: "same-origin" }).then(function(response) {
  795. var result = WebAssembly.instantiateStreaming(response, info);
  796. return result.then(receiveInstantiationResult, function(reason) {
  797. err("wasm streaming compile failed: " + reason);
  798. err("falling back to ArrayBuffer instantiation");
  799. return instantiateArrayBuffer(receiveInstantiationResult);
  800. });
  801. });
  802. } else {
  803. return instantiateArrayBuffer(receiveInstantiationResult);
  804. }
  805. }
  806. if (Module["instantiateWasm"]) {
  807. try {
  808. var exports2 = Module["instantiateWasm"](info, receiveInstance);
  809. return exports2;
  810. } catch (e) {
  811. err("Module.instantiateWasm callback failed with error: " + e);
  812. return false;
  813. }
  814. }
  815. instantiateAsync().catch(readyPromiseReject);
  816. return {};
  817. }
  818. var tempDouble;
  819. var tempI64;
  820. var ASM_CONSTS = { 56684: function() {
  821. throw "Canceled!";
  822. }, 56702: function($0, $1) {
  823. setTimeout(function() {
  824. __emscripten_do_dispatch_to_thread($0, $1);
  825. }, 0);
  826. } };
  827. function initPthreadsJS() {
  828. PThread.initRuntime();
  829. }
  830. function callRuntimeCallbacks(callbacks) {
  831. while (callbacks.length > 0) {
  832. var callback = callbacks.shift();
  833. if (typeof callback == "function") {
  834. callback(Module);
  835. continue;
  836. }
  837. var func = callback.func;
  838. if (typeof func === "number") {
  839. if (callback.arg === void 0) {
  840. wasmTable.get(func)();
  841. } else {
  842. wasmTable.get(func)(callback.arg);
  843. }
  844. } else {
  845. func(callback.arg === void 0 ? null : callback.arg);
  846. }
  847. }
  848. }
  849. function _emscripten_futex_wake(addr, count) {
  850. if (addr <= 0 || addr > GROWABLE_HEAP_I8().length || addr & true || count < 0)
  851. return -28;
  852. if (count == 0)
  853. return 0;
  854. if (count >= 2147483647)
  855. count = Infinity;
  856. var mainThreadWaitAddress = Atomics.load(GROWABLE_HEAP_I32(), __emscripten_main_thread_futex >> 2);
  857. var mainThreadWoken = 0;
  858. if (mainThreadWaitAddress == addr) {
  859. var loadedAddr = Atomics.compareExchange(GROWABLE_HEAP_I32(), __emscripten_main_thread_futex >> 2, mainThreadWaitAddress, 0);
  860. if (loadedAddr == mainThreadWaitAddress) {
  861. --count;
  862. mainThreadWoken = 1;
  863. if (count <= 0)
  864. return 1;
  865. }
  866. }
  867. var ret = Atomics.notify(GROWABLE_HEAP_I32(), addr >> 2, count);
  868. if (ret >= 0)
  869. return ret + mainThreadWoken;
  870. throw "Atomics.notify returned an unexpected value " + ret;
  871. }
  872. Module["_emscripten_futex_wake"] = _emscripten_futex_wake;
  873. function killThread(pthread_ptr) {
  874. if (ENVIRONMENT_IS_PTHREAD)
  875. throw "Internal Error! killThread() can only ever be called from main application thread!";
  876. if (!pthread_ptr)
  877. throw "Internal Error! Null pthread_ptr in killThread!";
  878. GROWABLE_HEAP_I32()[pthread_ptr + 12 >>> 2] = 0;
  879. var pthread = PThread.pthreads[pthread_ptr];
  880. pthread.worker.terminate();
  881. PThread.freeThreadData(pthread);
  882. PThread.runningWorkers.splice(PThread.runningWorkers.indexOf(pthread.worker), 1);
  883. pthread.worker.pthread = void 0;
  884. }
  885. function cancelThread(pthread_ptr) {
  886. if (ENVIRONMENT_IS_PTHREAD)
  887. throw "Internal Error! cancelThread() can only ever be called from main application thread!";
  888. if (!pthread_ptr)
  889. throw "Internal Error! Null pthread_ptr in cancelThread!";
  890. var pthread = PThread.pthreads[pthread_ptr];
  891. pthread.worker.postMessage({ "cmd": "cancel" });
  892. }
  893. function cleanupThread(pthread_ptr) {
  894. if (ENVIRONMENT_IS_PTHREAD)
  895. throw "Internal Error! cleanupThread() can only ever be called from main application thread!";
  896. if (!pthread_ptr)
  897. throw "Internal Error! Null pthread_ptr in cleanupThread!";
  898. var pthread = PThread.pthreads[pthread_ptr];
  899. if (pthread) {
  900. GROWABLE_HEAP_I32()[pthread_ptr + 12 >>> 2] = 0;
  901. var worker = pthread.worker;
  902. PThread.returnWorkerToPool(worker);
  903. }
  904. }
  905. var PThread = { unusedWorkers: [], runningWorkers: [], tlsInitFunctions: [], initMainThreadBlock: function() {
  906. var pthreadPoolSize = navigator.hardwareConcurrency;
  907. for (var i = 0; i < pthreadPoolSize; ++i) {
  908. PThread.allocateUnusedWorker();
  909. }
  910. }, initRuntime: function() {
  911. var tb = _malloc(228);
  912. for (var i = 0; i < 228 / 4; ++i)
  913. GROWABLE_HEAP_U32()[tb / 4 + i >>> 0] = 0;
  914. GROWABLE_HEAP_I32()[tb + 12 >>> 2] = tb;
  915. var headPtr = tb + 152;
  916. GROWABLE_HEAP_I32()[headPtr >>> 2] = headPtr;
  917. var tlsMemory = _malloc(512);
  918. for (var i = 0; i < 128; ++i)
  919. GROWABLE_HEAP_U32()[tlsMemory / 4 + i >>> 0] = 0;
  920. Atomics.store(GROWABLE_HEAP_U32(), tb + 100 >> 2, tlsMemory);
  921. Atomics.store(GROWABLE_HEAP_U32(), tb + 40 >> 2, tb);
  922. __emscripten_thread_init(tb, !ENVIRONMENT_IS_WORKER, 1);
  923. _emscripten_register_main_browser_thread_id(tb);
  924. }, initWorker: function() {
  925. }, pthreads: {}, threadExitHandlers: [], runExitHandlers: function() {
  926. while (PThread.threadExitHandlers.length > 0) {
  927. PThread.threadExitHandlers.pop()();
  928. }
  929. ___pthread_tsd_run_dtors();
  930. }, runExitHandlersAndDeinitThread: function(tb, exitCode) {
  931. Atomics.store(GROWABLE_HEAP_U32(), tb + 56 >> 2, 1);
  932. Atomics.store(GROWABLE_HEAP_U32(), tb + 60 >> 2, 0);
  933. PThread.runExitHandlers();
  934. Atomics.store(GROWABLE_HEAP_U32(), tb + 4 >> 2, exitCode);
  935. Atomics.store(GROWABLE_HEAP_U32(), tb + 0 >> 2, 1);
  936. _emscripten_futex_wake(tb + 0, 2147483647);
  937. __emscripten_thread_init(0, 0, 0);
  938. }, setExitStatus: function(status) {
  939. EXITSTATUS = status;
  940. }, threadExit: function(exitCode) {
  941. var tb = _pthread_self();
  942. if (tb) {
  943. PThread.runExitHandlersAndDeinitThread(tb, exitCode);
  944. if (ENVIRONMENT_IS_PTHREAD) {
  945. postMessage({ "cmd": "exit" });
  946. }
  947. }
  948. }, threadCancel: function() {
  949. PThread.runExitHandlersAndDeinitThread(_pthread_self(), -1);
  950. postMessage({ "cmd": "cancelDone" });
  951. }, terminateAllThreads: function() {
  952. for (var t in PThread.pthreads) {
  953. var pthread = PThread.pthreads[t];
  954. if (pthread && pthread.worker) {
  955. PThread.returnWorkerToPool(pthread.worker);
  956. }
  957. }
  958. PThread.pthreads = {};
  959. for (var i = 0; i < PThread.unusedWorkers.length; ++i) {
  960. var worker = PThread.unusedWorkers[i];
  961. worker.terminate();
  962. }
  963. PThread.unusedWorkers = [];
  964. for (var i = 0; i < PThread.runningWorkers.length; ++i) {
  965. var worker = PThread.runningWorkers[i];
  966. var pthread = worker.pthread;
  967. PThread.freeThreadData(pthread);
  968. worker.terminate();
  969. }
  970. PThread.runningWorkers = [];
  971. }, freeThreadData: function(pthread) {
  972. if (!pthread)
  973. return;
  974. if (pthread.threadInfoStruct) {
  975. var tlsMemory = GROWABLE_HEAP_I32()[pthread.threadInfoStruct + 100 >>> 2];
  976. GROWABLE_HEAP_I32()[pthread.threadInfoStruct + 100 >>> 2] = 0;
  977. _free(tlsMemory);
  978. _free(pthread.threadInfoStruct);
  979. }
  980. pthread.threadInfoStruct = 0;
  981. if (pthread.allocatedOwnStack && pthread.stackBase)
  982. _free(pthread.stackBase);
  983. pthread.stackBase = 0;
  984. if (pthread.worker)
  985. pthread.worker.pthread = null;
  986. }, returnWorkerToPool: function(worker) {
  987. PThread.runWithoutMainThreadQueuedCalls(function() {
  988. delete PThread.pthreads[worker.pthread.threadInfoStruct];
  989. PThread.unusedWorkers.push(worker);
  990. PThread.runningWorkers.splice(PThread.runningWorkers.indexOf(worker), 1);
  991. PThread.freeThreadData(worker.pthread);
  992. worker.pthread = void 0;
  993. });
  994. }, runWithoutMainThreadQueuedCalls: function(func) {
  995. GROWABLE_HEAP_I32()[__emscripten_allow_main_runtime_queued_calls >>> 2] = 0;
  996. try {
  997. func();
  998. } finally {
  999. GROWABLE_HEAP_I32()[__emscripten_allow_main_runtime_queued_calls >>> 2] = 1;
  1000. }
  1001. }, receiveObjectTransfer: function(data) {
  1002. }, threadInit: function() {
  1003. for (var i in PThread.tlsInitFunctions) {
  1004. PThread.tlsInitFunctions[i]();
  1005. }
  1006. }, loadWasmModuleToWorker: function(worker, onFinishedLoading) {
  1007. worker.onmessage = function(e) {
  1008. var d = e["data"];
  1009. var cmd = d["cmd"];
  1010. if (worker.pthread)
  1011. PThread.currentProxiedOperationCallerThread = worker.pthread.threadInfoStruct;
  1012. if (d["targetThread"] && d["targetThread"] != _pthread_self()) {
  1013. var thread = PThread.pthreads[d.targetThread];
  1014. if (thread) {
  1015. thread.worker.postMessage(e.data, d["transferList"]);
  1016. } else {
  1017. console.error('Internal error! Worker sent a message "' + cmd + '" to target pthread ' + d["targetThread"] + ", but that thread no longer exists!");
  1018. }
  1019. PThread.currentProxiedOperationCallerThread = void 0;
  1020. return;
  1021. }
  1022. if (cmd === "processQueuedMainThreadWork") {
  1023. _emscripten_main_thread_process_queued_calls();
  1024. } else if (cmd === "spawnThread") {
  1025. spawnThread(e.data);
  1026. } else if (cmd === "cleanupThread") {
  1027. cleanupThread(d["thread"]);
  1028. } else if (cmd === "killThread") {
  1029. killThread(d["thread"]);
  1030. } else if (cmd === "cancelThread") {
  1031. cancelThread(d["thread"]);
  1032. } else if (cmd === "loaded") {
  1033. worker.loaded = true;
  1034. if (onFinishedLoading)
  1035. onFinishedLoading(worker);
  1036. if (worker.runPthread) {
  1037. worker.runPthread();
  1038. delete worker.runPthread;
  1039. }
  1040. } else if (cmd === "print") {
  1041. out("Thread " + d["threadId"] + ": " + d["text"]);
  1042. } else if (cmd === "printErr") {
  1043. err("Thread " + d["threadId"] + ": " + d["text"]);
  1044. } else if (cmd === "alert") {
  1045. alert("Thread " + d["threadId"] + ": " + d["text"]);
  1046. } else if (cmd === "exit") {
  1047. var detached = worker.pthread && Atomics.load(GROWABLE_HEAP_U32(), worker.pthread.threadInfoStruct + 64 >> 2);
  1048. if (detached) {
  1049. PThread.returnWorkerToPool(worker);
  1050. }
  1051. } else if (cmd === "exitProcess") {
  1052. try {
  1053. exit(d["returnCode"]);
  1054. } catch (e2) {
  1055. if (e2 instanceof ExitStatus)
  1056. return;
  1057. throw e2;
  1058. }
  1059. } else if (cmd === "cancelDone") {
  1060. PThread.returnWorkerToPool(worker);
  1061. } else if (cmd === "objectTransfer") {
  1062. PThread.receiveObjectTransfer(e.data);
  1063. } else if (e.data.target === "setimmediate") {
  1064. worker.postMessage(e.data);
  1065. } else {
  1066. err("worker sent an unknown command " + cmd);
  1067. }
  1068. PThread.currentProxiedOperationCallerThread = void 0;
  1069. };
  1070. worker.onerror = function(e) {
  1071. err("pthread sent an error! " + e.filename + ":" + e.lineno + ": " + e.message);
  1072. };
  1073. if (ENVIRONMENT_IS_NODE) {
  1074. worker.on("message", function(data) {
  1075. worker.onmessage({ data });
  1076. });
  1077. worker.on("error", function(data) {
  1078. worker.onerror(data);
  1079. });
  1080. worker.on("exit", function(data) {
  1081. });
  1082. }
  1083. worker.postMessage({ "cmd": "load", "urlOrBlob": Module["mainScriptUrlOrBlob"] || _scriptDir, "wasmMemory": wasmMemory, "wasmModule": wasmModule });
  1084. }, allocateUnusedWorker: function() {
  1085. var pthreadMainJs = locateFile("web-ifc-mt.worker.js");
  1086. PThread.unusedWorkers.push(new Worker(pthreadMainJs));
  1087. }, getNewWorker: function() {
  1088. if (PThread.unusedWorkers.length == 0) {
  1089. PThread.allocateUnusedWorker();
  1090. PThread.loadWasmModuleToWorker(PThread.unusedWorkers[0]);
  1091. }
  1092. return PThread.unusedWorkers.pop();
  1093. }, busySpinWait: function(msecs) {
  1094. var t = performance.now() + msecs;
  1095. while (performance.now() < t) {
  1096. }
  1097. } };
  1098. function establishStackSpace(stackTop, stackMax) {
  1099. _emscripten_stack_set_limits(stackTop, stackMax);
  1100. stackRestore(stackTop);
  1101. }
  1102. Module["establishStackSpace"] = establishStackSpace;
  1103. function invokeEntryPoint(ptr, arg) {
  1104. return wasmTable.get(ptr)(arg);
  1105. }
  1106. Module["invokeEntryPoint"] = invokeEntryPoint;
  1107. function ___assert_fail(condition, filename, line, func) {
  1108. abort("Assertion failed: " + UTF8ToString(condition) + ", at: " + [filename ? UTF8ToString(filename) : "unknown filename", line, func ? UTF8ToString(func) : "unknown function"]);
  1109. }
  1110. var _emscripten_get_now;
  1111. if (ENVIRONMENT_IS_NODE) {
  1112. _emscripten_get_now = function() {
  1113. var t = process["hrtime"]();
  1114. return t[0] * 1e3 + t[1] / 1e6;
  1115. };
  1116. } else if (ENVIRONMENT_IS_PTHREAD) {
  1117. _emscripten_get_now = function() {
  1118. return performance.now() - Module["__performance_now_clock_drift"];
  1119. };
  1120. } else
  1121. _emscripten_get_now = function() {
  1122. return performance.now();
  1123. };
  1124. var _emscripten_get_now_is_monotonic = true;
  1125. function setErrNo(value) {
  1126. GROWABLE_HEAP_I32()[___errno_location() >>> 2] = value;
  1127. return value;
  1128. }
  1129. function _clock_gettime(clk_id, tp) {
  1130. var now;
  1131. if (clk_id === 0) {
  1132. now = Date.now();
  1133. } else if ((clk_id === 1 || clk_id === 4) && _emscripten_get_now_is_monotonic) {
  1134. now = _emscripten_get_now();
  1135. } else {
  1136. setErrNo(28);
  1137. return -1;
  1138. }
  1139. GROWABLE_HEAP_I32()[tp >>> 2] = now / 1e3 | 0;
  1140. GROWABLE_HEAP_I32()[tp + 4 >>> 2] = now % 1e3 * 1e3 * 1e3 | 0;
  1141. return 0;
  1142. }
  1143. function ___cxa_allocate_exception(size) {
  1144. return _malloc(size + 16) + 16;
  1145. }
  1146. function _atexit(func, arg) {
  1147. if (ENVIRONMENT_IS_PTHREAD)
  1148. return _emscripten_proxy_to_main_thread_js(1, 1, func, arg);
  1149. }
  1150. function ExceptionInfo(excPtr) {
  1151. this.excPtr = excPtr;
  1152. this.ptr = excPtr - 16;
  1153. this.set_type = function(type) {
  1154. GROWABLE_HEAP_I32()[this.ptr + 4 >>> 2] = type;
  1155. };
  1156. this.get_type = function() {
  1157. return GROWABLE_HEAP_I32()[this.ptr + 4 >>> 2];
  1158. };
  1159. this.set_destructor = function(destructor) {
  1160. GROWABLE_HEAP_I32()[this.ptr + 8 >>> 2] = destructor;
  1161. };
  1162. this.get_destructor = function() {
  1163. return GROWABLE_HEAP_I32()[this.ptr + 8 >>> 2];
  1164. };
  1165. this.set_refcount = function(refcount) {
  1166. GROWABLE_HEAP_I32()[this.ptr >>> 2] = refcount;
  1167. };
  1168. this.set_caught = function(caught) {
  1169. caught = caught ? 1 : 0;
  1170. GROWABLE_HEAP_I8()[this.ptr + 12 >>> 0] = caught;
  1171. };
  1172. this.get_caught = function() {
  1173. return GROWABLE_HEAP_I8()[this.ptr + 12 >>> 0] != 0;
  1174. };
  1175. this.set_rethrown = function(rethrown) {
  1176. rethrown = rethrown ? 1 : 0;
  1177. GROWABLE_HEAP_I8()[this.ptr + 13 >>> 0] = rethrown;
  1178. };
  1179. this.get_rethrown = function() {
  1180. return GROWABLE_HEAP_I8()[this.ptr + 13 >>> 0] != 0;
  1181. };
  1182. this.init = function(type, destructor) {
  1183. this.set_type(type);
  1184. this.set_destructor(destructor);
  1185. this.set_refcount(0);
  1186. this.set_caught(false);
  1187. this.set_rethrown(false);
  1188. };
  1189. this.add_ref = function() {
  1190. Atomics.add(GROWABLE_HEAP_I32(), this.ptr + 0 >> 2, 1);
  1191. };
  1192. this.release_ref = function() {
  1193. var prev = Atomics.sub(GROWABLE_HEAP_I32(), this.ptr + 0 >> 2, 1);
  1194. return prev === 1;
  1195. };
  1196. }
  1197. function CatchInfo(ptr) {
  1198. this.free = function() {
  1199. _free(this.ptr);
  1200. this.ptr = 0;
  1201. };
  1202. this.set_base_ptr = function(basePtr) {
  1203. GROWABLE_HEAP_I32()[this.ptr >>> 2] = basePtr;
  1204. };
  1205. this.get_base_ptr = function() {
  1206. return GROWABLE_HEAP_I32()[this.ptr >>> 2];
  1207. };
  1208. this.set_adjusted_ptr = function(adjustedPtr) {
  1209. GROWABLE_HEAP_I32()[this.ptr + 4 >>> 2] = adjustedPtr;
  1210. };
  1211. this.get_adjusted_ptr_addr = function() {
  1212. return this.ptr + 4;
  1213. };
  1214. this.get_adjusted_ptr = function() {
  1215. return GROWABLE_HEAP_I32()[this.ptr + 4 >>> 2];
  1216. };
  1217. this.get_exception_ptr = function() {
  1218. var isPointer = ___cxa_is_pointer_type(this.get_exception_info().get_type());
  1219. if (isPointer) {
  1220. return GROWABLE_HEAP_I32()[this.get_base_ptr() >>> 2];
  1221. }
  1222. var adjusted = this.get_adjusted_ptr();
  1223. if (adjusted !== 0)
  1224. return adjusted;
  1225. return this.get_base_ptr();
  1226. };
  1227. this.get_exception_info = function() {
  1228. return new ExceptionInfo(this.get_base_ptr());
  1229. };
  1230. if (ptr === void 0) {
  1231. this.ptr = _malloc(8);
  1232. this.set_adjusted_ptr(0);
  1233. } else {
  1234. this.ptr = ptr;
  1235. }
  1236. }
  1237. var exceptionCaught = [];
  1238. function exception_addRef(info) {
  1239. info.add_ref();
  1240. }
  1241. var uncaughtExceptionCount = 0;
  1242. function ___cxa_begin_catch(ptr) {
  1243. var catchInfo = new CatchInfo(ptr);
  1244. var info = catchInfo.get_exception_info();
  1245. if (!info.get_caught()) {
  1246. info.set_caught(true);
  1247. uncaughtExceptionCount--;
  1248. }
  1249. info.set_rethrown(false);
  1250. exceptionCaught.push(catchInfo);
  1251. exception_addRef(info);
  1252. return catchInfo.get_exception_ptr();
  1253. }
  1254. var exceptionLast = 0;
  1255. function ___cxa_free_exception(ptr) {
  1256. return _free(new ExceptionInfo(ptr).ptr);
  1257. }
  1258. function exception_decRef(info) {
  1259. if (info.release_ref() && !info.get_rethrown()) {
  1260. var destructor = info.get_destructor();
  1261. if (destructor) {
  1262. wasmTable.get(destructor)(info.excPtr);
  1263. }
  1264. ___cxa_free_exception(info.excPtr);
  1265. }
  1266. }
  1267. function ___cxa_end_catch() {
  1268. _setThrew(0);
  1269. var catchInfo = exceptionCaught.pop();
  1270. exception_decRef(catchInfo.get_exception_info());
  1271. catchInfo.free();
  1272. exceptionLast = 0;
  1273. }
  1274. function ___resumeException(catchInfoPtr) {
  1275. var catchInfo = new CatchInfo(catchInfoPtr);
  1276. var ptr = catchInfo.get_base_ptr();
  1277. if (!exceptionLast) {
  1278. exceptionLast = ptr;
  1279. }
  1280. catchInfo.free();
  1281. throw ptr;
  1282. }
  1283. function ___cxa_find_matching_catch_2() {
  1284. var thrown = exceptionLast;
  1285. if (!thrown) {
  1286. setTempRet0(0);
  1287. return 0 | 0;
  1288. }
  1289. var info = new ExceptionInfo(thrown);
  1290. var thrownType = info.get_type();
  1291. var catchInfo = new CatchInfo();
  1292. catchInfo.set_base_ptr(thrown);
  1293. catchInfo.set_adjusted_ptr(thrown);
  1294. if (!thrownType) {
  1295. setTempRet0(0);
  1296. return catchInfo.ptr | 0;
  1297. }
  1298. var typeArray = Array.prototype.slice.call(arguments);
  1299. for (var i = 0; i < typeArray.length; i++) {
  1300. var caughtType = typeArray[i];
  1301. if (caughtType === 0 || caughtType === thrownType) {
  1302. break;
  1303. }
  1304. if (___cxa_can_catch(caughtType, thrownType, catchInfo.get_adjusted_ptr_addr())) {
  1305. setTempRet0(caughtType);
  1306. return catchInfo.ptr | 0;
  1307. }
  1308. }
  1309. setTempRet0(thrownType);
  1310. return catchInfo.ptr | 0;
  1311. }
  1312. function ___cxa_find_matching_catch_3() {
  1313. var thrown = exceptionLast;
  1314. if (!thrown) {
  1315. setTempRet0(0);
  1316. return 0 | 0;
  1317. }
  1318. var info = new ExceptionInfo(thrown);
  1319. var thrownType = info.get_type();
  1320. var catchInfo = new CatchInfo();
  1321. catchInfo.set_base_ptr(thrown);
  1322. catchInfo.set_adjusted_ptr(thrown);
  1323. if (!thrownType) {
  1324. setTempRet0(0);
  1325. return catchInfo.ptr | 0;
  1326. }
  1327. var typeArray = Array.prototype.slice.call(arguments);
  1328. for (var i = 0; i < typeArray.length; i++) {
  1329. var caughtType = typeArray[i];
  1330. if (caughtType === 0 || caughtType === thrownType) {
  1331. break;
  1332. }
  1333. if (___cxa_can_catch(caughtType, thrownType, catchInfo.get_adjusted_ptr_addr())) {
  1334. setTempRet0(caughtType);
  1335. return catchInfo.ptr | 0;
  1336. }
  1337. }
  1338. setTempRet0(thrownType);
  1339. return catchInfo.ptr | 0;
  1340. }
  1341. function ___cxa_rethrow() {
  1342. var catchInfo = exceptionCaught.pop();
  1343. if (!catchInfo) {
  1344. abort("no exception to throw");
  1345. }
  1346. var info = catchInfo.get_exception_info();
  1347. var ptr = catchInfo.get_base_ptr();
  1348. if (!info.get_rethrown()) {
  1349. exceptionCaught.push(catchInfo);
  1350. info.set_rethrown(true);
  1351. info.set_caught(false);
  1352. uncaughtExceptionCount++;
  1353. } else {
  1354. catchInfo.free();
  1355. }
  1356. exceptionLast = ptr;
  1357. throw ptr;
  1358. }
  1359. function ___cxa_thread_atexit(routine, arg) {
  1360. PThread.threadExitHandlers.push(function() {
  1361. wasmTable.get(routine)(arg);
  1362. });
  1363. }
  1364. function ___cxa_throw(ptr, type, destructor) {
  1365. var info = new ExceptionInfo(ptr);
  1366. info.init(type, destructor);
  1367. exceptionLast = ptr;
  1368. uncaughtExceptionCount++;
  1369. throw ptr;
  1370. }
  1371. function ___cxa_uncaught_exceptions() {
  1372. return uncaughtExceptionCount;
  1373. }
  1374. var PATH = { splitPath: function(filename) {
  1375. var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
  1376. return splitPathRe.exec(filename).slice(1);
  1377. }, normalizeArray: function(parts, allowAboveRoot) {
  1378. var up = 0;
  1379. for (var i = parts.length - 1; i >= 0; i--) {
  1380. var last = parts[i];
  1381. if (last === ".") {
  1382. parts.splice(i, 1);
  1383. } else if (last === "..") {
  1384. parts.splice(i, 1);
  1385. up++;
  1386. } else if (up) {
  1387. parts.splice(i, 1);
  1388. up--;
  1389. }
  1390. }
  1391. if (allowAboveRoot) {
  1392. for (; up; up--) {
  1393. parts.unshift("..");
  1394. }
  1395. }
  1396. return parts;
  1397. }, normalize: function(path) {
  1398. var isAbsolute = path.charAt(0) === "/", trailingSlash = path.substr(-1) === "/";
  1399. path = PATH.normalizeArray(path.split("/").filter(function(p) {
  1400. return !!p;
  1401. }), !isAbsolute).join("/");
  1402. if (!path && !isAbsolute) {
  1403. path = ".";
  1404. }
  1405. if (path && trailingSlash) {
  1406. path += "/";
  1407. }
  1408. return (isAbsolute ? "/" : "") + path;
  1409. }, dirname: function(path) {
  1410. var result = PATH.splitPath(path), root = result[0], dir = result[1];
  1411. if (!root && !dir) {
  1412. return ".";
  1413. }
  1414. if (dir) {
  1415. dir = dir.substr(0, dir.length - 1);
  1416. }
  1417. return root + dir;
  1418. }, basename: function(path) {
  1419. if (path === "/")
  1420. return "/";
  1421. path = PATH.normalize(path);
  1422. path = path.replace(/\/$/, "");
  1423. var lastSlash = path.lastIndexOf("/");
  1424. if (lastSlash === -1)
  1425. return path;
  1426. return path.substr(lastSlash + 1);
  1427. }, extname: function(path) {
  1428. return PATH.splitPath(path)[3];
  1429. }, join: function() {
  1430. var paths = Array.prototype.slice.call(arguments, 0);
  1431. return PATH.normalize(paths.join("/"));
  1432. }, join2: function(l, r) {
  1433. return PATH.normalize(l + "/" + r);
  1434. } };
  1435. function getRandomDevice() {
  1436. if (typeof crypto === "object" && typeof crypto["getRandomValues"] === "function") {
  1437. var randomBuffer = new Uint8Array(1);
  1438. return function() {
  1439. crypto.getRandomValues(randomBuffer);
  1440. return randomBuffer[0];
  1441. };
  1442. } else if (ENVIRONMENT_IS_NODE) {
  1443. try {
  1444. var crypto_module = require_crypto();
  1445. return function() {
  1446. return crypto_module["randomBytes"](1)[0];
  1447. };
  1448. } catch (e) {
  1449. }
  1450. }
  1451. return function() {
  1452. abort("randomDevice");
  1453. };
  1454. }
  1455. var PATH_FS = { resolve: function() {
  1456. var resolvedPath = "", resolvedAbsolute = false;
  1457. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  1458. var path = i >= 0 ? arguments[i] : FS.cwd();
  1459. if (typeof path !== "string") {
  1460. throw new TypeError("Arguments to path.resolve must be strings");
  1461. } else if (!path) {
  1462. return "";
  1463. }
  1464. resolvedPath = path + "/" + resolvedPath;
  1465. resolvedAbsolute = path.charAt(0) === "/";
  1466. }
  1467. resolvedPath = PATH.normalizeArray(resolvedPath.split("/").filter(function(p) {
  1468. return !!p;
  1469. }), !resolvedAbsolute).join("/");
  1470. return (resolvedAbsolute ? "/" : "") + resolvedPath || ".";
  1471. }, relative: function(from, to) {
  1472. from = PATH_FS.resolve(from).substr(1);
  1473. to = PATH_FS.resolve(to).substr(1);
  1474. function trim(arr) {
  1475. var start = 0;
  1476. for (; start < arr.length; start++) {
  1477. if (arr[start] !== "")
  1478. break;
  1479. }
  1480. var end = arr.length - 1;
  1481. for (; end >= 0; end--) {
  1482. if (arr[end] !== "")
  1483. break;
  1484. }
  1485. if (start > end)
  1486. return [];
  1487. return arr.slice(start, end - start + 1);
  1488. }
  1489. var fromParts = trim(from.split("/"));
  1490. var toParts = trim(to.split("/"));
  1491. var length = Math.min(fromParts.length, toParts.length);
  1492. var samePartsLength = length;
  1493. for (var i = 0; i < length; i++) {
  1494. if (fromParts[i] !== toParts[i]) {
  1495. samePartsLength = i;
  1496. break;
  1497. }
  1498. }
  1499. var outputParts = [];
  1500. for (var i = samePartsLength; i < fromParts.length; i++) {
  1501. outputParts.push("..");
  1502. }
  1503. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  1504. return outputParts.join("/");
  1505. } };
  1506. var TTY = { ttys: [], init: function() {
  1507. }, shutdown: function() {
  1508. }, register: function(dev, ops) {
  1509. TTY.ttys[dev] = { input: [], output: [], ops };
  1510. FS.registerDevice(dev, TTY.stream_ops);
  1511. }, stream_ops: { open: function(stream) {
  1512. var tty = TTY.ttys[stream.node.rdev];
  1513. if (!tty) {
  1514. throw new FS.ErrnoError(43);
  1515. }
  1516. stream.tty = tty;
  1517. stream.seekable = false;
  1518. }, close: function(stream) {
  1519. stream.tty.ops.flush(stream.tty);
  1520. }, flush: function(stream) {
  1521. stream.tty.ops.flush(stream.tty);
  1522. }, read: function(stream, buffer2, offset, length, pos) {
  1523. if (!stream.tty || !stream.tty.ops.get_char) {
  1524. throw new FS.ErrnoError(60);
  1525. }
  1526. var bytesRead = 0;
  1527. for (var i = 0; i < length; i++) {
  1528. var result;
  1529. try {
  1530. result = stream.tty.ops.get_char(stream.tty);
  1531. } catch (e) {
  1532. throw new FS.ErrnoError(29);
  1533. }
  1534. if (result === void 0 && bytesRead === 0) {
  1535. throw new FS.ErrnoError(6);
  1536. }
  1537. if (result === null || result === void 0)
  1538. break;
  1539. bytesRead++;
  1540. buffer2[offset + i] = result;
  1541. }
  1542. if (bytesRead) {
  1543. stream.node.timestamp = Date.now();
  1544. }
  1545. return bytesRead;
  1546. }, write: function(stream, buffer2, offset, length, pos) {
  1547. if (!stream.tty || !stream.tty.ops.put_char) {
  1548. throw new FS.ErrnoError(60);
  1549. }
  1550. try {
  1551. for (var i = 0; i < length; i++) {
  1552. stream.tty.ops.put_char(stream.tty, buffer2[offset + i]);
  1553. }
  1554. } catch (e) {
  1555. throw new FS.ErrnoError(29);
  1556. }
  1557. if (length) {
  1558. stream.node.timestamp = Date.now();
  1559. }
  1560. return i;
  1561. } }, default_tty_ops: { get_char: function(tty) {
  1562. if (!tty.input.length) {
  1563. var result = null;
  1564. if (ENVIRONMENT_IS_NODE) {
  1565. var BUFSIZE = 256;
  1566. var buf = Buffer.alloc(BUFSIZE);
  1567. var bytesRead = 0;
  1568. try {
  1569. bytesRead = nodeFS.readSync(process.stdin.fd, buf, 0, BUFSIZE, null);
  1570. } catch (e) {
  1571. if (e.toString().includes("EOF"))
  1572. bytesRead = 0;
  1573. else
  1574. throw e;
  1575. }
  1576. if (bytesRead > 0) {
  1577. result = buf.slice(0, bytesRead).toString("utf-8");
  1578. } else {
  1579. result = null;
  1580. }
  1581. } else if (typeof window != "undefined" && typeof window.prompt == "function") {
  1582. result = window.prompt("Input: ");
  1583. if (result !== null) {
  1584. result += "\n";
  1585. }
  1586. } else if (typeof readline == "function") {
  1587. result = readline();
  1588. if (result !== null) {
  1589. result += "\n";
  1590. }
  1591. }
  1592. if (!result) {
  1593. return null;
  1594. }
  1595. tty.input = intArrayFromString(result, true);
  1596. }
  1597. return tty.input.shift();
  1598. }, put_char: function(tty, val) {
  1599. if (val === null || val === 10) {
  1600. out(UTF8ArrayToString(tty.output, 0));
  1601. tty.output = [];
  1602. } else {
  1603. if (val != 0)
  1604. tty.output.push(val);
  1605. }
  1606. }, flush: function(tty) {
  1607. if (tty.output && tty.output.length > 0) {
  1608. out(UTF8ArrayToString(tty.output, 0));
  1609. tty.output = [];
  1610. }
  1611. } }, default_tty1_ops: { put_char: function(tty, val) {
  1612. if (val === null || val === 10) {
  1613. err(UTF8ArrayToString(tty.output, 0));
  1614. tty.output = [];
  1615. } else {
  1616. if (val != 0)
  1617. tty.output.push(val);
  1618. }
  1619. }, flush: function(tty) {
  1620. if (tty.output && tty.output.length > 0) {
  1621. err(UTF8ArrayToString(tty.output, 0));
  1622. tty.output = [];
  1623. }
  1624. } } };
  1625. function zeroMemory(address, size) {
  1626. GROWABLE_HEAP_U8().fill(0, address, address + size);
  1627. }
  1628. function mmapAlloc(size) {
  1629. size = alignMemory(size, 65536);
  1630. var ptr = _memalign(65536, size);
  1631. if (!ptr)
  1632. return 0;
  1633. zeroMemory(ptr, size);
  1634. return ptr;
  1635. }
  1636. var MEMFS = { ops_table: null, mount: function(mount) {
  1637. return MEMFS.createNode(null, "/", 16384 | 511, 0);
  1638. }, createNode: function(parent, name2, mode, dev) {
  1639. if (FS.isBlkdev(mode) || FS.isFIFO(mode)) {
  1640. throw new FS.ErrnoError(63);
  1641. }
  1642. if (!MEMFS.ops_table) {
  1643. MEMFS.ops_table = { dir: { node: { getattr: MEMFS.node_ops.getattr, setattr: MEMFS.node_ops.setattr, lookup: MEMFS.node_ops.lookup, mknod: MEMFS.node_ops.mknod, rename: MEMFS.node_ops.rename, unlink: MEMFS.node_ops.unlink, rmdir: MEMFS.node_ops.rmdir, readdir: MEMFS.node_ops.readdir, symlink: MEMFS.node_ops.symlink }, stream: { llseek: MEMFS.stream_ops.llseek } }, file: { node: { getattr: MEMFS.node_ops.getattr, setattr: MEMFS.node_ops.setattr }, stream: { llseek: MEMFS.stream_ops.llseek, read: MEMFS.stream_ops.read, write: MEMFS.stream_ops.write, allocate: MEMFS.stream_ops.allocate, mmap: MEMFS.stream_ops.mmap, msync: MEMFS.stream_ops.msync } }, link: { node: { getattr: MEMFS.node_ops.getattr, setattr: MEMFS.node_ops.setattr, readlink: MEMFS.node_ops.readlink }, stream: {} }, chrdev: { node: { getattr: MEMFS.node_ops.getattr, setattr: MEMFS.node_ops.setattr }, stream: FS.chrdev_stream_ops } };
  1644. }
  1645. var node = FS.createNode(parent, name2, mode, dev);
  1646. if (FS.isDir(node.mode)) {
  1647. node.node_ops = MEMFS.ops_table.dir.node;
  1648. node.stream_ops = MEMFS.ops_table.dir.stream;
  1649. node.contents = {};
  1650. } else if (FS.isFile(node.mode)) {
  1651. node.node_ops = MEMFS.ops_table.file.node;
  1652. node.stream_ops = MEMFS.ops_table.file.stream;
  1653. node.usedBytes = 0;
  1654. node.contents = null;
  1655. } else if (FS.isLink(node.mode)) {
  1656. node.node_ops = MEMFS.ops_table.link.node;
  1657. node.stream_ops = MEMFS.ops_table.link.stream;
  1658. } else if (FS.isChrdev(node.mode)) {
  1659. node.node_ops = MEMFS.ops_table.chrdev.node;
  1660. node.stream_ops = MEMFS.ops_table.chrdev.stream;
  1661. }
  1662. node.timestamp = Date.now();
  1663. if (parent) {
  1664. parent.contents[name2] = node;
  1665. parent.timestamp = node.timestamp;
  1666. }
  1667. return node;
  1668. }, getFileDataAsTypedArray: function(node) {
  1669. if (!node.contents)
  1670. return new Uint8Array(0);
  1671. if (node.contents.subarray)
  1672. return node.contents.subarray(0, node.usedBytes);
  1673. return new Uint8Array(node.contents);
  1674. }, expandFileStorage: function(node, newCapacity) {
  1675. newCapacity >>>= 0;
  1676. var prevCapacity = node.contents ? node.contents.length : 0;
  1677. if (prevCapacity >= newCapacity)
  1678. return;
  1679. var CAPACITY_DOUBLING_MAX = 1024 * 1024;
  1680. newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) >>> 0);
  1681. if (prevCapacity != 0)
  1682. newCapacity = Math.max(newCapacity, 256);
  1683. var oldContents = node.contents;
  1684. node.contents = new Uint8Array(newCapacity);
  1685. if (node.usedBytes > 0)
  1686. node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
  1687. }, resizeFileStorage: function(node, newSize) {
  1688. newSize >>>= 0;
  1689. if (node.usedBytes == newSize)
  1690. return;
  1691. if (newSize == 0) {
  1692. node.contents = null;
  1693. node.usedBytes = 0;
  1694. } else {
  1695. var oldContents = node.contents;
  1696. node.contents = new Uint8Array(newSize);
  1697. if (oldContents) {
  1698. node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
  1699. }
  1700. node.usedBytes = newSize;
  1701. }
  1702. }, node_ops: { getattr: function(node) {
  1703. var attr = {};
  1704. attr.dev = FS.isChrdev(node.mode) ? node.id : 1;
  1705. attr.ino = node.id;
  1706. attr.mode = node.mode;
  1707. attr.nlink = 1;
  1708. attr.uid = 0;
  1709. attr.gid = 0;
  1710. attr.rdev = node.rdev;
  1711. if (FS.isDir(node.mode)) {
  1712. attr.size = 4096;
  1713. } else if (FS.isFile(node.mode)) {
  1714. attr.size = node.usedBytes;
  1715. } else if (FS.isLink(node.mode)) {
  1716. attr.size = node.link.length;
  1717. } else {
  1718. attr.size = 0;
  1719. }
  1720. attr.atime = new Date(node.timestamp);
  1721. attr.mtime = new Date(node.timestamp);
  1722. attr.ctime = new Date(node.timestamp);
  1723. attr.blksize = 4096;
  1724. attr.blocks = Math.ceil(attr.size / attr.blksize);
  1725. return attr;
  1726. }, setattr: function(node, attr) {
  1727. if (attr.mode !== void 0) {
  1728. node.mode = attr.mode;
  1729. }
  1730. if (attr.timestamp !== void 0) {
  1731. node.timestamp = attr.timestamp;
  1732. }
  1733. if (attr.size !== void 0) {
  1734. MEMFS.resizeFileStorage(node, attr.size);
  1735. }
  1736. }, lookup: function(parent, name2) {
  1737. throw FS.genericErrors[44];
  1738. }, mknod: function(parent, name2, mode, dev) {
  1739. return MEMFS.createNode(parent, name2, mode, dev);
  1740. }, rename: function(old_node, new_dir, new_name) {
  1741. if (FS.isDir(old_node.mode)) {
  1742. var new_node;
  1743. try {
  1744. new_node = FS.lookupNode(new_dir, new_name);
  1745. } catch (e) {
  1746. }
  1747. if (new_node) {
  1748. for (var i in new_node.contents) {
  1749. throw new FS.ErrnoError(55);
  1750. }
  1751. }
  1752. }
  1753. delete old_node.parent.contents[old_node.name];
  1754. old_node.parent.timestamp = Date.now();
  1755. old_node.name = new_name;
  1756. new_dir.contents[new_name] = old_node;
  1757. new_dir.timestamp = old_node.parent.timestamp;
  1758. old_node.parent = new_dir;
  1759. }, unlink: function(parent, name2) {
  1760. delete parent.contents[name2];
  1761. parent.timestamp = Date.now();
  1762. }, rmdir: function(parent, name2) {
  1763. var node = FS.lookupNode(parent, name2);
  1764. for (var i in node.contents) {
  1765. throw new FS.ErrnoError(55);
  1766. }
  1767. delete parent.contents[name2];
  1768. parent.timestamp = Date.now();
  1769. }, readdir: function(node) {
  1770. var entries = [".", ".."];
  1771. for (var key2 in node.contents) {
  1772. if (!node.contents.hasOwnProperty(key2)) {
  1773. continue;
  1774. }
  1775. entries.push(key2);
  1776. }
  1777. return entries;
  1778. }, symlink: function(parent, newname, oldpath) {
  1779. var node = MEMFS.createNode(parent, newname, 511 | 40960, 0);
  1780. node.link = oldpath;
  1781. return node;
  1782. }, readlink: function(node) {
  1783. if (!FS.isLink(node.mode)) {
  1784. throw new FS.ErrnoError(28);
  1785. }
  1786. return node.link;
  1787. } }, stream_ops: { read: function(stream, buffer2, offset, length, position) {
  1788. var contents = stream.node.contents;
  1789. if (position >= stream.node.usedBytes)
  1790. return 0;
  1791. var size = Math.min(stream.node.usedBytes - position, length);
  1792. if (size > 8 && contents.subarray) {
  1793. buffer2.set(contents.subarray(position, position + size), offset);
  1794. } else {
  1795. for (var i = 0; i < size; i++)
  1796. buffer2[offset + i] = contents[position + i];
  1797. }
  1798. return size;
  1799. }, write: function(stream, buffer2, offset, length, position, canOwn) {
  1800. if (buffer2.buffer === GROWABLE_HEAP_I8().buffer) {
  1801. canOwn = false;
  1802. }
  1803. if (!length)
  1804. return 0;
  1805. var node = stream.node;
  1806. node.timestamp = Date.now();
  1807. if (buffer2.subarray && (!node.contents || node.contents.subarray)) {
  1808. if (canOwn) {
  1809. node.contents = buffer2.subarray(offset, offset + length);
  1810. node.usedBytes = length;
  1811. return length;
  1812. } else if (node.usedBytes === 0 && position === 0) {
  1813. node.contents = buffer2.slice(offset, offset + length);
  1814. node.usedBytes = length;
  1815. return length;
  1816. } else if (position + length <= node.usedBytes) {
  1817. node.contents.set(buffer2.subarray(offset, offset + length), position);
  1818. return length;
  1819. }
  1820. }
  1821. MEMFS.expandFileStorage(node, position + length);
  1822. if (node.contents.subarray && buffer2.subarray) {
  1823. node.contents.set(buffer2.subarray(offset, offset + length), position);
  1824. } else {
  1825. for (var i = 0; i < length; i++) {
  1826. node.contents[position + i] = buffer2[offset + i];
  1827. }
  1828. }
  1829. node.usedBytes = Math.max(node.usedBytes, position + length);
  1830. return length;
  1831. }, llseek: function(stream, offset, whence) {
  1832. var position = offset;
  1833. if (whence === 1) {
  1834. position += stream.position;
  1835. } else if (whence === 2) {
  1836. if (FS.isFile(stream.node.mode)) {
  1837. position += stream.node.usedBytes;
  1838. }
  1839. }
  1840. if (position < 0) {
  1841. throw new FS.ErrnoError(28);
  1842. }
  1843. return position;
  1844. }, allocate: function(stream, offset, length) {
  1845. MEMFS.expandFileStorage(stream.node, offset + length);
  1846. stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length);
  1847. }, mmap: function(stream, address, length, position, prot, flags) {
  1848. if (address !== 0) {
  1849. throw new FS.ErrnoError(28);
  1850. }
  1851. if (!FS.isFile(stream.node.mode)) {
  1852. throw new FS.ErrnoError(43);
  1853. }
  1854. var ptr;
  1855. var allocated;
  1856. var contents = stream.node.contents;
  1857. if (!(flags & 2) && contents.buffer === buffer) {
  1858. allocated = false;
  1859. ptr = contents.byteOffset;
  1860. } else {
  1861. if (position > 0 || position + length < contents.length) {
  1862. if (contents.subarray) {
  1863. contents = contents.subarray(position, position + length);
  1864. } else {
  1865. contents = Array.prototype.slice.call(contents, position, position + length);
  1866. }
  1867. }
  1868. allocated = true;
  1869. ptr = mmapAlloc(length);
  1870. if (!ptr) {
  1871. throw new FS.ErrnoError(48);
  1872. }
  1873. ptr >>>= 0;
  1874. GROWABLE_HEAP_I8().set(contents, ptr >>> 0);
  1875. }
  1876. return { ptr, allocated };
  1877. }, msync: function(stream, buffer2, offset, length, mmapFlags) {
  1878. if (!FS.isFile(stream.node.mode)) {
  1879. throw new FS.ErrnoError(43);
  1880. }
  1881. if (mmapFlags & 2) {
  1882. return 0;
  1883. }
  1884. var bytesWritten = MEMFS.stream_ops.write(stream, buffer2, 0, length, offset, false);
  1885. return 0;
  1886. } } };
  1887. function asyncLoad(url, onload, onerror, noRunDep) {
  1888. var dep = !noRunDep ? getUniqueRunDependency("al " + url) : "";
  1889. readAsync(url, function(arrayBuffer) {
  1890. assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
  1891. onload(new Uint8Array(arrayBuffer));
  1892. if (dep)
  1893. removeRunDependency(dep);
  1894. }, function(event) {
  1895. if (onerror) {
  1896. onerror();
  1897. } else {
  1898. throw 'Loading data file "' + url + '" failed.';
  1899. }
  1900. });
  1901. if (dep)
  1902. addRunDependency(dep);
  1903. }
  1904. var FS = { root: null, mounts: [], devices: {}, streams: [], nextInode: 1, nameTable: null, currentPath: "/", initialized: false, ignorePermissions: true, trackingDelegate: {}, tracking: { openFlags: { READ: 1, WRITE: 2 } }, ErrnoError: null, genericErrors: {}, filesystems: null, syncFSRequests: 0, lookupPath: function(path, opts) {
  1905. path = PATH_FS.resolve(FS.cwd(), path);
  1906. opts = opts || {};
  1907. if (!path)
  1908. return { path: "", node: null };
  1909. var defaults = { follow_mount: true, recurse_count: 0 };
  1910. for (var key2 in defaults) {
  1911. if (opts[key2] === void 0) {
  1912. opts[key2] = defaults[key2];
  1913. }
  1914. }
  1915. if (opts.recurse_count > 8) {
  1916. throw new FS.ErrnoError(32);
  1917. }
  1918. var parts = PATH.normalizeArray(path.split("/").filter(function(p) {
  1919. return !!p;
  1920. }), false);
  1921. var current = FS.root;
  1922. var current_path = "/";
  1923. for (var i = 0; i < parts.length; i++) {
  1924. var islast = i === parts.length - 1;
  1925. if (islast && opts.parent) {
  1926. break;
  1927. }
  1928. current = FS.lookupNode(current, parts[i]);
  1929. current_path = PATH.join2(current_path, parts[i]);
  1930. if (FS.isMountpoint(current)) {
  1931. if (!islast || islast && opts.follow_mount) {
  1932. current = current.mounted.root;
  1933. }
  1934. }
  1935. if (!islast || opts.follow) {
  1936. var count = 0;
  1937. while (FS.isLink(current.mode)) {
  1938. var link = FS.readlink(current_path);
  1939. current_path = PATH_FS.resolve(PATH.dirname(current_path), link);
  1940. var lookup = FS.lookupPath(current_path, { recurse_count: opts.recurse_count });
  1941. current = lookup.node;
  1942. if (count++ > 40) {
  1943. throw new FS.ErrnoError(32);
  1944. }
  1945. }
  1946. }
  1947. }
  1948. return { path: current_path, node: current };
  1949. }, getPath: function(node) {
  1950. var path;
  1951. while (true) {
  1952. if (FS.isRoot(node)) {
  1953. var mount = node.mount.mountpoint;
  1954. if (!path)
  1955. return mount;
  1956. return mount[mount.length - 1] !== "/" ? mount + "/" + path : mount + path;
  1957. }
  1958. path = path ? node.name + "/" + path : node.name;
  1959. node = node.parent;
  1960. }
  1961. }, hashName: function(parentid, name2) {
  1962. var hash = 0;
  1963. for (var i = 0; i < name2.length; i++) {
  1964. hash = (hash << 5) - hash + name2.charCodeAt(i) | 0;
  1965. }
  1966. return (parentid + hash >>> 0) % FS.nameTable.length;
  1967. }, hashAddNode: function(node) {
  1968. var hash = FS.hashName(node.parent.id, node.name);
  1969. node.name_next = FS.nameTable[hash];
  1970. FS.nameTable[hash] = node;
  1971. }, hashRemoveNode: function(node) {
  1972. var hash = FS.hashName(node.parent.id, node.name);
  1973. if (FS.nameTable[hash] === node) {
  1974. FS.nameTable[hash] = node.name_next;
  1975. } else {
  1976. var current = FS.nameTable[hash];
  1977. while (current) {
  1978. if (current.name_next === node) {
  1979. current.name_next = node.name_next;
  1980. break;
  1981. }
  1982. current = current.name_next;
  1983. }
  1984. }
  1985. }, lookupNode: function(parent, name2) {
  1986. var errCode = FS.mayLookup(parent);
  1987. if (errCode) {
  1988. throw new FS.ErrnoError(errCode, parent);
  1989. }
  1990. var hash = FS.hashName(parent.id, name2);
  1991. for (var node = FS.nameTable[hash]; node; node = node.name_next) {
  1992. var nodeName = node.name;
  1993. if (node.parent.id === parent.id && nodeName === name2) {
  1994. return node;
  1995. }
  1996. }
  1997. return FS.lookup(parent, name2);
  1998. }, createNode: function(parent, name2, mode, rdev) {
  1999. var node = new FS.FSNode(parent, name2, mode, rdev);
  2000. FS.hashAddNode(node);
  2001. return node;
  2002. }, destroyNode: function(node) {
  2003. FS.hashRemoveNode(node);
  2004. }, isRoot: function(node) {
  2005. return node === node.parent;
  2006. }, isMountpoint: function(node) {
  2007. return !!node.mounted;
  2008. }, isFile: function(mode) {
  2009. return (mode & 61440) === 32768;
  2010. }, isDir: function(mode) {
  2011. return (mode & 61440) === 16384;
  2012. }, isLink: function(mode) {
  2013. return (mode & 61440) === 40960;
  2014. }, isChrdev: function(mode) {
  2015. return (mode & 61440) === 8192;
  2016. }, isBlkdev: function(mode) {
  2017. return (mode & 61440) === 24576;
  2018. }, isFIFO: function(mode) {
  2019. return (mode & 61440) === 4096;
  2020. }, isSocket: function(mode) {
  2021. return (mode & 49152) === 49152;
  2022. }, flagModes: { "r": 0, "r+": 2, "w": 577, "w+": 578, "a": 1089, "a+": 1090 }, modeStringToFlags: function(str) {
  2023. var flags = FS.flagModes[str];
  2024. if (typeof flags === "undefined") {
  2025. throw new Error("Unknown file open mode: " + str);
  2026. }
  2027. return flags;
  2028. }, flagsToPermissionString: function(flag) {
  2029. var perms = ["r", "w", "rw"][flag & 3];
  2030. if (flag & 512) {
  2031. perms += "w";
  2032. }
  2033. return perms;
  2034. }, nodePermissions: function(node, perms) {
  2035. if (FS.ignorePermissions) {
  2036. return 0;
  2037. }
  2038. if (perms.includes("r") && !(node.mode & 292)) {
  2039. return 2;
  2040. } else if (perms.includes("w") && !(node.mode & 146)) {
  2041. return 2;
  2042. } else if (perms.includes("x") && !(node.mode & 73)) {
  2043. return 2;
  2044. }
  2045. return 0;
  2046. }, mayLookup: function(dir) {
  2047. var errCode = FS.nodePermissions(dir, "x");
  2048. if (errCode)
  2049. return errCode;
  2050. if (!dir.node_ops.lookup)
  2051. return 2;
  2052. return 0;
  2053. }, mayCreate: function(dir, name2) {
  2054. try {
  2055. var node = FS.lookupNode(dir, name2);
  2056. return 20;
  2057. } catch (e) {
  2058. }
  2059. return FS.nodePermissions(dir, "wx");
  2060. }, mayDelete: function(dir, name2, isdir) {
  2061. var node;
  2062. try {
  2063. node = FS.lookupNode(dir, name2);
  2064. } catch (e) {
  2065. return e.errno;
  2066. }
  2067. var errCode = FS.nodePermissions(dir, "wx");
  2068. if (errCode) {
  2069. return errCode;
  2070. }
  2071. if (isdir) {
  2072. if (!FS.isDir(node.mode)) {
  2073. return 54;
  2074. }
  2075. if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) {
  2076. return 10;
  2077. }
  2078. } else {
  2079. if (FS.isDir(node.mode)) {
  2080. return 31;
  2081. }
  2082. }
  2083. return 0;
  2084. }, mayOpen: function(node, flags) {
  2085. if (!node) {
  2086. return 44;
  2087. }
  2088. if (FS.isLink(node.mode)) {
  2089. return 32;
  2090. } else if (FS.isDir(node.mode)) {
  2091. if (FS.flagsToPermissionString(flags) !== "r" || flags & 512) {
  2092. return 31;
  2093. }
  2094. }
  2095. return FS.nodePermissions(node, FS.flagsToPermissionString(flags));
  2096. }, MAX_OPEN_FDS: 4096, nextfd: function(fd_start, fd_end) {
  2097. fd_start = fd_start || 0;
  2098. fd_end = fd_end || FS.MAX_OPEN_FDS;
  2099. for (var fd = fd_start; fd <= fd_end; fd++) {
  2100. if (!FS.streams[fd]) {
  2101. return fd;
  2102. }
  2103. }
  2104. throw new FS.ErrnoError(33);
  2105. }, getStream: function(fd) {
  2106. return FS.streams[fd];
  2107. }, createStream: function(stream, fd_start, fd_end) {
  2108. if (!FS.FSStream) {
  2109. FS.FSStream = function() {
  2110. };
  2111. FS.FSStream.prototype = { object: { get: function() {
  2112. return this.node;
  2113. }, set: function(val) {
  2114. this.node = val;
  2115. } }, isRead: { get: function() {
  2116. return (this.flags & 2097155) !== 1;
  2117. } }, isWrite: { get: function() {
  2118. return (this.flags & 2097155) !== 0;
  2119. } }, isAppend: { get: function() {
  2120. return this.flags & 1024;
  2121. } } };
  2122. }
  2123. var newStream = new FS.FSStream();
  2124. for (var p in stream) {
  2125. newStream[p] = stream[p];
  2126. }
  2127. stream = newStream;
  2128. var fd = FS.nextfd(fd_start, fd_end);
  2129. stream.fd = fd;
  2130. FS.streams[fd] = stream;
  2131. return stream;
  2132. }, closeStream: function(fd) {
  2133. FS.streams[fd] = null;
  2134. }, chrdev_stream_ops: { open: function(stream) {
  2135. var device = FS.getDevice(stream.node.rdev);
  2136. stream.stream_ops = device.stream_ops;
  2137. if (stream.stream_ops.open) {
  2138. stream.stream_ops.open(stream);
  2139. }
  2140. }, llseek: function() {
  2141. throw new FS.ErrnoError(70);
  2142. } }, major: function(dev) {
  2143. return dev >> 8;
  2144. }, minor: function(dev) {
  2145. return dev & 255;
  2146. }, makedev: function(ma, mi) {
  2147. return ma << 8 | mi;
  2148. }, registerDevice: function(dev, ops) {
  2149. FS.devices[dev] = { stream_ops: ops };
  2150. }, getDevice: function(dev) {
  2151. return FS.devices[dev];
  2152. }, getMounts: function(mount) {
  2153. var mounts = [];
  2154. var check = [mount];
  2155. while (check.length) {
  2156. var m = check.pop();
  2157. mounts.push(m);
  2158. check.push.apply(check, m.mounts);
  2159. }
  2160. return mounts;
  2161. }, syncfs: function(populate, callback) {
  2162. if (typeof populate === "function") {
  2163. callback = populate;
  2164. populate = false;
  2165. }
  2166. FS.syncFSRequests++;
  2167. if (FS.syncFSRequests > 1) {
  2168. err("warning: " + FS.syncFSRequests + " FS.syncfs operations in flight at once, probably just doing extra work");
  2169. }
  2170. var mounts = FS.getMounts(FS.root.mount);
  2171. var completed = 0;
  2172. function doCallback(errCode) {
  2173. FS.syncFSRequests--;
  2174. return callback(errCode);
  2175. }
  2176. function done(errCode) {
  2177. if (errCode) {
  2178. if (!done.errored) {
  2179. done.errored = true;
  2180. return doCallback(errCode);
  2181. }
  2182. return;
  2183. }
  2184. if (++completed >= mounts.length) {
  2185. doCallback(null);
  2186. }
  2187. }
  2188. mounts.forEach(function(mount) {
  2189. if (!mount.type.syncfs) {
  2190. return done(null);
  2191. }
  2192. mount.type.syncfs(mount, populate, done);
  2193. });
  2194. }, mount: function(type, opts, mountpoint) {
  2195. var root = mountpoint === "/";
  2196. var pseudo = !mountpoint;
  2197. var node;
  2198. if (root && FS.root) {
  2199. throw new FS.ErrnoError(10);
  2200. } else if (!root && !pseudo) {
  2201. var lookup = FS.lookupPath(mountpoint, { follow_mount: false });
  2202. mountpoint = lookup.path;
  2203. node = lookup.node;
  2204. if (FS.isMountpoint(node)) {
  2205. throw new FS.ErrnoError(10);
  2206. }
  2207. if (!FS.isDir(node.mode)) {
  2208. throw new FS.ErrnoError(54);
  2209. }
  2210. }
  2211. var mount = { type, opts, mountpoint, mounts: [] };
  2212. var mountRoot = type.mount(mount);
  2213. mountRoot.mount = mount;
  2214. mount.root = mountRoot;
  2215. if (root) {
  2216. FS.root = mountRoot;
  2217. } else if (node) {
  2218. node.mounted = mount;
  2219. if (node.mount) {
  2220. node.mount.mounts.push(mount);
  2221. }
  2222. }
  2223. return mountRoot;
  2224. }, unmount: function(mountpoint) {
  2225. var lookup = FS.lookupPath(mountpoint, { follow_mount: false });
  2226. if (!FS.isMountpoint(lookup.node)) {
  2227. throw new FS.ErrnoError(28);
  2228. }
  2229. var node = lookup.node;
  2230. var mount = node.mounted;
  2231. var mounts = FS.getMounts(mount);
  2232. Object.keys(FS.nameTable).forEach(function(hash) {
  2233. var current = FS.nameTable[hash];
  2234. while (current) {
  2235. var next = current.name_next;
  2236. if (mounts.includes(current.mount)) {
  2237. FS.destroyNode(current);
  2238. }
  2239. current = next;
  2240. }
  2241. });
  2242. node.mounted = null;
  2243. var idx = node.mount.mounts.indexOf(mount);
  2244. node.mount.mounts.splice(idx, 1);
  2245. }, lookup: function(parent, name2) {
  2246. return parent.node_ops.lookup(parent, name2);
  2247. }, mknod: function(path, mode, dev) {
  2248. var lookup = FS.lookupPath(path, { parent: true });
  2249. var parent = lookup.node;
  2250. var name2 = PATH.basename(path);
  2251. if (!name2 || name2 === "." || name2 === "..") {
  2252. throw new FS.ErrnoError(28);
  2253. }
  2254. var errCode = FS.mayCreate(parent, name2);
  2255. if (errCode) {
  2256. throw new FS.ErrnoError(errCode);
  2257. }
  2258. if (!parent.node_ops.mknod) {
  2259. throw new FS.ErrnoError(63);
  2260. }
  2261. return parent.node_ops.mknod(parent, name2, mode, dev);
  2262. }, create: function(path, mode) {
  2263. mode = mode !== void 0 ? mode : 438;
  2264. mode &= 4095;
  2265. mode |= 32768;
  2266. return FS.mknod(path, mode, 0);
  2267. }, mkdir: function(path, mode) {
  2268. mode = mode !== void 0 ? mode : 511;
  2269. mode &= 511 | 512;
  2270. mode |= 16384;
  2271. return FS.mknod(path, mode, 0);
  2272. }, mkdirTree: function(path, mode) {
  2273. var dirs = path.split("/");
  2274. var d = "";
  2275. for (var i = 0; i < dirs.length; ++i) {
  2276. if (!dirs[i])
  2277. continue;
  2278. d += "/" + dirs[i];
  2279. try {
  2280. FS.mkdir(d, mode);
  2281. } catch (e) {
  2282. if (e.errno != 20)
  2283. throw e;
  2284. }
  2285. }
  2286. }, mkdev: function(path, mode, dev) {
  2287. if (typeof dev === "undefined") {
  2288. dev = mode;
  2289. mode = 438;
  2290. }
  2291. mode |= 8192;
  2292. return FS.mknod(path, mode, dev);
  2293. }, symlink: function(oldpath, newpath) {
  2294. if (!PATH_FS.resolve(oldpath)) {
  2295. throw new FS.ErrnoError(44);
  2296. }
  2297. var lookup = FS.lookupPath(newpath, { parent: true });
  2298. var parent = lookup.node;
  2299. if (!parent) {
  2300. throw new FS.ErrnoError(44);
  2301. }
  2302. var newname = PATH.basename(newpath);
  2303. var errCode = FS.mayCreate(parent, newname);
  2304. if (errCode) {
  2305. throw new FS.ErrnoError(errCode);
  2306. }
  2307. if (!parent.node_ops.symlink) {
  2308. throw new FS.ErrnoError(63);
  2309. }
  2310. return parent.node_ops.symlink(parent, newname, oldpath);
  2311. }, rename: function(old_path, new_path) {
  2312. var old_dirname = PATH.dirname(old_path);
  2313. var new_dirname = PATH.dirname(new_path);
  2314. var old_name = PATH.basename(old_path);
  2315. var new_name = PATH.basename(new_path);
  2316. var lookup, old_dir, new_dir;
  2317. lookup = FS.lookupPath(old_path, { parent: true });
  2318. old_dir = lookup.node;
  2319. lookup = FS.lookupPath(new_path, { parent: true });
  2320. new_dir = lookup.node;
  2321. if (!old_dir || !new_dir)
  2322. throw new FS.ErrnoError(44);
  2323. if (old_dir.mount !== new_dir.mount) {
  2324. throw new FS.ErrnoError(75);
  2325. }
  2326. var old_node = FS.lookupNode(old_dir, old_name);
  2327. var relative = PATH_FS.relative(old_path, new_dirname);
  2328. if (relative.charAt(0) !== ".") {
  2329. throw new FS.ErrnoError(28);
  2330. }
  2331. relative = PATH_FS.relative(new_path, old_dirname);
  2332. if (relative.charAt(0) !== ".") {
  2333. throw new FS.ErrnoError(55);
  2334. }
  2335. var new_node;
  2336. try {
  2337. new_node = FS.lookupNode(new_dir, new_name);
  2338. } catch (e) {
  2339. }
  2340. if (old_node === new_node) {
  2341. return;
  2342. }
  2343. var isdir = FS.isDir(old_node.mode);
  2344. var errCode = FS.mayDelete(old_dir, old_name, isdir);
  2345. if (errCode) {
  2346. throw new FS.ErrnoError(errCode);
  2347. }
  2348. errCode = new_node ? FS.mayDelete(new_dir, new_name, isdir) : FS.mayCreate(new_dir, new_name);
  2349. if (errCode) {
  2350. throw new FS.ErrnoError(errCode);
  2351. }
  2352. if (!old_dir.node_ops.rename) {
  2353. throw new FS.ErrnoError(63);
  2354. }
  2355. if (FS.isMountpoint(old_node) || new_node && FS.isMountpoint(new_node)) {
  2356. throw new FS.ErrnoError(10);
  2357. }
  2358. if (new_dir !== old_dir) {
  2359. errCode = FS.nodePermissions(old_dir, "w");
  2360. if (errCode) {
  2361. throw new FS.ErrnoError(errCode);
  2362. }
  2363. }
  2364. try {
  2365. if (FS.trackingDelegate["willMovePath"]) {
  2366. FS.trackingDelegate["willMovePath"](old_path, new_path);
  2367. }
  2368. } catch (e) {
  2369. err("FS.trackingDelegate['willMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  2370. }
  2371. FS.hashRemoveNode(old_node);
  2372. try {
  2373. old_dir.node_ops.rename(old_node, new_dir, new_name);
  2374. } catch (e) {
  2375. throw e;
  2376. } finally {
  2377. FS.hashAddNode(old_node);
  2378. }
  2379. try {
  2380. if (FS.trackingDelegate["onMovePath"])
  2381. FS.trackingDelegate["onMovePath"](old_path, new_path);
  2382. } catch (e) {
  2383. err("FS.trackingDelegate['onMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  2384. }
  2385. }, rmdir: function(path) {
  2386. var lookup = FS.lookupPath(path, { parent: true });
  2387. var parent = lookup.node;
  2388. var name2 = PATH.basename(path);
  2389. var node = FS.lookupNode(parent, name2);
  2390. var errCode = FS.mayDelete(parent, name2, true);
  2391. if (errCode) {
  2392. throw new FS.ErrnoError(errCode);
  2393. }
  2394. if (!parent.node_ops.rmdir) {
  2395. throw new FS.ErrnoError(63);
  2396. }
  2397. if (FS.isMountpoint(node)) {
  2398. throw new FS.ErrnoError(10);
  2399. }
  2400. try {
  2401. if (FS.trackingDelegate["willDeletePath"]) {
  2402. FS.trackingDelegate["willDeletePath"](path);
  2403. }
  2404. } catch (e) {
  2405. err("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  2406. }
  2407. parent.node_ops.rmdir(parent, name2);
  2408. FS.destroyNode(node);
  2409. try {
  2410. if (FS.trackingDelegate["onDeletePath"])
  2411. FS.trackingDelegate["onDeletePath"](path);
  2412. } catch (e) {
  2413. err("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  2414. }
  2415. }, readdir: function(path) {
  2416. var lookup = FS.lookupPath(path, { follow: true });
  2417. var node = lookup.node;
  2418. if (!node.node_ops.readdir) {
  2419. throw new FS.ErrnoError(54);
  2420. }
  2421. return node.node_ops.readdir(node);
  2422. }, unlink: function(path) {
  2423. var lookup = FS.lookupPath(path, { parent: true });
  2424. var parent = lookup.node;
  2425. var name2 = PATH.basename(path);
  2426. var node = FS.lookupNode(parent, name2);
  2427. var errCode = FS.mayDelete(parent, name2, false);
  2428. if (errCode) {
  2429. throw new FS.ErrnoError(errCode);
  2430. }
  2431. if (!parent.node_ops.unlink) {
  2432. throw new FS.ErrnoError(63);
  2433. }
  2434. if (FS.isMountpoint(node)) {
  2435. throw new FS.ErrnoError(10);
  2436. }
  2437. try {
  2438. if (FS.trackingDelegate["willDeletePath"]) {
  2439. FS.trackingDelegate["willDeletePath"](path);
  2440. }
  2441. } catch (e) {
  2442. err("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  2443. }
  2444. parent.node_ops.unlink(parent, name2);
  2445. FS.destroyNode(node);
  2446. try {
  2447. if (FS.trackingDelegate["onDeletePath"])
  2448. FS.trackingDelegate["onDeletePath"](path);
  2449. } catch (e) {
  2450. err("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  2451. }
  2452. }, readlink: function(path) {
  2453. var lookup = FS.lookupPath(path);
  2454. var link = lookup.node;
  2455. if (!link) {
  2456. throw new FS.ErrnoError(44);
  2457. }
  2458. if (!link.node_ops.readlink) {
  2459. throw new FS.ErrnoError(28);
  2460. }
  2461. return PATH_FS.resolve(FS.getPath(link.parent), link.node_ops.readlink(link));
  2462. }, stat: function(path, dontFollow) {
  2463. var lookup = FS.lookupPath(path, { follow: !dontFollow });
  2464. var node = lookup.node;
  2465. if (!node) {
  2466. throw new FS.ErrnoError(44);
  2467. }
  2468. if (!node.node_ops.getattr) {
  2469. throw new FS.ErrnoError(63);
  2470. }
  2471. return node.node_ops.getattr(node);
  2472. }, lstat: function(path) {
  2473. return FS.stat(path, true);
  2474. }, chmod: function(path, mode, dontFollow) {
  2475. var node;
  2476. if (typeof path === "string") {
  2477. var lookup = FS.lookupPath(path, { follow: !dontFollow });
  2478. node = lookup.node;
  2479. } else {
  2480. node = path;
  2481. }
  2482. if (!node.node_ops.setattr) {
  2483. throw new FS.ErrnoError(63);
  2484. }
  2485. node.node_ops.setattr(node, { mode: mode & 4095 | node.mode & ~4095, timestamp: Date.now() });
  2486. }, lchmod: function(path, mode) {
  2487. FS.chmod(path, mode, true);
  2488. }, fchmod: function(fd, mode) {
  2489. var stream = FS.getStream(fd);
  2490. if (!stream) {
  2491. throw new FS.ErrnoError(8);
  2492. }
  2493. FS.chmod(stream.node, mode);
  2494. }, chown: function(path, uid, gid, dontFollow) {
  2495. var node;
  2496. if (typeof path === "string") {
  2497. var lookup = FS.lookupPath(path, { follow: !dontFollow });
  2498. node = lookup.node;
  2499. } else {
  2500. node = path;
  2501. }
  2502. if (!node.node_ops.setattr) {
  2503. throw new FS.ErrnoError(63);
  2504. }
  2505. node.node_ops.setattr(node, { timestamp: Date.now() });
  2506. }, lchown: function(path, uid, gid) {
  2507. FS.chown(path, uid, gid, true);
  2508. }, fchown: function(fd, uid, gid) {
  2509. var stream = FS.getStream(fd);
  2510. if (!stream) {
  2511. throw new FS.ErrnoError(8);
  2512. }
  2513. FS.chown(stream.node, uid, gid);
  2514. }, truncate: function(path, len) {
  2515. if (len < 0) {
  2516. throw new FS.ErrnoError(28);
  2517. }
  2518. var node;
  2519. if (typeof path === "string") {
  2520. var lookup = FS.lookupPath(path, { follow: true });
  2521. node = lookup.node;
  2522. } else {
  2523. node = path;
  2524. }
  2525. if (!node.node_ops.setattr) {
  2526. throw new FS.ErrnoError(63);
  2527. }
  2528. if (FS.isDir(node.mode)) {
  2529. throw new FS.ErrnoError(31);
  2530. }
  2531. if (!FS.isFile(node.mode)) {
  2532. throw new FS.ErrnoError(28);
  2533. }
  2534. var errCode = FS.nodePermissions(node, "w");
  2535. if (errCode) {
  2536. throw new FS.ErrnoError(errCode);
  2537. }
  2538. node.node_ops.setattr(node, { size: len, timestamp: Date.now() });
  2539. }, ftruncate: function(fd, len) {
  2540. var stream = FS.getStream(fd);
  2541. if (!stream) {
  2542. throw new FS.ErrnoError(8);
  2543. }
  2544. if ((stream.flags & 2097155) === 0) {
  2545. throw new FS.ErrnoError(28);
  2546. }
  2547. FS.truncate(stream.node, len);
  2548. }, utime: function(path, atime, mtime) {
  2549. var lookup = FS.lookupPath(path, { follow: true });
  2550. var node = lookup.node;
  2551. node.node_ops.setattr(node, { timestamp: Math.max(atime, mtime) });
  2552. }, open: function(path, flags, mode, fd_start, fd_end) {
  2553. if (path === "") {
  2554. throw new FS.ErrnoError(44);
  2555. }
  2556. flags = typeof flags === "string" ? FS.modeStringToFlags(flags) : flags;
  2557. mode = typeof mode === "undefined" ? 438 : mode;
  2558. if (flags & 64) {
  2559. mode = mode & 4095 | 32768;
  2560. } else {
  2561. mode = 0;
  2562. }
  2563. var node;
  2564. if (typeof path === "object") {
  2565. node = path;
  2566. } else {
  2567. path = PATH.normalize(path);
  2568. try {
  2569. var lookup = FS.lookupPath(path, { follow: !(flags & 131072) });
  2570. node = lookup.node;
  2571. } catch (e) {
  2572. }
  2573. }
  2574. var created = false;
  2575. if (flags & 64) {
  2576. if (node) {
  2577. if (flags & 128) {
  2578. throw new FS.ErrnoError(20);
  2579. }
  2580. } else {
  2581. node = FS.mknod(path, mode, 0);
  2582. created = true;
  2583. }
  2584. }
  2585. if (!node) {
  2586. throw new FS.ErrnoError(44);
  2587. }
  2588. if (FS.isChrdev(node.mode)) {
  2589. flags &= ~512;
  2590. }
  2591. if (flags & 65536 && !FS.isDir(node.mode)) {
  2592. throw new FS.ErrnoError(54);
  2593. }
  2594. if (!created) {
  2595. var errCode = FS.mayOpen(node, flags);
  2596. if (errCode) {
  2597. throw new FS.ErrnoError(errCode);
  2598. }
  2599. }
  2600. if (flags & 512) {
  2601. FS.truncate(node, 0);
  2602. }
  2603. flags &= ~(128 | 512 | 131072);
  2604. var stream = FS.createStream({ node, path: FS.getPath(node), flags, seekable: true, position: 0, stream_ops: node.stream_ops, ungotten: [], error: false }, fd_start, fd_end);
  2605. if (stream.stream_ops.open) {
  2606. stream.stream_ops.open(stream);
  2607. }
  2608. if (Module["logReadFiles"] && !(flags & 1)) {
  2609. if (!FS.readFiles)
  2610. FS.readFiles = {};
  2611. if (!(path in FS.readFiles)) {
  2612. FS.readFiles[path] = 1;
  2613. err("FS.trackingDelegate error on read file: " + path);
  2614. }
  2615. }
  2616. try {
  2617. if (FS.trackingDelegate["onOpenFile"]) {
  2618. var trackingFlags = 0;
  2619. if ((flags & 2097155) !== 1) {
  2620. trackingFlags |= FS.tracking.openFlags.READ;
  2621. }
  2622. if ((flags & 2097155) !== 0) {
  2623. trackingFlags |= FS.tracking.openFlags.WRITE;
  2624. }
  2625. FS.trackingDelegate["onOpenFile"](path, trackingFlags);
  2626. }
  2627. } catch (e) {
  2628. err("FS.trackingDelegate['onOpenFile']('" + path + "', flags) threw an exception: " + e.message);
  2629. }
  2630. return stream;
  2631. }, close: function(stream) {
  2632. if (FS.isClosed(stream)) {
  2633. throw new FS.ErrnoError(8);
  2634. }
  2635. if (stream.getdents)
  2636. stream.getdents = null;
  2637. try {
  2638. if (stream.stream_ops.close) {
  2639. stream.stream_ops.close(stream);
  2640. }
  2641. } catch (e) {
  2642. throw e;
  2643. } finally {
  2644. FS.closeStream(stream.fd);
  2645. }
  2646. stream.fd = null;
  2647. }, isClosed: function(stream) {
  2648. return stream.fd === null;
  2649. }, llseek: function(stream, offset, whence) {
  2650. if (FS.isClosed(stream)) {
  2651. throw new FS.ErrnoError(8);
  2652. }
  2653. if (!stream.seekable || !stream.stream_ops.llseek) {
  2654. throw new FS.ErrnoError(70);
  2655. }
  2656. if (whence != 0 && whence != 1 && whence != 2) {
  2657. throw new FS.ErrnoError(28);
  2658. }
  2659. stream.position = stream.stream_ops.llseek(stream, offset, whence);
  2660. stream.ungotten = [];
  2661. return stream.position;
  2662. }, read: function(stream, buffer2, offset, length, position) {
  2663. offset >>>= 0;
  2664. if (length < 0 || position < 0) {
  2665. throw new FS.ErrnoError(28);
  2666. }
  2667. if (FS.isClosed(stream)) {
  2668. throw new FS.ErrnoError(8);
  2669. }
  2670. if ((stream.flags & 2097155) === 1) {
  2671. throw new FS.ErrnoError(8);
  2672. }
  2673. if (FS.isDir(stream.node.mode)) {
  2674. throw new FS.ErrnoError(31);
  2675. }
  2676. if (!stream.stream_ops.read) {
  2677. throw new FS.ErrnoError(28);
  2678. }
  2679. var seeking = typeof position !== "undefined";
  2680. if (!seeking) {
  2681. position = stream.position;
  2682. } else if (!stream.seekable) {
  2683. throw new FS.ErrnoError(70);
  2684. }
  2685. var bytesRead = stream.stream_ops.read(stream, buffer2, offset, length, position);
  2686. if (!seeking)
  2687. stream.position += bytesRead;
  2688. return bytesRead;
  2689. }, write: function(stream, buffer2, offset, length, position, canOwn) {
  2690. offset >>>= 0;
  2691. if (length < 0 || position < 0) {
  2692. throw new FS.ErrnoError(28);
  2693. }
  2694. if (FS.isClosed(stream)) {
  2695. throw new FS.ErrnoError(8);
  2696. }
  2697. if ((stream.flags & 2097155) === 0) {
  2698. throw new FS.ErrnoError(8);
  2699. }
  2700. if (FS.isDir(stream.node.mode)) {
  2701. throw new FS.ErrnoError(31);
  2702. }
  2703. if (!stream.stream_ops.write) {
  2704. throw new FS.ErrnoError(28);
  2705. }
  2706. if (stream.seekable && stream.flags & 1024) {
  2707. FS.llseek(stream, 0, 2);
  2708. }
  2709. var seeking = typeof position !== "undefined";
  2710. if (!seeking) {
  2711. position = stream.position;
  2712. } else if (!stream.seekable) {
  2713. throw new FS.ErrnoError(70);
  2714. }
  2715. var bytesWritten = stream.stream_ops.write(stream, buffer2, offset, length, position, canOwn);
  2716. if (!seeking)
  2717. stream.position += bytesWritten;
  2718. try {
  2719. if (stream.path && FS.trackingDelegate["onWriteToFile"])
  2720. FS.trackingDelegate["onWriteToFile"](stream.path);
  2721. } catch (e) {
  2722. err("FS.trackingDelegate['onWriteToFile']('" + stream.path + "') threw an exception: " + e.message);
  2723. }
  2724. return bytesWritten;
  2725. }, allocate: function(stream, offset, length) {
  2726. if (FS.isClosed(stream)) {
  2727. throw new FS.ErrnoError(8);
  2728. }
  2729. if (offset < 0 || length <= 0) {
  2730. throw new FS.ErrnoError(28);
  2731. }
  2732. if ((stream.flags & 2097155) === 0) {
  2733. throw new FS.ErrnoError(8);
  2734. }
  2735. if (!FS.isFile(stream.node.mode) && !FS.isDir(stream.node.mode)) {
  2736. throw new FS.ErrnoError(43);
  2737. }
  2738. if (!stream.stream_ops.allocate) {
  2739. throw new FS.ErrnoError(138);
  2740. }
  2741. stream.stream_ops.allocate(stream, offset, length);
  2742. }, mmap: function(stream, address, length, position, prot, flags) {
  2743. address >>>= 0;
  2744. if ((prot & 2) !== 0 && (flags & 2) === 0 && (stream.flags & 2097155) !== 2) {
  2745. throw new FS.ErrnoError(2);
  2746. }
  2747. if ((stream.flags & 2097155) === 1) {
  2748. throw new FS.ErrnoError(2);
  2749. }
  2750. if (!stream.stream_ops.mmap) {
  2751. throw new FS.ErrnoError(43);
  2752. }
  2753. return stream.stream_ops.mmap(stream, address, length, position, prot, flags);
  2754. }, msync: function(stream, buffer2, offset, length, mmapFlags) {
  2755. offset >>>= 0;
  2756. if (!stream || !stream.stream_ops.msync) {
  2757. return 0;
  2758. }
  2759. return stream.stream_ops.msync(stream, buffer2, offset, length, mmapFlags);
  2760. }, munmap: function(stream) {
  2761. return 0;
  2762. }, ioctl: function(stream, cmd, arg) {
  2763. if (!stream.stream_ops.ioctl) {
  2764. throw new FS.ErrnoError(59);
  2765. }
  2766. return stream.stream_ops.ioctl(stream, cmd, arg);
  2767. }, readFile: function(path, opts) {
  2768. opts = opts || {};
  2769. opts.flags = opts.flags || 0;
  2770. opts.encoding = opts.encoding || "binary";
  2771. if (opts.encoding !== "utf8" && opts.encoding !== "binary") {
  2772. throw new Error('Invalid encoding type "' + opts.encoding + '"');
  2773. }
  2774. var ret;
  2775. var stream = FS.open(path, opts.flags);
  2776. var stat = FS.stat(path);
  2777. var length = stat.size;
  2778. var buf = new Uint8Array(length);
  2779. FS.read(stream, buf, 0, length, 0);
  2780. if (opts.encoding === "utf8") {
  2781. ret = UTF8ArrayToString(buf, 0);
  2782. } else if (opts.encoding === "binary") {
  2783. ret = buf;
  2784. }
  2785. FS.close(stream);
  2786. return ret;
  2787. }, writeFile: function(path, data, opts) {
  2788. opts = opts || {};
  2789. opts.flags = opts.flags || 577;
  2790. var stream = FS.open(path, opts.flags, opts.mode);
  2791. if (typeof data === "string") {
  2792. var buf = new Uint8Array(lengthBytesUTF8(data) + 1);
  2793. var actualNumBytes = stringToUTF8Array(data, buf, 0, buf.length);
  2794. FS.write(stream, buf, 0, actualNumBytes, void 0, opts.canOwn);
  2795. } else if (ArrayBuffer.isView(data)) {
  2796. FS.write(stream, data, 0, data.byteLength, void 0, opts.canOwn);
  2797. } else {
  2798. throw new Error("Unsupported data type");
  2799. }
  2800. FS.close(stream);
  2801. }, cwd: function() {
  2802. return FS.currentPath;
  2803. }, chdir: function(path) {
  2804. var lookup = FS.lookupPath(path, { follow: true });
  2805. if (lookup.node === null) {
  2806. throw new FS.ErrnoError(44);
  2807. }
  2808. if (!FS.isDir(lookup.node.mode)) {
  2809. throw new FS.ErrnoError(54);
  2810. }
  2811. var errCode = FS.nodePermissions(lookup.node, "x");
  2812. if (errCode) {
  2813. throw new FS.ErrnoError(errCode);
  2814. }
  2815. FS.currentPath = lookup.path;
  2816. }, createDefaultDirectories: function() {
  2817. FS.mkdir("/tmp");
  2818. FS.mkdir("/home");
  2819. FS.mkdir("/home/web_user");
  2820. }, createDefaultDevices: function() {
  2821. FS.mkdir("/dev");
  2822. FS.registerDevice(FS.makedev(1, 3), { read: function() {
  2823. return 0;
  2824. }, write: function(stream, buffer2, offset, length, pos) {
  2825. return length;
  2826. } });
  2827. FS.mkdev("/dev/null", FS.makedev(1, 3));
  2828. TTY.register(FS.makedev(5, 0), TTY.default_tty_ops);
  2829. TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops);
  2830. FS.mkdev("/dev/tty", FS.makedev(5, 0));
  2831. FS.mkdev("/dev/tty1", FS.makedev(6, 0));
  2832. var random_device = getRandomDevice();
  2833. FS.createDevice("/dev", "random", random_device);
  2834. FS.createDevice("/dev", "urandom", random_device);
  2835. FS.mkdir("/dev/shm");
  2836. FS.mkdir("/dev/shm/tmp");
  2837. }, createSpecialDirectories: function() {
  2838. FS.mkdir("/proc");
  2839. var proc_self = FS.mkdir("/proc/self");
  2840. FS.mkdir("/proc/self/fd");
  2841. FS.mount({ mount: function() {
  2842. var node = FS.createNode(proc_self, "fd", 16384 | 511, 73);
  2843. node.node_ops = { lookup: function(parent, name2) {
  2844. var fd = +name2;
  2845. var stream = FS.getStream(fd);
  2846. if (!stream)
  2847. throw new FS.ErrnoError(8);
  2848. var ret = { parent: null, mount: { mountpoint: "fake" }, node_ops: { readlink: function() {
  2849. return stream.path;
  2850. } } };
  2851. ret.parent = ret;
  2852. return ret;
  2853. } };
  2854. return node;
  2855. } }, {}, "/proc/self/fd");
  2856. }, createStandardStreams: function() {
  2857. if (Module["stdin"]) {
  2858. FS.createDevice("/dev", "stdin", Module["stdin"]);
  2859. } else {
  2860. FS.symlink("/dev/tty", "/dev/stdin");
  2861. }
  2862. if (Module["stdout"]) {
  2863. FS.createDevice("/dev", "stdout", null, Module["stdout"]);
  2864. } else {
  2865. FS.symlink("/dev/tty", "/dev/stdout");
  2866. }
  2867. if (Module["stderr"]) {
  2868. FS.createDevice("/dev", "stderr", null, Module["stderr"]);
  2869. } else {
  2870. FS.symlink("/dev/tty1", "/dev/stderr");
  2871. }
  2872. var stdin = FS.open("/dev/stdin", 0);
  2873. var stdout = FS.open("/dev/stdout", 1);
  2874. var stderr = FS.open("/dev/stderr", 1);
  2875. }, ensureErrnoError: function() {
  2876. if (FS.ErrnoError)
  2877. return;
  2878. FS.ErrnoError = function ErrnoError(errno, node) {
  2879. this.node = node;
  2880. this.setErrno = function(errno2) {
  2881. this.errno = errno2;
  2882. };
  2883. this.setErrno(errno);
  2884. this.message = "FS error";
  2885. };
  2886. FS.ErrnoError.prototype = new Error();
  2887. FS.ErrnoError.prototype.constructor = FS.ErrnoError;
  2888. [44].forEach(function(code) {
  2889. FS.genericErrors[code] = new FS.ErrnoError(code);
  2890. FS.genericErrors[code].stack = "<generic error, no stack>";
  2891. });
  2892. }, staticInit: function() {
  2893. FS.ensureErrnoError();
  2894. FS.nameTable = new Array(4096);
  2895. FS.mount(MEMFS, {}, "/");
  2896. FS.createDefaultDirectories();
  2897. FS.createDefaultDevices();
  2898. FS.createSpecialDirectories();
  2899. FS.filesystems = { "MEMFS": MEMFS };
  2900. }, init: function(input, output, error) {
  2901. FS.init.initialized = true;
  2902. FS.ensureErrnoError();
  2903. Module["stdin"] = input || Module["stdin"];
  2904. Module["stdout"] = output || Module["stdout"];
  2905. Module["stderr"] = error || Module["stderr"];
  2906. FS.createStandardStreams();
  2907. }, quit: function() {
  2908. FS.init.initialized = false;
  2909. var fflush = Module["_fflush"];
  2910. if (fflush)
  2911. fflush(0);
  2912. for (var i = 0; i < FS.streams.length; i++) {
  2913. var stream = FS.streams[i];
  2914. if (!stream) {
  2915. continue;
  2916. }
  2917. FS.close(stream);
  2918. }
  2919. }, getMode: function(canRead, canWrite) {
  2920. var mode = 0;
  2921. if (canRead)
  2922. mode |= 292 | 73;
  2923. if (canWrite)
  2924. mode |= 146;
  2925. return mode;
  2926. }, findObject: function(path, dontResolveLastLink) {
  2927. var ret = FS.analyzePath(path, dontResolveLastLink);
  2928. if (ret.exists) {
  2929. return ret.object;
  2930. } else {
  2931. return null;
  2932. }
  2933. }, analyzePath: function(path, dontResolveLastLink) {
  2934. try {
  2935. var lookup = FS.lookupPath(path, { follow: !dontResolveLastLink });
  2936. path = lookup.path;
  2937. } catch (e) {
  2938. }
  2939. var ret = { isRoot: false, exists: false, error: 0, name: null, path: null, object: null, parentExists: false, parentPath: null, parentObject: null };
  2940. try {
  2941. var lookup = FS.lookupPath(path, { parent: true });
  2942. ret.parentExists = true;
  2943. ret.parentPath = lookup.path;
  2944. ret.parentObject = lookup.node;
  2945. ret.name = PATH.basename(path);
  2946. lookup = FS.lookupPath(path, { follow: !dontResolveLastLink });
  2947. ret.exists = true;
  2948. ret.path = lookup.path;
  2949. ret.object = lookup.node;
  2950. ret.name = lookup.node.name;
  2951. ret.isRoot = lookup.path === "/";
  2952. } catch (e) {
  2953. ret.error = e.errno;
  2954. }
  2955. return ret;
  2956. }, createPath: function(parent, path, canRead, canWrite) {
  2957. parent = typeof parent === "string" ? parent : FS.getPath(parent);
  2958. var parts = path.split("/").reverse();
  2959. while (parts.length) {
  2960. var part = parts.pop();
  2961. if (!part)
  2962. continue;
  2963. var current = PATH.join2(parent, part);
  2964. try {
  2965. FS.mkdir(current);
  2966. } catch (e) {
  2967. }
  2968. parent = current;
  2969. }
  2970. return current;
  2971. }, createFile: function(parent, name2, properties, canRead, canWrite) {
  2972. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name2);
  2973. var mode = FS.getMode(canRead, canWrite);
  2974. return FS.create(path, mode);
  2975. }, createDataFile: function(parent, name2, data, canRead, canWrite, canOwn) {
  2976. var path = name2 ? PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name2) : parent;
  2977. var mode = FS.getMode(canRead, canWrite);
  2978. var node = FS.create(path, mode);
  2979. if (data) {
  2980. if (typeof data === "string") {
  2981. var arr = new Array(data.length);
  2982. for (var i = 0, len = data.length; i < len; ++i)
  2983. arr[i] = data.charCodeAt(i);
  2984. data = arr;
  2985. }
  2986. FS.chmod(node, mode | 146);
  2987. var stream = FS.open(node, 577);
  2988. FS.write(stream, data, 0, data.length, 0, canOwn);
  2989. FS.close(stream);
  2990. FS.chmod(node, mode);
  2991. }
  2992. return node;
  2993. }, createDevice: function(parent, name2, input, output) {
  2994. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name2);
  2995. var mode = FS.getMode(!!input, !!output);
  2996. if (!FS.createDevice.major)
  2997. FS.createDevice.major = 64;
  2998. var dev = FS.makedev(FS.createDevice.major++, 0);
  2999. FS.registerDevice(dev, { open: function(stream) {
  3000. stream.seekable = false;
  3001. }, close: function(stream) {
  3002. if (output && output.buffer && output.buffer.length) {
  3003. output(10);
  3004. }
  3005. }, read: function(stream, buffer2, offset, length, pos) {
  3006. var bytesRead = 0;
  3007. for (var i = 0; i < length; i++) {
  3008. var result;
  3009. try {
  3010. result = input();
  3011. } catch (e) {
  3012. throw new FS.ErrnoError(29);
  3013. }
  3014. if (result === void 0 && bytesRead === 0) {
  3015. throw new FS.ErrnoError(6);
  3016. }
  3017. if (result === null || result === void 0)
  3018. break;
  3019. bytesRead++;
  3020. buffer2[offset + i] = result;
  3021. }
  3022. if (bytesRead) {
  3023. stream.node.timestamp = Date.now();
  3024. }
  3025. return bytesRead;
  3026. }, write: function(stream, buffer2, offset, length, pos) {
  3027. for (var i = 0; i < length; i++) {
  3028. try {
  3029. output(buffer2[offset + i]);
  3030. } catch (e) {
  3031. throw new FS.ErrnoError(29);
  3032. }
  3033. }
  3034. if (length) {
  3035. stream.node.timestamp = Date.now();
  3036. }
  3037. return i;
  3038. } });
  3039. return FS.mkdev(path, mode, dev);
  3040. }, forceLoadFile: function(obj) {
  3041. if (obj.isDevice || obj.isFolder || obj.link || obj.contents)
  3042. return true;
  3043. if (typeof XMLHttpRequest !== "undefined") {
  3044. throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
  3045. } else if (read_) {
  3046. try {
  3047. obj.contents = intArrayFromString(read_(obj.url), true);
  3048. obj.usedBytes = obj.contents.length;
  3049. } catch (e) {
  3050. throw new FS.ErrnoError(29);
  3051. }
  3052. } else {
  3053. throw new Error("Cannot load without read() or XMLHttpRequest.");
  3054. }
  3055. }, createLazyFile: function(parent, name2, url, canRead, canWrite) {
  3056. function LazyUint8Array() {
  3057. this.lengthKnown = false;
  3058. this.chunks = [];
  3059. }
  3060. LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) {
  3061. if (idx > this.length - 1 || idx < 0) {
  3062. return void 0;
  3063. }
  3064. var chunkOffset = idx % this.chunkSize;
  3065. var chunkNum = idx / this.chunkSize | 0;
  3066. return this.getter(chunkNum)[chunkOffset];
  3067. };
  3068. LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) {
  3069. this.getter = getter;
  3070. };
  3071. LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() {
  3072. var xhr = new XMLHttpRequest();
  3073. xhr.open("HEAD", url, false);
  3074. xhr.send(null);
  3075. if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304))
  3076. throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
  3077. var datalength = Number(xhr.getResponseHeader("Content-length"));
  3078. var header;
  3079. var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
  3080. var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip";
  3081. var chunkSize = 1024 * 1024;
  3082. if (!hasByteServing)
  3083. chunkSize = datalength;
  3084. var doXHR = function(from, to) {
  3085. if (from > to)
  3086. throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
  3087. if (to > datalength - 1)
  3088. throw new Error("only " + datalength + " bytes available! programmer error!");
  3089. var xhr2 = new XMLHttpRequest();
  3090. xhr2.open("GET", url, false);
  3091. if (datalength !== chunkSize)
  3092. xhr2.setRequestHeader("Range", "bytes=" + from + "-" + to);
  3093. if (typeof Uint8Array != "undefined")
  3094. xhr2.responseType = "arraybuffer";
  3095. if (xhr2.overrideMimeType) {
  3096. xhr2.overrideMimeType("text/plain; charset=x-user-defined");
  3097. }
  3098. xhr2.send(null);
  3099. if (!(xhr2.status >= 200 && xhr2.status < 300 || xhr2.status === 304))
  3100. throw new Error("Couldn't load " + url + ". Status: " + xhr2.status);
  3101. if (xhr2.response !== void 0) {
  3102. return new Uint8Array(xhr2.response || []);
  3103. } else {
  3104. return intArrayFromString(xhr2.responseText || "", true);
  3105. }
  3106. };
  3107. var lazyArray2 = this;
  3108. lazyArray2.setDataGetter(function(chunkNum) {
  3109. var start = chunkNum * chunkSize;
  3110. var end = (chunkNum + 1) * chunkSize - 1;
  3111. end = Math.min(end, datalength - 1);
  3112. if (typeof lazyArray2.chunks[chunkNum] === "undefined") {
  3113. lazyArray2.chunks[chunkNum] = doXHR(start, end);
  3114. }
  3115. if (typeof lazyArray2.chunks[chunkNum] === "undefined")
  3116. throw new Error("doXHR failed!");
  3117. return lazyArray2.chunks[chunkNum];
  3118. });
  3119. if (usesGzip || !datalength) {
  3120. chunkSize = datalength = 1;
  3121. datalength = this.getter(0).length;
  3122. chunkSize = datalength;
  3123. out("LazyFiles on gzip forces download of the whole file when length is accessed");
  3124. }
  3125. this._length = datalength;
  3126. this._chunkSize = chunkSize;
  3127. this.lengthKnown = true;
  3128. };
  3129. if (typeof XMLHttpRequest !== "undefined") {
  3130. if (!ENVIRONMENT_IS_WORKER)
  3131. throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
  3132. var lazyArray = new LazyUint8Array();
  3133. Object.defineProperties(lazyArray, { length: { get: function() {
  3134. if (!this.lengthKnown) {
  3135. this.cacheLength();
  3136. }
  3137. return this._length;
  3138. } }, chunkSize: { get: function() {
  3139. if (!this.lengthKnown) {
  3140. this.cacheLength();
  3141. }
  3142. return this._chunkSize;
  3143. } } });
  3144. var properties = { isDevice: false, contents: lazyArray };
  3145. } else {
  3146. var properties = { isDevice: false, url };
  3147. }
  3148. var node = FS.createFile(parent, name2, properties, canRead, canWrite);
  3149. if (properties.contents) {
  3150. node.contents = properties.contents;
  3151. } else if (properties.url) {
  3152. node.contents = null;
  3153. node.url = properties.url;
  3154. }
  3155. Object.defineProperties(node, { usedBytes: { get: function() {
  3156. return this.contents.length;
  3157. } } });
  3158. var stream_ops = {};
  3159. var keys = Object.keys(node.stream_ops);
  3160. keys.forEach(function(key2) {
  3161. var fn = node.stream_ops[key2];
  3162. stream_ops[key2] = function forceLoadLazyFile() {
  3163. FS.forceLoadFile(node);
  3164. return fn.apply(null, arguments);
  3165. };
  3166. });
  3167. stream_ops.read = function stream_ops_read(stream, buffer2, offset, length, position) {
  3168. FS.forceLoadFile(node);
  3169. var contents = stream.node.contents;
  3170. if (position >= contents.length)
  3171. return 0;
  3172. var size = Math.min(contents.length - position, length);
  3173. if (contents.slice) {
  3174. for (var i = 0; i < size; i++) {
  3175. buffer2[offset + i] = contents[position + i];
  3176. }
  3177. } else {
  3178. for (var i = 0; i < size; i++) {
  3179. buffer2[offset + i] = contents.get(position + i);
  3180. }
  3181. }
  3182. return size;
  3183. };
  3184. node.stream_ops = stream_ops;
  3185. return node;
  3186. }, createPreloadedFile: function(parent, name2, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) {
  3187. Browser.init();
  3188. var fullname = name2 ? PATH_FS.resolve(PATH.join2(parent, name2)) : parent;
  3189. var dep = getUniqueRunDependency("cp " + fullname);
  3190. function processData(byteArray) {
  3191. function finish(byteArray2) {
  3192. if (preFinish)
  3193. preFinish();
  3194. if (!dontCreateFile) {
  3195. FS.createDataFile(parent, name2, byteArray2, canRead, canWrite, canOwn);
  3196. }
  3197. if (onload)
  3198. onload();
  3199. removeRunDependency(dep);
  3200. }
  3201. var handled = false;
  3202. Module["preloadPlugins"].forEach(function(plugin) {
  3203. if (handled)
  3204. return;
  3205. if (plugin["canHandle"](fullname)) {
  3206. plugin["handle"](byteArray, fullname, finish, function() {
  3207. if (onerror)
  3208. onerror();
  3209. removeRunDependency(dep);
  3210. });
  3211. handled = true;
  3212. }
  3213. });
  3214. if (!handled)
  3215. finish(byteArray);
  3216. }
  3217. addRunDependency(dep);
  3218. if (typeof url == "string") {
  3219. asyncLoad(url, function(byteArray) {
  3220. processData(byteArray);
  3221. }, onerror);
  3222. } else {
  3223. processData(url);
  3224. }
  3225. }, indexedDB: function() {
  3226. return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  3227. }, DB_NAME: function() {
  3228. return "EM_FS_" + window.location.pathname;
  3229. }, DB_VERSION: 20, DB_STORE_NAME: "FILE_DATA", saveFilesToDB: function(paths, onload, onerror) {
  3230. onload = onload || function() {
  3231. };
  3232. onerror = onerror || function() {
  3233. };
  3234. var indexedDB = FS.indexedDB();
  3235. try {
  3236. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  3237. } catch (e) {
  3238. return onerror(e);
  3239. }
  3240. openRequest.onupgradeneeded = function openRequest_onupgradeneeded() {
  3241. out("creating db");
  3242. var db = openRequest.result;
  3243. db.createObjectStore(FS.DB_STORE_NAME);
  3244. };
  3245. openRequest.onsuccess = function openRequest_onsuccess() {
  3246. var db = openRequest.result;
  3247. var transaction = db.transaction([FS.DB_STORE_NAME], "readwrite");
  3248. var files = transaction.objectStore(FS.DB_STORE_NAME);
  3249. var ok = 0, fail = 0, total = paths.length;
  3250. function finish() {
  3251. if (fail == 0)
  3252. onload();
  3253. else
  3254. onerror();
  3255. }
  3256. paths.forEach(function(path) {
  3257. var putRequest = files.put(FS.analyzePath(path).object.contents, path);
  3258. putRequest.onsuccess = function putRequest_onsuccess() {
  3259. ok++;
  3260. if (ok + fail == total)
  3261. finish();
  3262. };
  3263. putRequest.onerror = function putRequest_onerror() {
  3264. fail++;
  3265. if (ok + fail == total)
  3266. finish();
  3267. };
  3268. });
  3269. transaction.onerror = onerror;
  3270. };
  3271. openRequest.onerror = onerror;
  3272. }, loadFilesFromDB: function(paths, onload, onerror) {
  3273. onload = onload || function() {
  3274. };
  3275. onerror = onerror || function() {
  3276. };
  3277. var indexedDB = FS.indexedDB();
  3278. try {
  3279. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  3280. } catch (e) {
  3281. return onerror(e);
  3282. }
  3283. openRequest.onupgradeneeded = onerror;
  3284. openRequest.onsuccess = function openRequest_onsuccess() {
  3285. var db = openRequest.result;
  3286. try {
  3287. var transaction = db.transaction([FS.DB_STORE_NAME], "readonly");
  3288. } catch (e) {
  3289. onerror(e);
  3290. return;
  3291. }
  3292. var files = transaction.objectStore(FS.DB_STORE_NAME);
  3293. var ok = 0, fail = 0, total = paths.length;
  3294. function finish() {
  3295. if (fail == 0)
  3296. onload();
  3297. else
  3298. onerror();
  3299. }
  3300. paths.forEach(function(path) {
  3301. var getRequest = files.get(path);
  3302. getRequest.onsuccess = function getRequest_onsuccess() {
  3303. if (FS.analyzePath(path).exists) {
  3304. FS.unlink(path);
  3305. }
  3306. FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true);
  3307. ok++;
  3308. if (ok + fail == total)
  3309. finish();
  3310. };
  3311. getRequest.onerror = function getRequest_onerror() {
  3312. fail++;
  3313. if (ok + fail == total)
  3314. finish();
  3315. };
  3316. });
  3317. transaction.onerror = onerror;
  3318. };
  3319. openRequest.onerror = onerror;
  3320. } };
  3321. var SYSCALLS = { mappings: {}, DEFAULT_POLLMASK: 5, umask: 511, calculateAt: function(dirfd, path, allowEmpty) {
  3322. if (path[0] === "/") {
  3323. return path;
  3324. }
  3325. var dir;
  3326. if (dirfd === -100) {
  3327. dir = FS.cwd();
  3328. } else {
  3329. var dirstream = FS.getStream(dirfd);
  3330. if (!dirstream)
  3331. throw new FS.ErrnoError(8);
  3332. dir = dirstream.path;
  3333. }
  3334. if (path.length == 0) {
  3335. if (!allowEmpty) {
  3336. throw new FS.ErrnoError(44);
  3337. }
  3338. return dir;
  3339. }
  3340. return PATH.join2(dir, path);
  3341. }, doStat: function(func, path, buf) {
  3342. try {
  3343. var stat = func(path);
  3344. } catch (e) {
  3345. if (e && e.node && PATH.normalize(path) !== PATH.normalize(FS.getPath(e.node))) {
  3346. return -54;
  3347. }
  3348. throw e;
  3349. }
  3350. GROWABLE_HEAP_I32()[buf >>> 2] = stat.dev;
  3351. GROWABLE_HEAP_I32()[buf + 4 >>> 2] = 0;
  3352. GROWABLE_HEAP_I32()[buf + 8 >>> 2] = stat.ino;
  3353. GROWABLE_HEAP_I32()[buf + 12 >>> 2] = stat.mode;
  3354. GROWABLE_HEAP_I32()[buf + 16 >>> 2] = stat.nlink;
  3355. GROWABLE_HEAP_I32()[buf + 20 >>> 2] = stat.uid;
  3356. GROWABLE_HEAP_I32()[buf + 24 >>> 2] = stat.gid;
  3357. GROWABLE_HEAP_I32()[buf + 28 >>> 2] = stat.rdev;
  3358. GROWABLE_HEAP_I32()[buf + 32 >>> 2] = 0;
  3359. tempI64 = [stat.size >>> 0, (tempDouble = stat.size, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0)], GROWABLE_HEAP_I32()[buf + 40 >>> 2] = tempI64[0], GROWABLE_HEAP_I32()[buf + 44 >>> 2] = tempI64[1];
  3360. GROWABLE_HEAP_I32()[buf + 48 >>> 2] = 4096;
  3361. GROWABLE_HEAP_I32()[buf + 52 >>> 2] = stat.blocks;
  3362. GROWABLE_HEAP_I32()[buf + 56 >>> 2] = stat.atime.getTime() / 1e3 | 0;
  3363. GROWABLE_HEAP_I32()[buf + 60 >>> 2] = 0;
  3364. GROWABLE_HEAP_I32()[buf + 64 >>> 2] = stat.mtime.getTime() / 1e3 | 0;
  3365. GROWABLE_HEAP_I32()[buf + 68 >>> 2] = 0;
  3366. GROWABLE_HEAP_I32()[buf + 72 >>> 2] = stat.ctime.getTime() / 1e3 | 0;
  3367. GROWABLE_HEAP_I32()[buf + 76 >>> 2] = 0;
  3368. tempI64 = [stat.ino >>> 0, (tempDouble = stat.ino, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0)], GROWABLE_HEAP_I32()[buf + 80 >>> 2] = tempI64[0], GROWABLE_HEAP_I32()[buf + 84 >>> 2] = tempI64[1];
  3369. return 0;
  3370. }, doMsync: function(addr, stream, len, flags, offset) {
  3371. var buffer2 = GROWABLE_HEAP_U8().slice(addr, addr + len);
  3372. FS.msync(stream, buffer2, offset, len, flags);
  3373. }, doMkdir: function(path, mode) {
  3374. path = PATH.normalize(path);
  3375. if (path[path.length - 1] === "/")
  3376. path = path.substr(0, path.length - 1);
  3377. FS.mkdir(path, mode, 0);
  3378. return 0;
  3379. }, doMknod: function(path, mode, dev) {
  3380. switch (mode & 61440) {
  3381. case 32768:
  3382. case 8192:
  3383. case 24576:
  3384. case 4096:
  3385. case 49152:
  3386. break;
  3387. default:
  3388. return -28;
  3389. }
  3390. FS.mknod(path, mode, dev);
  3391. return 0;
  3392. }, doReadlink: function(path, buf, bufsize) {
  3393. if (bufsize <= 0)
  3394. return -28;
  3395. var ret = FS.readlink(path);
  3396. var len = Math.min(bufsize, lengthBytesUTF8(ret));
  3397. var endChar = GROWABLE_HEAP_I8()[buf + len >>> 0];
  3398. stringToUTF8(ret, buf, bufsize + 1);
  3399. GROWABLE_HEAP_I8()[buf + len >>> 0] = endChar;
  3400. return len;
  3401. }, doAccess: function(path, amode) {
  3402. if (amode & ~7) {
  3403. return -28;
  3404. }
  3405. var node;
  3406. var lookup = FS.lookupPath(path, { follow: true });
  3407. node = lookup.node;
  3408. if (!node) {
  3409. return -44;
  3410. }
  3411. var perms = "";
  3412. if (amode & 4)
  3413. perms += "r";
  3414. if (amode & 2)
  3415. perms += "w";
  3416. if (amode & 1)
  3417. perms += "x";
  3418. if (perms && FS.nodePermissions(node, perms)) {
  3419. return -2;
  3420. }
  3421. return 0;
  3422. }, doDup: function(path, flags, suggestFD) {
  3423. var suggest = FS.getStream(suggestFD);
  3424. if (suggest)
  3425. FS.close(suggest);
  3426. return FS.open(path, flags, 0, suggestFD, suggestFD).fd;
  3427. }, doReadv: function(stream, iov, iovcnt, offset) {
  3428. var ret = 0;
  3429. for (var i = 0; i < iovcnt; i++) {
  3430. var ptr = GROWABLE_HEAP_I32()[iov + i * 8 >>> 2];
  3431. var len = GROWABLE_HEAP_I32()[iov + (i * 8 + 4) >>> 2];
  3432. var curr = FS.read(stream, GROWABLE_HEAP_I8(), ptr, len, offset);
  3433. if (curr < 0)
  3434. return -1;
  3435. ret += curr;
  3436. if (curr < len)
  3437. break;
  3438. }
  3439. return ret;
  3440. }, doWritev: function(stream, iov, iovcnt, offset) {
  3441. var ret = 0;
  3442. for (var i = 0; i < iovcnt; i++) {
  3443. var ptr = GROWABLE_HEAP_I32()[iov + i * 8 >>> 2];
  3444. var len = GROWABLE_HEAP_I32()[iov + (i * 8 + 4) >>> 2];
  3445. var curr = FS.write(stream, GROWABLE_HEAP_I8(), ptr, len, offset);
  3446. if (curr < 0)
  3447. return -1;
  3448. ret += curr;
  3449. }
  3450. return ret;
  3451. }, varargs: void 0, get: function() {
  3452. SYSCALLS.varargs += 4;
  3453. var ret = GROWABLE_HEAP_I32()[SYSCALLS.varargs - 4 >>> 2];
  3454. return ret;
  3455. }, getStr: function(ptr) {
  3456. var ret = UTF8ToString(ptr);
  3457. return ret;
  3458. }, getStreamFromFD: function(fd) {
  3459. var stream = FS.getStream(fd);
  3460. if (!stream)
  3461. throw new FS.ErrnoError(8);
  3462. return stream;
  3463. }, get64: function(low, high) {
  3464. return low;
  3465. } };
  3466. function ___sys_fcntl64(fd, cmd, varargs) {
  3467. if (ENVIRONMENT_IS_PTHREAD)
  3468. return _emscripten_proxy_to_main_thread_js(2, 1, fd, cmd, varargs);
  3469. SYSCALLS.varargs = varargs;
  3470. try {
  3471. var stream = SYSCALLS.getStreamFromFD(fd);
  3472. switch (cmd) {
  3473. case 0: {
  3474. var arg = SYSCALLS.get();
  3475. if (arg < 0) {
  3476. return -28;
  3477. }
  3478. var newStream;
  3479. newStream = FS.open(stream.path, stream.flags, 0, arg);
  3480. return newStream.fd;
  3481. }
  3482. case 1:
  3483. case 2:
  3484. return 0;
  3485. case 3:
  3486. return stream.flags;
  3487. case 4: {
  3488. var arg = SYSCALLS.get();
  3489. stream.flags |= arg;
  3490. return 0;
  3491. }
  3492. case 12: {
  3493. var arg = SYSCALLS.get();
  3494. var offset = 0;
  3495. GROWABLE_HEAP_I16()[arg + offset >>> 1] = 2;
  3496. return 0;
  3497. }
  3498. case 13:
  3499. case 14:
  3500. return 0;
  3501. case 16:
  3502. case 8:
  3503. return -28;
  3504. case 9:
  3505. setErrNo(28);
  3506. return -1;
  3507. default: {
  3508. return -28;
  3509. }
  3510. }
  3511. } catch (e) {
  3512. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  3513. abort(e);
  3514. return -e.errno;
  3515. }
  3516. }
  3517. function ___sys_ioctl(fd, op, varargs) {
  3518. if (ENVIRONMENT_IS_PTHREAD)
  3519. return _emscripten_proxy_to_main_thread_js(3, 1, fd, op, varargs);
  3520. SYSCALLS.varargs = varargs;
  3521. try {
  3522. var stream = SYSCALLS.getStreamFromFD(fd);
  3523. switch (op) {
  3524. case 21509:
  3525. case 21505: {
  3526. if (!stream.tty)
  3527. return -59;
  3528. return 0;
  3529. }
  3530. case 21510:
  3531. case 21511:
  3532. case 21512:
  3533. case 21506:
  3534. case 21507:
  3535. case 21508: {
  3536. if (!stream.tty)
  3537. return -59;
  3538. return 0;
  3539. }
  3540. case 21519: {
  3541. if (!stream.tty)
  3542. return -59;
  3543. var argp = SYSCALLS.get();
  3544. GROWABLE_HEAP_I32()[argp >>> 2] = 0;
  3545. return 0;
  3546. }
  3547. case 21520: {
  3548. if (!stream.tty)
  3549. return -59;
  3550. return -28;
  3551. }
  3552. case 21531: {
  3553. var argp = SYSCALLS.get();
  3554. return FS.ioctl(stream, op, argp);
  3555. }
  3556. case 21523: {
  3557. if (!stream.tty)
  3558. return -59;
  3559. return 0;
  3560. }
  3561. case 21524: {
  3562. if (!stream.tty)
  3563. return -59;
  3564. return 0;
  3565. }
  3566. default:
  3567. abort("bad ioctl syscall " + op);
  3568. }
  3569. } catch (e) {
  3570. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  3571. abort(e);
  3572. return -e.errno;
  3573. }
  3574. }
  3575. function ___sys_open(path, flags, varargs) {
  3576. if (ENVIRONMENT_IS_PTHREAD)
  3577. return _emscripten_proxy_to_main_thread_js(4, 1, path, flags, varargs);
  3578. SYSCALLS.varargs = varargs;
  3579. try {
  3580. var pathname = SYSCALLS.getStr(path);
  3581. var mode = varargs ? SYSCALLS.get() : 0;
  3582. var stream = FS.open(pathname, flags, mode);
  3583. return stream.fd;
  3584. } catch (e) {
  3585. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  3586. abort(e);
  3587. return -e.errno;
  3588. }
  3589. }
  3590. var tupleRegistrations = {};
  3591. function runDestructors(destructors) {
  3592. while (destructors.length) {
  3593. var ptr = destructors.pop();
  3594. var del = destructors.pop();
  3595. del(ptr);
  3596. }
  3597. }
  3598. function simpleReadValueFromPointer(pointer) {
  3599. return this["fromWireType"](GROWABLE_HEAP_U32()[pointer >>> 2]);
  3600. }
  3601. var awaitingDependencies = {};
  3602. var registeredTypes = {};
  3603. var typeDependencies = {};
  3604. var char_0 = 48;
  3605. var char_9 = 57;
  3606. function makeLegalFunctionName(name2) {
  3607. if (name2 === void 0) {
  3608. return "_unknown";
  3609. }
  3610. name2 = name2.replace(/[^a-zA-Z0-9_]/g, "$");
  3611. var f = name2.charCodeAt(0);
  3612. if (f >= char_0 && f <= char_9) {
  3613. return "_" + name2;
  3614. } else {
  3615. return name2;
  3616. }
  3617. }
  3618. function createNamedFunction(name2, body) {
  3619. name2 = makeLegalFunctionName(name2);
  3620. return new Function("body", "return function " + name2 + '() {\n "use strict"; return body.apply(this, arguments);\n};\n')(body);
  3621. }
  3622. function extendError(baseErrorType, errorName) {
  3623. var errorClass = createNamedFunction(errorName, function(message) {
  3624. this.name = errorName;
  3625. this.message = message;
  3626. var stack = new Error(message).stack;
  3627. if (stack !== void 0) {
  3628. this.stack = this.toString() + "\n" + stack.replace(/^Error(:[^\n]*)?\n/, "");
  3629. }
  3630. });
  3631. errorClass.prototype = Object.create(baseErrorType.prototype);
  3632. errorClass.prototype.constructor = errorClass;
  3633. errorClass.prototype.toString = function() {
  3634. if (this.message === void 0) {
  3635. return this.name;
  3636. } else {
  3637. return this.name + ": " + this.message;
  3638. }
  3639. };
  3640. return errorClass;
  3641. }
  3642. var InternalError = void 0;
  3643. function throwInternalError(message) {
  3644. throw new InternalError(message);
  3645. }
  3646. function whenDependentTypesAreResolved(myTypes, dependentTypes, getTypeConverters) {
  3647. myTypes.forEach(function(type) {
  3648. typeDependencies[type] = dependentTypes;
  3649. });
  3650. function onComplete(typeConverters2) {
  3651. var myTypeConverters = getTypeConverters(typeConverters2);
  3652. if (myTypeConverters.length !== myTypes.length) {
  3653. throwInternalError("Mismatched type converter count");
  3654. }
  3655. for (var i = 0; i < myTypes.length; ++i) {
  3656. registerType(myTypes[i], myTypeConverters[i]);
  3657. }
  3658. }
  3659. var typeConverters = new Array(dependentTypes.length);
  3660. var unregisteredTypes = [];
  3661. var registered = 0;
  3662. dependentTypes.forEach(function(dt, i) {
  3663. if (registeredTypes.hasOwnProperty(dt)) {
  3664. typeConverters[i] = registeredTypes[dt];
  3665. } else {
  3666. unregisteredTypes.push(dt);
  3667. if (!awaitingDependencies.hasOwnProperty(dt)) {
  3668. awaitingDependencies[dt] = [];
  3669. }
  3670. awaitingDependencies[dt].push(function() {
  3671. typeConverters[i] = registeredTypes[dt];
  3672. ++registered;
  3673. if (registered === unregisteredTypes.length) {
  3674. onComplete(typeConverters);
  3675. }
  3676. });
  3677. }
  3678. });
  3679. if (unregisteredTypes.length === 0) {
  3680. onComplete(typeConverters);
  3681. }
  3682. }
  3683. function __embind_finalize_value_array(rawTupleType) {
  3684. var reg = tupleRegistrations[rawTupleType];
  3685. delete tupleRegistrations[rawTupleType];
  3686. var elements = reg.elements;
  3687. var elementsLength = elements.length;
  3688. var elementTypes = elements.map(function(elt) {
  3689. return elt.getterReturnType;
  3690. }).concat(elements.map(function(elt) {
  3691. return elt.setterArgumentType;
  3692. }));
  3693. var rawConstructor = reg.rawConstructor;
  3694. var rawDestructor = reg.rawDestructor;
  3695. whenDependentTypesAreResolved([rawTupleType], elementTypes, function(elementTypes2) {
  3696. elements.forEach(function(elt, i) {
  3697. var getterReturnType = elementTypes2[i];
  3698. var getter = elt.getter;
  3699. var getterContext = elt.getterContext;
  3700. var setterArgumentType = elementTypes2[i + elementsLength];
  3701. var setter = elt.setter;
  3702. var setterContext = elt.setterContext;
  3703. elt.read = function(ptr) {
  3704. return getterReturnType["fromWireType"](getter(getterContext, ptr));
  3705. };
  3706. elt.write = function(ptr, o) {
  3707. var destructors = [];
  3708. setter(setterContext, ptr, setterArgumentType["toWireType"](destructors, o));
  3709. runDestructors(destructors);
  3710. };
  3711. });
  3712. return [{ name: reg.name, "fromWireType": function(ptr) {
  3713. var rv = new Array(elementsLength);
  3714. for (var i = 0; i < elementsLength; ++i) {
  3715. rv[i] = elements[i].read(ptr);
  3716. }
  3717. rawDestructor(ptr);
  3718. return rv;
  3719. }, "toWireType": function(destructors, o) {
  3720. if (elementsLength !== o.length) {
  3721. throw new TypeError("Incorrect number of tuple elements for " + reg.name + ": expected=" + elementsLength + ", actual=" + o.length);
  3722. }
  3723. var ptr = rawConstructor();
  3724. for (var i = 0; i < elementsLength; ++i) {
  3725. elements[i].write(ptr, o[i]);
  3726. }
  3727. if (destructors !== null) {
  3728. destructors.push(rawDestructor, ptr);
  3729. }
  3730. return ptr;
  3731. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: rawDestructor }];
  3732. });
  3733. }
  3734. var structRegistrations = {};
  3735. function __embind_finalize_value_object(structType) {
  3736. var reg = structRegistrations[structType];
  3737. delete structRegistrations[structType];
  3738. var rawConstructor = reg.rawConstructor;
  3739. var rawDestructor = reg.rawDestructor;
  3740. var fieldRecords = reg.fields;
  3741. var fieldTypes = fieldRecords.map(function(field) {
  3742. return field.getterReturnType;
  3743. }).concat(fieldRecords.map(function(field) {
  3744. return field.setterArgumentType;
  3745. }));
  3746. whenDependentTypesAreResolved([structType], fieldTypes, function(fieldTypes2) {
  3747. var fields = {};
  3748. fieldRecords.forEach(function(field, i) {
  3749. var fieldName = field.fieldName;
  3750. var getterReturnType = fieldTypes2[i];
  3751. var getter = field.getter;
  3752. var getterContext = field.getterContext;
  3753. var setterArgumentType = fieldTypes2[i + fieldRecords.length];
  3754. var setter = field.setter;
  3755. var setterContext = field.setterContext;
  3756. fields[fieldName] = { read: function(ptr) {
  3757. return getterReturnType["fromWireType"](getter(getterContext, ptr));
  3758. }, write: function(ptr, o) {
  3759. var destructors = [];
  3760. setter(setterContext, ptr, setterArgumentType["toWireType"](destructors, o));
  3761. runDestructors(destructors);
  3762. } };
  3763. });
  3764. return [{ name: reg.name, "fromWireType": function(ptr) {
  3765. var rv = {};
  3766. for (var i in fields) {
  3767. rv[i] = fields[i].read(ptr);
  3768. }
  3769. rawDestructor(ptr);
  3770. return rv;
  3771. }, "toWireType": function(destructors, o) {
  3772. for (var fieldName in fields) {
  3773. if (!(fieldName in o)) {
  3774. throw new TypeError('Missing field: "' + fieldName + '"');
  3775. }
  3776. }
  3777. var ptr = rawConstructor();
  3778. for (fieldName in fields) {
  3779. fields[fieldName].write(ptr, o[fieldName]);
  3780. }
  3781. if (destructors !== null) {
  3782. destructors.push(rawDestructor, ptr);
  3783. }
  3784. return ptr;
  3785. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: rawDestructor }];
  3786. });
  3787. }
  3788. function __embind_register_bigint(primitiveType, name2, size, minRange, maxRange) {
  3789. }
  3790. function getShiftFromSize(size) {
  3791. switch (size) {
  3792. case 1:
  3793. return 0;
  3794. case 2:
  3795. return 1;
  3796. case 4:
  3797. return 2;
  3798. case 8:
  3799. return 3;
  3800. default:
  3801. throw new TypeError("Unknown type size: " + size);
  3802. }
  3803. }
  3804. function embind_init_charCodes() {
  3805. var codes = new Array(256);
  3806. for (var i = 0; i < 256; ++i) {
  3807. codes[i] = String.fromCharCode(i);
  3808. }
  3809. embind_charCodes = codes;
  3810. }
  3811. var embind_charCodes = void 0;
  3812. function readLatin1String(ptr) {
  3813. var ret = "";
  3814. var c = ptr;
  3815. while (GROWABLE_HEAP_U8()[c >>> 0]) {
  3816. ret += embind_charCodes[GROWABLE_HEAP_U8()[c++ >>> 0]];
  3817. }
  3818. return ret;
  3819. }
  3820. var BindingError = void 0;
  3821. function throwBindingError(message) {
  3822. throw new BindingError(message);
  3823. }
  3824. function registerType(rawType, registeredInstance, options) {
  3825. options = options || {};
  3826. if (!("argPackAdvance" in registeredInstance)) {
  3827. throw new TypeError("registerType registeredInstance requires argPackAdvance");
  3828. }
  3829. var name2 = registeredInstance.name;
  3830. if (!rawType) {
  3831. throwBindingError('type "' + name2 + '" must have a positive integer typeid pointer');
  3832. }
  3833. if (registeredTypes.hasOwnProperty(rawType)) {
  3834. if (options.ignoreDuplicateRegistrations) {
  3835. return;
  3836. } else {
  3837. throwBindingError("Cannot register type '" + name2 + "' twice");
  3838. }
  3839. }
  3840. registeredTypes[rawType] = registeredInstance;
  3841. delete typeDependencies[rawType];
  3842. if (awaitingDependencies.hasOwnProperty(rawType)) {
  3843. var callbacks = awaitingDependencies[rawType];
  3844. delete awaitingDependencies[rawType];
  3845. callbacks.forEach(function(cb) {
  3846. cb();
  3847. });
  3848. }
  3849. }
  3850. function __embind_register_bool(rawType, name2, size, trueValue, falseValue) {
  3851. var shift = getShiftFromSize(size);
  3852. name2 = readLatin1String(name2);
  3853. registerType(rawType, { name: name2, "fromWireType": function(wt) {
  3854. return !!wt;
  3855. }, "toWireType": function(destructors, o) {
  3856. return o ? trueValue : falseValue;
  3857. }, "argPackAdvance": 8, "readValueFromPointer": function(pointer) {
  3858. var heap;
  3859. if (size === 1) {
  3860. heap = GROWABLE_HEAP_I8();
  3861. } else if (size === 2) {
  3862. heap = GROWABLE_HEAP_I16();
  3863. } else if (size === 4) {
  3864. heap = GROWABLE_HEAP_I32();
  3865. } else {
  3866. throw new TypeError("Unknown boolean type size: " + name2);
  3867. }
  3868. return this["fromWireType"](heap[pointer >>> shift]);
  3869. }, destructorFunction: null });
  3870. }
  3871. function ClassHandle_isAliasOf(other) {
  3872. if (!(this instanceof ClassHandle)) {
  3873. return false;
  3874. }
  3875. if (!(other instanceof ClassHandle)) {
  3876. return false;
  3877. }
  3878. var leftClass = this.$$.ptrType.registeredClass;
  3879. var left = this.$$.ptr;
  3880. var rightClass = other.$$.ptrType.registeredClass;
  3881. var right = other.$$.ptr;
  3882. while (leftClass.baseClass) {
  3883. left = leftClass.upcast(left);
  3884. leftClass = leftClass.baseClass;
  3885. }
  3886. while (rightClass.baseClass) {
  3887. right = rightClass.upcast(right);
  3888. rightClass = rightClass.baseClass;
  3889. }
  3890. return leftClass === rightClass && left === right;
  3891. }
  3892. function shallowCopyInternalPointer(o) {
  3893. return { count: o.count, deleteScheduled: o.deleteScheduled, preservePointerOnDelete: o.preservePointerOnDelete, ptr: o.ptr, ptrType: o.ptrType, smartPtr: o.smartPtr, smartPtrType: o.smartPtrType };
  3894. }
  3895. function throwInstanceAlreadyDeleted(obj) {
  3896. function getInstanceTypeName(handle) {
  3897. return handle.$$.ptrType.registeredClass.name;
  3898. }
  3899. throwBindingError(getInstanceTypeName(obj) + " instance already deleted");
  3900. }
  3901. var finalizationGroup = false;
  3902. function detachFinalizer(handle) {
  3903. }
  3904. function runDestructor($$) {
  3905. if ($$.smartPtr) {
  3906. $$.smartPtrType.rawDestructor($$.smartPtr);
  3907. } else {
  3908. $$.ptrType.registeredClass.rawDestructor($$.ptr);
  3909. }
  3910. }
  3911. function releaseClassHandle($$) {
  3912. $$.count.value -= 1;
  3913. var toDelete = $$.count.value === 0;
  3914. if (toDelete) {
  3915. runDestructor($$);
  3916. }
  3917. }
  3918. function attachFinalizer(handle) {
  3919. if (typeof FinalizationGroup === "undefined") {
  3920. attachFinalizer = function(handle2) {
  3921. return handle2;
  3922. };
  3923. return handle;
  3924. }
  3925. finalizationGroup = new FinalizationGroup(function(iter) {
  3926. for (var result = iter.next(); !result.done; result = iter.next()) {
  3927. var $$ = result.value;
  3928. if (!$$.ptr) {
  3929. console.warn("object already deleted: " + $$.ptr);
  3930. } else {
  3931. releaseClassHandle($$);
  3932. }
  3933. }
  3934. });
  3935. attachFinalizer = function(handle2) {
  3936. finalizationGroup.register(handle2, handle2.$$, handle2.$$);
  3937. return handle2;
  3938. };
  3939. detachFinalizer = function(handle2) {
  3940. finalizationGroup.unregister(handle2.$$);
  3941. };
  3942. return attachFinalizer(handle);
  3943. }
  3944. function ClassHandle_clone() {
  3945. if (!this.$$.ptr) {
  3946. throwInstanceAlreadyDeleted(this);
  3947. }
  3948. if (this.$$.preservePointerOnDelete) {
  3949. this.$$.count.value += 1;
  3950. return this;
  3951. } else {
  3952. var clone = attachFinalizer(Object.create(Object.getPrototypeOf(this), { $$: { value: shallowCopyInternalPointer(this.$$) } }));
  3953. clone.$$.count.value += 1;
  3954. clone.$$.deleteScheduled = false;
  3955. return clone;
  3956. }
  3957. }
  3958. function ClassHandle_delete() {
  3959. if (!this.$$.ptr) {
  3960. throwInstanceAlreadyDeleted(this);
  3961. }
  3962. if (this.$$.deleteScheduled && !this.$$.preservePointerOnDelete) {
  3963. throwBindingError("Object already scheduled for deletion");
  3964. }
  3965. detachFinalizer(this);
  3966. releaseClassHandle(this.$$);
  3967. if (!this.$$.preservePointerOnDelete) {
  3968. this.$$.smartPtr = void 0;
  3969. this.$$.ptr = void 0;
  3970. }
  3971. }
  3972. function ClassHandle_isDeleted() {
  3973. return !this.$$.ptr;
  3974. }
  3975. var delayFunction = void 0;
  3976. var deletionQueue = [];
  3977. function flushPendingDeletes() {
  3978. while (deletionQueue.length) {
  3979. var obj = deletionQueue.pop();
  3980. obj.$$.deleteScheduled = false;
  3981. obj["delete"]();
  3982. }
  3983. }
  3984. function ClassHandle_deleteLater() {
  3985. if (!this.$$.ptr) {
  3986. throwInstanceAlreadyDeleted(this);
  3987. }
  3988. if (this.$$.deleteScheduled && !this.$$.preservePointerOnDelete) {
  3989. throwBindingError("Object already scheduled for deletion");
  3990. }
  3991. deletionQueue.push(this);
  3992. if (deletionQueue.length === 1 && delayFunction) {
  3993. delayFunction(flushPendingDeletes);
  3994. }
  3995. this.$$.deleteScheduled = true;
  3996. return this;
  3997. }
  3998. function init_ClassHandle() {
  3999. ClassHandle.prototype["isAliasOf"] = ClassHandle_isAliasOf;
  4000. ClassHandle.prototype["clone"] = ClassHandle_clone;
  4001. ClassHandle.prototype["delete"] = ClassHandle_delete;
  4002. ClassHandle.prototype["isDeleted"] = ClassHandle_isDeleted;
  4003. ClassHandle.prototype["deleteLater"] = ClassHandle_deleteLater;
  4004. }
  4005. function ClassHandle() {
  4006. }
  4007. var registeredPointers = {};
  4008. function ensureOverloadTable(proto, methodName, humanName) {
  4009. if (proto[methodName].overloadTable === void 0) {
  4010. var prevFunc = proto[methodName];
  4011. proto[methodName] = function() {
  4012. if (!proto[methodName].overloadTable.hasOwnProperty(arguments.length)) {
  4013. throwBindingError("Function '" + humanName + "' called with an invalid number of arguments (" + arguments.length + ") - expects one of (" + proto[methodName].overloadTable + ")!");
  4014. }
  4015. return proto[methodName].overloadTable[arguments.length].apply(this, arguments);
  4016. };
  4017. proto[methodName].overloadTable = [];
  4018. proto[methodName].overloadTable[prevFunc.argCount] = prevFunc;
  4019. }
  4020. }
  4021. function exposePublicSymbol(name2, value, numArguments) {
  4022. if (Module.hasOwnProperty(name2)) {
  4023. if (numArguments === void 0 || Module[name2].overloadTable !== void 0 && Module[name2].overloadTable[numArguments] !== void 0) {
  4024. throwBindingError("Cannot register public name '" + name2 + "' twice");
  4025. }
  4026. ensureOverloadTable(Module, name2, name2);
  4027. if (Module.hasOwnProperty(numArguments)) {
  4028. throwBindingError("Cannot register multiple overloads of a function with the same number of arguments (" + numArguments + ")!");
  4029. }
  4030. Module[name2].overloadTable[numArguments] = value;
  4031. } else {
  4032. Module[name2] = value;
  4033. if (numArguments !== void 0) {
  4034. Module[name2].numArguments = numArguments;
  4035. }
  4036. }
  4037. }
  4038. function RegisteredClass(name2, constructor, instancePrototype, rawDestructor, baseClass, getActualType, upcast, downcast) {
  4039. this.name = name2;
  4040. this.constructor = constructor;
  4041. this.instancePrototype = instancePrototype;
  4042. this.rawDestructor = rawDestructor;
  4043. this.baseClass = baseClass;
  4044. this.getActualType = getActualType;
  4045. this.upcast = upcast;
  4046. this.downcast = downcast;
  4047. this.pureVirtualFunctions = [];
  4048. }
  4049. function upcastPointer(ptr, ptrClass, desiredClass) {
  4050. while (ptrClass !== desiredClass) {
  4051. if (!ptrClass.upcast) {
  4052. throwBindingError("Expected null or instance of " + desiredClass.name + ", got an instance of " + ptrClass.name);
  4053. }
  4054. ptr = ptrClass.upcast(ptr);
  4055. ptrClass = ptrClass.baseClass;
  4056. }
  4057. return ptr;
  4058. }
  4059. function constNoSmartPtrRawPointerToWireType(destructors, handle) {
  4060. if (handle === null) {
  4061. if (this.isReference) {
  4062. throwBindingError("null is not a valid " + this.name);
  4063. }
  4064. return 0;
  4065. }
  4066. if (!handle.$$) {
  4067. throwBindingError('Cannot pass "' + _embind_repr(handle) + '" as a ' + this.name);
  4068. }
  4069. if (!handle.$$.ptr) {
  4070. throwBindingError("Cannot pass deleted object as a pointer of type " + this.name);
  4071. }
  4072. var handleClass = handle.$$.ptrType.registeredClass;
  4073. var ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass);
  4074. return ptr;
  4075. }
  4076. function genericPointerToWireType(destructors, handle) {
  4077. var ptr;
  4078. if (handle === null) {
  4079. if (this.isReference) {
  4080. throwBindingError("null is not a valid " + this.name);
  4081. }
  4082. if (this.isSmartPointer) {
  4083. ptr = this.rawConstructor();
  4084. if (destructors !== null) {
  4085. destructors.push(this.rawDestructor, ptr);
  4086. }
  4087. return ptr;
  4088. } else {
  4089. return 0;
  4090. }
  4091. }
  4092. if (!handle.$$) {
  4093. throwBindingError('Cannot pass "' + _embind_repr(handle) + '" as a ' + this.name);
  4094. }
  4095. if (!handle.$$.ptr) {
  4096. throwBindingError("Cannot pass deleted object as a pointer of type " + this.name);
  4097. }
  4098. if (!this.isConst && handle.$$.ptrType.isConst) {
  4099. throwBindingError("Cannot convert argument of type " + (handle.$$.smartPtrType ? handle.$$.smartPtrType.name : handle.$$.ptrType.name) + " to parameter type " + this.name);
  4100. }
  4101. var handleClass = handle.$$.ptrType.registeredClass;
  4102. ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass);
  4103. if (this.isSmartPointer) {
  4104. if (handle.$$.smartPtr === void 0) {
  4105. throwBindingError("Passing raw pointer to smart pointer is illegal");
  4106. }
  4107. switch (this.sharingPolicy) {
  4108. case 0:
  4109. if (handle.$$.smartPtrType === this) {
  4110. ptr = handle.$$.smartPtr;
  4111. } else {
  4112. throwBindingError("Cannot convert argument of type " + (handle.$$.smartPtrType ? handle.$$.smartPtrType.name : handle.$$.ptrType.name) + " to parameter type " + this.name);
  4113. }
  4114. break;
  4115. case 1:
  4116. ptr = handle.$$.smartPtr;
  4117. break;
  4118. case 2:
  4119. if (handle.$$.smartPtrType === this) {
  4120. ptr = handle.$$.smartPtr;
  4121. } else {
  4122. var clonedHandle = handle["clone"]();
  4123. ptr = this.rawShare(ptr, __emval_register(function() {
  4124. clonedHandle["delete"]();
  4125. }));
  4126. if (destructors !== null) {
  4127. destructors.push(this.rawDestructor, ptr);
  4128. }
  4129. }
  4130. break;
  4131. default:
  4132. throwBindingError("Unsupporting sharing policy");
  4133. }
  4134. }
  4135. return ptr;
  4136. }
  4137. function nonConstNoSmartPtrRawPointerToWireType(destructors, handle) {
  4138. if (handle === null) {
  4139. if (this.isReference) {
  4140. throwBindingError("null is not a valid " + this.name);
  4141. }
  4142. return 0;
  4143. }
  4144. if (!handle.$$) {
  4145. throwBindingError('Cannot pass "' + _embind_repr(handle) + '" as a ' + this.name);
  4146. }
  4147. if (!handle.$$.ptr) {
  4148. throwBindingError("Cannot pass deleted object as a pointer of type " + this.name);
  4149. }
  4150. if (handle.$$.ptrType.isConst) {
  4151. throwBindingError("Cannot convert argument of type " + handle.$$.ptrType.name + " to parameter type " + this.name);
  4152. }
  4153. var handleClass = handle.$$.ptrType.registeredClass;
  4154. var ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass);
  4155. return ptr;
  4156. }
  4157. function RegisteredPointer_getPointee(ptr) {
  4158. if (this.rawGetPointee) {
  4159. ptr = this.rawGetPointee(ptr);
  4160. }
  4161. return ptr;
  4162. }
  4163. function RegisteredPointer_destructor(ptr) {
  4164. if (this.rawDestructor) {
  4165. this.rawDestructor(ptr);
  4166. }
  4167. }
  4168. function RegisteredPointer_deleteObject(handle) {
  4169. if (handle !== null) {
  4170. handle["delete"]();
  4171. }
  4172. }
  4173. function downcastPointer(ptr, ptrClass, desiredClass) {
  4174. if (ptrClass === desiredClass) {
  4175. return ptr;
  4176. }
  4177. if (desiredClass.baseClass === void 0) {
  4178. return null;
  4179. }
  4180. var rv = downcastPointer(ptr, ptrClass, desiredClass.baseClass);
  4181. if (rv === null) {
  4182. return null;
  4183. }
  4184. return desiredClass.downcast(rv);
  4185. }
  4186. function getInheritedInstanceCount() {
  4187. return Object.keys(registeredInstances).length;
  4188. }
  4189. function getLiveInheritedInstances() {
  4190. var rv = [];
  4191. for (var k in registeredInstances) {
  4192. if (registeredInstances.hasOwnProperty(k)) {
  4193. rv.push(registeredInstances[k]);
  4194. }
  4195. }
  4196. return rv;
  4197. }
  4198. function setDelayFunction(fn) {
  4199. delayFunction = fn;
  4200. if (deletionQueue.length && delayFunction) {
  4201. delayFunction(flushPendingDeletes);
  4202. }
  4203. }
  4204. function init_embind() {
  4205. Module["getInheritedInstanceCount"] = getInheritedInstanceCount;
  4206. Module["getLiveInheritedInstances"] = getLiveInheritedInstances;
  4207. Module["flushPendingDeletes"] = flushPendingDeletes;
  4208. Module["setDelayFunction"] = setDelayFunction;
  4209. }
  4210. var registeredInstances = {};
  4211. function getBasestPointer(class_, ptr) {
  4212. if (ptr === void 0) {
  4213. throwBindingError("ptr should not be undefined");
  4214. }
  4215. while (class_.baseClass) {
  4216. ptr = class_.upcast(ptr);
  4217. class_ = class_.baseClass;
  4218. }
  4219. return ptr;
  4220. }
  4221. function getInheritedInstance(class_, ptr) {
  4222. ptr = getBasestPointer(class_, ptr);
  4223. return registeredInstances[ptr];
  4224. }
  4225. function makeClassHandle(prototype, record) {
  4226. if (!record.ptrType || !record.ptr) {
  4227. throwInternalError("makeClassHandle requires ptr and ptrType");
  4228. }
  4229. var hasSmartPtrType = !!record.smartPtrType;
  4230. var hasSmartPtr = !!record.smartPtr;
  4231. if (hasSmartPtrType !== hasSmartPtr) {
  4232. throwInternalError("Both smartPtrType and smartPtr must be specified");
  4233. }
  4234. record.count = { value: 1 };
  4235. return attachFinalizer(Object.create(prototype, { $$: { value: record } }));
  4236. }
  4237. function RegisteredPointer_fromWireType(ptr) {
  4238. var rawPointer = this.getPointee(ptr);
  4239. if (!rawPointer) {
  4240. this.destructor(ptr);
  4241. return null;
  4242. }
  4243. var registeredInstance = getInheritedInstance(this.registeredClass, rawPointer);
  4244. if (registeredInstance !== void 0) {
  4245. if (registeredInstance.$$.count.value === 0) {
  4246. registeredInstance.$$.ptr = rawPointer;
  4247. registeredInstance.$$.smartPtr = ptr;
  4248. return registeredInstance["clone"]();
  4249. } else {
  4250. var rv = registeredInstance["clone"]();
  4251. this.destructor(ptr);
  4252. return rv;
  4253. }
  4254. }
  4255. function makeDefaultHandle() {
  4256. if (this.isSmartPointer) {
  4257. return makeClassHandle(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: rawPointer, smartPtrType: this, smartPtr: ptr });
  4258. } else {
  4259. return makeClassHandle(this.registeredClass.instancePrototype, { ptrType: this, ptr });
  4260. }
  4261. }
  4262. var actualType = this.registeredClass.getActualType(rawPointer);
  4263. var registeredPointerRecord = registeredPointers[actualType];
  4264. if (!registeredPointerRecord) {
  4265. return makeDefaultHandle.call(this);
  4266. }
  4267. var toType;
  4268. if (this.isConst) {
  4269. toType = registeredPointerRecord.constPointerType;
  4270. } else {
  4271. toType = registeredPointerRecord.pointerType;
  4272. }
  4273. var dp = downcastPointer(rawPointer, this.registeredClass, toType.registeredClass);
  4274. if (dp === null) {
  4275. return makeDefaultHandle.call(this);
  4276. }
  4277. if (this.isSmartPointer) {
  4278. return makeClassHandle(toType.registeredClass.instancePrototype, { ptrType: toType, ptr: dp, smartPtrType: this, smartPtr: ptr });
  4279. } else {
  4280. return makeClassHandle(toType.registeredClass.instancePrototype, { ptrType: toType, ptr: dp });
  4281. }
  4282. }
  4283. function init_RegisteredPointer() {
  4284. RegisteredPointer.prototype.getPointee = RegisteredPointer_getPointee;
  4285. RegisteredPointer.prototype.destructor = RegisteredPointer_destructor;
  4286. RegisteredPointer.prototype["argPackAdvance"] = 8;
  4287. RegisteredPointer.prototype["readValueFromPointer"] = simpleReadValueFromPointer;
  4288. RegisteredPointer.prototype["deleteObject"] = RegisteredPointer_deleteObject;
  4289. RegisteredPointer.prototype["fromWireType"] = RegisteredPointer_fromWireType;
  4290. }
  4291. function RegisteredPointer(name2, registeredClass, isReference, isConst, isSmartPointer, pointeeType, sharingPolicy, rawGetPointee, rawConstructor, rawShare, rawDestructor) {
  4292. this.name = name2;
  4293. this.registeredClass = registeredClass;
  4294. this.isReference = isReference;
  4295. this.isConst = isConst;
  4296. this.isSmartPointer = isSmartPointer;
  4297. this.pointeeType = pointeeType;
  4298. this.sharingPolicy = sharingPolicy;
  4299. this.rawGetPointee = rawGetPointee;
  4300. this.rawConstructor = rawConstructor;
  4301. this.rawShare = rawShare;
  4302. this.rawDestructor = rawDestructor;
  4303. if (!isSmartPointer && registeredClass.baseClass === void 0) {
  4304. if (isConst) {
  4305. this["toWireType"] = constNoSmartPtrRawPointerToWireType;
  4306. this.destructorFunction = null;
  4307. } else {
  4308. this["toWireType"] = nonConstNoSmartPtrRawPointerToWireType;
  4309. this.destructorFunction = null;
  4310. }
  4311. } else {
  4312. this["toWireType"] = genericPointerToWireType;
  4313. }
  4314. }
  4315. function replacePublicSymbol(name2, value, numArguments) {
  4316. if (!Module.hasOwnProperty(name2)) {
  4317. throwInternalError("Replacing nonexistant public symbol");
  4318. }
  4319. if (Module[name2].overloadTable !== void 0 && numArguments !== void 0) {
  4320. Module[name2].overloadTable[numArguments] = value;
  4321. } else {
  4322. Module[name2] = value;
  4323. Module[name2].argCount = numArguments;
  4324. }
  4325. }
  4326. function dynCallLegacy(sig, ptr, args) {
  4327. var f = Module["dynCall_" + sig];
  4328. return args && args.length ? f.apply(null, [ptr].concat(args)) : f.call(null, ptr);
  4329. }
  4330. function dynCall(sig, ptr, args) {
  4331. if (sig.includes("j")) {
  4332. return dynCallLegacy(sig, ptr, args);
  4333. }
  4334. return wasmTable.get(ptr).apply(null, args);
  4335. }
  4336. function getDynCaller(sig, ptr) {
  4337. var argCache = [];
  4338. return function() {
  4339. argCache.length = arguments.length;
  4340. for (var i = 0; i < arguments.length; i++) {
  4341. argCache[i] = arguments[i];
  4342. }
  4343. return dynCall(sig, ptr, argCache);
  4344. };
  4345. }
  4346. function embind__requireFunction(signature, rawFunction) {
  4347. signature = readLatin1String(signature);
  4348. function makeDynCaller() {
  4349. if (signature.includes("j")) {
  4350. return getDynCaller(signature, rawFunction);
  4351. }
  4352. return wasmTable.get(rawFunction);
  4353. }
  4354. var fp = makeDynCaller();
  4355. if (typeof fp !== "function") {
  4356. throwBindingError("unknown function pointer with signature " + signature + ": " + rawFunction);
  4357. }
  4358. return fp;
  4359. }
  4360. var UnboundTypeError = void 0;
  4361. function getTypeName(type) {
  4362. var ptr = ___getTypeName(type);
  4363. var rv = readLatin1String(ptr);
  4364. _free(ptr);
  4365. return rv;
  4366. }
  4367. function throwUnboundTypeError(message, types) {
  4368. var unboundTypes = [];
  4369. var seen = {};
  4370. function visit(type) {
  4371. if (seen[type]) {
  4372. return;
  4373. }
  4374. if (registeredTypes[type]) {
  4375. return;
  4376. }
  4377. if (typeDependencies[type]) {
  4378. typeDependencies[type].forEach(visit);
  4379. return;
  4380. }
  4381. unboundTypes.push(type);
  4382. seen[type] = true;
  4383. }
  4384. types.forEach(visit);
  4385. throw new UnboundTypeError(message + ": " + unboundTypes.map(getTypeName).join([", "]));
  4386. }
  4387. function __embind_register_class(rawType, rawPointerType, rawConstPointerType, baseClassRawType, getActualTypeSignature, getActualType, upcastSignature, upcast, downcastSignature, downcast, name2, destructorSignature, rawDestructor) {
  4388. name2 = readLatin1String(name2);
  4389. getActualType = embind__requireFunction(getActualTypeSignature, getActualType);
  4390. if (upcast) {
  4391. upcast = embind__requireFunction(upcastSignature, upcast);
  4392. }
  4393. if (downcast) {
  4394. downcast = embind__requireFunction(downcastSignature, downcast);
  4395. }
  4396. rawDestructor = embind__requireFunction(destructorSignature, rawDestructor);
  4397. var legalFunctionName = makeLegalFunctionName(name2);
  4398. exposePublicSymbol(legalFunctionName, function() {
  4399. throwUnboundTypeError("Cannot construct " + name2 + " due to unbound types", [baseClassRawType]);
  4400. });
  4401. whenDependentTypesAreResolved([rawType, rawPointerType, rawConstPointerType], baseClassRawType ? [baseClassRawType] : [], function(base) {
  4402. base = base[0];
  4403. var baseClass;
  4404. var basePrototype;
  4405. if (baseClassRawType) {
  4406. baseClass = base.registeredClass;
  4407. basePrototype = baseClass.instancePrototype;
  4408. } else {
  4409. basePrototype = ClassHandle.prototype;
  4410. }
  4411. var constructor = createNamedFunction(legalFunctionName, function() {
  4412. if (Object.getPrototypeOf(this) !== instancePrototype) {
  4413. throw new BindingError("Use 'new' to construct " + name2);
  4414. }
  4415. if (registeredClass.constructor_body === void 0) {
  4416. throw new BindingError(name2 + " has no accessible constructor");
  4417. }
  4418. var body = registeredClass.constructor_body[arguments.length];
  4419. if (body === void 0) {
  4420. throw new BindingError("Tried to invoke ctor of " + name2 + " with invalid number of parameters (" + arguments.length + ") - expected (" + Object.keys(registeredClass.constructor_body).toString() + ") parameters instead!");
  4421. }
  4422. return body.apply(this, arguments);
  4423. });
  4424. var instancePrototype = Object.create(basePrototype, { constructor: { value: constructor } });
  4425. constructor.prototype = instancePrototype;
  4426. var registeredClass = new RegisteredClass(name2, constructor, instancePrototype, rawDestructor, baseClass, getActualType, upcast, downcast);
  4427. var referenceConverter = new RegisteredPointer(name2, registeredClass, true, false, false);
  4428. var pointerConverter = new RegisteredPointer(name2 + "*", registeredClass, false, false, false);
  4429. var constPointerConverter = new RegisteredPointer(name2 + " const*", registeredClass, false, true, false);
  4430. registeredPointers[rawType] = { pointerType: pointerConverter, constPointerType: constPointerConverter };
  4431. replacePublicSymbol(legalFunctionName, constructor);
  4432. return [referenceConverter, pointerConverter, constPointerConverter];
  4433. });
  4434. }
  4435. function heap32VectorToArray(count, firstElement) {
  4436. var array = [];
  4437. for (var i = 0; i < count; i++) {
  4438. array.push(GROWABLE_HEAP_I32()[(firstElement >> 2) + i >>> 0]);
  4439. }
  4440. return array;
  4441. }
  4442. function __embind_register_class_constructor(rawClassType, argCount, rawArgTypesAddr, invokerSignature, invoker, rawConstructor) {
  4443. assert(argCount > 0);
  4444. var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr);
  4445. invoker = embind__requireFunction(invokerSignature, invoker);
  4446. var args = [rawConstructor];
  4447. var destructors = [];
  4448. whenDependentTypesAreResolved([], [rawClassType], function(classType) {
  4449. classType = classType[0];
  4450. var humanName = "constructor " + classType.name;
  4451. if (classType.registeredClass.constructor_body === void 0) {
  4452. classType.registeredClass.constructor_body = [];
  4453. }
  4454. if (classType.registeredClass.constructor_body[argCount - 1] !== void 0) {
  4455. throw new BindingError("Cannot register multiple constructors with identical number of parameters (" + (argCount - 1) + ") for class '" + classType.name + "'! Overload resolution is currently only performed using the parameter count, not actual type info!");
  4456. }
  4457. classType.registeredClass.constructor_body[argCount - 1] = function unboundTypeHandler() {
  4458. throwUnboundTypeError("Cannot construct " + classType.name + " due to unbound types", rawArgTypes);
  4459. };
  4460. whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) {
  4461. classType.registeredClass.constructor_body[argCount - 1] = function constructor_body() {
  4462. if (arguments.length !== argCount - 1) {
  4463. throwBindingError(humanName + " called with " + arguments.length + " arguments, expected " + (argCount - 1));
  4464. }
  4465. destructors.length = 0;
  4466. args.length = argCount;
  4467. for (var i = 1; i < argCount; ++i) {
  4468. args[i] = argTypes[i]["toWireType"](destructors, arguments[i - 1]);
  4469. }
  4470. var ptr = invoker.apply(null, args);
  4471. runDestructors(destructors);
  4472. return argTypes[0]["fromWireType"](ptr);
  4473. };
  4474. return [];
  4475. });
  4476. return [];
  4477. });
  4478. }
  4479. function new_(constructor, argumentList) {
  4480. if (!(constructor instanceof Function)) {
  4481. throw new TypeError("new_ called with constructor type " + typeof constructor + " which is not a function");
  4482. }
  4483. var dummy = createNamedFunction(constructor.name || "unknownFunctionName", function() {
  4484. });
  4485. dummy.prototype = constructor.prototype;
  4486. var obj = new dummy();
  4487. var r = constructor.apply(obj, argumentList);
  4488. return r instanceof Object ? r : obj;
  4489. }
  4490. function craftInvokerFunction(humanName, argTypes, classType, cppInvokerFunc, cppTargetFunc) {
  4491. var argCount = argTypes.length;
  4492. if (argCount < 2) {
  4493. throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!");
  4494. }
  4495. var isClassMethodFunc = argTypes[1] !== null && classType !== null;
  4496. var needsDestructorStack = false;
  4497. for (var i = 1; i < argTypes.length; ++i) {
  4498. if (argTypes[i] !== null && argTypes[i].destructorFunction === void 0) {
  4499. needsDestructorStack = true;
  4500. break;
  4501. }
  4502. }
  4503. var returns = argTypes[0].name !== "void";
  4504. var argsList = "";
  4505. var argsListWired = "";
  4506. for (var i = 0; i < argCount - 2; ++i) {
  4507. argsList += (i !== 0 ? ", " : "") + "arg" + i;
  4508. argsListWired += (i !== 0 ? ", " : "") + "arg" + i + "Wired";
  4509. }
  4510. var invokerFnBody = "return function " + makeLegalFunctionName(humanName) + "(" + argsList + ") {\nif (arguments.length !== " + (argCount - 2) + ") {\nthrowBindingError('function " + humanName + " called with ' + arguments.length + ' arguments, expected " + (argCount - 2) + " args!');\n}\n";
  4511. if (needsDestructorStack) {
  4512. invokerFnBody += "var destructors = [];\n";
  4513. }
  4514. var dtorStack = needsDestructorStack ? "destructors" : "null";
  4515. var args1 = ["throwBindingError", "invoker", "fn", "runDestructors", "retType", "classParam"];
  4516. var args2 = [throwBindingError, cppInvokerFunc, cppTargetFunc, runDestructors, argTypes[0], argTypes[1]];
  4517. if (isClassMethodFunc) {
  4518. invokerFnBody += "var thisWired = classParam.toWireType(" + dtorStack + ", this);\n";
  4519. }
  4520. for (var i = 0; i < argCount - 2; ++i) {
  4521. invokerFnBody += "var arg" + i + "Wired = argType" + i + ".toWireType(" + dtorStack + ", arg" + i + "); // " + argTypes[i + 2].name + "\n";
  4522. args1.push("argType" + i);
  4523. args2.push(argTypes[i + 2]);
  4524. }
  4525. if (isClassMethodFunc) {
  4526. argsListWired = "thisWired" + (argsListWired.length > 0 ? ", " : "") + argsListWired;
  4527. }
  4528. invokerFnBody += (returns ? "var rv = " : "") + "invoker(fn" + (argsListWired.length > 0 ? ", " : "") + argsListWired + ");\n";
  4529. if (needsDestructorStack) {
  4530. invokerFnBody += "runDestructors(destructors);\n";
  4531. } else {
  4532. for (var i = isClassMethodFunc ? 1 : 2; i < argTypes.length; ++i) {
  4533. var paramName = i === 1 ? "thisWired" : "arg" + (i - 2) + "Wired";
  4534. if (argTypes[i].destructorFunction !== null) {
  4535. invokerFnBody += paramName + "_dtor(" + paramName + "); // " + argTypes[i].name + "\n";
  4536. args1.push(paramName + "_dtor");
  4537. args2.push(argTypes[i].destructorFunction);
  4538. }
  4539. }
  4540. }
  4541. if (returns) {
  4542. invokerFnBody += "var ret = retType.fromWireType(rv);\nreturn ret;\n";
  4543. } else {
  4544. }
  4545. invokerFnBody += "}\n";
  4546. args1.push(invokerFnBody);
  4547. var invokerFunction = new_(Function, args1).apply(null, args2);
  4548. return invokerFunction;
  4549. }
  4550. function __embind_register_class_function(rawClassType, methodName, argCount, rawArgTypesAddr, invokerSignature, rawInvoker, context, isPureVirtual) {
  4551. var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr);
  4552. methodName = readLatin1String(methodName);
  4553. rawInvoker = embind__requireFunction(invokerSignature, rawInvoker);
  4554. whenDependentTypesAreResolved([], [rawClassType], function(classType) {
  4555. classType = classType[0];
  4556. var humanName = classType.name + "." + methodName;
  4557. if (methodName.startsWith("@@")) {
  4558. methodName = Symbol[methodName.substring(2)];
  4559. }
  4560. if (isPureVirtual) {
  4561. classType.registeredClass.pureVirtualFunctions.push(methodName);
  4562. }
  4563. function unboundTypesHandler() {
  4564. throwUnboundTypeError("Cannot call " + humanName + " due to unbound types", rawArgTypes);
  4565. }
  4566. var proto = classType.registeredClass.instancePrototype;
  4567. var method = proto[methodName];
  4568. if (method === void 0 || method.overloadTable === void 0 && method.className !== classType.name && method.argCount === argCount - 2) {
  4569. unboundTypesHandler.argCount = argCount - 2;
  4570. unboundTypesHandler.className = classType.name;
  4571. proto[methodName] = unboundTypesHandler;
  4572. } else {
  4573. ensureOverloadTable(proto, methodName, humanName);
  4574. proto[methodName].overloadTable[argCount - 2] = unboundTypesHandler;
  4575. }
  4576. whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) {
  4577. var memberFunction = craftInvokerFunction(humanName, argTypes, classType, rawInvoker, context);
  4578. if (proto[methodName].overloadTable === void 0) {
  4579. memberFunction.argCount = argCount - 2;
  4580. proto[methodName] = memberFunction;
  4581. } else {
  4582. proto[methodName].overloadTable[argCount - 2] = memberFunction;
  4583. }
  4584. return [];
  4585. });
  4586. return [];
  4587. });
  4588. }
  4589. var emval_free_list = [];
  4590. var emval_handle_array = [{}, { value: void 0 }, { value: null }, { value: true }, { value: false }];
  4591. function __emval_decref(handle) {
  4592. if (handle > 4 && --emval_handle_array[handle].refcount === 0) {
  4593. emval_handle_array[handle] = void 0;
  4594. emval_free_list.push(handle);
  4595. }
  4596. }
  4597. function count_emval_handles() {
  4598. var count = 0;
  4599. for (var i = 5; i < emval_handle_array.length; ++i) {
  4600. if (emval_handle_array[i] !== void 0) {
  4601. ++count;
  4602. }
  4603. }
  4604. return count;
  4605. }
  4606. function get_first_emval() {
  4607. for (var i = 5; i < emval_handle_array.length; ++i) {
  4608. if (emval_handle_array[i] !== void 0) {
  4609. return emval_handle_array[i];
  4610. }
  4611. }
  4612. return null;
  4613. }
  4614. function init_emval() {
  4615. Module["count_emval_handles"] = count_emval_handles;
  4616. Module["get_first_emval"] = get_first_emval;
  4617. }
  4618. function __emval_register(value) {
  4619. switch (value) {
  4620. case void 0: {
  4621. return 1;
  4622. }
  4623. case null: {
  4624. return 2;
  4625. }
  4626. case true: {
  4627. return 3;
  4628. }
  4629. case false: {
  4630. return 4;
  4631. }
  4632. default: {
  4633. var handle = emval_free_list.length ? emval_free_list.pop() : emval_handle_array.length;
  4634. emval_handle_array[handle] = { refcount: 1, value };
  4635. return handle;
  4636. }
  4637. }
  4638. }
  4639. function __embind_register_emval(rawType, name2) {
  4640. name2 = readLatin1String(name2);
  4641. registerType(rawType, { name: name2, "fromWireType": function(handle) {
  4642. var rv = emval_handle_array[handle].value;
  4643. __emval_decref(handle);
  4644. return rv;
  4645. }, "toWireType": function(destructors, value) {
  4646. return __emval_register(value);
  4647. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: null });
  4648. }
  4649. function enumReadValueFromPointer(name2, shift, signed) {
  4650. switch (shift) {
  4651. case 0:
  4652. return function(pointer) {
  4653. var heap = signed ? GROWABLE_HEAP_I8() : GROWABLE_HEAP_U8();
  4654. return this["fromWireType"](heap[pointer >>> 0]);
  4655. };
  4656. case 1:
  4657. return function(pointer) {
  4658. var heap = signed ? GROWABLE_HEAP_I16() : GROWABLE_HEAP_U16();
  4659. return this["fromWireType"](heap[pointer >>> 1]);
  4660. };
  4661. case 2:
  4662. return function(pointer) {
  4663. var heap = signed ? GROWABLE_HEAP_I32() : GROWABLE_HEAP_U32();
  4664. return this["fromWireType"](heap[pointer >>> 2]);
  4665. };
  4666. default:
  4667. throw new TypeError("Unknown integer type: " + name2);
  4668. }
  4669. }
  4670. function __embind_register_enum(rawType, name2, size, isSigned) {
  4671. var shift = getShiftFromSize(size);
  4672. name2 = readLatin1String(name2);
  4673. function ctor() {
  4674. }
  4675. ctor.values = {};
  4676. registerType(rawType, { name: name2, constructor: ctor, "fromWireType": function(c) {
  4677. return this.constructor.values[c];
  4678. }, "toWireType": function(destructors, c) {
  4679. return c.value;
  4680. }, "argPackAdvance": 8, "readValueFromPointer": enumReadValueFromPointer(name2, shift, isSigned), destructorFunction: null });
  4681. exposePublicSymbol(name2, ctor);
  4682. }
  4683. function requireRegisteredType(rawType, humanName) {
  4684. var impl = registeredTypes[rawType];
  4685. if (impl === void 0) {
  4686. throwBindingError(humanName + " has unknown type " + getTypeName(rawType));
  4687. }
  4688. return impl;
  4689. }
  4690. function __embind_register_enum_value(rawEnumType, name2, enumValue) {
  4691. var enumType = requireRegisteredType(rawEnumType, "enum");
  4692. name2 = readLatin1String(name2);
  4693. var Enum = enumType.constructor;
  4694. var Value2 = Object.create(enumType.constructor.prototype, { value: { value: enumValue }, constructor: { value: createNamedFunction(enumType.name + "_" + name2, function() {
  4695. }) } });
  4696. Enum.values[enumValue] = Value2;
  4697. Enum[name2] = Value2;
  4698. }
  4699. function _embind_repr(v) {
  4700. if (v === null) {
  4701. return "null";
  4702. }
  4703. var t = typeof v;
  4704. if (t === "object" || t === "array" || t === "function") {
  4705. return v.toString();
  4706. } else {
  4707. return "" + v;
  4708. }
  4709. }
  4710. function floatReadValueFromPointer(name2, shift) {
  4711. switch (shift) {
  4712. case 2:
  4713. return function(pointer) {
  4714. return this["fromWireType"](GROWABLE_HEAP_F32()[pointer >>> 2]);
  4715. };
  4716. case 3:
  4717. return function(pointer) {
  4718. return this["fromWireType"](GROWABLE_HEAP_F64()[pointer >>> 3]);
  4719. };
  4720. default:
  4721. throw new TypeError("Unknown float type: " + name2);
  4722. }
  4723. }
  4724. function __embind_register_float(rawType, name2, size) {
  4725. var shift = getShiftFromSize(size);
  4726. name2 = readLatin1String(name2);
  4727. registerType(rawType, { name: name2, "fromWireType": function(value) {
  4728. return value;
  4729. }, "toWireType": function(destructors, value) {
  4730. if (typeof value !== "number" && typeof value !== "boolean") {
  4731. throw new TypeError('Cannot convert "' + _embind_repr(value) + '" to ' + this.name);
  4732. }
  4733. return value;
  4734. }, "argPackAdvance": 8, "readValueFromPointer": floatReadValueFromPointer(name2, shift), destructorFunction: null });
  4735. }
  4736. function __embind_register_function(name2, argCount, rawArgTypesAddr, signature, rawInvoker, fn) {
  4737. var argTypes = heap32VectorToArray(argCount, rawArgTypesAddr);
  4738. name2 = readLatin1String(name2);
  4739. rawInvoker = embind__requireFunction(signature, rawInvoker);
  4740. exposePublicSymbol(name2, function() {
  4741. throwUnboundTypeError("Cannot call " + name2 + " due to unbound types", argTypes);
  4742. }, argCount - 1);
  4743. whenDependentTypesAreResolved([], argTypes, function(argTypes2) {
  4744. var invokerArgsArray = [argTypes2[0], null].concat(argTypes2.slice(1));
  4745. replacePublicSymbol(name2, craftInvokerFunction(name2, invokerArgsArray, null, rawInvoker, fn), argCount - 1);
  4746. return [];
  4747. });
  4748. }
  4749. function integerReadValueFromPointer(name2, shift, signed) {
  4750. switch (shift) {
  4751. case 0:
  4752. return signed ? function readS8FromPointer(pointer) {
  4753. return GROWABLE_HEAP_I8()[pointer >>> 0];
  4754. } : function readU8FromPointer(pointer) {
  4755. return GROWABLE_HEAP_U8()[pointer >>> 0];
  4756. };
  4757. case 1:
  4758. return signed ? function readS16FromPointer(pointer) {
  4759. return GROWABLE_HEAP_I16()[pointer >>> 1];
  4760. } : function readU16FromPointer(pointer) {
  4761. return GROWABLE_HEAP_U16()[pointer >>> 1];
  4762. };
  4763. case 2:
  4764. return signed ? function readS32FromPointer(pointer) {
  4765. return GROWABLE_HEAP_I32()[pointer >>> 2];
  4766. } : function readU32FromPointer(pointer) {
  4767. return GROWABLE_HEAP_U32()[pointer >>> 2];
  4768. };
  4769. default:
  4770. throw new TypeError("Unknown integer type: " + name2);
  4771. }
  4772. }
  4773. function __embind_register_integer(primitiveType, name2, size, minRange, maxRange) {
  4774. name2 = readLatin1String(name2);
  4775. if (maxRange === -1) {
  4776. maxRange = 4294967295;
  4777. }
  4778. var shift = getShiftFromSize(size);
  4779. var fromWireType = function(value) {
  4780. return value;
  4781. };
  4782. if (minRange === 0) {
  4783. var bitshift = 32 - 8 * size;
  4784. fromWireType = function(value) {
  4785. return value << bitshift >>> bitshift;
  4786. };
  4787. }
  4788. var isUnsignedType = name2.includes("unsigned");
  4789. registerType(primitiveType, { name: name2, "fromWireType": fromWireType, "toWireType": function(destructors, value) {
  4790. if (typeof value !== "number" && typeof value !== "boolean") {
  4791. throw new TypeError('Cannot convert "' + _embind_repr(value) + '" to ' + this.name);
  4792. }
  4793. if (value < minRange || value > maxRange) {
  4794. throw new TypeError('Passing a number "' + _embind_repr(value) + '" from JS side to C/C++ side to an argument of type "' + name2 + '", which is outside the valid range [' + minRange + ", " + maxRange + "]!");
  4795. }
  4796. return isUnsignedType ? value >>> 0 : value | 0;
  4797. }, "argPackAdvance": 8, "readValueFromPointer": integerReadValueFromPointer(name2, shift, minRange !== 0), destructorFunction: null });
  4798. }
  4799. function __embind_register_memory_view(rawType, dataTypeIndex, name2) {
  4800. var typeMapping = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array];
  4801. var TA = typeMapping[dataTypeIndex];
  4802. function decodeMemoryView(handle) {
  4803. handle = handle >> 2;
  4804. var heap = GROWABLE_HEAP_U32();
  4805. var size = heap[handle >>> 0];
  4806. var data = heap[handle + 1 >>> 0];
  4807. return new TA(buffer, data, size);
  4808. }
  4809. name2 = readLatin1String(name2);
  4810. registerType(rawType, { name: name2, "fromWireType": decodeMemoryView, "argPackAdvance": 8, "readValueFromPointer": decodeMemoryView }, { ignoreDuplicateRegistrations: true });
  4811. }
  4812. function __embind_register_std_string(rawType, name2) {
  4813. name2 = readLatin1String(name2);
  4814. var stdStringIsUTF8 = name2 === "std::string";
  4815. registerType(rawType, { name: name2, "fromWireType": function(value) {
  4816. var length = GROWABLE_HEAP_U32()[value >>> 2];
  4817. var str;
  4818. if (stdStringIsUTF8) {
  4819. var decodeStartPtr = value + 4;
  4820. for (var i = 0; i <= length; ++i) {
  4821. var currentBytePtr = value + 4 + i;
  4822. if (i == length || GROWABLE_HEAP_U8()[currentBytePtr >>> 0] == 0) {
  4823. var maxRead = currentBytePtr - decodeStartPtr;
  4824. var stringSegment = UTF8ToString(decodeStartPtr, maxRead);
  4825. if (str === void 0) {
  4826. str = stringSegment;
  4827. } else {
  4828. str += String.fromCharCode(0);
  4829. str += stringSegment;
  4830. }
  4831. decodeStartPtr = currentBytePtr + 1;
  4832. }
  4833. }
  4834. } else {
  4835. var a = new Array(length);
  4836. for (var i = 0; i < length; ++i) {
  4837. a[i] = String.fromCharCode(GROWABLE_HEAP_U8()[value + 4 + i >>> 0]);
  4838. }
  4839. str = a.join("");
  4840. }
  4841. _free(value);
  4842. return str;
  4843. }, "toWireType": function(destructors, value) {
  4844. if (value instanceof ArrayBuffer) {
  4845. value = new Uint8Array(value);
  4846. }
  4847. var getLength;
  4848. var valueIsOfTypeString = typeof value === "string";
  4849. if (!(valueIsOfTypeString || value instanceof Uint8Array || value instanceof Uint8ClampedArray || value instanceof Int8Array)) {
  4850. throwBindingError("Cannot pass non-string to std::string");
  4851. }
  4852. if (stdStringIsUTF8 && valueIsOfTypeString) {
  4853. getLength = function() {
  4854. return lengthBytesUTF8(value);
  4855. };
  4856. } else {
  4857. getLength = function() {
  4858. return value.length;
  4859. };
  4860. }
  4861. var length = getLength();
  4862. var ptr = _malloc(4 + length + 1);
  4863. ptr >>>= 0;
  4864. GROWABLE_HEAP_U32()[ptr >>> 2] = length;
  4865. if (stdStringIsUTF8 && valueIsOfTypeString) {
  4866. stringToUTF8(value, ptr + 4, length + 1);
  4867. } else {
  4868. if (valueIsOfTypeString) {
  4869. for (var i = 0; i < length; ++i) {
  4870. var charCode = value.charCodeAt(i);
  4871. if (charCode > 255) {
  4872. _free(ptr);
  4873. throwBindingError("String has UTF-16 code units that do not fit in 8 bits");
  4874. }
  4875. GROWABLE_HEAP_U8()[ptr + 4 + i >>> 0] = charCode;
  4876. }
  4877. } else {
  4878. for (var i = 0; i < length; ++i) {
  4879. GROWABLE_HEAP_U8()[ptr + 4 + i >>> 0] = value[i];
  4880. }
  4881. }
  4882. }
  4883. if (destructors !== null) {
  4884. destructors.push(_free, ptr);
  4885. }
  4886. return ptr;
  4887. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: function(ptr) {
  4888. _free(ptr);
  4889. } });
  4890. }
  4891. function __embind_register_std_wstring(rawType, charSize, name2) {
  4892. name2 = readLatin1String(name2);
  4893. var decodeString, encodeString, getHeap, lengthBytesUTF, shift;
  4894. if (charSize === 2) {
  4895. decodeString = UTF16ToString;
  4896. encodeString = stringToUTF16;
  4897. lengthBytesUTF = lengthBytesUTF16;
  4898. getHeap = function() {
  4899. return GROWABLE_HEAP_U16();
  4900. };
  4901. shift = 1;
  4902. } else if (charSize === 4) {
  4903. decodeString = UTF32ToString;
  4904. encodeString = stringToUTF32;
  4905. lengthBytesUTF = lengthBytesUTF32;
  4906. getHeap = function() {
  4907. return GROWABLE_HEAP_U32();
  4908. };
  4909. shift = 2;
  4910. }
  4911. registerType(rawType, { name: name2, "fromWireType": function(value) {
  4912. var length = GROWABLE_HEAP_U32()[value >>> 2];
  4913. var HEAP = getHeap();
  4914. var str;
  4915. var decodeStartPtr = value + 4;
  4916. for (var i = 0; i <= length; ++i) {
  4917. var currentBytePtr = value + 4 + i * charSize;
  4918. if (i == length || HEAP[currentBytePtr >>> shift] == 0) {
  4919. var maxReadBytes = currentBytePtr - decodeStartPtr;
  4920. var stringSegment = decodeString(decodeStartPtr, maxReadBytes);
  4921. if (str === void 0) {
  4922. str = stringSegment;
  4923. } else {
  4924. str += String.fromCharCode(0);
  4925. str += stringSegment;
  4926. }
  4927. decodeStartPtr = currentBytePtr + charSize;
  4928. }
  4929. }
  4930. _free(value);
  4931. return str;
  4932. }, "toWireType": function(destructors, value) {
  4933. if (!(typeof value === "string")) {
  4934. throwBindingError("Cannot pass non-string to C++ string type " + name2);
  4935. }
  4936. var length = lengthBytesUTF(value);
  4937. var ptr = _malloc(4 + length + charSize);
  4938. ptr >>>= 0;
  4939. GROWABLE_HEAP_U32()[ptr >>> 2] = length >> shift;
  4940. encodeString(value, ptr + 4, length + charSize);
  4941. if (destructors !== null) {
  4942. destructors.push(_free, ptr);
  4943. }
  4944. return ptr;
  4945. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: function(ptr) {
  4946. _free(ptr);
  4947. } });
  4948. }
  4949. function __embind_register_value_array(rawType, name2, constructorSignature, rawConstructor, destructorSignature, rawDestructor) {
  4950. tupleRegistrations[rawType] = { name: readLatin1String(name2), rawConstructor: embind__requireFunction(constructorSignature, rawConstructor), rawDestructor: embind__requireFunction(destructorSignature, rawDestructor), elements: [] };
  4951. }
  4952. function __embind_register_value_array_element(rawTupleType, getterReturnType, getterSignature, getter, getterContext, setterArgumentType, setterSignature, setter, setterContext) {
  4953. tupleRegistrations[rawTupleType].elements.push({ getterReturnType, getter: embind__requireFunction(getterSignature, getter), getterContext, setterArgumentType, setter: embind__requireFunction(setterSignature, setter), setterContext });
  4954. }
  4955. function __embind_register_value_object(rawType, name2, constructorSignature, rawConstructor, destructorSignature, rawDestructor) {
  4956. structRegistrations[rawType] = { name: readLatin1String(name2), rawConstructor: embind__requireFunction(constructorSignature, rawConstructor), rawDestructor: embind__requireFunction(destructorSignature, rawDestructor), fields: [] };
  4957. }
  4958. function __embind_register_value_object_field(structType, fieldName, getterReturnType, getterSignature, getter, getterContext, setterArgumentType, setterSignature, setter, setterContext) {
  4959. structRegistrations[structType].fields.push({ fieldName: readLatin1String(fieldName), getterReturnType, getter: embind__requireFunction(getterSignature, getter), getterContext, setterArgumentType, setter: embind__requireFunction(setterSignature, setter), setterContext });
  4960. }
  4961. function __embind_register_void(rawType, name2) {
  4962. name2 = readLatin1String(name2);
  4963. registerType(rawType, { isVoid: true, name: name2, "argPackAdvance": 0, "fromWireType": function() {
  4964. return void 0;
  4965. }, "toWireType": function(destructors, o) {
  4966. return void 0;
  4967. } });
  4968. }
  4969. function __emscripten_notify_thread_queue(targetThreadId, mainThreadId) {
  4970. if (targetThreadId == mainThreadId) {
  4971. postMessage({ "cmd": "processQueuedMainThreadWork" });
  4972. } else if (ENVIRONMENT_IS_PTHREAD) {
  4973. postMessage({ "targetThread": targetThreadId, "cmd": "processThreadQueue" });
  4974. } else {
  4975. var pthread = PThread.pthreads[targetThreadId];
  4976. var worker = pthread && pthread.worker;
  4977. if (!worker) {
  4978. return;
  4979. }
  4980. worker.postMessage({ "cmd": "processThreadQueue" });
  4981. }
  4982. return 1;
  4983. }
  4984. function requireHandle(handle) {
  4985. if (!handle) {
  4986. throwBindingError("Cannot use deleted val. handle = " + handle);
  4987. }
  4988. return emval_handle_array[handle].value;
  4989. }
  4990. function __emval_as(handle, returnType, destructorsRef) {
  4991. handle = requireHandle(handle);
  4992. returnType = requireRegisteredType(returnType, "emval::as");
  4993. var destructors = [];
  4994. var rd = __emval_register(destructors);
  4995. GROWABLE_HEAP_I32()[destructorsRef >>> 2] = rd;
  4996. return returnType["toWireType"](destructors, handle);
  4997. }
  4998. function __emval_lookupTypes(argCount, argTypes) {
  4999. var a = new Array(argCount);
  5000. for (var i = 0; i < argCount; ++i) {
  5001. a[i] = requireRegisteredType(GROWABLE_HEAP_I32()[(argTypes >> 2) + i >>> 0], "parameter " + i);
  5002. }
  5003. return a;
  5004. }
  5005. function __emval_call(handle, argCount, argTypes, argv) {
  5006. handle = requireHandle(handle);
  5007. var types = __emval_lookupTypes(argCount, argTypes);
  5008. var args = new Array(argCount);
  5009. for (var i = 0; i < argCount; ++i) {
  5010. var type = types[i];
  5011. args[i] = type["readValueFromPointer"](argv);
  5012. argv += type["argPackAdvance"];
  5013. }
  5014. var rv = handle.apply(void 0, args);
  5015. return __emval_register(rv);
  5016. }
  5017. var emval_symbols = {};
  5018. function getStringOrSymbol(address) {
  5019. var symbol = emval_symbols[address];
  5020. if (symbol === void 0) {
  5021. return readLatin1String(address);
  5022. } else {
  5023. return symbol;
  5024. }
  5025. }
  5026. function emval_get_global() {
  5027. if (typeof globalThis === "object") {
  5028. return globalThis;
  5029. }
  5030. return function() {
  5031. return Function;
  5032. }()("return this")();
  5033. }
  5034. function __emval_get_global(name2) {
  5035. if (name2 === 0) {
  5036. return __emval_register(emval_get_global());
  5037. } else {
  5038. name2 = getStringOrSymbol(name2);
  5039. return __emval_register(emval_get_global()[name2]);
  5040. }
  5041. }
  5042. function __emval_get_property(handle, key2) {
  5043. handle = requireHandle(handle);
  5044. key2 = requireHandle(key2);
  5045. return __emval_register(handle[key2]);
  5046. }
  5047. function __emval_incref(handle) {
  5048. if (handle > 4) {
  5049. emval_handle_array[handle].refcount += 1;
  5050. }
  5051. }
  5052. function __emval_instanceof(object, constructor) {
  5053. object = requireHandle(object);
  5054. constructor = requireHandle(constructor);
  5055. return object instanceof constructor;
  5056. }
  5057. function __emval_is_number(handle) {
  5058. handle = requireHandle(handle);
  5059. return typeof handle === "number";
  5060. }
  5061. function __emval_new_array() {
  5062. return __emval_register([]);
  5063. }
  5064. function __emval_new_cstring(v) {
  5065. return __emval_register(getStringOrSymbol(v));
  5066. }
  5067. function __emval_new_object() {
  5068. return __emval_register({});
  5069. }
  5070. function __emval_run_destructors(handle) {
  5071. var destructors = emval_handle_array[handle].value;
  5072. runDestructors(destructors);
  5073. __emval_decref(handle);
  5074. }
  5075. function __emval_set_property(handle, key2, value) {
  5076. handle = requireHandle(handle);
  5077. key2 = requireHandle(key2);
  5078. value = requireHandle(value);
  5079. handle[key2] = value;
  5080. }
  5081. function __emval_take_value(type, argv) {
  5082. type = requireRegisteredType(type, "_emval_take_value");
  5083. var v = type["readValueFromPointer"](argv);
  5084. return __emval_register(v);
  5085. }
  5086. function _abort() {
  5087. abort();
  5088. }
  5089. var readAsmConstArgsArray = [];
  5090. function readAsmConstArgs(sigPtr, buf) {
  5091. readAsmConstArgsArray.length = 0;
  5092. var ch;
  5093. buf >>= 2;
  5094. while (ch = GROWABLE_HEAP_U8()[sigPtr++ >>> 0]) {
  5095. var double = ch < 105;
  5096. if (double && buf & 1)
  5097. buf++;
  5098. readAsmConstArgsArray.push(double ? GROWABLE_HEAP_F64()[buf++ >>> 1] : GROWABLE_HEAP_I32()[buf >>> 0]);
  5099. ++buf;
  5100. }
  5101. return readAsmConstArgsArray;
  5102. }
  5103. function _emscripten_asm_const_int(code, sigPtr, argbuf) {
  5104. var args = readAsmConstArgs(sigPtr, argbuf);
  5105. return ASM_CONSTS[code].apply(null, args);
  5106. }
  5107. function _emscripten_check_blocking_allowed() {
  5108. if (ENVIRONMENT_IS_NODE)
  5109. return;
  5110. if (ENVIRONMENT_IS_WORKER)
  5111. return;
  5112. warnOnce("Blocking on the main thread is very dangerous, see https://emscripten.org/docs/porting/pthreads.html#blocking-on-the-main-browser-thread");
  5113. }
  5114. function _emscripten_conditional_set_current_thread_status(expectedStatus, newStatus) {
  5115. }
  5116. function _emscripten_futex_wait(addr, val, timeout) {
  5117. if (addr <= 0 || addr > GROWABLE_HEAP_I8().length || addr & true)
  5118. return -28;
  5119. if (!ENVIRONMENT_IS_WEB) {
  5120. var ret = Atomics.wait(GROWABLE_HEAP_I32(), addr >> 2, val, timeout);
  5121. if (ret === "timed-out")
  5122. return -73;
  5123. if (ret === "not-equal")
  5124. return -6;
  5125. if (ret === "ok")
  5126. return 0;
  5127. throw "Atomics.wait returned an unexpected value " + ret;
  5128. } else {
  5129. if (Atomics.load(GROWABLE_HEAP_I32(), addr >> 2) != val) {
  5130. return -6;
  5131. }
  5132. var tNow = performance.now();
  5133. var tEnd = tNow + timeout;
  5134. var lastAddr = Atomics.exchange(GROWABLE_HEAP_I32(), __emscripten_main_thread_futex >> 2, addr);
  5135. while (1) {
  5136. tNow = performance.now();
  5137. if (tNow > tEnd) {
  5138. lastAddr = Atomics.exchange(GROWABLE_HEAP_I32(), __emscripten_main_thread_futex >> 2, 0);
  5139. return -73;
  5140. }
  5141. lastAddr = Atomics.exchange(GROWABLE_HEAP_I32(), __emscripten_main_thread_futex >> 2, 0);
  5142. if (lastAddr == 0) {
  5143. break;
  5144. }
  5145. _emscripten_main_thread_process_queued_calls();
  5146. if (Atomics.load(GROWABLE_HEAP_I32(), addr >> 2) != val) {
  5147. return -6;
  5148. }
  5149. lastAddr = Atomics.exchange(GROWABLE_HEAP_I32(), __emscripten_main_thread_futex >> 2, addr);
  5150. }
  5151. return 0;
  5152. }
  5153. }
  5154. function _emscripten_memcpy_big(dest, src, num) {
  5155. GROWABLE_HEAP_U8().copyWithin(dest >>> 0, src >>> 0, src + num >>> 0);
  5156. }
  5157. function _emscripten_proxy_to_main_thread_js(index, sync) {
  5158. var numCallArgs = arguments.length - 2;
  5159. var stack = stackSave();
  5160. var serializedNumCallArgs = numCallArgs;
  5161. var args = stackAlloc(serializedNumCallArgs * 8);
  5162. var b = args >> 3;
  5163. for (var i = 0; i < numCallArgs; i++) {
  5164. var arg = arguments[2 + i];
  5165. GROWABLE_HEAP_F64()[b + i >>> 0] = arg;
  5166. }
  5167. var ret = _emscripten_run_in_main_runtime_thread_js(index, serializedNumCallArgs, args, sync);
  5168. stackRestore(stack);
  5169. return ret;
  5170. }
  5171. var _emscripten_receive_on_main_thread_js_callArgs = [];
  5172. function _emscripten_receive_on_main_thread_js(index, numCallArgs, args) {
  5173. _emscripten_receive_on_main_thread_js_callArgs.length = numCallArgs;
  5174. var b = args >> 3;
  5175. for (var i = 0; i < numCallArgs; i++) {
  5176. _emscripten_receive_on_main_thread_js_callArgs[i] = GROWABLE_HEAP_F64()[b + i >>> 0];
  5177. }
  5178. var isEmAsmConst = index < 0;
  5179. var func = !isEmAsmConst ? proxiedFunctionTable[index] : ASM_CONSTS[-index - 1];
  5180. return func.apply(null, _emscripten_receive_on_main_thread_js_callArgs);
  5181. }
  5182. function emscripten_realloc_buffer(size) {
  5183. try {
  5184. wasmMemory.grow(size - buffer.byteLength + 65535 >>> 16);
  5185. updateGlobalBufferAndViews(wasmMemory.buffer);
  5186. return 1;
  5187. } catch (e) {
  5188. }
  5189. }
  5190. function _emscripten_resize_heap(requestedSize) {
  5191. var oldSize = GROWABLE_HEAP_U8().length;
  5192. requestedSize = requestedSize >>> 0;
  5193. if (requestedSize <= oldSize) {
  5194. return false;
  5195. }
  5196. var maxHeapSize = 4294901760;
  5197. if (requestedSize > maxHeapSize) {
  5198. return false;
  5199. }
  5200. for (var cutDown = 1; cutDown <= 4; cutDown *= 2) {
  5201. var overGrownHeapSize = oldSize * (1 + 0.2 / cutDown);
  5202. overGrownHeapSize = Math.min(overGrownHeapSize, requestedSize + 100663296);
  5203. var newSize = Math.min(maxHeapSize, alignUp(Math.max(requestedSize, overGrownHeapSize), 65536));
  5204. var replacement = emscripten_realloc_buffer(newSize);
  5205. if (replacement) {
  5206. return true;
  5207. }
  5208. }
  5209. return false;
  5210. }
  5211. var JSEvents = { inEventHandler: 0, removeAllEventListeners: function() {
  5212. for (var i = JSEvents.eventHandlers.length - 1; i >= 0; --i) {
  5213. JSEvents._removeHandler(i);
  5214. }
  5215. JSEvents.eventHandlers = [];
  5216. JSEvents.deferredCalls = [];
  5217. }, registerRemoveEventListeners: function() {
  5218. if (!JSEvents.removeEventListenersRegistered) {
  5219. __ATEXIT__.push(JSEvents.removeAllEventListeners);
  5220. JSEvents.removeEventListenersRegistered = true;
  5221. }
  5222. }, deferredCalls: [], deferCall: function(targetFunction, precedence, argsList) {
  5223. function arraysHaveEqualContent(arrA, arrB) {
  5224. if (arrA.length != arrB.length)
  5225. return false;
  5226. for (var i2 in arrA) {
  5227. if (arrA[i2] != arrB[i2])
  5228. return false;
  5229. }
  5230. return true;
  5231. }
  5232. for (var i in JSEvents.deferredCalls) {
  5233. var call = JSEvents.deferredCalls[i];
  5234. if (call.targetFunction == targetFunction && arraysHaveEqualContent(call.argsList, argsList)) {
  5235. return;
  5236. }
  5237. }
  5238. JSEvents.deferredCalls.push({ targetFunction, precedence, argsList });
  5239. JSEvents.deferredCalls.sort(function(x, y) {
  5240. return x.precedence < y.precedence;
  5241. });
  5242. }, removeDeferredCalls: function(targetFunction) {
  5243. for (var i = 0; i < JSEvents.deferredCalls.length; ++i) {
  5244. if (JSEvents.deferredCalls[i].targetFunction == targetFunction) {
  5245. JSEvents.deferredCalls.splice(i, 1);
  5246. --i;
  5247. }
  5248. }
  5249. }, canPerformEventHandlerRequests: function() {
  5250. return JSEvents.inEventHandler && JSEvents.currentEventHandler.allowsDeferredCalls;
  5251. }, runDeferredCalls: function() {
  5252. if (!JSEvents.canPerformEventHandlerRequests()) {
  5253. return;
  5254. }
  5255. for (var i = 0; i < JSEvents.deferredCalls.length; ++i) {
  5256. var call = JSEvents.deferredCalls[i];
  5257. JSEvents.deferredCalls.splice(i, 1);
  5258. --i;
  5259. call.targetFunction.apply(null, call.argsList);
  5260. }
  5261. }, eventHandlers: [], removeAllHandlersOnTarget: function(target, eventTypeString) {
  5262. for (var i = 0; i < JSEvents.eventHandlers.length; ++i) {
  5263. if (JSEvents.eventHandlers[i].target == target && (!eventTypeString || eventTypeString == JSEvents.eventHandlers[i].eventTypeString)) {
  5264. JSEvents._removeHandler(i--);
  5265. }
  5266. }
  5267. }, _removeHandler: function(i) {
  5268. var h = JSEvents.eventHandlers[i];
  5269. h.target.removeEventListener(h.eventTypeString, h.eventListenerFunc, h.useCapture);
  5270. JSEvents.eventHandlers.splice(i, 1);
  5271. }, registerOrRemoveHandler: function(eventHandler) {
  5272. var jsEventHandler = function jsEventHandler2(event) {
  5273. ++JSEvents.inEventHandler;
  5274. JSEvents.currentEventHandler = eventHandler;
  5275. JSEvents.runDeferredCalls();
  5276. eventHandler.handlerFunc(event);
  5277. JSEvents.runDeferredCalls();
  5278. --JSEvents.inEventHandler;
  5279. };
  5280. if (eventHandler.callbackfunc) {
  5281. eventHandler.eventListenerFunc = jsEventHandler;
  5282. eventHandler.target.addEventListener(eventHandler.eventTypeString, jsEventHandler, eventHandler.useCapture);
  5283. JSEvents.eventHandlers.push(eventHandler);
  5284. JSEvents.registerRemoveEventListeners();
  5285. } else {
  5286. for (var i = 0; i < JSEvents.eventHandlers.length; ++i) {
  5287. if (JSEvents.eventHandlers[i].target == eventHandler.target && JSEvents.eventHandlers[i].eventTypeString == eventHandler.eventTypeString) {
  5288. JSEvents._removeHandler(i--);
  5289. }
  5290. }
  5291. }
  5292. }, queueEventHandlerOnThread_iiii: function(targetThread, eventHandlerFunc, eventTypeId, eventData, userData) {
  5293. var stackTop = stackSave();
  5294. var varargs = stackAlloc(12);
  5295. GROWABLE_HEAP_I32()[varargs >>> 2] = eventTypeId;
  5296. GROWABLE_HEAP_I32()[varargs + 4 >>> 2] = eventData;
  5297. GROWABLE_HEAP_I32()[varargs + 8 >>> 2] = userData;
  5298. __emscripten_call_on_thread(0, targetThread, 637534208, eventHandlerFunc, eventData, varargs);
  5299. stackRestore(stackTop);
  5300. }, getTargetThreadForEventCallback: function(targetThread) {
  5301. switch (targetThread) {
  5302. case 1:
  5303. return 0;
  5304. case 2:
  5305. return PThread.currentProxiedOperationCallerThread;
  5306. default:
  5307. return targetThread;
  5308. }
  5309. }, getNodeNameForTarget: function(target) {
  5310. if (!target)
  5311. return "";
  5312. if (target == window)
  5313. return "#window";
  5314. if (target == screen)
  5315. return "#screen";
  5316. return target && target.nodeName ? target.nodeName : "";
  5317. }, fullscreenEnabled: function() {
  5318. return document.fullscreenEnabled || document.webkitFullscreenEnabled;
  5319. } };
  5320. function stringToNewUTF8(jsString) {
  5321. var length = lengthBytesUTF8(jsString) + 1;
  5322. var cString = _malloc(length);
  5323. stringToUTF8(jsString, cString, length);
  5324. return cString;
  5325. }
  5326. function _emscripten_set_offscreencanvas_size_on_target_thread_js(targetThread, targetCanvas, width, height) {
  5327. var stackTop = stackSave();
  5328. var varargs = stackAlloc(12);
  5329. var targetCanvasPtr = 0;
  5330. if (targetCanvas) {
  5331. targetCanvasPtr = stringToNewUTF8(targetCanvas);
  5332. }
  5333. GROWABLE_HEAP_I32()[varargs >>> 2] = targetCanvasPtr;
  5334. GROWABLE_HEAP_I32()[varargs + 4 >>> 2] = width;
  5335. GROWABLE_HEAP_I32()[varargs + 8 >>> 2] = height;
  5336. __emscripten_call_on_thread(0, targetThread, 657457152, 0, targetCanvasPtr, varargs);
  5337. stackRestore(stackTop);
  5338. }
  5339. function _emscripten_set_offscreencanvas_size_on_target_thread(targetThread, targetCanvas, width, height) {
  5340. targetCanvas = targetCanvas ? UTF8ToString(targetCanvas) : "";
  5341. _emscripten_set_offscreencanvas_size_on_target_thread_js(targetThread, targetCanvas, width, height);
  5342. }
  5343. function maybeCStringToJsString(cString) {
  5344. return cString > 2 ? UTF8ToString(cString) : cString;
  5345. }
  5346. var specialHTMLTargets = [0, typeof document !== "undefined" ? document : 0, typeof window !== "undefined" ? window : 0];
  5347. function findEventTarget(target) {
  5348. target = maybeCStringToJsString(target);
  5349. var domElement = specialHTMLTargets[target] || (typeof document !== "undefined" ? document.querySelector(target) : void 0);
  5350. return domElement;
  5351. }
  5352. function findCanvasEventTarget(target) {
  5353. return findEventTarget(target);
  5354. }
  5355. function _emscripten_set_canvas_element_size_calling_thread(target, width, height) {
  5356. var canvas = findCanvasEventTarget(target);
  5357. if (!canvas)
  5358. return -4;
  5359. if (canvas.canvasSharedPtr) {
  5360. GROWABLE_HEAP_I32()[canvas.canvasSharedPtr >>> 2] = width;
  5361. GROWABLE_HEAP_I32()[canvas.canvasSharedPtr + 4 >>> 2] = height;
  5362. }
  5363. if (canvas.offscreenCanvas || !canvas.controlTransferredOffscreen) {
  5364. if (canvas.offscreenCanvas)
  5365. canvas = canvas.offscreenCanvas;
  5366. var autoResizeViewport = false;
  5367. if (canvas.GLctxObject && canvas.GLctxObject.GLctx) {
  5368. var prevViewport = canvas.GLctxObject.GLctx.getParameter(2978);
  5369. autoResizeViewport = prevViewport[0] === 0 && prevViewport[1] === 0 && prevViewport[2] === canvas.width && prevViewport[3] === canvas.height;
  5370. }
  5371. canvas.width = width;
  5372. canvas.height = height;
  5373. if (autoResizeViewport) {
  5374. canvas.GLctxObject.GLctx.viewport(0, 0, width, height);
  5375. }
  5376. } else if (canvas.canvasSharedPtr) {
  5377. var targetThread = GROWABLE_HEAP_I32()[canvas.canvasSharedPtr + 8 >>> 2];
  5378. _emscripten_set_offscreencanvas_size_on_target_thread(targetThread, target, width, height);
  5379. return 1;
  5380. } else {
  5381. return -4;
  5382. }
  5383. return 0;
  5384. }
  5385. function _emscripten_set_canvas_element_size_main_thread(target, width, height) {
  5386. if (ENVIRONMENT_IS_PTHREAD)
  5387. return _emscripten_proxy_to_main_thread_js(5, 1, target, width, height);
  5388. return _emscripten_set_canvas_element_size_calling_thread(target, width, height);
  5389. }
  5390. function _emscripten_set_canvas_element_size(target, width, height) {
  5391. var canvas = findCanvasEventTarget(target);
  5392. if (canvas) {
  5393. return _emscripten_set_canvas_element_size_calling_thread(target, width, height);
  5394. } else {
  5395. return _emscripten_set_canvas_element_size_main_thread(target, width, height);
  5396. }
  5397. }
  5398. function _emscripten_set_current_thread_status(newStatus) {
  5399. }
  5400. function __webgl_enable_ANGLE_instanced_arrays(ctx) {
  5401. var ext = ctx.getExtension("ANGLE_instanced_arrays");
  5402. if (ext) {
  5403. ctx["vertexAttribDivisor"] = function(index, divisor) {
  5404. ext["vertexAttribDivisorANGLE"](index, divisor);
  5405. };
  5406. ctx["drawArraysInstanced"] = function(mode, first, count, primcount) {
  5407. ext["drawArraysInstancedANGLE"](mode, first, count, primcount);
  5408. };
  5409. ctx["drawElementsInstanced"] = function(mode, count, type, indices, primcount) {
  5410. ext["drawElementsInstancedANGLE"](mode, count, type, indices, primcount);
  5411. };
  5412. return 1;
  5413. }
  5414. }
  5415. function __webgl_enable_OES_vertex_array_object(ctx) {
  5416. var ext = ctx.getExtension("OES_vertex_array_object");
  5417. if (ext) {
  5418. ctx["createVertexArray"] = function() {
  5419. return ext["createVertexArrayOES"]();
  5420. };
  5421. ctx["deleteVertexArray"] = function(vao) {
  5422. ext["deleteVertexArrayOES"](vao);
  5423. };
  5424. ctx["bindVertexArray"] = function(vao) {
  5425. ext["bindVertexArrayOES"](vao);
  5426. };
  5427. ctx["isVertexArray"] = function(vao) {
  5428. return ext["isVertexArrayOES"](vao);
  5429. };
  5430. return 1;
  5431. }
  5432. }
  5433. function __webgl_enable_WEBGL_draw_buffers(ctx) {
  5434. var ext = ctx.getExtension("WEBGL_draw_buffers");
  5435. if (ext) {
  5436. ctx["drawBuffers"] = function(n, bufs) {
  5437. ext["drawBuffersWEBGL"](n, bufs);
  5438. };
  5439. return 1;
  5440. }
  5441. }
  5442. function __webgl_enable_WEBGL_multi_draw(ctx) {
  5443. return !!(ctx.multiDrawWebgl = ctx.getExtension("WEBGL_multi_draw"));
  5444. }
  5445. var GL = { counter: 1, buffers: [], programs: [], framebuffers: [], renderbuffers: [], textures: [], shaders: [], vaos: [], contexts: {}, offscreenCanvases: {}, queries: [], stringCache: {}, unpackAlignment: 4, recordError: function recordError(errorCode) {
  5446. if (!GL.lastError) {
  5447. GL.lastError = errorCode;
  5448. }
  5449. }, getNewId: function(table) {
  5450. var ret = GL.counter++;
  5451. for (var i = table.length; i < ret; i++) {
  5452. table[i] = null;
  5453. }
  5454. return ret;
  5455. }, getSource: function(shader, count, string, length) {
  5456. var source = "";
  5457. for (var i = 0; i < count; ++i) {
  5458. var len = length ? GROWABLE_HEAP_I32()[length + i * 4 >>> 2] : -1;
  5459. source += UTF8ToString(GROWABLE_HEAP_I32()[string + i * 4 >>> 2], len < 0 ? void 0 : len);
  5460. }
  5461. return source;
  5462. }, createContext: function(canvas, webGLContextAttributes) {
  5463. if (!canvas.getContextSafariWebGL2Fixed) {
  5464. canvas.getContextSafariWebGL2Fixed = canvas.getContext;
  5465. canvas.getContext = function(ver, attrs) {
  5466. var gl = canvas.getContextSafariWebGL2Fixed(ver, attrs);
  5467. return ver == "webgl" == gl instanceof WebGLRenderingContext ? gl : null;
  5468. };
  5469. }
  5470. var ctx = canvas.getContext("webgl", webGLContextAttributes);
  5471. if (!ctx)
  5472. return 0;
  5473. var handle = GL.registerContext(ctx, webGLContextAttributes);
  5474. return handle;
  5475. }, registerContext: function(ctx, webGLContextAttributes) {
  5476. var handle = _malloc(8);
  5477. GROWABLE_HEAP_I32()[handle + 4 >>> 2] = _pthread_self();
  5478. var context = { handle, attributes: webGLContextAttributes, version: webGLContextAttributes.majorVersion, GLctx: ctx };
  5479. if (ctx.canvas)
  5480. ctx.canvas.GLctxObject = context;
  5481. GL.contexts[handle] = context;
  5482. if (typeof webGLContextAttributes.enableExtensionsByDefault === "undefined" || webGLContextAttributes.enableExtensionsByDefault) {
  5483. GL.initExtensions(context);
  5484. }
  5485. return handle;
  5486. }, makeContextCurrent: function(contextHandle) {
  5487. GL.currentContext = GL.contexts[contextHandle];
  5488. Module.ctx = GLctx = GL.currentContext && GL.currentContext.GLctx;
  5489. return !(contextHandle && !GLctx);
  5490. }, getContext: function(contextHandle) {
  5491. return GL.contexts[contextHandle];
  5492. }, deleteContext: function(contextHandle) {
  5493. if (GL.currentContext === GL.contexts[contextHandle])
  5494. GL.currentContext = null;
  5495. if (typeof JSEvents === "object")
  5496. JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);
  5497. if (GL.contexts[contextHandle] && GL.contexts[contextHandle].GLctx.canvas)
  5498. GL.contexts[contextHandle].GLctx.canvas.GLctxObject = void 0;
  5499. _free(GL.contexts[contextHandle].handle);
  5500. GL.contexts[contextHandle] = null;
  5501. }, initExtensions: function(context) {
  5502. if (!context)
  5503. context = GL.currentContext;
  5504. if (context.initExtensionsDone)
  5505. return;
  5506. context.initExtensionsDone = true;
  5507. var GLctx2 = context.GLctx;
  5508. __webgl_enable_ANGLE_instanced_arrays(GLctx2);
  5509. __webgl_enable_OES_vertex_array_object(GLctx2);
  5510. __webgl_enable_WEBGL_draw_buffers(GLctx2);
  5511. {
  5512. GLctx2.disjointTimerQueryExt = GLctx2.getExtension("EXT_disjoint_timer_query");
  5513. }
  5514. __webgl_enable_WEBGL_multi_draw(GLctx2);
  5515. var exts = GLctx2.getSupportedExtensions() || [];
  5516. exts.forEach(function(ext) {
  5517. if (!ext.includes("lose_context") && !ext.includes("debug")) {
  5518. GLctx2.getExtension(ext);
  5519. }
  5520. });
  5521. } };
  5522. var __emscripten_webgl_power_preferences = ["default", "low-power", "high-performance"];
  5523. function _emscripten_webgl_do_create_context(target, attributes) {
  5524. var a = attributes >> 2;
  5525. var powerPreference = GROWABLE_HEAP_I32()[a + (24 >> 2) >>> 0];
  5526. var contextAttributes = { "alpha": !!GROWABLE_HEAP_I32()[a + (0 >> 2) >>> 0], "depth": !!GROWABLE_HEAP_I32()[a + (4 >> 2) >>> 0], "stencil": !!GROWABLE_HEAP_I32()[a + (8 >> 2) >>> 0], "antialias": !!GROWABLE_HEAP_I32()[a + (12 >> 2) >>> 0], "premultipliedAlpha": !!GROWABLE_HEAP_I32()[a + (16 >> 2) >>> 0], "preserveDrawingBuffer": !!GROWABLE_HEAP_I32()[a + (20 >> 2) >>> 0], "powerPreference": __emscripten_webgl_power_preferences[powerPreference], "failIfMajorPerformanceCaveat": !!GROWABLE_HEAP_I32()[a + (28 >> 2) >>> 0], majorVersion: GROWABLE_HEAP_I32()[a + (32 >> 2) >>> 0], minorVersion: GROWABLE_HEAP_I32()[a + (36 >> 2) >>> 0], enableExtensionsByDefault: GROWABLE_HEAP_I32()[a + (40 >> 2) >>> 0], explicitSwapControl: GROWABLE_HEAP_I32()[a + (44 >> 2) >>> 0], proxyContextToMainThread: GROWABLE_HEAP_I32()[a + (48 >> 2) >>> 0], renderViaOffscreenBackBuffer: GROWABLE_HEAP_I32()[a + (52 >> 2) >>> 0] };
  5527. var canvas = findCanvasEventTarget(target);
  5528. if (!canvas) {
  5529. return 0;
  5530. }
  5531. if (contextAttributes.explicitSwapControl) {
  5532. return 0;
  5533. }
  5534. var contextHandle = GL.createContext(canvas, contextAttributes);
  5535. return contextHandle;
  5536. }
  5537. function _emscripten_webgl_create_context(a0, a1) {
  5538. return _emscripten_webgl_do_create_context(a0, a1);
  5539. }
  5540. var ENV = {};
  5541. function getExecutableName() {
  5542. return thisProgram || "./this.program";
  5543. }
  5544. function getEnvStrings() {
  5545. if (!getEnvStrings.strings) {
  5546. var lang = (typeof navigator === "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8";
  5547. var env = { "USER": "web_user", "LOGNAME": "web_user", "PATH": "/", "PWD": "/", "HOME": "/home/web_user", "LANG": lang, "_": getExecutableName() };
  5548. for (var x in ENV) {
  5549. if (ENV[x] === void 0)
  5550. delete env[x];
  5551. else
  5552. env[x] = ENV[x];
  5553. }
  5554. var strings = [];
  5555. for (var x in env) {
  5556. strings.push(x + "=" + env[x]);
  5557. }
  5558. getEnvStrings.strings = strings;
  5559. }
  5560. return getEnvStrings.strings;
  5561. }
  5562. function _environ_get(__environ, environ_buf) {
  5563. if (ENVIRONMENT_IS_PTHREAD)
  5564. return _emscripten_proxy_to_main_thread_js(6, 1, __environ, environ_buf);
  5565. try {
  5566. var bufSize = 0;
  5567. getEnvStrings().forEach(function(string, i) {
  5568. var ptr = environ_buf + bufSize;
  5569. GROWABLE_HEAP_I32()[__environ + i * 4 >>> 2] = ptr;
  5570. writeAsciiToMemory(string, ptr);
  5571. bufSize += string.length + 1;
  5572. });
  5573. return 0;
  5574. } catch (e) {
  5575. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  5576. abort(e);
  5577. return e.errno;
  5578. }
  5579. }
  5580. function _environ_sizes_get(penviron_count, penviron_buf_size) {
  5581. if (ENVIRONMENT_IS_PTHREAD)
  5582. return _emscripten_proxy_to_main_thread_js(7, 1, penviron_count, penviron_buf_size);
  5583. try {
  5584. var strings = getEnvStrings();
  5585. GROWABLE_HEAP_I32()[penviron_count >>> 2] = strings.length;
  5586. var bufSize = 0;
  5587. strings.forEach(function(string) {
  5588. bufSize += string.length + 1;
  5589. });
  5590. GROWABLE_HEAP_I32()[penviron_buf_size >>> 2] = bufSize;
  5591. return 0;
  5592. } catch (e) {
  5593. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  5594. abort(e);
  5595. return e.errno;
  5596. }
  5597. }
  5598. function _fd_close(fd) {
  5599. if (ENVIRONMENT_IS_PTHREAD)
  5600. return _emscripten_proxy_to_main_thread_js(8, 1, fd);
  5601. try {
  5602. var stream = SYSCALLS.getStreamFromFD(fd);
  5603. FS.close(stream);
  5604. return 0;
  5605. } catch (e) {
  5606. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  5607. abort(e);
  5608. return e.errno;
  5609. }
  5610. }
  5611. function _fd_read(fd, iov, iovcnt, pnum) {
  5612. if (ENVIRONMENT_IS_PTHREAD)
  5613. return _emscripten_proxy_to_main_thread_js(9, 1, fd, iov, iovcnt, pnum);
  5614. try {
  5615. var stream = SYSCALLS.getStreamFromFD(fd);
  5616. var num = SYSCALLS.doReadv(stream, iov, iovcnt);
  5617. GROWABLE_HEAP_I32()[pnum >>> 2] = num;
  5618. return 0;
  5619. } catch (e) {
  5620. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  5621. abort(e);
  5622. return e.errno;
  5623. }
  5624. }
  5625. function _fd_seek(fd, offset_low, offset_high, whence, newOffset) {
  5626. if (ENVIRONMENT_IS_PTHREAD)
  5627. return _emscripten_proxy_to_main_thread_js(10, 1, fd, offset_low, offset_high, whence, newOffset);
  5628. try {
  5629. var stream = SYSCALLS.getStreamFromFD(fd);
  5630. var HIGH_OFFSET = 4294967296;
  5631. var offset = offset_high * HIGH_OFFSET + (offset_low >>> 0);
  5632. var DOUBLE_LIMIT = 9007199254740992;
  5633. if (offset <= -DOUBLE_LIMIT || offset >= DOUBLE_LIMIT) {
  5634. return -61;
  5635. }
  5636. FS.llseek(stream, offset, whence);
  5637. tempI64 = [stream.position >>> 0, (tempDouble = stream.position, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0)], GROWABLE_HEAP_I32()[newOffset >>> 2] = tempI64[0], GROWABLE_HEAP_I32()[newOffset + 4 >>> 2] = tempI64[1];
  5638. if (stream.getdents && offset === 0 && whence === 0)
  5639. stream.getdents = null;
  5640. return 0;
  5641. } catch (e) {
  5642. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  5643. abort(e);
  5644. return e.errno;
  5645. }
  5646. }
  5647. function _fd_write(fd, iov, iovcnt, pnum) {
  5648. if (ENVIRONMENT_IS_PTHREAD)
  5649. return _emscripten_proxy_to_main_thread_js(11, 1, fd, iov, iovcnt, pnum);
  5650. try {
  5651. var stream = SYSCALLS.getStreamFromFD(fd);
  5652. var num = SYSCALLS.doWritev(stream, iov, iovcnt);
  5653. GROWABLE_HEAP_I32()[pnum >>> 2] = num;
  5654. return 0;
  5655. } catch (e) {
  5656. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  5657. abort(e);
  5658. return e.errno;
  5659. }
  5660. }
  5661. function _getTempRet0() {
  5662. return getTempRet0();
  5663. }
  5664. function _llvm_eh_typeid_for(type) {
  5665. return type;
  5666. }
  5667. function spawnThread(threadParams) {
  5668. if (ENVIRONMENT_IS_PTHREAD)
  5669. throw "Internal Error! spawnThread() can only ever be called from main application thread!";
  5670. var worker = PThread.getNewWorker();
  5671. if (!worker) {
  5672. return 6;
  5673. }
  5674. if (worker.pthread !== void 0)
  5675. throw "Internal error!";
  5676. if (!threadParams.pthread_ptr)
  5677. throw "Internal error, no pthread ptr!";
  5678. PThread.runningWorkers.push(worker);
  5679. var tlsMemory = _malloc(128 * 4);
  5680. for (var i = 0; i < 128; ++i) {
  5681. GROWABLE_HEAP_I32()[tlsMemory + i * 4 >>> 2] = 0;
  5682. }
  5683. var stackHigh = threadParams.stackBase + threadParams.stackSize;
  5684. var pthread = PThread.pthreads[threadParams.pthread_ptr] = { worker, stackBase: threadParams.stackBase, stackSize: threadParams.stackSize, allocatedOwnStack: threadParams.allocatedOwnStack, threadInfoStruct: threadParams.pthread_ptr };
  5685. var tis = pthread.threadInfoStruct >> 2;
  5686. Atomics.store(GROWABLE_HEAP_U32(), tis + (64 >> 2), threadParams.detached);
  5687. Atomics.store(GROWABLE_HEAP_U32(), tis + (100 >> 2), tlsMemory);
  5688. Atomics.store(GROWABLE_HEAP_U32(), tis + (40 >> 2), pthread.threadInfoStruct);
  5689. Atomics.store(GROWABLE_HEAP_U32(), tis + (80 >> 2), threadParams.stackSize);
  5690. Atomics.store(GROWABLE_HEAP_U32(), tis + (76 >> 2), stackHigh);
  5691. Atomics.store(GROWABLE_HEAP_U32(), tis + (104 >> 2), threadParams.stackSize);
  5692. Atomics.store(GROWABLE_HEAP_U32(), tis + (104 + 8 >> 2), stackHigh);
  5693. Atomics.store(GROWABLE_HEAP_U32(), tis + (104 + 12 >> 2), threadParams.detached);
  5694. var global_libc = _emscripten_get_global_libc();
  5695. var global_locale = global_libc + 40;
  5696. Atomics.store(GROWABLE_HEAP_U32(), tis + (172 >> 2), global_locale);
  5697. worker.pthread = pthread;
  5698. var msg = { "cmd": "run", "start_routine": threadParams.startRoutine, "arg": threadParams.arg, "threadInfoStruct": threadParams.pthread_ptr, "stackBase": threadParams.stackBase, "stackSize": threadParams.stackSize };
  5699. worker.runPthread = function() {
  5700. msg.time = performance.now();
  5701. worker.postMessage(msg, threadParams.transferList);
  5702. };
  5703. if (worker.loaded) {
  5704. worker.runPthread();
  5705. delete worker.runPthread;
  5706. }
  5707. return 0;
  5708. }
  5709. function _pthread_create(pthread_ptr, attr, start_routine, arg) {
  5710. if (typeof SharedArrayBuffer === "undefined") {
  5711. err("Current environment does not support SharedArrayBuffer, pthreads are not available!");
  5712. return 6;
  5713. }
  5714. if (!pthread_ptr) {
  5715. err("pthread_create called with a null thread pointer!");
  5716. return 28;
  5717. }
  5718. var transferList = [];
  5719. var error = 0;
  5720. if (ENVIRONMENT_IS_PTHREAD && (transferList.length === 0 || error)) {
  5721. return _emscripten_sync_run_in_main_thread_4(687865856, pthread_ptr, attr, start_routine, arg);
  5722. }
  5723. if (error)
  5724. return error;
  5725. var stackSize = 0;
  5726. var stackBase = 0;
  5727. var detached = 0;
  5728. if (attr && attr != -1) {
  5729. stackSize = GROWABLE_HEAP_I32()[attr >>> 2];
  5730. stackSize += 81920;
  5731. stackBase = GROWABLE_HEAP_I32()[attr + 8 >>> 2];
  5732. detached = GROWABLE_HEAP_I32()[attr + 12 >>> 2] !== 0;
  5733. } else {
  5734. stackSize = 2097152;
  5735. }
  5736. var allocatedOwnStack = stackBase == 0;
  5737. if (allocatedOwnStack) {
  5738. stackBase = _memalign(16, stackSize);
  5739. } else {
  5740. stackBase -= stackSize;
  5741. assert(stackBase > 0);
  5742. }
  5743. var threadInfoStruct = _malloc(228);
  5744. for (var i = 0; i < 228 >> 2; ++i)
  5745. GROWABLE_HEAP_U32()[(threadInfoStruct >> 2) + i >>> 0] = 0;
  5746. GROWABLE_HEAP_I32()[pthread_ptr >>> 2] = threadInfoStruct;
  5747. GROWABLE_HEAP_I32()[threadInfoStruct + 12 >>> 2] = threadInfoStruct;
  5748. var headPtr = threadInfoStruct + 152;
  5749. GROWABLE_HEAP_I32()[headPtr >>> 2] = headPtr;
  5750. var threadParams = { stackBase, stackSize, allocatedOwnStack, detached, startRoutine: start_routine, pthread_ptr: threadInfoStruct, arg, transferList };
  5751. if (ENVIRONMENT_IS_PTHREAD) {
  5752. threadParams.cmd = "spawnThread";
  5753. postMessage(threadParams, transferList);
  5754. return 0;
  5755. }
  5756. return spawnThread(threadParams);
  5757. }
  5758. function _setTempRet0(val) {
  5759. setTempRet0(val);
  5760. }
  5761. function __isLeapYear(year) {
  5762. return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
  5763. }
  5764. function __arraySum(array, index) {
  5765. var sum = 0;
  5766. for (var i = 0; i <= index; sum += array[i++]) {
  5767. }
  5768. return sum;
  5769. }
  5770. var __MONTH_DAYS_LEAP = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
  5771. var __MONTH_DAYS_REGULAR = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
  5772. function __addDays(date, days) {
  5773. var newDate = new Date(date.getTime());
  5774. while (days > 0) {
  5775. var leap = __isLeapYear(newDate.getFullYear());
  5776. var currentMonth = newDate.getMonth();
  5777. var daysInCurrentMonth = (leap ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR)[currentMonth];
  5778. if (days > daysInCurrentMonth - newDate.getDate()) {
  5779. days -= daysInCurrentMonth - newDate.getDate() + 1;
  5780. newDate.setDate(1);
  5781. if (currentMonth < 11) {
  5782. newDate.setMonth(currentMonth + 1);
  5783. } else {
  5784. newDate.setMonth(0);
  5785. newDate.setFullYear(newDate.getFullYear() + 1);
  5786. }
  5787. } else {
  5788. newDate.setDate(newDate.getDate() + days);
  5789. return newDate;
  5790. }
  5791. }
  5792. return newDate;
  5793. }
  5794. function _strftime(s, maxsize, format, tm) {
  5795. var tm_zone = GROWABLE_HEAP_I32()[tm + 40 >>> 2];
  5796. var date = { tm_sec: GROWABLE_HEAP_I32()[tm >>> 2], tm_min: GROWABLE_HEAP_I32()[tm + 4 >>> 2], tm_hour: GROWABLE_HEAP_I32()[tm + 8 >>> 2], tm_mday: GROWABLE_HEAP_I32()[tm + 12 >>> 2], tm_mon: GROWABLE_HEAP_I32()[tm + 16 >>> 2], tm_year: GROWABLE_HEAP_I32()[tm + 20 >>> 2], tm_wday: GROWABLE_HEAP_I32()[tm + 24 >>> 2], tm_yday: GROWABLE_HEAP_I32()[tm + 28 >>> 2], tm_isdst: GROWABLE_HEAP_I32()[tm + 32 >>> 2], tm_gmtoff: GROWABLE_HEAP_I32()[tm + 36 >>> 2], tm_zone: tm_zone ? UTF8ToString(tm_zone) : "" };
  5797. var pattern = UTF8ToString(format);
  5798. var EXPANSION_RULES_1 = { "%c": "%a %b %d %H:%M:%S %Y", "%D": "%m/%d/%y", "%F": "%Y-%m-%d", "%h": "%b", "%r": "%I:%M:%S %p", "%R": "%H:%M", "%T": "%H:%M:%S", "%x": "%m/%d/%y", "%X": "%H:%M:%S", "%Ec": "%c", "%EC": "%C", "%Ex": "%m/%d/%y", "%EX": "%H:%M:%S", "%Ey": "%y", "%EY": "%Y", "%Od": "%d", "%Oe": "%e", "%OH": "%H", "%OI": "%I", "%Om": "%m", "%OM": "%M", "%OS": "%S", "%Ou": "%u", "%OU": "%U", "%OV": "%V", "%Ow": "%w", "%OW": "%W", "%Oy": "%y" };
  5799. for (var rule in EXPANSION_RULES_1) {
  5800. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_1[rule]);
  5801. }
  5802. var WEEKDAYS = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
  5803. var MONTHS = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
  5804. function leadingSomething(value, digits, character) {
  5805. var str = typeof value === "number" ? value.toString() : value || "";
  5806. while (str.length < digits) {
  5807. str = character[0] + str;
  5808. }
  5809. return str;
  5810. }
  5811. function leadingNulls(value, digits) {
  5812. return leadingSomething(value, digits, "0");
  5813. }
  5814. function compareByDay(date1, date2) {
  5815. function sgn(value) {
  5816. return value < 0 ? -1 : value > 0 ? 1 : 0;
  5817. }
  5818. var compare;
  5819. if ((compare = sgn(date1.getFullYear() - date2.getFullYear())) === 0) {
  5820. if ((compare = sgn(date1.getMonth() - date2.getMonth())) === 0) {
  5821. compare = sgn(date1.getDate() - date2.getDate());
  5822. }
  5823. }
  5824. return compare;
  5825. }
  5826. function getFirstWeekStartDate(janFourth) {
  5827. switch (janFourth.getDay()) {
  5828. case 0:
  5829. return new Date(janFourth.getFullYear() - 1, 11, 29);
  5830. case 1:
  5831. return janFourth;
  5832. case 2:
  5833. return new Date(janFourth.getFullYear(), 0, 3);
  5834. case 3:
  5835. return new Date(janFourth.getFullYear(), 0, 2);
  5836. case 4:
  5837. return new Date(janFourth.getFullYear(), 0, 1);
  5838. case 5:
  5839. return new Date(janFourth.getFullYear() - 1, 11, 31);
  5840. case 6:
  5841. return new Date(janFourth.getFullYear() - 1, 11, 30);
  5842. }
  5843. }
  5844. function getWeekBasedYear(date2) {
  5845. var thisDate = __addDays(new Date(date2.tm_year + 1900, 0, 1), date2.tm_yday);
  5846. var janFourthThisYear = new Date(thisDate.getFullYear(), 0, 4);
  5847. var janFourthNextYear = new Date(thisDate.getFullYear() + 1, 0, 4);
  5848. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  5849. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  5850. if (compareByDay(firstWeekStartThisYear, thisDate) <= 0) {
  5851. if (compareByDay(firstWeekStartNextYear, thisDate) <= 0) {
  5852. return thisDate.getFullYear() + 1;
  5853. } else {
  5854. return thisDate.getFullYear();
  5855. }
  5856. } else {
  5857. return thisDate.getFullYear() - 1;
  5858. }
  5859. }
  5860. var EXPANSION_RULES_2 = { "%a": function(date2) {
  5861. return WEEKDAYS[date2.tm_wday].substring(0, 3);
  5862. }, "%A": function(date2) {
  5863. return WEEKDAYS[date2.tm_wday];
  5864. }, "%b": function(date2) {
  5865. return MONTHS[date2.tm_mon].substring(0, 3);
  5866. }, "%B": function(date2) {
  5867. return MONTHS[date2.tm_mon];
  5868. }, "%C": function(date2) {
  5869. var year = date2.tm_year + 1900;
  5870. return leadingNulls(year / 100 | 0, 2);
  5871. }, "%d": function(date2) {
  5872. return leadingNulls(date2.tm_mday, 2);
  5873. }, "%e": function(date2) {
  5874. return leadingSomething(date2.tm_mday, 2, " ");
  5875. }, "%g": function(date2) {
  5876. return getWeekBasedYear(date2).toString().substring(2);
  5877. }, "%G": function(date2) {
  5878. return getWeekBasedYear(date2);
  5879. }, "%H": function(date2) {
  5880. return leadingNulls(date2.tm_hour, 2);
  5881. }, "%I": function(date2) {
  5882. var twelveHour = date2.tm_hour;
  5883. if (twelveHour == 0)
  5884. twelveHour = 12;
  5885. else if (twelveHour > 12)
  5886. twelveHour -= 12;
  5887. return leadingNulls(twelveHour, 2);
  5888. }, "%j": function(date2) {
  5889. return leadingNulls(date2.tm_mday + __arraySum(__isLeapYear(date2.tm_year + 1900) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, date2.tm_mon - 1), 3);
  5890. }, "%m": function(date2) {
  5891. return leadingNulls(date2.tm_mon + 1, 2);
  5892. }, "%M": function(date2) {
  5893. return leadingNulls(date2.tm_min, 2);
  5894. }, "%n": function() {
  5895. return "\n";
  5896. }, "%p": function(date2) {
  5897. if (date2.tm_hour >= 0 && date2.tm_hour < 12) {
  5898. return "AM";
  5899. } else {
  5900. return "PM";
  5901. }
  5902. }, "%S": function(date2) {
  5903. return leadingNulls(date2.tm_sec, 2);
  5904. }, "%t": function() {
  5905. return " ";
  5906. }, "%u": function(date2) {
  5907. return date2.tm_wday || 7;
  5908. }, "%U": function(date2) {
  5909. var janFirst = new Date(date2.tm_year + 1900, 0, 1);
  5910. var firstSunday = janFirst.getDay() === 0 ? janFirst : __addDays(janFirst, 7 - janFirst.getDay());
  5911. var endDate = new Date(date2.tm_year + 1900, date2.tm_mon, date2.tm_mday);
  5912. if (compareByDay(firstSunday, endDate) < 0) {
  5913. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  5914. var firstSundayUntilEndJanuary = 31 - firstSunday.getDate();
  5915. var days = firstSundayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  5916. return leadingNulls(Math.ceil(days / 7), 2);
  5917. }
  5918. return compareByDay(firstSunday, janFirst) === 0 ? "01" : "00";
  5919. }, "%V": function(date2) {
  5920. var janFourthThisYear = new Date(date2.tm_year + 1900, 0, 4);
  5921. var janFourthNextYear = new Date(date2.tm_year + 1901, 0, 4);
  5922. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  5923. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  5924. var endDate = __addDays(new Date(date2.tm_year + 1900, 0, 1), date2.tm_yday);
  5925. if (compareByDay(endDate, firstWeekStartThisYear) < 0) {
  5926. return "53";
  5927. }
  5928. if (compareByDay(firstWeekStartNextYear, endDate) <= 0) {
  5929. return "01";
  5930. }
  5931. var daysDifference;
  5932. if (firstWeekStartThisYear.getFullYear() < date2.tm_year + 1900) {
  5933. daysDifference = date2.tm_yday + 32 - firstWeekStartThisYear.getDate();
  5934. } else {
  5935. daysDifference = date2.tm_yday + 1 - firstWeekStartThisYear.getDate();
  5936. }
  5937. return leadingNulls(Math.ceil(daysDifference / 7), 2);
  5938. }, "%w": function(date2) {
  5939. return date2.tm_wday;
  5940. }, "%W": function(date2) {
  5941. var janFirst = new Date(date2.tm_year, 0, 1);
  5942. var firstMonday = janFirst.getDay() === 1 ? janFirst : __addDays(janFirst, janFirst.getDay() === 0 ? 1 : 7 - janFirst.getDay() + 1);
  5943. var endDate = new Date(date2.tm_year + 1900, date2.tm_mon, date2.tm_mday);
  5944. if (compareByDay(firstMonday, endDate) < 0) {
  5945. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  5946. var firstMondayUntilEndJanuary = 31 - firstMonday.getDate();
  5947. var days = firstMondayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  5948. return leadingNulls(Math.ceil(days / 7), 2);
  5949. }
  5950. return compareByDay(firstMonday, janFirst) === 0 ? "01" : "00";
  5951. }, "%y": function(date2) {
  5952. return (date2.tm_year + 1900).toString().substring(2);
  5953. }, "%Y": function(date2) {
  5954. return date2.tm_year + 1900;
  5955. }, "%z": function(date2) {
  5956. var off = date2.tm_gmtoff;
  5957. var ahead = off >= 0;
  5958. off = Math.abs(off) / 60;
  5959. off = off / 60 * 100 + off % 60;
  5960. return (ahead ? "+" : "-") + String("0000" + off).slice(-4);
  5961. }, "%Z": function(date2) {
  5962. return date2.tm_zone;
  5963. }, "%%": function() {
  5964. return "%";
  5965. } };
  5966. for (var rule in EXPANSION_RULES_2) {
  5967. if (pattern.includes(rule)) {
  5968. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_2[rule](date));
  5969. }
  5970. }
  5971. var bytes = intArrayFromString(pattern, false);
  5972. if (bytes.length > maxsize) {
  5973. return 0;
  5974. }
  5975. writeArrayToMemory(bytes, s);
  5976. return bytes.length - 1;
  5977. }
  5978. function _strftime_l(s, maxsize, format, tm) {
  5979. return _strftime(s, maxsize, format, tm);
  5980. }
  5981. if (!ENVIRONMENT_IS_PTHREAD)
  5982. PThread.initMainThreadBlock();
  5983. var FSNode = function(parent, name2, mode, rdev) {
  5984. if (!parent) {
  5985. parent = this;
  5986. }
  5987. this.parent = parent;
  5988. this.mount = parent.mount;
  5989. this.mounted = null;
  5990. this.id = FS.nextInode++;
  5991. this.name = name2;
  5992. this.mode = mode;
  5993. this.node_ops = {};
  5994. this.stream_ops = {};
  5995. this.rdev = rdev;
  5996. };
  5997. var readMode = 292 | 73;
  5998. var writeMode = 146;
  5999. Object.defineProperties(FSNode.prototype, { read: { get: function() {
  6000. return (this.mode & readMode) === readMode;
  6001. }, set: function(val) {
  6002. val ? this.mode |= readMode : this.mode &= ~readMode;
  6003. } }, write: { get: function() {
  6004. return (this.mode & writeMode) === writeMode;
  6005. }, set: function(val) {
  6006. val ? this.mode |= writeMode : this.mode &= ~writeMode;
  6007. } }, isFolder: { get: function() {
  6008. return FS.isDir(this.mode);
  6009. } }, isDevice: { get: function() {
  6010. return FS.isChrdev(this.mode);
  6011. } } });
  6012. FS.FSNode = FSNode;
  6013. FS.staticInit();
  6014. Module["FS_createPath"] = FS.createPath;
  6015. Module["FS_createDataFile"] = FS.createDataFile;
  6016. Module["FS_createPreloadedFile"] = FS.createPreloadedFile;
  6017. Module["FS_createLazyFile"] = FS.createLazyFile;
  6018. Module["FS_createDevice"] = FS.createDevice;
  6019. Module["FS_unlink"] = FS.unlink;
  6020. InternalError = Module["InternalError"] = extendError(Error, "InternalError");
  6021. embind_init_charCodes();
  6022. BindingError = Module["BindingError"] = extendError(Error, "BindingError");
  6023. init_ClassHandle();
  6024. init_RegisteredPointer();
  6025. init_embind();
  6026. UnboundTypeError = Module["UnboundTypeError"] = extendError(Error, "UnboundTypeError");
  6027. init_emval();
  6028. var GLctx;
  6029. var proxiedFunctionTable = [null, _atexit, ___sys_fcntl64, ___sys_ioctl, ___sys_open, _emscripten_set_canvas_element_size_main_thread, _environ_get, _environ_sizes_get, _fd_close, _fd_read, _fd_seek, _fd_write];
  6030. function intArrayFromString(stringy, dontAddNull, length) {
  6031. var len = length > 0 ? length : lengthBytesUTF8(stringy) + 1;
  6032. var u8array = new Array(len);
  6033. var numBytesWritten = stringToUTF8Array(stringy, u8array, 0, u8array.length);
  6034. if (dontAddNull)
  6035. u8array.length = numBytesWritten;
  6036. return u8array;
  6037. }
  6038. var asmLibraryArg = { "z": ___assert_fail, "n": ___cxa_allocate_exception, "v": ___cxa_begin_catch, "y": ___cxa_end_catch, "c": ___cxa_find_matching_catch_2, "m": ___cxa_find_matching_catch_3, "C": ___cxa_free_exception, "ba": ___cxa_rethrow, "La": ___cxa_thread_atexit, "o": ___cxa_throw, "ta": ___cxa_uncaught_exceptions, "i": ___resumeException, "da": ___sys_fcntl64, "ua": ___sys_ioctl, "va": ___sys_open, "Oa": __embind_finalize_value_array, "Ra": __embind_finalize_value_object, "_a": __embind_register_bigint, "Ja": __embind_register_bool, "O": __embind_register_class, "N": __embind_register_class_constructor, "q": __embind_register_class_function, "Ia": __embind_register_emval, "Ma": __embind_register_enum, "T": __embind_register_enum_value, "ja": __embind_register_float, "t": __embind_register_function, "B": __embind_register_integer, "x": __embind_register_memory_view, "ka": __embind_register_std_string, "Y": __embind_register_std_wstring, "Pa": __embind_register_value_array, "Na": __embind_register_value_array_element, "M": __embind_register_value_object, "Qa": __embind_register_value_object_field, "Ka": __embind_register_void, "Ca": __emscripten_notify_thread_queue, "U": __emval_as, "la": __emval_call, "xa": __emval_decref, "$a": __emval_get_global, "Ua": __emval_get_property, "aa": __emval_incref, "pa": __emval_instanceof, "Xa": __emval_is_number, "Wa": __emval_new_array, "Z": __emval_new_cstring, "Va": __emval_new_object, "Ta": __emval_run_destructors, "Sa": __emval_set_property, "D": __emval_take_value, "ia": _abort, "ca": _clock_gettime, "ga": _emscripten_asm_const_int, "wa": _emscripten_check_blocking_allowed, "fa": _emscripten_conditional_set_current_thread_status, "K": _emscripten_futex_wait, "J": _emscripten_futex_wake, "S": _emscripten_get_now, "ra": _emscripten_memcpy_big, "ya": _emscripten_receive_on_main_thread_js, "sa": _emscripten_resize_heap, "za": _emscripten_set_canvas_element_size, "ea": _emscripten_set_current_thread_status, "Aa": _emscripten_webgl_create_context, "Ea": _environ_get, "Fa": _environ_sizes_get, "ha": _fd_close, "Ha": _fd_read, "Za": _fd_seek, "Ga": _fd_write, "b": _getTempRet0, "qa": initPthreadsJS, "I": invoke_diii, "E": invoke_i, "d": invoke_ii, "Q": invoke_iid, "j": invoke_iii, "k": invoke_iiii, "R": invoke_iiiii, "na": invoke_iiiiid, "G": invoke_iiiiii, "A": invoke_iiiiiii, "_": invoke_iiiiiiii, "P": invoke_iiiiiiiii, "W": invoke_iiiiiiiiiiii, "Ya": invoke_j, "g": invoke_v, "f": invoke_vi, "L": invoke_viddi, "H": invoke_viffiid, "h": invoke_vii, "s": invoke_viidd, "e": invoke_viii, "l": invoke_viiii, "$": invoke_viiiid, "X": invoke_viiiidii, "F": invoke_viiiii, "w": invoke_viiiiii, "r": invoke_viiiiiii, "u": invoke_viiiiiiiii, "p": invoke_viiiiiiiiii, "V": invoke_viiiiiiiiiiiiiii, "oa": _llvm_eh_typeid_for, "a": wasmMemory || Module["wasmMemory"], "Ba": _pthread_create, "ma": _setTempRet0, "Da": _strftime_l };
  6039. var asm = createWasm();
  6040. var ___wasm_call_ctors = Module["___wasm_call_ctors"] = function() {
  6041. return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["ab"]).apply(null, arguments);
  6042. };
  6043. var _main = Module["_main"] = function() {
  6044. return (_main = Module["_main"] = Module["asm"]["bb"]).apply(null, arguments);
  6045. };
  6046. var _malloc = Module["_malloc"] = function() {
  6047. return (_malloc = Module["_malloc"] = Module["asm"]["cb"]).apply(null, arguments);
  6048. };
  6049. var _free = Module["_free"] = function() {
  6050. return (_free = Module["_free"] = Module["asm"]["eb"]).apply(null, arguments);
  6051. };
  6052. var _emscripten_tls_init = Module["_emscripten_tls_init"] = function() {
  6053. return (_emscripten_tls_init = Module["_emscripten_tls_init"] = Module["asm"]["fb"]).apply(null, arguments);
  6054. };
  6055. var ___getTypeName = Module["___getTypeName"] = function() {
  6056. return (___getTypeName = Module["___getTypeName"] = Module["asm"]["gb"]).apply(null, arguments);
  6057. };
  6058. var ___embind_register_native_and_builtin_types = Module["___embind_register_native_and_builtin_types"] = function() {
  6059. return (___embind_register_native_and_builtin_types = Module["___embind_register_native_and_builtin_types"] = Module["asm"]["hb"]).apply(null, arguments);
  6060. };
  6061. var _emscripten_current_thread_process_queued_calls = Module["_emscripten_current_thread_process_queued_calls"] = function() {
  6062. return (_emscripten_current_thread_process_queued_calls = Module["_emscripten_current_thread_process_queued_calls"] = Module["asm"]["ib"]).apply(null, arguments);
  6063. };
  6064. var _emscripten_register_main_browser_thread_id = Module["_emscripten_register_main_browser_thread_id"] = function() {
  6065. return (_emscripten_register_main_browser_thread_id = Module["_emscripten_register_main_browser_thread_id"] = Module["asm"]["jb"]).apply(null, arguments);
  6066. };
  6067. var __emscripten_do_dispatch_to_thread = Module["__emscripten_do_dispatch_to_thread"] = function() {
  6068. return (__emscripten_do_dispatch_to_thread = Module["__emscripten_do_dispatch_to_thread"] = Module["asm"]["kb"]).apply(null, arguments);
  6069. };
  6070. var _emscripten_sync_run_in_main_thread_4 = Module["_emscripten_sync_run_in_main_thread_4"] = function() {
  6071. return (_emscripten_sync_run_in_main_thread_4 = Module["_emscripten_sync_run_in_main_thread_4"] = Module["asm"]["lb"]).apply(null, arguments);
  6072. };
  6073. var _emscripten_main_thread_process_queued_calls = Module["_emscripten_main_thread_process_queued_calls"] = function() {
  6074. return (_emscripten_main_thread_process_queued_calls = Module["_emscripten_main_thread_process_queued_calls"] = Module["asm"]["mb"]).apply(null, arguments);
  6075. };
  6076. var _emscripten_run_in_main_runtime_thread_js = Module["_emscripten_run_in_main_runtime_thread_js"] = function() {
  6077. return (_emscripten_run_in_main_runtime_thread_js = Module["_emscripten_run_in_main_runtime_thread_js"] = Module["asm"]["nb"]).apply(null, arguments);
  6078. };
  6079. var __emscripten_call_on_thread = Module["__emscripten_call_on_thread"] = function() {
  6080. return (__emscripten_call_on_thread = Module["__emscripten_call_on_thread"] = Module["asm"]["ob"]).apply(null, arguments);
  6081. };
  6082. var __emscripten_thread_init = Module["__emscripten_thread_init"] = function() {
  6083. return (__emscripten_thread_init = Module["__emscripten_thread_init"] = Module["asm"]["pb"]).apply(null, arguments);
  6084. };
  6085. var _emscripten_get_global_libc = Module["_emscripten_get_global_libc"] = function() {
  6086. return (_emscripten_get_global_libc = Module["_emscripten_get_global_libc"] = Module["asm"]["qb"]).apply(null, arguments);
  6087. };
  6088. var ___errno_location = Module["___errno_location"] = function() {
  6089. return (___errno_location = Module["___errno_location"] = Module["asm"]["rb"]).apply(null, arguments);
  6090. };
  6091. var _pthread_self = Module["_pthread_self"] = function() {
  6092. return (_pthread_self = Module["_pthread_self"] = Module["asm"]["sb"]).apply(null, arguments);
  6093. };
  6094. var ___pthread_tsd_run_dtors = Module["___pthread_tsd_run_dtors"] = function() {
  6095. return (___pthread_tsd_run_dtors = Module["___pthread_tsd_run_dtors"] = Module["asm"]["tb"]).apply(null, arguments);
  6096. };
  6097. var stackSave = Module["stackSave"] = function() {
  6098. return (stackSave = Module["stackSave"] = Module["asm"]["ub"]).apply(null, arguments);
  6099. };
  6100. var stackRestore = Module["stackRestore"] = function() {
  6101. return (stackRestore = Module["stackRestore"] = Module["asm"]["vb"]).apply(null, arguments);
  6102. };
  6103. var stackAlloc = Module["stackAlloc"] = function() {
  6104. return (stackAlloc = Module["stackAlloc"] = Module["asm"]["wb"]).apply(null, arguments);
  6105. };
  6106. var _emscripten_stack_set_limits = Module["_emscripten_stack_set_limits"] = function() {
  6107. return (_emscripten_stack_set_limits = Module["_emscripten_stack_set_limits"] = Module["asm"]["xb"]).apply(null, arguments);
  6108. };
  6109. var _setThrew = Module["_setThrew"] = function() {
  6110. return (_setThrew = Module["_setThrew"] = Module["asm"]["yb"]).apply(null, arguments);
  6111. };
  6112. var ___cxa_can_catch = Module["___cxa_can_catch"] = function() {
  6113. return (___cxa_can_catch = Module["___cxa_can_catch"] = Module["asm"]["zb"]).apply(null, arguments);
  6114. };
  6115. var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = function() {
  6116. return (___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = Module["asm"]["Ab"]).apply(null, arguments);
  6117. };
  6118. var _memalign = Module["_memalign"] = function() {
  6119. return (_memalign = Module["_memalign"] = Module["asm"]["Bb"]).apply(null, arguments);
  6120. };
  6121. var dynCall_jiji = Module["dynCall_jiji"] = function() {
  6122. return (dynCall_jiji = Module["dynCall_jiji"] = Module["asm"]["Cb"]).apply(null, arguments);
  6123. };
  6124. var dynCall_j = Module["dynCall_j"] = function() {
  6125. return (dynCall_j = Module["dynCall_j"] = Module["asm"]["Db"]).apply(null, arguments);
  6126. };
  6127. var dynCall_viijii = Module["dynCall_viijii"] = function() {
  6128. return (dynCall_viijii = Module["dynCall_viijii"] = Module["asm"]["Eb"]).apply(null, arguments);
  6129. };
  6130. var dynCall_iiiiij = Module["dynCall_iiiiij"] = function() {
  6131. return (dynCall_iiiiij = Module["dynCall_iiiiij"] = Module["asm"]["Fb"]).apply(null, arguments);
  6132. };
  6133. var dynCall_iiiiijj = Module["dynCall_iiiiijj"] = function() {
  6134. return (dynCall_iiiiijj = Module["dynCall_iiiiijj"] = Module["asm"]["Gb"]).apply(null, arguments);
  6135. };
  6136. var dynCall_iiiiiijj = Module["dynCall_iiiiiijj"] = function() {
  6137. return (dynCall_iiiiiijj = Module["dynCall_iiiiiijj"] = Module["asm"]["Hb"]).apply(null, arguments);
  6138. };
  6139. var __emscripten_allow_main_runtime_queued_calls = Module["__emscripten_allow_main_runtime_queued_calls"] = 56672;
  6140. var __emscripten_main_thread_futex = Module["__emscripten_main_thread_futex"] = 60132;
  6141. function invoke_ii(index, a1) {
  6142. var sp = stackSave();
  6143. try {
  6144. return wasmTable.get(index)(a1);
  6145. } catch (e) {
  6146. stackRestore(sp);
  6147. if (e !== e + 0 && e !== "longjmp")
  6148. throw e;
  6149. _setThrew(1, 0);
  6150. }
  6151. }
  6152. function invoke_viiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  6153. var sp = stackSave();
  6154. try {
  6155. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  6156. } catch (e) {
  6157. stackRestore(sp);
  6158. if (e !== e + 0 && e !== "longjmp")
  6159. throw e;
  6160. _setThrew(1, 0);
  6161. }
  6162. }
  6163. function invoke_vi(index, a1) {
  6164. var sp = stackSave();
  6165. try {
  6166. wasmTable.get(index)(a1);
  6167. } catch (e) {
  6168. stackRestore(sp);
  6169. if (e !== e + 0 && e !== "longjmp")
  6170. throw e;
  6171. _setThrew(1, 0);
  6172. }
  6173. }
  6174. function invoke_viiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  6175. var sp = stackSave();
  6176. try {
  6177. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
  6178. } catch (e) {
  6179. stackRestore(sp);
  6180. if (e !== e + 0 && e !== "longjmp")
  6181. throw e;
  6182. _setThrew(1, 0);
  6183. }
  6184. }
  6185. function invoke_v(index) {
  6186. var sp = stackSave();
  6187. try {
  6188. wasmTable.get(index)();
  6189. } catch (e) {
  6190. stackRestore(sp);
  6191. if (e !== e + 0 && e !== "longjmp")
  6192. throw e;
  6193. _setThrew(1, 0);
  6194. }
  6195. }
  6196. function invoke_viii(index, a1, a2, a3) {
  6197. var sp = stackSave();
  6198. try {
  6199. wasmTable.get(index)(a1, a2, a3);
  6200. } catch (e) {
  6201. stackRestore(sp);
  6202. if (e !== e + 0 && e !== "longjmp")
  6203. throw e;
  6204. _setThrew(1, 0);
  6205. }
  6206. }
  6207. function invoke_viiii(index, a1, a2, a3, a4) {
  6208. var sp = stackSave();
  6209. try {
  6210. wasmTable.get(index)(a1, a2, a3, a4);
  6211. } catch (e) {
  6212. stackRestore(sp);
  6213. if (e !== e + 0 && e !== "longjmp")
  6214. throw e;
  6215. _setThrew(1, 0);
  6216. }
  6217. }
  6218. function invoke_iii(index, a1, a2) {
  6219. var sp = stackSave();
  6220. try {
  6221. return wasmTable.get(index)(a1, a2);
  6222. } catch (e) {
  6223. stackRestore(sp);
  6224. if (e !== e + 0 && e !== "longjmp")
  6225. throw e;
  6226. _setThrew(1, 0);
  6227. }
  6228. }
  6229. function invoke_vii(index, a1, a2) {
  6230. var sp = stackSave();
  6231. try {
  6232. wasmTable.get(index)(a1, a2);
  6233. } catch (e) {
  6234. stackRestore(sp);
  6235. if (e !== e + 0 && e !== "longjmp")
  6236. throw e;
  6237. _setThrew(1, 0);
  6238. }
  6239. }
  6240. function invoke_iiiii(index, a1, a2, a3, a4) {
  6241. var sp = stackSave();
  6242. try {
  6243. return wasmTable.get(index)(a1, a2, a3, a4);
  6244. } catch (e) {
  6245. stackRestore(sp);
  6246. if (e !== e + 0 && e !== "longjmp")
  6247. throw e;
  6248. _setThrew(1, 0);
  6249. }
  6250. }
  6251. function invoke_diii(index, a1, a2, a3) {
  6252. var sp = stackSave();
  6253. try {
  6254. return wasmTable.get(index)(a1, a2, a3);
  6255. } catch (e) {
  6256. stackRestore(sp);
  6257. if (e !== e + 0 && e !== "longjmp")
  6258. throw e;
  6259. _setThrew(1, 0);
  6260. }
  6261. }
  6262. function invoke_i(index) {
  6263. var sp = stackSave();
  6264. try {
  6265. return wasmTable.get(index)();
  6266. } catch (e) {
  6267. stackRestore(sp);
  6268. if (e !== e + 0 && e !== "longjmp")
  6269. throw e;
  6270. _setThrew(1, 0);
  6271. }
  6272. }
  6273. function invoke_iiii(index, a1, a2, a3) {
  6274. var sp = stackSave();
  6275. try {
  6276. return wasmTable.get(index)(a1, a2, a3);
  6277. } catch (e) {
  6278. stackRestore(sp);
  6279. if (e !== e + 0 && e !== "longjmp")
  6280. throw e;
  6281. _setThrew(1, 0);
  6282. }
  6283. }
  6284. function invoke_iid(index, a1, a2) {
  6285. var sp = stackSave();
  6286. try {
  6287. return wasmTable.get(index)(a1, a2);
  6288. } catch (e) {
  6289. stackRestore(sp);
  6290. if (e !== e + 0 && e !== "longjmp")
  6291. throw e;
  6292. _setThrew(1, 0);
  6293. }
  6294. }
  6295. function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
  6296. var sp = stackSave();
  6297. try {
  6298. return wasmTable.get(index)(a1, a2, a3, a4, a5, a6);
  6299. } catch (e) {
  6300. stackRestore(sp);
  6301. if (e !== e + 0 && e !== "longjmp")
  6302. throw e;
  6303. _setThrew(1, 0);
  6304. }
  6305. }
  6306. function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
  6307. var sp = stackSave();
  6308. try {
  6309. wasmTable.get(index)(a1, a2, a3, a4, a5, a6);
  6310. } catch (e) {
  6311. stackRestore(sp);
  6312. if (e !== e + 0 && e !== "longjmp")
  6313. throw e;
  6314. _setThrew(1, 0);
  6315. }
  6316. }
  6317. function invoke_viiiidii(index, a1, a2, a3, a4, a5, a6, a7) {
  6318. var sp = stackSave();
  6319. try {
  6320. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7);
  6321. } catch (e) {
  6322. stackRestore(sp);
  6323. if (e !== e + 0 && e !== "longjmp")
  6324. throw e;
  6325. _setThrew(1, 0);
  6326. }
  6327. }
  6328. function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  6329. var sp = stackSave();
  6330. try {
  6331. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7);
  6332. } catch (e) {
  6333. stackRestore(sp);
  6334. if (e !== e + 0 && e !== "longjmp")
  6335. throw e;
  6336. _setThrew(1, 0);
  6337. }
  6338. }
  6339. function invoke_viffiid(index, a1, a2, a3, a4, a5, a6) {
  6340. var sp = stackSave();
  6341. try {
  6342. wasmTable.get(index)(a1, a2, a3, a4, a5, a6);
  6343. } catch (e) {
  6344. stackRestore(sp);
  6345. if (e !== e + 0 && e !== "longjmp")
  6346. throw e;
  6347. _setThrew(1, 0);
  6348. }
  6349. }
  6350. function invoke_viddi(index, a1, a2, a3, a4) {
  6351. var sp = stackSave();
  6352. try {
  6353. wasmTable.get(index)(a1, a2, a3, a4);
  6354. } catch (e) {
  6355. stackRestore(sp);
  6356. if (e !== e + 0 && e !== "longjmp")
  6357. throw e;
  6358. _setThrew(1, 0);
  6359. }
  6360. }
  6361. function invoke_iiiiii(index, a1, a2, a3, a4, a5) {
  6362. var sp = stackSave();
  6363. try {
  6364. return wasmTable.get(index)(a1, a2, a3, a4, a5);
  6365. } catch (e) {
  6366. stackRestore(sp);
  6367. if (e !== e + 0 && e !== "longjmp")
  6368. throw e;
  6369. _setThrew(1, 0);
  6370. }
  6371. }
  6372. function invoke_viiiii(index, a1, a2, a3, a4, a5) {
  6373. var sp = stackSave();
  6374. try {
  6375. wasmTable.get(index)(a1, a2, a3, a4, a5);
  6376. } catch (e) {
  6377. stackRestore(sp);
  6378. if (e !== e + 0 && e !== "longjmp")
  6379. throw e;
  6380. _setThrew(1, 0);
  6381. }
  6382. }
  6383. function invoke_viidd(index, a1, a2, a3, a4) {
  6384. var sp = stackSave();
  6385. try {
  6386. wasmTable.get(index)(a1, a2, a3, a4);
  6387. } catch (e) {
  6388. stackRestore(sp);
  6389. if (e !== e + 0 && e !== "longjmp")
  6390. throw e;
  6391. _setThrew(1, 0);
  6392. }
  6393. }
  6394. function invoke_viiiid(index, a1, a2, a3, a4, a5) {
  6395. var sp = stackSave();
  6396. try {
  6397. wasmTable.get(index)(a1, a2, a3, a4, a5);
  6398. } catch (e) {
  6399. stackRestore(sp);
  6400. if (e !== e + 0 && e !== "longjmp")
  6401. throw e;
  6402. _setThrew(1, 0);
  6403. }
  6404. }
  6405. function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  6406. var sp = stackSave();
  6407. try {
  6408. return wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8);
  6409. } catch (e) {
  6410. stackRestore(sp);
  6411. if (e !== e + 0 && e !== "longjmp")
  6412. throw e;
  6413. _setThrew(1, 0);
  6414. }
  6415. }
  6416. function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  6417. var sp = stackSave();
  6418. try {
  6419. return wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7);
  6420. } catch (e) {
  6421. stackRestore(sp);
  6422. if (e !== e + 0 && e !== "longjmp")
  6423. throw e;
  6424. _setThrew(1, 0);
  6425. }
  6426. }
  6427. function invoke_iiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  6428. var sp = stackSave();
  6429. try {
  6430. return wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  6431. } catch (e) {
  6432. stackRestore(sp);
  6433. if (e !== e + 0 && e !== "longjmp")
  6434. throw e;
  6435. _setThrew(1, 0);
  6436. }
  6437. }
  6438. function invoke_viiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {
  6439. var sp = stackSave();
  6440. try {
  6441. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
  6442. } catch (e) {
  6443. stackRestore(sp);
  6444. if (e !== e + 0 && e !== "longjmp")
  6445. throw e;
  6446. _setThrew(1, 0);
  6447. }
  6448. }
  6449. function invoke_iiiiid(index, a1, a2, a3, a4, a5) {
  6450. var sp = stackSave();
  6451. try {
  6452. return wasmTable.get(index)(a1, a2, a3, a4, a5);
  6453. } catch (e) {
  6454. stackRestore(sp);
  6455. if (e !== e + 0 && e !== "longjmp")
  6456. throw e;
  6457. _setThrew(1, 0);
  6458. }
  6459. }
  6460. function invoke_j(index) {
  6461. var sp = stackSave();
  6462. try {
  6463. return dynCall_j(index);
  6464. } catch (e) {
  6465. stackRestore(sp);
  6466. if (e !== e + 0 && e !== "longjmp")
  6467. throw e;
  6468. _setThrew(1, 0);
  6469. }
  6470. }
  6471. Module["addRunDependency"] = addRunDependency;
  6472. Module["removeRunDependency"] = removeRunDependency;
  6473. Module["FS_createPath"] = FS.createPath;
  6474. Module["FS_createDataFile"] = FS.createDataFile;
  6475. Module["FS_createPreloadedFile"] = FS.createPreloadedFile;
  6476. Module["FS_createLazyFile"] = FS.createLazyFile;
  6477. Module["FS_createDevice"] = FS.createDevice;
  6478. Module["FS_unlink"] = FS.unlink;
  6479. Module["keepRuntimeAlive"] = keepRuntimeAlive;
  6480. Module["FS"] = FS;
  6481. Module["PThread"] = PThread;
  6482. Module["PThread"] = PThread;
  6483. Module["wasmMemory"] = wasmMemory;
  6484. Module["ExitStatus"] = ExitStatus;
  6485. var calledRun;
  6486. function ExitStatus(status) {
  6487. this.name = "ExitStatus";
  6488. this.message = "Program terminated with exit(" + status + ")";
  6489. this.status = status;
  6490. }
  6491. var calledMain = false;
  6492. dependenciesFulfilled = function runCaller() {
  6493. if (!calledRun)
  6494. run();
  6495. if (!calledRun)
  6496. dependenciesFulfilled = runCaller;
  6497. };
  6498. function callMain(args) {
  6499. var entryFunction = Module["_main"];
  6500. var argc = 0;
  6501. var argv = 0;
  6502. try {
  6503. var ret = entryFunction(argc, argv);
  6504. exit(ret, true);
  6505. } catch (e) {
  6506. if (e instanceof ExitStatus || e == "unwind") {
  6507. return;
  6508. }
  6509. var toLog = e;
  6510. if (e && typeof e === "object" && e.stack) {
  6511. toLog = [e, e.stack];
  6512. }
  6513. err("exception thrown: " + toLog);
  6514. quit_(1, e);
  6515. } finally {
  6516. calledMain = true;
  6517. }
  6518. }
  6519. function run(args) {
  6520. args = args || arguments_;
  6521. if (runDependencies > 0) {
  6522. return;
  6523. }
  6524. if (ENVIRONMENT_IS_PTHREAD) {
  6525. readyPromiseResolve(Module);
  6526. initRuntime();
  6527. postMessage({ "cmd": "loaded" });
  6528. return;
  6529. }
  6530. preRun();
  6531. if (runDependencies > 0) {
  6532. return;
  6533. }
  6534. function doRun() {
  6535. if (calledRun)
  6536. return;
  6537. calledRun = true;
  6538. Module["calledRun"] = true;
  6539. if (ABORT)
  6540. return;
  6541. initRuntime();
  6542. preMain();
  6543. readyPromiseResolve(Module);
  6544. if (Module["onRuntimeInitialized"])
  6545. Module["onRuntimeInitialized"]();
  6546. if (shouldRunNow)
  6547. callMain(args);
  6548. postRun();
  6549. }
  6550. if (Module["setStatus"]) {
  6551. Module["setStatus"]("Running...");
  6552. setTimeout(function() {
  6553. setTimeout(function() {
  6554. Module["setStatus"]("");
  6555. }, 1);
  6556. doRun();
  6557. }, 1);
  6558. } else {
  6559. doRun();
  6560. }
  6561. }
  6562. Module["run"] = run;
  6563. function exit(status, implicit) {
  6564. EXITSTATUS = status;
  6565. if (!implicit) {
  6566. if (ENVIRONMENT_IS_PTHREAD) {
  6567. postMessage({ "cmd": "exitProcess", "returnCode": status });
  6568. throw new ExitStatus(status);
  6569. } else {
  6570. }
  6571. }
  6572. if (keepRuntimeAlive()) {
  6573. } else {
  6574. PThread.terminateAllThreads();
  6575. exitRuntime();
  6576. if (Module["onExit"])
  6577. Module["onExit"](status);
  6578. ABORT = true;
  6579. }
  6580. quit_(status, new ExitStatus(status));
  6581. }
  6582. if (Module["preInit"]) {
  6583. if (typeof Module["preInit"] == "function")
  6584. Module["preInit"] = [Module["preInit"]];
  6585. while (Module["preInit"].length > 0) {
  6586. Module["preInit"].pop()();
  6587. }
  6588. }
  6589. var shouldRunNow = true;
  6590. if (Module["noInitialRun"])
  6591. shouldRunNow = false;
  6592. if (ENVIRONMENT_IS_PTHREAD) {
  6593. noExitRuntime = false;
  6594. PThread.initWorker();
  6595. }
  6596. run();
  6597. return WebIFCWasm3.ready;
  6598. };
  6599. }();
  6600. if (typeof exports === "object" && typeof module === "object")
  6601. module.exports = WebIFCWasm2;
  6602. else if (typeof define === "function" && define["amd"])
  6603. define([], function() {
  6604. return WebIFCWasm2;
  6605. });
  6606. else if (typeof exports === "object")
  6607. exports["WebIFCWasm"] = WebIFCWasm2;
  6608. }
  6609. });
  6610. // dist/web-ifc.js
  6611. var require_web_ifc = __commonJS({
  6612. "dist/web-ifc.js"(exports, module) {
  6613. var WebIFCWasm2 = function() {
  6614. var _scriptDir = typeof document !== "undefined" && document.currentScript ? document.currentScript.src : void 0;
  6615. if (typeof __filename !== "undefined")
  6616. _scriptDir = _scriptDir || __filename;
  6617. return function(WebIFCWasm3) {
  6618. WebIFCWasm3 = WebIFCWasm3 || {};
  6619. var Module = typeof WebIFCWasm3 !== "undefined" ? WebIFCWasm3 : {};
  6620. var readyPromiseResolve, readyPromiseReject;
  6621. Module["ready"] = new Promise(function(resolve, reject) {
  6622. readyPromiseResolve = resolve;
  6623. readyPromiseReject = reject;
  6624. });
  6625. var moduleOverrides = {};
  6626. var key;
  6627. for (key in Module) {
  6628. if (Module.hasOwnProperty(key)) {
  6629. moduleOverrides[key] = Module[key];
  6630. }
  6631. }
  6632. var arguments_ = [];
  6633. var thisProgram = "./this.program";
  6634. var quit_ = function(status, toThrow) {
  6635. throw toThrow;
  6636. };
  6637. var ENVIRONMENT_IS_WEB = typeof window === "object";
  6638. var ENVIRONMENT_IS_WORKER = typeof importScripts === "function";
  6639. var ENVIRONMENT_IS_NODE = typeof process === "object" && typeof process.versions === "object" && typeof process.versions.node === "string";
  6640. var scriptDirectory = "";
  6641. function locateFile(path) {
  6642. if (Module["locateFile"]) {
  6643. return Module["locateFile"](path, scriptDirectory);
  6644. }
  6645. return scriptDirectory + path;
  6646. }
  6647. var read_, readAsync, readBinary, setWindowTitle;
  6648. var nodeFS;
  6649. var nodePath;
  6650. if (ENVIRONMENT_IS_NODE) {
  6651. if (ENVIRONMENT_IS_WORKER) {
  6652. scriptDirectory = __require("path").dirname(scriptDirectory) + "/";
  6653. } else {
  6654. scriptDirectory = __dirname + "/";
  6655. }
  6656. read_ = function shell_read(filename, binary) {
  6657. if (!nodeFS)
  6658. nodeFS = __require("fs");
  6659. if (!nodePath)
  6660. nodePath = __require("path");
  6661. filename = nodePath["normalize"](filename);
  6662. return nodeFS["readFileSync"](filename, binary ? null : "utf8");
  6663. };
  6664. readBinary = function readBinary2(filename) {
  6665. var ret = read_(filename, true);
  6666. if (!ret.buffer) {
  6667. ret = new Uint8Array(ret);
  6668. }
  6669. assert(ret.buffer);
  6670. return ret;
  6671. };
  6672. readAsync = function readAsync2(filename, onload, onerror) {
  6673. if (!nodeFS)
  6674. nodeFS = __require("fs");
  6675. if (!nodePath)
  6676. nodePath = __require("path");
  6677. filename = nodePath["normalize"](filename);
  6678. nodeFS["readFile"](filename, function(err2, data) {
  6679. if (err2)
  6680. onerror(err2);
  6681. else
  6682. onload(data.buffer);
  6683. });
  6684. };
  6685. if (process["argv"].length > 1) {
  6686. thisProgram = process["argv"][1].replace(/\\/g, "/");
  6687. }
  6688. arguments_ = process["argv"].slice(2);
  6689. process["on"]("uncaughtException", function(ex) {
  6690. if (!(ex instanceof ExitStatus)) {
  6691. throw ex;
  6692. }
  6693. });
  6694. process["on"]("unhandledRejection", abort);
  6695. quit_ = function(status, toThrow) {
  6696. if (keepRuntimeAlive()) {
  6697. process["exitCode"] = status;
  6698. throw toThrow;
  6699. }
  6700. process["exit"](status);
  6701. };
  6702. Module["inspect"] = function() {
  6703. return "[Emscripten Module object]";
  6704. };
  6705. } else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
  6706. if (ENVIRONMENT_IS_WORKER) {
  6707. scriptDirectory = self.location.href;
  6708. } else if (typeof document !== "undefined" && document.currentScript) {
  6709. scriptDirectory = document.currentScript.src;
  6710. }
  6711. if (_scriptDir) {
  6712. scriptDirectory = _scriptDir;
  6713. }
  6714. if (scriptDirectory.indexOf("blob:") !== 0) {
  6715. scriptDirectory = scriptDirectory.substr(0, scriptDirectory.lastIndexOf("/") + 1);
  6716. } else {
  6717. scriptDirectory = "";
  6718. }
  6719. {
  6720. read_ = function(url) {
  6721. var xhr = new XMLHttpRequest();
  6722. xhr.open("GET", url, false);
  6723. xhr.send(null);
  6724. return xhr.responseText;
  6725. };
  6726. if (ENVIRONMENT_IS_WORKER) {
  6727. readBinary = function(url) {
  6728. var xhr = new XMLHttpRequest();
  6729. xhr.open("GET", url, false);
  6730. xhr.responseType = "arraybuffer";
  6731. xhr.send(null);
  6732. return new Uint8Array(xhr.response);
  6733. };
  6734. }
  6735. readAsync = function(url, onload, onerror) {
  6736. var xhr = new XMLHttpRequest();
  6737. xhr.open("GET", url, true);
  6738. xhr.responseType = "arraybuffer";
  6739. xhr.onload = function() {
  6740. if (xhr.status == 200 || xhr.status == 0 && xhr.response) {
  6741. onload(xhr.response);
  6742. return;
  6743. }
  6744. onerror();
  6745. };
  6746. xhr.onerror = onerror;
  6747. xhr.send(null);
  6748. };
  6749. }
  6750. setWindowTitle = function(title) {
  6751. document.title = title;
  6752. };
  6753. } else {
  6754. }
  6755. var out = Module["print"] || console.log.bind(console);
  6756. var err = Module["printErr"] || console.warn.bind(console);
  6757. for (key in moduleOverrides) {
  6758. if (moduleOverrides.hasOwnProperty(key)) {
  6759. Module[key] = moduleOverrides[key];
  6760. }
  6761. }
  6762. moduleOverrides = null;
  6763. if (Module["arguments"])
  6764. arguments_ = Module["arguments"];
  6765. if (Module["thisProgram"])
  6766. thisProgram = Module["thisProgram"];
  6767. if (Module["quit"])
  6768. quit_ = Module["quit"];
  6769. var tempRet0 = 0;
  6770. var setTempRet0 = function(value) {
  6771. tempRet0 = value;
  6772. };
  6773. var getTempRet0 = function() {
  6774. return tempRet0;
  6775. };
  6776. var wasmBinary;
  6777. if (Module["wasmBinary"])
  6778. wasmBinary = Module["wasmBinary"];
  6779. var noExitRuntime = Module["noExitRuntime"] || true;
  6780. if (typeof WebAssembly !== "object") {
  6781. abort("no native wasm support detected");
  6782. }
  6783. var wasmMemory;
  6784. var ABORT = false;
  6785. var EXITSTATUS;
  6786. function assert(condition, text) {
  6787. if (!condition) {
  6788. abort("Assertion failed: " + text);
  6789. }
  6790. }
  6791. var UTF8Decoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf8") : void 0;
  6792. function UTF8ArrayToString(heap, idx, maxBytesToRead) {
  6793. idx >>>= 0;
  6794. var endIdx = idx + maxBytesToRead;
  6795. var endPtr = idx;
  6796. while (heap[endPtr >>> 0] && !(endPtr >= endIdx))
  6797. ++endPtr;
  6798. if (endPtr - idx > 16 && heap.subarray && UTF8Decoder) {
  6799. return UTF8Decoder.decode(heap.subarray(idx >>> 0, endPtr >>> 0));
  6800. } else {
  6801. var str = "";
  6802. while (idx < endPtr) {
  6803. var u0 = heap[idx++ >>> 0];
  6804. if (!(u0 & 128)) {
  6805. str += String.fromCharCode(u0);
  6806. continue;
  6807. }
  6808. var u1 = heap[idx++ >>> 0] & 63;
  6809. if ((u0 & 224) == 192) {
  6810. str += String.fromCharCode((u0 & 31) << 6 | u1);
  6811. continue;
  6812. }
  6813. var u2 = heap[idx++ >>> 0] & 63;
  6814. if ((u0 & 240) == 224) {
  6815. u0 = (u0 & 15) << 12 | u1 << 6 | u2;
  6816. } else {
  6817. u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | heap[idx++ >>> 0] & 63;
  6818. }
  6819. if (u0 < 65536) {
  6820. str += String.fromCharCode(u0);
  6821. } else {
  6822. var ch = u0 - 65536;
  6823. str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023);
  6824. }
  6825. }
  6826. }
  6827. return str;
  6828. }
  6829. function UTF8ToString(ptr, maxBytesToRead) {
  6830. ptr >>>= 0;
  6831. return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : "";
  6832. }
  6833. function stringToUTF8Array(str, heap, outIdx, maxBytesToWrite) {
  6834. outIdx >>>= 0;
  6835. if (!(maxBytesToWrite > 0))
  6836. return 0;
  6837. var startIdx = outIdx;
  6838. var endIdx = outIdx + maxBytesToWrite - 1;
  6839. for (var i = 0; i < str.length; ++i) {
  6840. var u = str.charCodeAt(i);
  6841. if (u >= 55296 && u <= 57343) {
  6842. var u1 = str.charCodeAt(++i);
  6843. u = 65536 + ((u & 1023) << 10) | u1 & 1023;
  6844. }
  6845. if (u <= 127) {
  6846. if (outIdx >= endIdx)
  6847. break;
  6848. heap[outIdx++ >>> 0] = u;
  6849. } else if (u <= 2047) {
  6850. if (outIdx + 1 >= endIdx)
  6851. break;
  6852. heap[outIdx++ >>> 0] = 192 | u >> 6;
  6853. heap[outIdx++ >>> 0] = 128 | u & 63;
  6854. } else if (u <= 65535) {
  6855. if (outIdx + 2 >= endIdx)
  6856. break;
  6857. heap[outIdx++ >>> 0] = 224 | u >> 12;
  6858. heap[outIdx++ >>> 0] = 128 | u >> 6 & 63;
  6859. heap[outIdx++ >>> 0] = 128 | u & 63;
  6860. } else {
  6861. if (outIdx + 3 >= endIdx)
  6862. break;
  6863. heap[outIdx++ >>> 0] = 240 | u >> 18;
  6864. heap[outIdx++ >>> 0] = 128 | u >> 12 & 63;
  6865. heap[outIdx++ >>> 0] = 128 | u >> 6 & 63;
  6866. heap[outIdx++ >>> 0] = 128 | u & 63;
  6867. }
  6868. }
  6869. heap[outIdx >>> 0] = 0;
  6870. return outIdx - startIdx;
  6871. }
  6872. function stringToUTF8(str, outPtr, maxBytesToWrite) {
  6873. return stringToUTF8Array(str, HEAPU8, outPtr, maxBytesToWrite);
  6874. }
  6875. function lengthBytesUTF8(str) {
  6876. var len = 0;
  6877. for (var i = 0; i < str.length; ++i) {
  6878. var u = str.charCodeAt(i);
  6879. if (u >= 55296 && u <= 57343)
  6880. u = 65536 + ((u & 1023) << 10) | str.charCodeAt(++i) & 1023;
  6881. if (u <= 127)
  6882. ++len;
  6883. else if (u <= 2047)
  6884. len += 2;
  6885. else if (u <= 65535)
  6886. len += 3;
  6887. else
  6888. len += 4;
  6889. }
  6890. return len;
  6891. }
  6892. var UTF16Decoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-16le") : void 0;
  6893. function UTF16ToString(ptr, maxBytesToRead) {
  6894. var endPtr = ptr;
  6895. var idx = endPtr >> 1;
  6896. var maxIdx = idx + maxBytesToRead / 2;
  6897. while (!(idx >= maxIdx) && HEAPU16[idx >>> 0])
  6898. ++idx;
  6899. endPtr = idx << 1;
  6900. if (endPtr - ptr > 32 && UTF16Decoder) {
  6901. return UTF16Decoder.decode(HEAPU8.subarray(ptr >>> 0, endPtr >>> 0));
  6902. } else {
  6903. var str = "";
  6904. for (var i = 0; !(i >= maxBytesToRead / 2); ++i) {
  6905. var codeUnit = HEAP16[ptr + i * 2 >>> 1];
  6906. if (codeUnit == 0)
  6907. break;
  6908. str += String.fromCharCode(codeUnit);
  6909. }
  6910. return str;
  6911. }
  6912. }
  6913. function stringToUTF16(str, outPtr, maxBytesToWrite) {
  6914. if (maxBytesToWrite === void 0) {
  6915. maxBytesToWrite = 2147483647;
  6916. }
  6917. if (maxBytesToWrite < 2)
  6918. return 0;
  6919. maxBytesToWrite -= 2;
  6920. var startPtr = outPtr;
  6921. var numCharsToWrite = maxBytesToWrite < str.length * 2 ? maxBytesToWrite / 2 : str.length;
  6922. for (var i = 0; i < numCharsToWrite; ++i) {
  6923. var codeUnit = str.charCodeAt(i);
  6924. HEAP16[outPtr >>> 1] = codeUnit;
  6925. outPtr += 2;
  6926. }
  6927. HEAP16[outPtr >>> 1] = 0;
  6928. return outPtr - startPtr;
  6929. }
  6930. function lengthBytesUTF16(str) {
  6931. return str.length * 2;
  6932. }
  6933. function UTF32ToString(ptr, maxBytesToRead) {
  6934. var i = 0;
  6935. var str = "";
  6936. while (!(i >= maxBytesToRead / 4)) {
  6937. var utf32 = HEAP32[ptr + i * 4 >>> 2];
  6938. if (utf32 == 0)
  6939. break;
  6940. ++i;
  6941. if (utf32 >= 65536) {
  6942. var ch = utf32 - 65536;
  6943. str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023);
  6944. } else {
  6945. str += String.fromCharCode(utf32);
  6946. }
  6947. }
  6948. return str;
  6949. }
  6950. function stringToUTF32(str, outPtr, maxBytesToWrite) {
  6951. outPtr >>>= 0;
  6952. if (maxBytesToWrite === void 0) {
  6953. maxBytesToWrite = 2147483647;
  6954. }
  6955. if (maxBytesToWrite < 4)
  6956. return 0;
  6957. var startPtr = outPtr;
  6958. var endPtr = startPtr + maxBytesToWrite - 4;
  6959. for (var i = 0; i < str.length; ++i) {
  6960. var codeUnit = str.charCodeAt(i);
  6961. if (codeUnit >= 55296 && codeUnit <= 57343) {
  6962. var trailSurrogate = str.charCodeAt(++i);
  6963. codeUnit = 65536 + ((codeUnit & 1023) << 10) | trailSurrogate & 1023;
  6964. }
  6965. HEAP32[outPtr >>> 2] = codeUnit;
  6966. outPtr += 4;
  6967. if (outPtr + 4 > endPtr)
  6968. break;
  6969. }
  6970. HEAP32[outPtr >>> 2] = 0;
  6971. return outPtr - startPtr;
  6972. }
  6973. function lengthBytesUTF32(str) {
  6974. var len = 0;
  6975. for (var i = 0; i < str.length; ++i) {
  6976. var codeUnit = str.charCodeAt(i);
  6977. if (codeUnit >= 55296 && codeUnit <= 57343)
  6978. ++i;
  6979. len += 4;
  6980. }
  6981. return len;
  6982. }
  6983. function writeArrayToMemory(array, buffer2) {
  6984. HEAP8.set(array, buffer2 >>> 0);
  6985. }
  6986. function writeAsciiToMemory(str, buffer2, dontAddNull) {
  6987. for (var i = 0; i < str.length; ++i) {
  6988. HEAP8[buffer2++ >>> 0] = str.charCodeAt(i);
  6989. }
  6990. if (!dontAddNull)
  6991. HEAP8[buffer2 >>> 0] = 0;
  6992. }
  6993. function alignUp(x, multiple) {
  6994. if (x % multiple > 0) {
  6995. x += multiple - x % multiple;
  6996. }
  6997. return x;
  6998. }
  6999. var buffer, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64;
  7000. function updateGlobalBufferAndViews(buf) {
  7001. buffer = buf;
  7002. Module["HEAP8"] = HEAP8 = new Int8Array(buf);
  7003. Module["HEAP16"] = HEAP16 = new Int16Array(buf);
  7004. Module["HEAP32"] = HEAP32 = new Int32Array(buf);
  7005. Module["HEAPU8"] = HEAPU8 = new Uint8Array(buf);
  7006. Module["HEAPU16"] = HEAPU16 = new Uint16Array(buf);
  7007. Module["HEAPU32"] = HEAPU32 = new Uint32Array(buf);
  7008. Module["HEAPF32"] = HEAPF32 = new Float32Array(buf);
  7009. Module["HEAPF64"] = HEAPF64 = new Float64Array(buf);
  7010. }
  7011. var INITIAL_MEMORY = Module["INITIAL_MEMORY"] || 16777216;
  7012. var wasmTable;
  7013. var __ATPRERUN__ = [];
  7014. var __ATINIT__ = [];
  7015. var __ATMAIN__ = [];
  7016. var __ATPOSTRUN__ = [];
  7017. var runtimeInitialized = false;
  7018. var runtimeExited = false;
  7019. var runtimeKeepaliveCounter = 0;
  7020. function keepRuntimeAlive() {
  7021. return noExitRuntime || runtimeKeepaliveCounter > 0;
  7022. }
  7023. function preRun() {
  7024. if (Module["preRun"]) {
  7025. if (typeof Module["preRun"] == "function")
  7026. Module["preRun"] = [Module["preRun"]];
  7027. while (Module["preRun"].length) {
  7028. addOnPreRun(Module["preRun"].shift());
  7029. }
  7030. }
  7031. callRuntimeCallbacks(__ATPRERUN__);
  7032. }
  7033. function initRuntime() {
  7034. runtimeInitialized = true;
  7035. if (!Module["noFSInit"] && !FS.init.initialized)
  7036. FS.init();
  7037. FS.ignorePermissions = false;
  7038. TTY.init();
  7039. callRuntimeCallbacks(__ATINIT__);
  7040. }
  7041. function preMain() {
  7042. callRuntimeCallbacks(__ATMAIN__);
  7043. }
  7044. function exitRuntime() {
  7045. runtimeExited = true;
  7046. }
  7047. function postRun() {
  7048. if (Module["postRun"]) {
  7049. if (typeof Module["postRun"] == "function")
  7050. Module["postRun"] = [Module["postRun"]];
  7051. while (Module["postRun"].length) {
  7052. addOnPostRun(Module["postRun"].shift());
  7053. }
  7054. }
  7055. callRuntimeCallbacks(__ATPOSTRUN__);
  7056. }
  7057. function addOnPreRun(cb) {
  7058. __ATPRERUN__.unshift(cb);
  7059. }
  7060. function addOnInit(cb) {
  7061. __ATINIT__.unshift(cb);
  7062. }
  7063. function addOnPostRun(cb) {
  7064. __ATPOSTRUN__.unshift(cb);
  7065. }
  7066. var runDependencies = 0;
  7067. var runDependencyWatcher = null;
  7068. var dependenciesFulfilled = null;
  7069. function getUniqueRunDependency(id) {
  7070. return id;
  7071. }
  7072. function addRunDependency(id) {
  7073. runDependencies++;
  7074. if (Module["monitorRunDependencies"]) {
  7075. Module["monitorRunDependencies"](runDependencies);
  7076. }
  7077. }
  7078. function removeRunDependency(id) {
  7079. runDependencies--;
  7080. if (Module["monitorRunDependencies"]) {
  7081. Module["monitorRunDependencies"](runDependencies);
  7082. }
  7083. if (runDependencies == 0) {
  7084. if (runDependencyWatcher !== null) {
  7085. clearInterval(runDependencyWatcher);
  7086. runDependencyWatcher = null;
  7087. }
  7088. if (dependenciesFulfilled) {
  7089. var callback = dependenciesFulfilled;
  7090. dependenciesFulfilled = null;
  7091. callback();
  7092. }
  7093. }
  7094. }
  7095. Module["preloadedImages"] = {};
  7096. Module["preloadedAudios"] = {};
  7097. function abort(what) {
  7098. if (Module["onAbort"]) {
  7099. Module["onAbort"](what);
  7100. }
  7101. what += "";
  7102. err(what);
  7103. ABORT = true;
  7104. EXITSTATUS = 1;
  7105. what = "abort(" + what + "). Build with -s ASSERTIONS=1 for more info.";
  7106. var e = new WebAssembly.RuntimeError(what);
  7107. readyPromiseReject(e);
  7108. throw e;
  7109. }
  7110. var dataURIPrefix = "data:application/octet-stream;base64,";
  7111. function isDataURI(filename) {
  7112. return filename.startsWith(dataURIPrefix);
  7113. }
  7114. function isFileURI(filename) {
  7115. return filename.startsWith("file://");
  7116. }
  7117. var wasmBinaryFile;
  7118. wasmBinaryFile = "web-ifc.wasm";
  7119. if (!isDataURI(wasmBinaryFile)) {
  7120. wasmBinaryFile = locateFile(wasmBinaryFile);
  7121. }
  7122. function getBinary(file) {
  7123. try {
  7124. if (file == wasmBinaryFile && wasmBinary) {
  7125. return new Uint8Array(wasmBinary);
  7126. }
  7127. if (readBinary) {
  7128. return readBinary(file);
  7129. } else {
  7130. throw "both async and sync fetching of the wasm failed";
  7131. }
  7132. } catch (err2) {
  7133. abort(err2);
  7134. }
  7135. }
  7136. function getBinaryPromise() {
  7137. if (!wasmBinary && (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER)) {
  7138. if (typeof fetch === "function" && !isFileURI(wasmBinaryFile)) {
  7139. return fetch(wasmBinaryFile, { credentials: "same-origin" }).then(function(response) {
  7140. if (!response["ok"]) {
  7141. throw "failed to load wasm binary file at '" + wasmBinaryFile + "'";
  7142. }
  7143. return response["arrayBuffer"]();
  7144. }).catch(function() {
  7145. return getBinary(wasmBinaryFile);
  7146. });
  7147. } else {
  7148. if (readAsync) {
  7149. return new Promise(function(resolve, reject) {
  7150. readAsync(wasmBinaryFile, function(response) {
  7151. resolve(new Uint8Array(response));
  7152. }, reject);
  7153. });
  7154. }
  7155. }
  7156. }
  7157. return Promise.resolve().then(function() {
  7158. return getBinary(wasmBinaryFile);
  7159. });
  7160. }
  7161. function createWasm() {
  7162. var info = { "a": asmLibraryArg };
  7163. function receiveInstance(instance, module2) {
  7164. var exports3 = instance.exports;
  7165. Module["asm"] = exports3;
  7166. wasmMemory = Module["asm"]["Na"];
  7167. updateGlobalBufferAndViews(wasmMemory.buffer);
  7168. wasmTable = Module["asm"]["Ra"];
  7169. addOnInit(Module["asm"]["Oa"]);
  7170. removeRunDependency("wasm-instantiate");
  7171. }
  7172. addRunDependency("wasm-instantiate");
  7173. function receiveInstantiationResult(result) {
  7174. receiveInstance(result["instance"]);
  7175. }
  7176. function instantiateArrayBuffer(receiver) {
  7177. return getBinaryPromise().then(function(binary) {
  7178. var result = WebAssembly.instantiate(binary, info);
  7179. return result;
  7180. }).then(receiver, function(reason) {
  7181. err("failed to asynchronously prepare wasm: " + reason);
  7182. abort(reason);
  7183. });
  7184. }
  7185. function instantiateAsync() {
  7186. if (!wasmBinary && typeof WebAssembly.instantiateStreaming === "function" && !isDataURI(wasmBinaryFile) && !isFileURI(wasmBinaryFile) && typeof fetch === "function") {
  7187. return fetch(wasmBinaryFile, { credentials: "same-origin" }).then(function(response) {
  7188. var result = WebAssembly.instantiateStreaming(response, info);
  7189. return result.then(receiveInstantiationResult, function(reason) {
  7190. err("wasm streaming compile failed: " + reason);
  7191. err("falling back to ArrayBuffer instantiation");
  7192. return instantiateArrayBuffer(receiveInstantiationResult);
  7193. });
  7194. });
  7195. } else {
  7196. return instantiateArrayBuffer(receiveInstantiationResult);
  7197. }
  7198. }
  7199. if (Module["instantiateWasm"]) {
  7200. try {
  7201. var exports2 = Module["instantiateWasm"](info, receiveInstance);
  7202. return exports2;
  7203. } catch (e) {
  7204. err("Module.instantiateWasm callback failed with error: " + e);
  7205. return false;
  7206. }
  7207. }
  7208. instantiateAsync().catch(readyPromiseReject);
  7209. return {};
  7210. }
  7211. var tempDouble;
  7212. var tempI64;
  7213. function callRuntimeCallbacks(callbacks) {
  7214. while (callbacks.length > 0) {
  7215. var callback = callbacks.shift();
  7216. if (typeof callback == "function") {
  7217. callback(Module);
  7218. continue;
  7219. }
  7220. var func = callback.func;
  7221. if (typeof func === "number") {
  7222. if (callback.arg === void 0) {
  7223. wasmTable.get(func)();
  7224. } else {
  7225. wasmTable.get(func)(callback.arg);
  7226. }
  7227. } else {
  7228. func(callback.arg === void 0 ? null : callback.arg);
  7229. }
  7230. }
  7231. }
  7232. function ___assert_fail(condition, filename, line, func) {
  7233. abort("Assertion failed: " + UTF8ToString(condition) + ", at: " + [filename ? UTF8ToString(filename) : "unknown filename", line, func ? UTF8ToString(func) : "unknown function"]);
  7234. }
  7235. function ___cxa_allocate_exception(size) {
  7236. return _malloc(size + 16) + 16;
  7237. }
  7238. function ExceptionInfo(excPtr) {
  7239. this.excPtr = excPtr;
  7240. this.ptr = excPtr - 16;
  7241. this.set_type = function(type) {
  7242. HEAP32[this.ptr + 4 >>> 2] = type;
  7243. };
  7244. this.get_type = function() {
  7245. return HEAP32[this.ptr + 4 >>> 2];
  7246. };
  7247. this.set_destructor = function(destructor) {
  7248. HEAP32[this.ptr + 8 >>> 2] = destructor;
  7249. };
  7250. this.get_destructor = function() {
  7251. return HEAP32[this.ptr + 8 >>> 2];
  7252. };
  7253. this.set_refcount = function(refcount) {
  7254. HEAP32[this.ptr >>> 2] = refcount;
  7255. };
  7256. this.set_caught = function(caught) {
  7257. caught = caught ? 1 : 0;
  7258. HEAP8[this.ptr + 12 >>> 0] = caught;
  7259. };
  7260. this.get_caught = function() {
  7261. return HEAP8[this.ptr + 12 >>> 0] != 0;
  7262. };
  7263. this.set_rethrown = function(rethrown) {
  7264. rethrown = rethrown ? 1 : 0;
  7265. HEAP8[this.ptr + 13 >>> 0] = rethrown;
  7266. };
  7267. this.get_rethrown = function() {
  7268. return HEAP8[this.ptr + 13 >>> 0] != 0;
  7269. };
  7270. this.init = function(type, destructor) {
  7271. this.set_type(type);
  7272. this.set_destructor(destructor);
  7273. this.set_refcount(0);
  7274. this.set_caught(false);
  7275. this.set_rethrown(false);
  7276. };
  7277. this.add_ref = function() {
  7278. var value = HEAP32[this.ptr >>> 2];
  7279. HEAP32[this.ptr >>> 2] = value + 1;
  7280. };
  7281. this.release_ref = function() {
  7282. var prev = HEAP32[this.ptr >>> 2];
  7283. HEAP32[this.ptr >>> 2] = prev - 1;
  7284. return prev === 1;
  7285. };
  7286. }
  7287. function CatchInfo(ptr) {
  7288. this.free = function() {
  7289. _free(this.ptr);
  7290. this.ptr = 0;
  7291. };
  7292. this.set_base_ptr = function(basePtr) {
  7293. HEAP32[this.ptr >>> 2] = basePtr;
  7294. };
  7295. this.get_base_ptr = function() {
  7296. return HEAP32[this.ptr >>> 2];
  7297. };
  7298. this.set_adjusted_ptr = function(adjustedPtr) {
  7299. HEAP32[this.ptr + 4 >>> 2] = adjustedPtr;
  7300. };
  7301. this.get_adjusted_ptr_addr = function() {
  7302. return this.ptr + 4;
  7303. };
  7304. this.get_adjusted_ptr = function() {
  7305. return HEAP32[this.ptr + 4 >>> 2];
  7306. };
  7307. this.get_exception_ptr = function() {
  7308. var isPointer = ___cxa_is_pointer_type(this.get_exception_info().get_type());
  7309. if (isPointer) {
  7310. return HEAP32[this.get_base_ptr() >>> 2];
  7311. }
  7312. var adjusted = this.get_adjusted_ptr();
  7313. if (adjusted !== 0)
  7314. return adjusted;
  7315. return this.get_base_ptr();
  7316. };
  7317. this.get_exception_info = function() {
  7318. return new ExceptionInfo(this.get_base_ptr());
  7319. };
  7320. if (ptr === void 0) {
  7321. this.ptr = _malloc(8);
  7322. this.set_adjusted_ptr(0);
  7323. } else {
  7324. this.ptr = ptr;
  7325. }
  7326. }
  7327. var exceptionCaught = [];
  7328. function exception_addRef(info) {
  7329. info.add_ref();
  7330. }
  7331. var uncaughtExceptionCount = 0;
  7332. function ___cxa_begin_catch(ptr) {
  7333. var catchInfo = new CatchInfo(ptr);
  7334. var info = catchInfo.get_exception_info();
  7335. if (!info.get_caught()) {
  7336. info.set_caught(true);
  7337. uncaughtExceptionCount--;
  7338. }
  7339. info.set_rethrown(false);
  7340. exceptionCaught.push(catchInfo);
  7341. exception_addRef(info);
  7342. return catchInfo.get_exception_ptr();
  7343. }
  7344. var exceptionLast = 0;
  7345. function ___cxa_free_exception(ptr) {
  7346. return _free(new ExceptionInfo(ptr).ptr);
  7347. }
  7348. function exception_decRef(info) {
  7349. if (info.release_ref() && !info.get_rethrown()) {
  7350. var destructor = info.get_destructor();
  7351. if (destructor) {
  7352. wasmTable.get(destructor)(info.excPtr);
  7353. }
  7354. ___cxa_free_exception(info.excPtr);
  7355. }
  7356. }
  7357. function ___cxa_end_catch() {
  7358. _setThrew(0);
  7359. var catchInfo = exceptionCaught.pop();
  7360. exception_decRef(catchInfo.get_exception_info());
  7361. catchInfo.free();
  7362. exceptionLast = 0;
  7363. }
  7364. function ___resumeException(catchInfoPtr) {
  7365. var catchInfo = new CatchInfo(catchInfoPtr);
  7366. var ptr = catchInfo.get_base_ptr();
  7367. if (!exceptionLast) {
  7368. exceptionLast = ptr;
  7369. }
  7370. catchInfo.free();
  7371. throw ptr;
  7372. }
  7373. function ___cxa_find_matching_catch_2() {
  7374. var thrown = exceptionLast;
  7375. if (!thrown) {
  7376. setTempRet0(0);
  7377. return 0 | 0;
  7378. }
  7379. var info = new ExceptionInfo(thrown);
  7380. var thrownType = info.get_type();
  7381. var catchInfo = new CatchInfo();
  7382. catchInfo.set_base_ptr(thrown);
  7383. catchInfo.set_adjusted_ptr(thrown);
  7384. if (!thrownType) {
  7385. setTempRet0(0);
  7386. return catchInfo.ptr | 0;
  7387. }
  7388. var typeArray = Array.prototype.slice.call(arguments);
  7389. for (var i = 0; i < typeArray.length; i++) {
  7390. var caughtType = typeArray[i];
  7391. if (caughtType === 0 || caughtType === thrownType) {
  7392. break;
  7393. }
  7394. if (___cxa_can_catch(caughtType, thrownType, catchInfo.get_adjusted_ptr_addr())) {
  7395. setTempRet0(caughtType);
  7396. return catchInfo.ptr | 0;
  7397. }
  7398. }
  7399. setTempRet0(thrownType);
  7400. return catchInfo.ptr | 0;
  7401. }
  7402. function ___cxa_find_matching_catch_3() {
  7403. var thrown = exceptionLast;
  7404. if (!thrown) {
  7405. setTempRet0(0);
  7406. return 0 | 0;
  7407. }
  7408. var info = new ExceptionInfo(thrown);
  7409. var thrownType = info.get_type();
  7410. var catchInfo = new CatchInfo();
  7411. catchInfo.set_base_ptr(thrown);
  7412. catchInfo.set_adjusted_ptr(thrown);
  7413. if (!thrownType) {
  7414. setTempRet0(0);
  7415. return catchInfo.ptr | 0;
  7416. }
  7417. var typeArray = Array.prototype.slice.call(arguments);
  7418. for (var i = 0; i < typeArray.length; i++) {
  7419. var caughtType = typeArray[i];
  7420. if (caughtType === 0 || caughtType === thrownType) {
  7421. break;
  7422. }
  7423. if (___cxa_can_catch(caughtType, thrownType, catchInfo.get_adjusted_ptr_addr())) {
  7424. setTempRet0(caughtType);
  7425. return catchInfo.ptr | 0;
  7426. }
  7427. }
  7428. setTempRet0(thrownType);
  7429. return catchInfo.ptr | 0;
  7430. }
  7431. function ___cxa_rethrow() {
  7432. var catchInfo = exceptionCaught.pop();
  7433. if (!catchInfo) {
  7434. abort("no exception to throw");
  7435. }
  7436. var info = catchInfo.get_exception_info();
  7437. var ptr = catchInfo.get_base_ptr();
  7438. if (!info.get_rethrown()) {
  7439. exceptionCaught.push(catchInfo);
  7440. info.set_rethrown(true);
  7441. info.set_caught(false);
  7442. uncaughtExceptionCount++;
  7443. } else {
  7444. catchInfo.free();
  7445. }
  7446. exceptionLast = ptr;
  7447. throw ptr;
  7448. }
  7449. function ___cxa_throw(ptr, type, destructor) {
  7450. var info = new ExceptionInfo(ptr);
  7451. info.init(type, destructor);
  7452. exceptionLast = ptr;
  7453. uncaughtExceptionCount++;
  7454. throw ptr;
  7455. }
  7456. function ___cxa_uncaught_exceptions() {
  7457. return uncaughtExceptionCount;
  7458. }
  7459. function setErrNo(value) {
  7460. HEAP32[___errno_location() >>> 2] = value;
  7461. return value;
  7462. }
  7463. var PATH = { splitPath: function(filename) {
  7464. var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
  7465. return splitPathRe.exec(filename).slice(1);
  7466. }, normalizeArray: function(parts, allowAboveRoot) {
  7467. var up = 0;
  7468. for (var i = parts.length - 1; i >= 0; i--) {
  7469. var last = parts[i];
  7470. if (last === ".") {
  7471. parts.splice(i, 1);
  7472. } else if (last === "..") {
  7473. parts.splice(i, 1);
  7474. up++;
  7475. } else if (up) {
  7476. parts.splice(i, 1);
  7477. up--;
  7478. }
  7479. }
  7480. if (allowAboveRoot) {
  7481. for (; up; up--) {
  7482. parts.unshift("..");
  7483. }
  7484. }
  7485. return parts;
  7486. }, normalize: function(path) {
  7487. var isAbsolute = path.charAt(0) === "/", trailingSlash = path.substr(-1) === "/";
  7488. path = PATH.normalizeArray(path.split("/").filter(function(p) {
  7489. return !!p;
  7490. }), !isAbsolute).join("/");
  7491. if (!path && !isAbsolute) {
  7492. path = ".";
  7493. }
  7494. if (path && trailingSlash) {
  7495. path += "/";
  7496. }
  7497. return (isAbsolute ? "/" : "") + path;
  7498. }, dirname: function(path) {
  7499. var result = PATH.splitPath(path), root = result[0], dir = result[1];
  7500. if (!root && !dir) {
  7501. return ".";
  7502. }
  7503. if (dir) {
  7504. dir = dir.substr(0, dir.length - 1);
  7505. }
  7506. return root + dir;
  7507. }, basename: function(path) {
  7508. if (path === "/")
  7509. return "/";
  7510. path = PATH.normalize(path);
  7511. path = path.replace(/\/$/, "");
  7512. var lastSlash = path.lastIndexOf("/");
  7513. if (lastSlash === -1)
  7514. return path;
  7515. return path.substr(lastSlash + 1);
  7516. }, extname: function(path) {
  7517. return PATH.splitPath(path)[3];
  7518. }, join: function() {
  7519. var paths = Array.prototype.slice.call(arguments, 0);
  7520. return PATH.normalize(paths.join("/"));
  7521. }, join2: function(l, r) {
  7522. return PATH.normalize(l + "/" + r);
  7523. } };
  7524. function getRandomDevice() {
  7525. if (typeof crypto === "object" && typeof crypto["getRandomValues"] === "function") {
  7526. var randomBuffer = new Uint8Array(1);
  7527. return function() {
  7528. crypto.getRandomValues(randomBuffer);
  7529. return randomBuffer[0];
  7530. };
  7531. } else if (ENVIRONMENT_IS_NODE) {
  7532. try {
  7533. var crypto_module = require_crypto();
  7534. return function() {
  7535. return crypto_module["randomBytes"](1)[0];
  7536. };
  7537. } catch (e) {
  7538. }
  7539. }
  7540. return function() {
  7541. abort("randomDevice");
  7542. };
  7543. }
  7544. var PATH_FS = { resolve: function() {
  7545. var resolvedPath = "", resolvedAbsolute = false;
  7546. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  7547. var path = i >= 0 ? arguments[i] : FS.cwd();
  7548. if (typeof path !== "string") {
  7549. throw new TypeError("Arguments to path.resolve must be strings");
  7550. } else if (!path) {
  7551. return "";
  7552. }
  7553. resolvedPath = path + "/" + resolvedPath;
  7554. resolvedAbsolute = path.charAt(0) === "/";
  7555. }
  7556. resolvedPath = PATH.normalizeArray(resolvedPath.split("/").filter(function(p) {
  7557. return !!p;
  7558. }), !resolvedAbsolute).join("/");
  7559. return (resolvedAbsolute ? "/" : "") + resolvedPath || ".";
  7560. }, relative: function(from, to) {
  7561. from = PATH_FS.resolve(from).substr(1);
  7562. to = PATH_FS.resolve(to).substr(1);
  7563. function trim(arr) {
  7564. var start = 0;
  7565. for (; start < arr.length; start++) {
  7566. if (arr[start] !== "")
  7567. break;
  7568. }
  7569. var end = arr.length - 1;
  7570. for (; end >= 0; end--) {
  7571. if (arr[end] !== "")
  7572. break;
  7573. }
  7574. if (start > end)
  7575. return [];
  7576. return arr.slice(start, end - start + 1);
  7577. }
  7578. var fromParts = trim(from.split("/"));
  7579. var toParts = trim(to.split("/"));
  7580. var length = Math.min(fromParts.length, toParts.length);
  7581. var samePartsLength = length;
  7582. for (var i = 0; i < length; i++) {
  7583. if (fromParts[i] !== toParts[i]) {
  7584. samePartsLength = i;
  7585. break;
  7586. }
  7587. }
  7588. var outputParts = [];
  7589. for (var i = samePartsLength; i < fromParts.length; i++) {
  7590. outputParts.push("..");
  7591. }
  7592. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  7593. return outputParts.join("/");
  7594. } };
  7595. var TTY = { ttys: [], init: function() {
  7596. }, shutdown: function() {
  7597. }, register: function(dev, ops) {
  7598. TTY.ttys[dev] = { input: [], output: [], ops };
  7599. FS.registerDevice(dev, TTY.stream_ops);
  7600. }, stream_ops: { open: function(stream) {
  7601. var tty = TTY.ttys[stream.node.rdev];
  7602. if (!tty) {
  7603. throw new FS.ErrnoError(43);
  7604. }
  7605. stream.tty = tty;
  7606. stream.seekable = false;
  7607. }, close: function(stream) {
  7608. stream.tty.ops.flush(stream.tty);
  7609. }, flush: function(stream) {
  7610. stream.tty.ops.flush(stream.tty);
  7611. }, read: function(stream, buffer2, offset, length, pos) {
  7612. if (!stream.tty || !stream.tty.ops.get_char) {
  7613. throw new FS.ErrnoError(60);
  7614. }
  7615. var bytesRead = 0;
  7616. for (var i = 0; i < length; i++) {
  7617. var result;
  7618. try {
  7619. result = stream.tty.ops.get_char(stream.tty);
  7620. } catch (e) {
  7621. throw new FS.ErrnoError(29);
  7622. }
  7623. if (result === void 0 && bytesRead === 0) {
  7624. throw new FS.ErrnoError(6);
  7625. }
  7626. if (result === null || result === void 0)
  7627. break;
  7628. bytesRead++;
  7629. buffer2[offset + i] = result;
  7630. }
  7631. if (bytesRead) {
  7632. stream.node.timestamp = Date.now();
  7633. }
  7634. return bytesRead;
  7635. }, write: function(stream, buffer2, offset, length, pos) {
  7636. if (!stream.tty || !stream.tty.ops.put_char) {
  7637. throw new FS.ErrnoError(60);
  7638. }
  7639. try {
  7640. for (var i = 0; i < length; i++) {
  7641. stream.tty.ops.put_char(stream.tty, buffer2[offset + i]);
  7642. }
  7643. } catch (e) {
  7644. throw new FS.ErrnoError(29);
  7645. }
  7646. if (length) {
  7647. stream.node.timestamp = Date.now();
  7648. }
  7649. return i;
  7650. } }, default_tty_ops: { get_char: function(tty) {
  7651. if (!tty.input.length) {
  7652. var result = null;
  7653. if (ENVIRONMENT_IS_NODE) {
  7654. var BUFSIZE = 256;
  7655. var buf = Buffer.alloc(BUFSIZE);
  7656. var bytesRead = 0;
  7657. try {
  7658. bytesRead = nodeFS.readSync(process.stdin.fd, buf, 0, BUFSIZE, null);
  7659. } catch (e) {
  7660. if (e.toString().includes("EOF"))
  7661. bytesRead = 0;
  7662. else
  7663. throw e;
  7664. }
  7665. if (bytesRead > 0) {
  7666. result = buf.slice(0, bytesRead).toString("utf-8");
  7667. } else {
  7668. result = null;
  7669. }
  7670. } else if (typeof window != "undefined" && typeof window.prompt == "function") {
  7671. result = window.prompt("Input: ");
  7672. if (result !== null) {
  7673. result += "\n";
  7674. }
  7675. } else if (typeof readline == "function") {
  7676. result = readline();
  7677. if (result !== null) {
  7678. result += "\n";
  7679. }
  7680. }
  7681. if (!result) {
  7682. return null;
  7683. }
  7684. tty.input = intArrayFromString(result, true);
  7685. }
  7686. return tty.input.shift();
  7687. }, put_char: function(tty, val) {
  7688. if (val === null || val === 10) {
  7689. out(UTF8ArrayToString(tty.output, 0));
  7690. tty.output = [];
  7691. } else {
  7692. if (val != 0)
  7693. tty.output.push(val);
  7694. }
  7695. }, flush: function(tty) {
  7696. if (tty.output && tty.output.length > 0) {
  7697. out(UTF8ArrayToString(tty.output, 0));
  7698. tty.output = [];
  7699. }
  7700. } }, default_tty1_ops: { put_char: function(tty, val) {
  7701. if (val === null || val === 10) {
  7702. err(UTF8ArrayToString(tty.output, 0));
  7703. tty.output = [];
  7704. } else {
  7705. if (val != 0)
  7706. tty.output.push(val);
  7707. }
  7708. }, flush: function(tty) {
  7709. if (tty.output && tty.output.length > 0) {
  7710. err(UTF8ArrayToString(tty.output, 0));
  7711. tty.output = [];
  7712. }
  7713. } } };
  7714. function mmapAlloc(size) {
  7715. abort();
  7716. }
  7717. var MEMFS = { ops_table: null, mount: function(mount) {
  7718. return MEMFS.createNode(null, "/", 16384 | 511, 0);
  7719. }, createNode: function(parent, name2, mode, dev) {
  7720. if (FS.isBlkdev(mode) || FS.isFIFO(mode)) {
  7721. throw new FS.ErrnoError(63);
  7722. }
  7723. if (!MEMFS.ops_table) {
  7724. MEMFS.ops_table = { dir: { node: { getattr: MEMFS.node_ops.getattr, setattr: MEMFS.node_ops.setattr, lookup: MEMFS.node_ops.lookup, mknod: MEMFS.node_ops.mknod, rename: MEMFS.node_ops.rename, unlink: MEMFS.node_ops.unlink, rmdir: MEMFS.node_ops.rmdir, readdir: MEMFS.node_ops.readdir, symlink: MEMFS.node_ops.symlink }, stream: { llseek: MEMFS.stream_ops.llseek } }, file: { node: { getattr: MEMFS.node_ops.getattr, setattr: MEMFS.node_ops.setattr }, stream: { llseek: MEMFS.stream_ops.llseek, read: MEMFS.stream_ops.read, write: MEMFS.stream_ops.write, allocate: MEMFS.stream_ops.allocate, mmap: MEMFS.stream_ops.mmap, msync: MEMFS.stream_ops.msync } }, link: { node: { getattr: MEMFS.node_ops.getattr, setattr: MEMFS.node_ops.setattr, readlink: MEMFS.node_ops.readlink }, stream: {} }, chrdev: { node: { getattr: MEMFS.node_ops.getattr, setattr: MEMFS.node_ops.setattr }, stream: FS.chrdev_stream_ops } };
  7725. }
  7726. var node = FS.createNode(parent, name2, mode, dev);
  7727. if (FS.isDir(node.mode)) {
  7728. node.node_ops = MEMFS.ops_table.dir.node;
  7729. node.stream_ops = MEMFS.ops_table.dir.stream;
  7730. node.contents = {};
  7731. } else if (FS.isFile(node.mode)) {
  7732. node.node_ops = MEMFS.ops_table.file.node;
  7733. node.stream_ops = MEMFS.ops_table.file.stream;
  7734. node.usedBytes = 0;
  7735. node.contents = null;
  7736. } else if (FS.isLink(node.mode)) {
  7737. node.node_ops = MEMFS.ops_table.link.node;
  7738. node.stream_ops = MEMFS.ops_table.link.stream;
  7739. } else if (FS.isChrdev(node.mode)) {
  7740. node.node_ops = MEMFS.ops_table.chrdev.node;
  7741. node.stream_ops = MEMFS.ops_table.chrdev.stream;
  7742. }
  7743. node.timestamp = Date.now();
  7744. if (parent) {
  7745. parent.contents[name2] = node;
  7746. parent.timestamp = node.timestamp;
  7747. }
  7748. return node;
  7749. }, getFileDataAsTypedArray: function(node) {
  7750. if (!node.contents)
  7751. return new Uint8Array(0);
  7752. if (node.contents.subarray)
  7753. return node.contents.subarray(0, node.usedBytes);
  7754. return new Uint8Array(node.contents);
  7755. }, expandFileStorage: function(node, newCapacity) {
  7756. newCapacity >>>= 0;
  7757. var prevCapacity = node.contents ? node.contents.length : 0;
  7758. if (prevCapacity >= newCapacity)
  7759. return;
  7760. var CAPACITY_DOUBLING_MAX = 1024 * 1024;
  7761. newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) >>> 0);
  7762. if (prevCapacity != 0)
  7763. newCapacity = Math.max(newCapacity, 256);
  7764. var oldContents = node.contents;
  7765. node.contents = new Uint8Array(newCapacity);
  7766. if (node.usedBytes > 0)
  7767. node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
  7768. }, resizeFileStorage: function(node, newSize) {
  7769. newSize >>>= 0;
  7770. if (node.usedBytes == newSize)
  7771. return;
  7772. if (newSize == 0) {
  7773. node.contents = null;
  7774. node.usedBytes = 0;
  7775. } else {
  7776. var oldContents = node.contents;
  7777. node.contents = new Uint8Array(newSize);
  7778. if (oldContents) {
  7779. node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes)));
  7780. }
  7781. node.usedBytes = newSize;
  7782. }
  7783. }, node_ops: { getattr: function(node) {
  7784. var attr = {};
  7785. attr.dev = FS.isChrdev(node.mode) ? node.id : 1;
  7786. attr.ino = node.id;
  7787. attr.mode = node.mode;
  7788. attr.nlink = 1;
  7789. attr.uid = 0;
  7790. attr.gid = 0;
  7791. attr.rdev = node.rdev;
  7792. if (FS.isDir(node.mode)) {
  7793. attr.size = 4096;
  7794. } else if (FS.isFile(node.mode)) {
  7795. attr.size = node.usedBytes;
  7796. } else if (FS.isLink(node.mode)) {
  7797. attr.size = node.link.length;
  7798. } else {
  7799. attr.size = 0;
  7800. }
  7801. attr.atime = new Date(node.timestamp);
  7802. attr.mtime = new Date(node.timestamp);
  7803. attr.ctime = new Date(node.timestamp);
  7804. attr.blksize = 4096;
  7805. attr.blocks = Math.ceil(attr.size / attr.blksize);
  7806. return attr;
  7807. }, setattr: function(node, attr) {
  7808. if (attr.mode !== void 0) {
  7809. node.mode = attr.mode;
  7810. }
  7811. if (attr.timestamp !== void 0) {
  7812. node.timestamp = attr.timestamp;
  7813. }
  7814. if (attr.size !== void 0) {
  7815. MEMFS.resizeFileStorage(node, attr.size);
  7816. }
  7817. }, lookup: function(parent, name2) {
  7818. throw FS.genericErrors[44];
  7819. }, mknod: function(parent, name2, mode, dev) {
  7820. return MEMFS.createNode(parent, name2, mode, dev);
  7821. }, rename: function(old_node, new_dir, new_name) {
  7822. if (FS.isDir(old_node.mode)) {
  7823. var new_node;
  7824. try {
  7825. new_node = FS.lookupNode(new_dir, new_name);
  7826. } catch (e) {
  7827. }
  7828. if (new_node) {
  7829. for (var i in new_node.contents) {
  7830. throw new FS.ErrnoError(55);
  7831. }
  7832. }
  7833. }
  7834. delete old_node.parent.contents[old_node.name];
  7835. old_node.parent.timestamp = Date.now();
  7836. old_node.name = new_name;
  7837. new_dir.contents[new_name] = old_node;
  7838. new_dir.timestamp = old_node.parent.timestamp;
  7839. old_node.parent = new_dir;
  7840. }, unlink: function(parent, name2) {
  7841. delete parent.contents[name2];
  7842. parent.timestamp = Date.now();
  7843. }, rmdir: function(parent, name2) {
  7844. var node = FS.lookupNode(parent, name2);
  7845. for (var i in node.contents) {
  7846. throw new FS.ErrnoError(55);
  7847. }
  7848. delete parent.contents[name2];
  7849. parent.timestamp = Date.now();
  7850. }, readdir: function(node) {
  7851. var entries = [".", ".."];
  7852. for (var key2 in node.contents) {
  7853. if (!node.contents.hasOwnProperty(key2)) {
  7854. continue;
  7855. }
  7856. entries.push(key2);
  7857. }
  7858. return entries;
  7859. }, symlink: function(parent, newname, oldpath) {
  7860. var node = MEMFS.createNode(parent, newname, 511 | 40960, 0);
  7861. node.link = oldpath;
  7862. return node;
  7863. }, readlink: function(node) {
  7864. if (!FS.isLink(node.mode)) {
  7865. throw new FS.ErrnoError(28);
  7866. }
  7867. return node.link;
  7868. } }, stream_ops: { read: function(stream, buffer2, offset, length, position) {
  7869. var contents = stream.node.contents;
  7870. if (position >= stream.node.usedBytes)
  7871. return 0;
  7872. var size = Math.min(stream.node.usedBytes - position, length);
  7873. if (size > 8 && contents.subarray) {
  7874. buffer2.set(contents.subarray(position, position + size), offset);
  7875. } else {
  7876. for (var i = 0; i < size; i++)
  7877. buffer2[offset + i] = contents[position + i];
  7878. }
  7879. return size;
  7880. }, write: function(stream, buffer2, offset, length, position, canOwn) {
  7881. if (buffer2.buffer === HEAP8.buffer) {
  7882. canOwn = false;
  7883. }
  7884. if (!length)
  7885. return 0;
  7886. var node = stream.node;
  7887. node.timestamp = Date.now();
  7888. if (buffer2.subarray && (!node.contents || node.contents.subarray)) {
  7889. if (canOwn) {
  7890. node.contents = buffer2.subarray(offset, offset + length);
  7891. node.usedBytes = length;
  7892. return length;
  7893. } else if (node.usedBytes === 0 && position === 0) {
  7894. node.contents = buffer2.slice(offset, offset + length);
  7895. node.usedBytes = length;
  7896. return length;
  7897. } else if (position + length <= node.usedBytes) {
  7898. node.contents.set(buffer2.subarray(offset, offset + length), position);
  7899. return length;
  7900. }
  7901. }
  7902. MEMFS.expandFileStorage(node, position + length);
  7903. if (node.contents.subarray && buffer2.subarray) {
  7904. node.contents.set(buffer2.subarray(offset, offset + length), position);
  7905. } else {
  7906. for (var i = 0; i < length; i++) {
  7907. node.contents[position + i] = buffer2[offset + i];
  7908. }
  7909. }
  7910. node.usedBytes = Math.max(node.usedBytes, position + length);
  7911. return length;
  7912. }, llseek: function(stream, offset, whence) {
  7913. var position = offset;
  7914. if (whence === 1) {
  7915. position += stream.position;
  7916. } else if (whence === 2) {
  7917. if (FS.isFile(stream.node.mode)) {
  7918. position += stream.node.usedBytes;
  7919. }
  7920. }
  7921. if (position < 0) {
  7922. throw new FS.ErrnoError(28);
  7923. }
  7924. return position;
  7925. }, allocate: function(stream, offset, length) {
  7926. MEMFS.expandFileStorage(stream.node, offset + length);
  7927. stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length);
  7928. }, mmap: function(stream, address, length, position, prot, flags) {
  7929. if (address !== 0) {
  7930. throw new FS.ErrnoError(28);
  7931. }
  7932. if (!FS.isFile(stream.node.mode)) {
  7933. throw new FS.ErrnoError(43);
  7934. }
  7935. var ptr;
  7936. var allocated;
  7937. var contents = stream.node.contents;
  7938. if (!(flags & 2) && contents.buffer === buffer) {
  7939. allocated = false;
  7940. ptr = contents.byteOffset;
  7941. } else {
  7942. if (position > 0 || position + length < contents.length) {
  7943. if (contents.subarray) {
  7944. contents = contents.subarray(position, position + length);
  7945. } else {
  7946. contents = Array.prototype.slice.call(contents, position, position + length);
  7947. }
  7948. }
  7949. allocated = true;
  7950. ptr = mmapAlloc(length);
  7951. if (!ptr) {
  7952. throw new FS.ErrnoError(48);
  7953. }
  7954. ptr >>>= 0;
  7955. HEAP8.set(contents, ptr >>> 0);
  7956. }
  7957. return { ptr, allocated };
  7958. }, msync: function(stream, buffer2, offset, length, mmapFlags) {
  7959. if (!FS.isFile(stream.node.mode)) {
  7960. throw new FS.ErrnoError(43);
  7961. }
  7962. if (mmapFlags & 2) {
  7963. return 0;
  7964. }
  7965. var bytesWritten = MEMFS.stream_ops.write(stream, buffer2, 0, length, offset, false);
  7966. return 0;
  7967. } } };
  7968. function asyncLoad(url, onload, onerror, noRunDep) {
  7969. var dep = !noRunDep ? getUniqueRunDependency("al " + url) : "";
  7970. readAsync(url, function(arrayBuffer) {
  7971. assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
  7972. onload(new Uint8Array(arrayBuffer));
  7973. if (dep)
  7974. removeRunDependency(dep);
  7975. }, function(event) {
  7976. if (onerror) {
  7977. onerror();
  7978. } else {
  7979. throw 'Loading data file "' + url + '" failed.';
  7980. }
  7981. });
  7982. if (dep)
  7983. addRunDependency(dep);
  7984. }
  7985. var FS = { root: null, mounts: [], devices: {}, streams: [], nextInode: 1, nameTable: null, currentPath: "/", initialized: false, ignorePermissions: true, trackingDelegate: {}, tracking: { openFlags: { READ: 1, WRITE: 2 } }, ErrnoError: null, genericErrors: {}, filesystems: null, syncFSRequests: 0, lookupPath: function(path, opts) {
  7986. path = PATH_FS.resolve(FS.cwd(), path);
  7987. opts = opts || {};
  7988. if (!path)
  7989. return { path: "", node: null };
  7990. var defaults = { follow_mount: true, recurse_count: 0 };
  7991. for (var key2 in defaults) {
  7992. if (opts[key2] === void 0) {
  7993. opts[key2] = defaults[key2];
  7994. }
  7995. }
  7996. if (opts.recurse_count > 8) {
  7997. throw new FS.ErrnoError(32);
  7998. }
  7999. var parts = PATH.normalizeArray(path.split("/").filter(function(p) {
  8000. return !!p;
  8001. }), false);
  8002. var current = FS.root;
  8003. var current_path = "/";
  8004. for (var i = 0; i < parts.length; i++) {
  8005. var islast = i === parts.length - 1;
  8006. if (islast && opts.parent) {
  8007. break;
  8008. }
  8009. current = FS.lookupNode(current, parts[i]);
  8010. current_path = PATH.join2(current_path, parts[i]);
  8011. if (FS.isMountpoint(current)) {
  8012. if (!islast || islast && opts.follow_mount) {
  8013. current = current.mounted.root;
  8014. }
  8015. }
  8016. if (!islast || opts.follow) {
  8017. var count = 0;
  8018. while (FS.isLink(current.mode)) {
  8019. var link = FS.readlink(current_path);
  8020. current_path = PATH_FS.resolve(PATH.dirname(current_path), link);
  8021. var lookup = FS.lookupPath(current_path, { recurse_count: opts.recurse_count });
  8022. current = lookup.node;
  8023. if (count++ > 40) {
  8024. throw new FS.ErrnoError(32);
  8025. }
  8026. }
  8027. }
  8028. }
  8029. return { path: current_path, node: current };
  8030. }, getPath: function(node) {
  8031. var path;
  8032. while (true) {
  8033. if (FS.isRoot(node)) {
  8034. var mount = node.mount.mountpoint;
  8035. if (!path)
  8036. return mount;
  8037. return mount[mount.length - 1] !== "/" ? mount + "/" + path : mount + path;
  8038. }
  8039. path = path ? node.name + "/" + path : node.name;
  8040. node = node.parent;
  8041. }
  8042. }, hashName: function(parentid, name2) {
  8043. var hash = 0;
  8044. for (var i = 0; i < name2.length; i++) {
  8045. hash = (hash << 5) - hash + name2.charCodeAt(i) | 0;
  8046. }
  8047. return (parentid + hash >>> 0) % FS.nameTable.length;
  8048. }, hashAddNode: function(node) {
  8049. var hash = FS.hashName(node.parent.id, node.name);
  8050. node.name_next = FS.nameTable[hash];
  8051. FS.nameTable[hash] = node;
  8052. }, hashRemoveNode: function(node) {
  8053. var hash = FS.hashName(node.parent.id, node.name);
  8054. if (FS.nameTable[hash] === node) {
  8055. FS.nameTable[hash] = node.name_next;
  8056. } else {
  8057. var current = FS.nameTable[hash];
  8058. while (current) {
  8059. if (current.name_next === node) {
  8060. current.name_next = node.name_next;
  8061. break;
  8062. }
  8063. current = current.name_next;
  8064. }
  8065. }
  8066. }, lookupNode: function(parent, name2) {
  8067. var errCode = FS.mayLookup(parent);
  8068. if (errCode) {
  8069. throw new FS.ErrnoError(errCode, parent);
  8070. }
  8071. var hash = FS.hashName(parent.id, name2);
  8072. for (var node = FS.nameTable[hash]; node; node = node.name_next) {
  8073. var nodeName = node.name;
  8074. if (node.parent.id === parent.id && nodeName === name2) {
  8075. return node;
  8076. }
  8077. }
  8078. return FS.lookup(parent, name2);
  8079. }, createNode: function(parent, name2, mode, rdev) {
  8080. var node = new FS.FSNode(parent, name2, mode, rdev);
  8081. FS.hashAddNode(node);
  8082. return node;
  8083. }, destroyNode: function(node) {
  8084. FS.hashRemoveNode(node);
  8085. }, isRoot: function(node) {
  8086. return node === node.parent;
  8087. }, isMountpoint: function(node) {
  8088. return !!node.mounted;
  8089. }, isFile: function(mode) {
  8090. return (mode & 61440) === 32768;
  8091. }, isDir: function(mode) {
  8092. return (mode & 61440) === 16384;
  8093. }, isLink: function(mode) {
  8094. return (mode & 61440) === 40960;
  8095. }, isChrdev: function(mode) {
  8096. return (mode & 61440) === 8192;
  8097. }, isBlkdev: function(mode) {
  8098. return (mode & 61440) === 24576;
  8099. }, isFIFO: function(mode) {
  8100. return (mode & 61440) === 4096;
  8101. }, isSocket: function(mode) {
  8102. return (mode & 49152) === 49152;
  8103. }, flagModes: { "r": 0, "r+": 2, "w": 577, "w+": 578, "a": 1089, "a+": 1090 }, modeStringToFlags: function(str) {
  8104. var flags = FS.flagModes[str];
  8105. if (typeof flags === "undefined") {
  8106. throw new Error("Unknown file open mode: " + str);
  8107. }
  8108. return flags;
  8109. }, flagsToPermissionString: function(flag) {
  8110. var perms = ["r", "w", "rw"][flag & 3];
  8111. if (flag & 512) {
  8112. perms += "w";
  8113. }
  8114. return perms;
  8115. }, nodePermissions: function(node, perms) {
  8116. if (FS.ignorePermissions) {
  8117. return 0;
  8118. }
  8119. if (perms.includes("r") && !(node.mode & 292)) {
  8120. return 2;
  8121. } else if (perms.includes("w") && !(node.mode & 146)) {
  8122. return 2;
  8123. } else if (perms.includes("x") && !(node.mode & 73)) {
  8124. return 2;
  8125. }
  8126. return 0;
  8127. }, mayLookup: function(dir) {
  8128. var errCode = FS.nodePermissions(dir, "x");
  8129. if (errCode)
  8130. return errCode;
  8131. if (!dir.node_ops.lookup)
  8132. return 2;
  8133. return 0;
  8134. }, mayCreate: function(dir, name2) {
  8135. try {
  8136. var node = FS.lookupNode(dir, name2);
  8137. return 20;
  8138. } catch (e) {
  8139. }
  8140. return FS.nodePermissions(dir, "wx");
  8141. }, mayDelete: function(dir, name2, isdir) {
  8142. var node;
  8143. try {
  8144. node = FS.lookupNode(dir, name2);
  8145. } catch (e) {
  8146. return e.errno;
  8147. }
  8148. var errCode = FS.nodePermissions(dir, "wx");
  8149. if (errCode) {
  8150. return errCode;
  8151. }
  8152. if (isdir) {
  8153. if (!FS.isDir(node.mode)) {
  8154. return 54;
  8155. }
  8156. if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) {
  8157. return 10;
  8158. }
  8159. } else {
  8160. if (FS.isDir(node.mode)) {
  8161. return 31;
  8162. }
  8163. }
  8164. return 0;
  8165. }, mayOpen: function(node, flags) {
  8166. if (!node) {
  8167. return 44;
  8168. }
  8169. if (FS.isLink(node.mode)) {
  8170. return 32;
  8171. } else if (FS.isDir(node.mode)) {
  8172. if (FS.flagsToPermissionString(flags) !== "r" || flags & 512) {
  8173. return 31;
  8174. }
  8175. }
  8176. return FS.nodePermissions(node, FS.flagsToPermissionString(flags));
  8177. }, MAX_OPEN_FDS: 4096, nextfd: function(fd_start, fd_end) {
  8178. fd_start = fd_start || 0;
  8179. fd_end = fd_end || FS.MAX_OPEN_FDS;
  8180. for (var fd = fd_start; fd <= fd_end; fd++) {
  8181. if (!FS.streams[fd]) {
  8182. return fd;
  8183. }
  8184. }
  8185. throw new FS.ErrnoError(33);
  8186. }, getStream: function(fd) {
  8187. return FS.streams[fd];
  8188. }, createStream: function(stream, fd_start, fd_end) {
  8189. if (!FS.FSStream) {
  8190. FS.FSStream = function() {
  8191. };
  8192. FS.FSStream.prototype = { object: { get: function() {
  8193. return this.node;
  8194. }, set: function(val) {
  8195. this.node = val;
  8196. } }, isRead: { get: function() {
  8197. return (this.flags & 2097155) !== 1;
  8198. } }, isWrite: { get: function() {
  8199. return (this.flags & 2097155) !== 0;
  8200. } }, isAppend: { get: function() {
  8201. return this.flags & 1024;
  8202. } } };
  8203. }
  8204. var newStream = new FS.FSStream();
  8205. for (var p in stream) {
  8206. newStream[p] = stream[p];
  8207. }
  8208. stream = newStream;
  8209. var fd = FS.nextfd(fd_start, fd_end);
  8210. stream.fd = fd;
  8211. FS.streams[fd] = stream;
  8212. return stream;
  8213. }, closeStream: function(fd) {
  8214. FS.streams[fd] = null;
  8215. }, chrdev_stream_ops: { open: function(stream) {
  8216. var device = FS.getDevice(stream.node.rdev);
  8217. stream.stream_ops = device.stream_ops;
  8218. if (stream.stream_ops.open) {
  8219. stream.stream_ops.open(stream);
  8220. }
  8221. }, llseek: function() {
  8222. throw new FS.ErrnoError(70);
  8223. } }, major: function(dev) {
  8224. return dev >> 8;
  8225. }, minor: function(dev) {
  8226. return dev & 255;
  8227. }, makedev: function(ma, mi) {
  8228. return ma << 8 | mi;
  8229. }, registerDevice: function(dev, ops) {
  8230. FS.devices[dev] = { stream_ops: ops };
  8231. }, getDevice: function(dev) {
  8232. return FS.devices[dev];
  8233. }, getMounts: function(mount) {
  8234. var mounts = [];
  8235. var check = [mount];
  8236. while (check.length) {
  8237. var m = check.pop();
  8238. mounts.push(m);
  8239. check.push.apply(check, m.mounts);
  8240. }
  8241. return mounts;
  8242. }, syncfs: function(populate, callback) {
  8243. if (typeof populate === "function") {
  8244. callback = populate;
  8245. populate = false;
  8246. }
  8247. FS.syncFSRequests++;
  8248. if (FS.syncFSRequests > 1) {
  8249. err("warning: " + FS.syncFSRequests + " FS.syncfs operations in flight at once, probably just doing extra work");
  8250. }
  8251. var mounts = FS.getMounts(FS.root.mount);
  8252. var completed = 0;
  8253. function doCallback(errCode) {
  8254. FS.syncFSRequests--;
  8255. return callback(errCode);
  8256. }
  8257. function done(errCode) {
  8258. if (errCode) {
  8259. if (!done.errored) {
  8260. done.errored = true;
  8261. return doCallback(errCode);
  8262. }
  8263. return;
  8264. }
  8265. if (++completed >= mounts.length) {
  8266. doCallback(null);
  8267. }
  8268. }
  8269. mounts.forEach(function(mount) {
  8270. if (!mount.type.syncfs) {
  8271. return done(null);
  8272. }
  8273. mount.type.syncfs(mount, populate, done);
  8274. });
  8275. }, mount: function(type, opts, mountpoint) {
  8276. var root = mountpoint === "/";
  8277. var pseudo = !mountpoint;
  8278. var node;
  8279. if (root && FS.root) {
  8280. throw new FS.ErrnoError(10);
  8281. } else if (!root && !pseudo) {
  8282. var lookup = FS.lookupPath(mountpoint, { follow_mount: false });
  8283. mountpoint = lookup.path;
  8284. node = lookup.node;
  8285. if (FS.isMountpoint(node)) {
  8286. throw new FS.ErrnoError(10);
  8287. }
  8288. if (!FS.isDir(node.mode)) {
  8289. throw new FS.ErrnoError(54);
  8290. }
  8291. }
  8292. var mount = { type, opts, mountpoint, mounts: [] };
  8293. var mountRoot = type.mount(mount);
  8294. mountRoot.mount = mount;
  8295. mount.root = mountRoot;
  8296. if (root) {
  8297. FS.root = mountRoot;
  8298. } else if (node) {
  8299. node.mounted = mount;
  8300. if (node.mount) {
  8301. node.mount.mounts.push(mount);
  8302. }
  8303. }
  8304. return mountRoot;
  8305. }, unmount: function(mountpoint) {
  8306. var lookup = FS.lookupPath(mountpoint, { follow_mount: false });
  8307. if (!FS.isMountpoint(lookup.node)) {
  8308. throw new FS.ErrnoError(28);
  8309. }
  8310. var node = lookup.node;
  8311. var mount = node.mounted;
  8312. var mounts = FS.getMounts(mount);
  8313. Object.keys(FS.nameTable).forEach(function(hash) {
  8314. var current = FS.nameTable[hash];
  8315. while (current) {
  8316. var next = current.name_next;
  8317. if (mounts.includes(current.mount)) {
  8318. FS.destroyNode(current);
  8319. }
  8320. current = next;
  8321. }
  8322. });
  8323. node.mounted = null;
  8324. var idx = node.mount.mounts.indexOf(mount);
  8325. node.mount.mounts.splice(idx, 1);
  8326. }, lookup: function(parent, name2) {
  8327. return parent.node_ops.lookup(parent, name2);
  8328. }, mknod: function(path, mode, dev) {
  8329. var lookup = FS.lookupPath(path, { parent: true });
  8330. var parent = lookup.node;
  8331. var name2 = PATH.basename(path);
  8332. if (!name2 || name2 === "." || name2 === "..") {
  8333. throw new FS.ErrnoError(28);
  8334. }
  8335. var errCode = FS.mayCreate(parent, name2);
  8336. if (errCode) {
  8337. throw new FS.ErrnoError(errCode);
  8338. }
  8339. if (!parent.node_ops.mknod) {
  8340. throw new FS.ErrnoError(63);
  8341. }
  8342. return parent.node_ops.mknod(parent, name2, mode, dev);
  8343. }, create: function(path, mode) {
  8344. mode = mode !== void 0 ? mode : 438;
  8345. mode &= 4095;
  8346. mode |= 32768;
  8347. return FS.mknod(path, mode, 0);
  8348. }, mkdir: function(path, mode) {
  8349. mode = mode !== void 0 ? mode : 511;
  8350. mode &= 511 | 512;
  8351. mode |= 16384;
  8352. return FS.mknod(path, mode, 0);
  8353. }, mkdirTree: function(path, mode) {
  8354. var dirs = path.split("/");
  8355. var d = "";
  8356. for (var i = 0; i < dirs.length; ++i) {
  8357. if (!dirs[i])
  8358. continue;
  8359. d += "/" + dirs[i];
  8360. try {
  8361. FS.mkdir(d, mode);
  8362. } catch (e) {
  8363. if (e.errno != 20)
  8364. throw e;
  8365. }
  8366. }
  8367. }, mkdev: function(path, mode, dev) {
  8368. if (typeof dev === "undefined") {
  8369. dev = mode;
  8370. mode = 438;
  8371. }
  8372. mode |= 8192;
  8373. return FS.mknod(path, mode, dev);
  8374. }, symlink: function(oldpath, newpath) {
  8375. if (!PATH_FS.resolve(oldpath)) {
  8376. throw new FS.ErrnoError(44);
  8377. }
  8378. var lookup = FS.lookupPath(newpath, { parent: true });
  8379. var parent = lookup.node;
  8380. if (!parent) {
  8381. throw new FS.ErrnoError(44);
  8382. }
  8383. var newname = PATH.basename(newpath);
  8384. var errCode = FS.mayCreate(parent, newname);
  8385. if (errCode) {
  8386. throw new FS.ErrnoError(errCode);
  8387. }
  8388. if (!parent.node_ops.symlink) {
  8389. throw new FS.ErrnoError(63);
  8390. }
  8391. return parent.node_ops.symlink(parent, newname, oldpath);
  8392. }, rename: function(old_path, new_path) {
  8393. var old_dirname = PATH.dirname(old_path);
  8394. var new_dirname = PATH.dirname(new_path);
  8395. var old_name = PATH.basename(old_path);
  8396. var new_name = PATH.basename(new_path);
  8397. var lookup, old_dir, new_dir;
  8398. lookup = FS.lookupPath(old_path, { parent: true });
  8399. old_dir = lookup.node;
  8400. lookup = FS.lookupPath(new_path, { parent: true });
  8401. new_dir = lookup.node;
  8402. if (!old_dir || !new_dir)
  8403. throw new FS.ErrnoError(44);
  8404. if (old_dir.mount !== new_dir.mount) {
  8405. throw new FS.ErrnoError(75);
  8406. }
  8407. var old_node = FS.lookupNode(old_dir, old_name);
  8408. var relative = PATH_FS.relative(old_path, new_dirname);
  8409. if (relative.charAt(0) !== ".") {
  8410. throw new FS.ErrnoError(28);
  8411. }
  8412. relative = PATH_FS.relative(new_path, old_dirname);
  8413. if (relative.charAt(0) !== ".") {
  8414. throw new FS.ErrnoError(55);
  8415. }
  8416. var new_node;
  8417. try {
  8418. new_node = FS.lookupNode(new_dir, new_name);
  8419. } catch (e) {
  8420. }
  8421. if (old_node === new_node) {
  8422. return;
  8423. }
  8424. var isdir = FS.isDir(old_node.mode);
  8425. var errCode = FS.mayDelete(old_dir, old_name, isdir);
  8426. if (errCode) {
  8427. throw new FS.ErrnoError(errCode);
  8428. }
  8429. errCode = new_node ? FS.mayDelete(new_dir, new_name, isdir) : FS.mayCreate(new_dir, new_name);
  8430. if (errCode) {
  8431. throw new FS.ErrnoError(errCode);
  8432. }
  8433. if (!old_dir.node_ops.rename) {
  8434. throw new FS.ErrnoError(63);
  8435. }
  8436. if (FS.isMountpoint(old_node) || new_node && FS.isMountpoint(new_node)) {
  8437. throw new FS.ErrnoError(10);
  8438. }
  8439. if (new_dir !== old_dir) {
  8440. errCode = FS.nodePermissions(old_dir, "w");
  8441. if (errCode) {
  8442. throw new FS.ErrnoError(errCode);
  8443. }
  8444. }
  8445. try {
  8446. if (FS.trackingDelegate["willMovePath"]) {
  8447. FS.trackingDelegate["willMovePath"](old_path, new_path);
  8448. }
  8449. } catch (e) {
  8450. err("FS.trackingDelegate['willMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  8451. }
  8452. FS.hashRemoveNode(old_node);
  8453. try {
  8454. old_dir.node_ops.rename(old_node, new_dir, new_name);
  8455. } catch (e) {
  8456. throw e;
  8457. } finally {
  8458. FS.hashAddNode(old_node);
  8459. }
  8460. try {
  8461. if (FS.trackingDelegate["onMovePath"])
  8462. FS.trackingDelegate["onMovePath"](old_path, new_path);
  8463. } catch (e) {
  8464. err("FS.trackingDelegate['onMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message);
  8465. }
  8466. }, rmdir: function(path) {
  8467. var lookup = FS.lookupPath(path, { parent: true });
  8468. var parent = lookup.node;
  8469. var name2 = PATH.basename(path);
  8470. var node = FS.lookupNode(parent, name2);
  8471. var errCode = FS.mayDelete(parent, name2, true);
  8472. if (errCode) {
  8473. throw new FS.ErrnoError(errCode);
  8474. }
  8475. if (!parent.node_ops.rmdir) {
  8476. throw new FS.ErrnoError(63);
  8477. }
  8478. if (FS.isMountpoint(node)) {
  8479. throw new FS.ErrnoError(10);
  8480. }
  8481. try {
  8482. if (FS.trackingDelegate["willDeletePath"]) {
  8483. FS.trackingDelegate["willDeletePath"](path);
  8484. }
  8485. } catch (e) {
  8486. err("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  8487. }
  8488. parent.node_ops.rmdir(parent, name2);
  8489. FS.destroyNode(node);
  8490. try {
  8491. if (FS.trackingDelegate["onDeletePath"])
  8492. FS.trackingDelegate["onDeletePath"](path);
  8493. } catch (e) {
  8494. err("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  8495. }
  8496. }, readdir: function(path) {
  8497. var lookup = FS.lookupPath(path, { follow: true });
  8498. var node = lookup.node;
  8499. if (!node.node_ops.readdir) {
  8500. throw new FS.ErrnoError(54);
  8501. }
  8502. return node.node_ops.readdir(node);
  8503. }, unlink: function(path) {
  8504. var lookup = FS.lookupPath(path, { parent: true });
  8505. var parent = lookup.node;
  8506. var name2 = PATH.basename(path);
  8507. var node = FS.lookupNode(parent, name2);
  8508. var errCode = FS.mayDelete(parent, name2, false);
  8509. if (errCode) {
  8510. throw new FS.ErrnoError(errCode);
  8511. }
  8512. if (!parent.node_ops.unlink) {
  8513. throw new FS.ErrnoError(63);
  8514. }
  8515. if (FS.isMountpoint(node)) {
  8516. throw new FS.ErrnoError(10);
  8517. }
  8518. try {
  8519. if (FS.trackingDelegate["willDeletePath"]) {
  8520. FS.trackingDelegate["willDeletePath"](path);
  8521. }
  8522. } catch (e) {
  8523. err("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message);
  8524. }
  8525. parent.node_ops.unlink(parent, name2);
  8526. FS.destroyNode(node);
  8527. try {
  8528. if (FS.trackingDelegate["onDeletePath"])
  8529. FS.trackingDelegate["onDeletePath"](path);
  8530. } catch (e) {
  8531. err("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message);
  8532. }
  8533. }, readlink: function(path) {
  8534. var lookup = FS.lookupPath(path);
  8535. var link = lookup.node;
  8536. if (!link) {
  8537. throw new FS.ErrnoError(44);
  8538. }
  8539. if (!link.node_ops.readlink) {
  8540. throw new FS.ErrnoError(28);
  8541. }
  8542. return PATH_FS.resolve(FS.getPath(link.parent), link.node_ops.readlink(link));
  8543. }, stat: function(path, dontFollow) {
  8544. var lookup = FS.lookupPath(path, { follow: !dontFollow });
  8545. var node = lookup.node;
  8546. if (!node) {
  8547. throw new FS.ErrnoError(44);
  8548. }
  8549. if (!node.node_ops.getattr) {
  8550. throw new FS.ErrnoError(63);
  8551. }
  8552. return node.node_ops.getattr(node);
  8553. }, lstat: function(path) {
  8554. return FS.stat(path, true);
  8555. }, chmod: function(path, mode, dontFollow) {
  8556. var node;
  8557. if (typeof path === "string") {
  8558. var lookup = FS.lookupPath(path, { follow: !dontFollow });
  8559. node = lookup.node;
  8560. } else {
  8561. node = path;
  8562. }
  8563. if (!node.node_ops.setattr) {
  8564. throw new FS.ErrnoError(63);
  8565. }
  8566. node.node_ops.setattr(node, { mode: mode & 4095 | node.mode & ~4095, timestamp: Date.now() });
  8567. }, lchmod: function(path, mode) {
  8568. FS.chmod(path, mode, true);
  8569. }, fchmod: function(fd, mode) {
  8570. var stream = FS.getStream(fd);
  8571. if (!stream) {
  8572. throw new FS.ErrnoError(8);
  8573. }
  8574. FS.chmod(stream.node, mode);
  8575. }, chown: function(path, uid, gid, dontFollow) {
  8576. var node;
  8577. if (typeof path === "string") {
  8578. var lookup = FS.lookupPath(path, { follow: !dontFollow });
  8579. node = lookup.node;
  8580. } else {
  8581. node = path;
  8582. }
  8583. if (!node.node_ops.setattr) {
  8584. throw new FS.ErrnoError(63);
  8585. }
  8586. node.node_ops.setattr(node, { timestamp: Date.now() });
  8587. }, lchown: function(path, uid, gid) {
  8588. FS.chown(path, uid, gid, true);
  8589. }, fchown: function(fd, uid, gid) {
  8590. var stream = FS.getStream(fd);
  8591. if (!stream) {
  8592. throw new FS.ErrnoError(8);
  8593. }
  8594. FS.chown(stream.node, uid, gid);
  8595. }, truncate: function(path, len) {
  8596. if (len < 0) {
  8597. throw new FS.ErrnoError(28);
  8598. }
  8599. var node;
  8600. if (typeof path === "string") {
  8601. var lookup = FS.lookupPath(path, { follow: true });
  8602. node = lookup.node;
  8603. } else {
  8604. node = path;
  8605. }
  8606. if (!node.node_ops.setattr) {
  8607. throw new FS.ErrnoError(63);
  8608. }
  8609. if (FS.isDir(node.mode)) {
  8610. throw new FS.ErrnoError(31);
  8611. }
  8612. if (!FS.isFile(node.mode)) {
  8613. throw new FS.ErrnoError(28);
  8614. }
  8615. var errCode = FS.nodePermissions(node, "w");
  8616. if (errCode) {
  8617. throw new FS.ErrnoError(errCode);
  8618. }
  8619. node.node_ops.setattr(node, { size: len, timestamp: Date.now() });
  8620. }, ftruncate: function(fd, len) {
  8621. var stream = FS.getStream(fd);
  8622. if (!stream) {
  8623. throw new FS.ErrnoError(8);
  8624. }
  8625. if ((stream.flags & 2097155) === 0) {
  8626. throw new FS.ErrnoError(28);
  8627. }
  8628. FS.truncate(stream.node, len);
  8629. }, utime: function(path, atime, mtime) {
  8630. var lookup = FS.lookupPath(path, { follow: true });
  8631. var node = lookup.node;
  8632. node.node_ops.setattr(node, { timestamp: Math.max(atime, mtime) });
  8633. }, open: function(path, flags, mode, fd_start, fd_end) {
  8634. if (path === "") {
  8635. throw new FS.ErrnoError(44);
  8636. }
  8637. flags = typeof flags === "string" ? FS.modeStringToFlags(flags) : flags;
  8638. mode = typeof mode === "undefined" ? 438 : mode;
  8639. if (flags & 64) {
  8640. mode = mode & 4095 | 32768;
  8641. } else {
  8642. mode = 0;
  8643. }
  8644. var node;
  8645. if (typeof path === "object") {
  8646. node = path;
  8647. } else {
  8648. path = PATH.normalize(path);
  8649. try {
  8650. var lookup = FS.lookupPath(path, { follow: !(flags & 131072) });
  8651. node = lookup.node;
  8652. } catch (e) {
  8653. }
  8654. }
  8655. var created = false;
  8656. if (flags & 64) {
  8657. if (node) {
  8658. if (flags & 128) {
  8659. throw new FS.ErrnoError(20);
  8660. }
  8661. } else {
  8662. node = FS.mknod(path, mode, 0);
  8663. created = true;
  8664. }
  8665. }
  8666. if (!node) {
  8667. throw new FS.ErrnoError(44);
  8668. }
  8669. if (FS.isChrdev(node.mode)) {
  8670. flags &= ~512;
  8671. }
  8672. if (flags & 65536 && !FS.isDir(node.mode)) {
  8673. throw new FS.ErrnoError(54);
  8674. }
  8675. if (!created) {
  8676. var errCode = FS.mayOpen(node, flags);
  8677. if (errCode) {
  8678. throw new FS.ErrnoError(errCode);
  8679. }
  8680. }
  8681. if (flags & 512) {
  8682. FS.truncate(node, 0);
  8683. }
  8684. flags &= ~(128 | 512 | 131072);
  8685. var stream = FS.createStream({ node, path: FS.getPath(node), flags, seekable: true, position: 0, stream_ops: node.stream_ops, ungotten: [], error: false }, fd_start, fd_end);
  8686. if (stream.stream_ops.open) {
  8687. stream.stream_ops.open(stream);
  8688. }
  8689. if (Module["logReadFiles"] && !(flags & 1)) {
  8690. if (!FS.readFiles)
  8691. FS.readFiles = {};
  8692. if (!(path in FS.readFiles)) {
  8693. FS.readFiles[path] = 1;
  8694. err("FS.trackingDelegate error on read file: " + path);
  8695. }
  8696. }
  8697. try {
  8698. if (FS.trackingDelegate["onOpenFile"]) {
  8699. var trackingFlags = 0;
  8700. if ((flags & 2097155) !== 1) {
  8701. trackingFlags |= FS.tracking.openFlags.READ;
  8702. }
  8703. if ((flags & 2097155) !== 0) {
  8704. trackingFlags |= FS.tracking.openFlags.WRITE;
  8705. }
  8706. FS.trackingDelegate["onOpenFile"](path, trackingFlags);
  8707. }
  8708. } catch (e) {
  8709. err("FS.trackingDelegate['onOpenFile']('" + path + "', flags) threw an exception: " + e.message);
  8710. }
  8711. return stream;
  8712. }, close: function(stream) {
  8713. if (FS.isClosed(stream)) {
  8714. throw new FS.ErrnoError(8);
  8715. }
  8716. if (stream.getdents)
  8717. stream.getdents = null;
  8718. try {
  8719. if (stream.stream_ops.close) {
  8720. stream.stream_ops.close(stream);
  8721. }
  8722. } catch (e) {
  8723. throw e;
  8724. } finally {
  8725. FS.closeStream(stream.fd);
  8726. }
  8727. stream.fd = null;
  8728. }, isClosed: function(stream) {
  8729. return stream.fd === null;
  8730. }, llseek: function(stream, offset, whence) {
  8731. if (FS.isClosed(stream)) {
  8732. throw new FS.ErrnoError(8);
  8733. }
  8734. if (!stream.seekable || !stream.stream_ops.llseek) {
  8735. throw new FS.ErrnoError(70);
  8736. }
  8737. if (whence != 0 && whence != 1 && whence != 2) {
  8738. throw new FS.ErrnoError(28);
  8739. }
  8740. stream.position = stream.stream_ops.llseek(stream, offset, whence);
  8741. stream.ungotten = [];
  8742. return stream.position;
  8743. }, read: function(stream, buffer2, offset, length, position) {
  8744. offset >>>= 0;
  8745. if (length < 0 || position < 0) {
  8746. throw new FS.ErrnoError(28);
  8747. }
  8748. if (FS.isClosed(stream)) {
  8749. throw new FS.ErrnoError(8);
  8750. }
  8751. if ((stream.flags & 2097155) === 1) {
  8752. throw new FS.ErrnoError(8);
  8753. }
  8754. if (FS.isDir(stream.node.mode)) {
  8755. throw new FS.ErrnoError(31);
  8756. }
  8757. if (!stream.stream_ops.read) {
  8758. throw new FS.ErrnoError(28);
  8759. }
  8760. var seeking = typeof position !== "undefined";
  8761. if (!seeking) {
  8762. position = stream.position;
  8763. } else if (!stream.seekable) {
  8764. throw new FS.ErrnoError(70);
  8765. }
  8766. var bytesRead = stream.stream_ops.read(stream, buffer2, offset, length, position);
  8767. if (!seeking)
  8768. stream.position += bytesRead;
  8769. return bytesRead;
  8770. }, write: function(stream, buffer2, offset, length, position, canOwn) {
  8771. offset >>>= 0;
  8772. if (length < 0 || position < 0) {
  8773. throw new FS.ErrnoError(28);
  8774. }
  8775. if (FS.isClosed(stream)) {
  8776. throw new FS.ErrnoError(8);
  8777. }
  8778. if ((stream.flags & 2097155) === 0) {
  8779. throw new FS.ErrnoError(8);
  8780. }
  8781. if (FS.isDir(stream.node.mode)) {
  8782. throw new FS.ErrnoError(31);
  8783. }
  8784. if (!stream.stream_ops.write) {
  8785. throw new FS.ErrnoError(28);
  8786. }
  8787. if (stream.seekable && stream.flags & 1024) {
  8788. FS.llseek(stream, 0, 2);
  8789. }
  8790. var seeking = typeof position !== "undefined";
  8791. if (!seeking) {
  8792. position = stream.position;
  8793. } else if (!stream.seekable) {
  8794. throw new FS.ErrnoError(70);
  8795. }
  8796. var bytesWritten = stream.stream_ops.write(stream, buffer2, offset, length, position, canOwn);
  8797. if (!seeking)
  8798. stream.position += bytesWritten;
  8799. try {
  8800. if (stream.path && FS.trackingDelegate["onWriteToFile"])
  8801. FS.trackingDelegate["onWriteToFile"](stream.path);
  8802. } catch (e) {
  8803. err("FS.trackingDelegate['onWriteToFile']('" + stream.path + "') threw an exception: " + e.message);
  8804. }
  8805. return bytesWritten;
  8806. }, allocate: function(stream, offset, length) {
  8807. if (FS.isClosed(stream)) {
  8808. throw new FS.ErrnoError(8);
  8809. }
  8810. if (offset < 0 || length <= 0) {
  8811. throw new FS.ErrnoError(28);
  8812. }
  8813. if ((stream.flags & 2097155) === 0) {
  8814. throw new FS.ErrnoError(8);
  8815. }
  8816. if (!FS.isFile(stream.node.mode) && !FS.isDir(stream.node.mode)) {
  8817. throw new FS.ErrnoError(43);
  8818. }
  8819. if (!stream.stream_ops.allocate) {
  8820. throw new FS.ErrnoError(138);
  8821. }
  8822. stream.stream_ops.allocate(stream, offset, length);
  8823. }, mmap: function(stream, address, length, position, prot, flags) {
  8824. address >>>= 0;
  8825. if ((prot & 2) !== 0 && (flags & 2) === 0 && (stream.flags & 2097155) !== 2) {
  8826. throw new FS.ErrnoError(2);
  8827. }
  8828. if ((stream.flags & 2097155) === 1) {
  8829. throw new FS.ErrnoError(2);
  8830. }
  8831. if (!stream.stream_ops.mmap) {
  8832. throw new FS.ErrnoError(43);
  8833. }
  8834. return stream.stream_ops.mmap(stream, address, length, position, prot, flags);
  8835. }, msync: function(stream, buffer2, offset, length, mmapFlags) {
  8836. offset >>>= 0;
  8837. if (!stream || !stream.stream_ops.msync) {
  8838. return 0;
  8839. }
  8840. return stream.stream_ops.msync(stream, buffer2, offset, length, mmapFlags);
  8841. }, munmap: function(stream) {
  8842. return 0;
  8843. }, ioctl: function(stream, cmd, arg) {
  8844. if (!stream.stream_ops.ioctl) {
  8845. throw new FS.ErrnoError(59);
  8846. }
  8847. return stream.stream_ops.ioctl(stream, cmd, arg);
  8848. }, readFile: function(path, opts) {
  8849. opts = opts || {};
  8850. opts.flags = opts.flags || 0;
  8851. opts.encoding = opts.encoding || "binary";
  8852. if (opts.encoding !== "utf8" && opts.encoding !== "binary") {
  8853. throw new Error('Invalid encoding type "' + opts.encoding + '"');
  8854. }
  8855. var ret;
  8856. var stream = FS.open(path, opts.flags);
  8857. var stat = FS.stat(path);
  8858. var length = stat.size;
  8859. var buf = new Uint8Array(length);
  8860. FS.read(stream, buf, 0, length, 0);
  8861. if (opts.encoding === "utf8") {
  8862. ret = UTF8ArrayToString(buf, 0);
  8863. } else if (opts.encoding === "binary") {
  8864. ret = buf;
  8865. }
  8866. FS.close(stream);
  8867. return ret;
  8868. }, writeFile: function(path, data, opts) {
  8869. opts = opts || {};
  8870. opts.flags = opts.flags || 577;
  8871. var stream = FS.open(path, opts.flags, opts.mode);
  8872. if (typeof data === "string") {
  8873. var buf = new Uint8Array(lengthBytesUTF8(data) + 1);
  8874. var actualNumBytes = stringToUTF8Array(data, buf, 0, buf.length);
  8875. FS.write(stream, buf, 0, actualNumBytes, void 0, opts.canOwn);
  8876. } else if (ArrayBuffer.isView(data)) {
  8877. FS.write(stream, data, 0, data.byteLength, void 0, opts.canOwn);
  8878. } else {
  8879. throw new Error("Unsupported data type");
  8880. }
  8881. FS.close(stream);
  8882. }, cwd: function() {
  8883. return FS.currentPath;
  8884. }, chdir: function(path) {
  8885. var lookup = FS.lookupPath(path, { follow: true });
  8886. if (lookup.node === null) {
  8887. throw new FS.ErrnoError(44);
  8888. }
  8889. if (!FS.isDir(lookup.node.mode)) {
  8890. throw new FS.ErrnoError(54);
  8891. }
  8892. var errCode = FS.nodePermissions(lookup.node, "x");
  8893. if (errCode) {
  8894. throw new FS.ErrnoError(errCode);
  8895. }
  8896. FS.currentPath = lookup.path;
  8897. }, createDefaultDirectories: function() {
  8898. FS.mkdir("/tmp");
  8899. FS.mkdir("/home");
  8900. FS.mkdir("/home/web_user");
  8901. }, createDefaultDevices: function() {
  8902. FS.mkdir("/dev");
  8903. FS.registerDevice(FS.makedev(1, 3), { read: function() {
  8904. return 0;
  8905. }, write: function(stream, buffer2, offset, length, pos) {
  8906. return length;
  8907. } });
  8908. FS.mkdev("/dev/null", FS.makedev(1, 3));
  8909. TTY.register(FS.makedev(5, 0), TTY.default_tty_ops);
  8910. TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops);
  8911. FS.mkdev("/dev/tty", FS.makedev(5, 0));
  8912. FS.mkdev("/dev/tty1", FS.makedev(6, 0));
  8913. var random_device = getRandomDevice();
  8914. FS.createDevice("/dev", "random", random_device);
  8915. FS.createDevice("/dev", "urandom", random_device);
  8916. FS.mkdir("/dev/shm");
  8917. FS.mkdir("/dev/shm/tmp");
  8918. }, createSpecialDirectories: function() {
  8919. FS.mkdir("/proc");
  8920. var proc_self = FS.mkdir("/proc/self");
  8921. FS.mkdir("/proc/self/fd");
  8922. FS.mount({ mount: function() {
  8923. var node = FS.createNode(proc_self, "fd", 16384 | 511, 73);
  8924. node.node_ops = { lookup: function(parent, name2) {
  8925. var fd = +name2;
  8926. var stream = FS.getStream(fd);
  8927. if (!stream)
  8928. throw new FS.ErrnoError(8);
  8929. var ret = { parent: null, mount: { mountpoint: "fake" }, node_ops: { readlink: function() {
  8930. return stream.path;
  8931. } } };
  8932. ret.parent = ret;
  8933. return ret;
  8934. } };
  8935. return node;
  8936. } }, {}, "/proc/self/fd");
  8937. }, createStandardStreams: function() {
  8938. if (Module["stdin"]) {
  8939. FS.createDevice("/dev", "stdin", Module["stdin"]);
  8940. } else {
  8941. FS.symlink("/dev/tty", "/dev/stdin");
  8942. }
  8943. if (Module["stdout"]) {
  8944. FS.createDevice("/dev", "stdout", null, Module["stdout"]);
  8945. } else {
  8946. FS.symlink("/dev/tty", "/dev/stdout");
  8947. }
  8948. if (Module["stderr"]) {
  8949. FS.createDevice("/dev", "stderr", null, Module["stderr"]);
  8950. } else {
  8951. FS.symlink("/dev/tty1", "/dev/stderr");
  8952. }
  8953. var stdin = FS.open("/dev/stdin", 0);
  8954. var stdout = FS.open("/dev/stdout", 1);
  8955. var stderr = FS.open("/dev/stderr", 1);
  8956. }, ensureErrnoError: function() {
  8957. if (FS.ErrnoError)
  8958. return;
  8959. FS.ErrnoError = function ErrnoError(errno, node) {
  8960. this.node = node;
  8961. this.setErrno = function(errno2) {
  8962. this.errno = errno2;
  8963. };
  8964. this.setErrno(errno);
  8965. this.message = "FS error";
  8966. };
  8967. FS.ErrnoError.prototype = new Error();
  8968. FS.ErrnoError.prototype.constructor = FS.ErrnoError;
  8969. [44].forEach(function(code) {
  8970. FS.genericErrors[code] = new FS.ErrnoError(code);
  8971. FS.genericErrors[code].stack = "<generic error, no stack>";
  8972. });
  8973. }, staticInit: function() {
  8974. FS.ensureErrnoError();
  8975. FS.nameTable = new Array(4096);
  8976. FS.mount(MEMFS, {}, "/");
  8977. FS.createDefaultDirectories();
  8978. FS.createDefaultDevices();
  8979. FS.createSpecialDirectories();
  8980. FS.filesystems = { "MEMFS": MEMFS };
  8981. }, init: function(input, output, error) {
  8982. FS.init.initialized = true;
  8983. FS.ensureErrnoError();
  8984. Module["stdin"] = input || Module["stdin"];
  8985. Module["stdout"] = output || Module["stdout"];
  8986. Module["stderr"] = error || Module["stderr"];
  8987. FS.createStandardStreams();
  8988. }, quit: function() {
  8989. FS.init.initialized = false;
  8990. var fflush = Module["_fflush"];
  8991. if (fflush)
  8992. fflush(0);
  8993. for (var i = 0; i < FS.streams.length; i++) {
  8994. var stream = FS.streams[i];
  8995. if (!stream) {
  8996. continue;
  8997. }
  8998. FS.close(stream);
  8999. }
  9000. }, getMode: function(canRead, canWrite) {
  9001. var mode = 0;
  9002. if (canRead)
  9003. mode |= 292 | 73;
  9004. if (canWrite)
  9005. mode |= 146;
  9006. return mode;
  9007. }, findObject: function(path, dontResolveLastLink) {
  9008. var ret = FS.analyzePath(path, dontResolveLastLink);
  9009. if (ret.exists) {
  9010. return ret.object;
  9011. } else {
  9012. return null;
  9013. }
  9014. }, analyzePath: function(path, dontResolveLastLink) {
  9015. try {
  9016. var lookup = FS.lookupPath(path, { follow: !dontResolveLastLink });
  9017. path = lookup.path;
  9018. } catch (e) {
  9019. }
  9020. var ret = { isRoot: false, exists: false, error: 0, name: null, path: null, object: null, parentExists: false, parentPath: null, parentObject: null };
  9021. try {
  9022. var lookup = FS.lookupPath(path, { parent: true });
  9023. ret.parentExists = true;
  9024. ret.parentPath = lookup.path;
  9025. ret.parentObject = lookup.node;
  9026. ret.name = PATH.basename(path);
  9027. lookup = FS.lookupPath(path, { follow: !dontResolveLastLink });
  9028. ret.exists = true;
  9029. ret.path = lookup.path;
  9030. ret.object = lookup.node;
  9031. ret.name = lookup.node.name;
  9032. ret.isRoot = lookup.path === "/";
  9033. } catch (e) {
  9034. ret.error = e.errno;
  9035. }
  9036. return ret;
  9037. }, createPath: function(parent, path, canRead, canWrite) {
  9038. parent = typeof parent === "string" ? parent : FS.getPath(parent);
  9039. var parts = path.split("/").reverse();
  9040. while (parts.length) {
  9041. var part = parts.pop();
  9042. if (!part)
  9043. continue;
  9044. var current = PATH.join2(parent, part);
  9045. try {
  9046. FS.mkdir(current);
  9047. } catch (e) {
  9048. }
  9049. parent = current;
  9050. }
  9051. return current;
  9052. }, createFile: function(parent, name2, properties, canRead, canWrite) {
  9053. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name2);
  9054. var mode = FS.getMode(canRead, canWrite);
  9055. return FS.create(path, mode);
  9056. }, createDataFile: function(parent, name2, data, canRead, canWrite, canOwn) {
  9057. var path = name2 ? PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name2) : parent;
  9058. var mode = FS.getMode(canRead, canWrite);
  9059. var node = FS.create(path, mode);
  9060. if (data) {
  9061. if (typeof data === "string") {
  9062. var arr = new Array(data.length);
  9063. for (var i = 0, len = data.length; i < len; ++i)
  9064. arr[i] = data.charCodeAt(i);
  9065. data = arr;
  9066. }
  9067. FS.chmod(node, mode | 146);
  9068. var stream = FS.open(node, 577);
  9069. FS.write(stream, data, 0, data.length, 0, canOwn);
  9070. FS.close(stream);
  9071. FS.chmod(node, mode);
  9072. }
  9073. return node;
  9074. }, createDevice: function(parent, name2, input, output) {
  9075. var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name2);
  9076. var mode = FS.getMode(!!input, !!output);
  9077. if (!FS.createDevice.major)
  9078. FS.createDevice.major = 64;
  9079. var dev = FS.makedev(FS.createDevice.major++, 0);
  9080. FS.registerDevice(dev, { open: function(stream) {
  9081. stream.seekable = false;
  9082. }, close: function(stream) {
  9083. if (output && output.buffer && output.buffer.length) {
  9084. output(10);
  9085. }
  9086. }, read: function(stream, buffer2, offset, length, pos) {
  9087. var bytesRead = 0;
  9088. for (var i = 0; i < length; i++) {
  9089. var result;
  9090. try {
  9091. result = input();
  9092. } catch (e) {
  9093. throw new FS.ErrnoError(29);
  9094. }
  9095. if (result === void 0 && bytesRead === 0) {
  9096. throw new FS.ErrnoError(6);
  9097. }
  9098. if (result === null || result === void 0)
  9099. break;
  9100. bytesRead++;
  9101. buffer2[offset + i] = result;
  9102. }
  9103. if (bytesRead) {
  9104. stream.node.timestamp = Date.now();
  9105. }
  9106. return bytesRead;
  9107. }, write: function(stream, buffer2, offset, length, pos) {
  9108. for (var i = 0; i < length; i++) {
  9109. try {
  9110. output(buffer2[offset + i]);
  9111. } catch (e) {
  9112. throw new FS.ErrnoError(29);
  9113. }
  9114. }
  9115. if (length) {
  9116. stream.node.timestamp = Date.now();
  9117. }
  9118. return i;
  9119. } });
  9120. return FS.mkdev(path, mode, dev);
  9121. }, forceLoadFile: function(obj) {
  9122. if (obj.isDevice || obj.isFolder || obj.link || obj.contents)
  9123. return true;
  9124. if (typeof XMLHttpRequest !== "undefined") {
  9125. throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
  9126. } else if (read_) {
  9127. try {
  9128. obj.contents = intArrayFromString(read_(obj.url), true);
  9129. obj.usedBytes = obj.contents.length;
  9130. } catch (e) {
  9131. throw new FS.ErrnoError(29);
  9132. }
  9133. } else {
  9134. throw new Error("Cannot load without read() or XMLHttpRequest.");
  9135. }
  9136. }, createLazyFile: function(parent, name2, url, canRead, canWrite) {
  9137. function LazyUint8Array() {
  9138. this.lengthKnown = false;
  9139. this.chunks = [];
  9140. }
  9141. LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) {
  9142. if (idx > this.length - 1 || idx < 0) {
  9143. return void 0;
  9144. }
  9145. var chunkOffset = idx % this.chunkSize;
  9146. var chunkNum = idx / this.chunkSize | 0;
  9147. return this.getter(chunkNum)[chunkOffset];
  9148. };
  9149. LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) {
  9150. this.getter = getter;
  9151. };
  9152. LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() {
  9153. var xhr = new XMLHttpRequest();
  9154. xhr.open("HEAD", url, false);
  9155. xhr.send(null);
  9156. if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304))
  9157. throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
  9158. var datalength = Number(xhr.getResponseHeader("Content-length"));
  9159. var header;
  9160. var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
  9161. var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip";
  9162. var chunkSize = 1024 * 1024;
  9163. if (!hasByteServing)
  9164. chunkSize = datalength;
  9165. var doXHR = function(from, to) {
  9166. if (from > to)
  9167. throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
  9168. if (to > datalength - 1)
  9169. throw new Error("only " + datalength + " bytes available! programmer error!");
  9170. var xhr2 = new XMLHttpRequest();
  9171. xhr2.open("GET", url, false);
  9172. if (datalength !== chunkSize)
  9173. xhr2.setRequestHeader("Range", "bytes=" + from + "-" + to);
  9174. if (typeof Uint8Array != "undefined")
  9175. xhr2.responseType = "arraybuffer";
  9176. if (xhr2.overrideMimeType) {
  9177. xhr2.overrideMimeType("text/plain; charset=x-user-defined");
  9178. }
  9179. xhr2.send(null);
  9180. if (!(xhr2.status >= 200 && xhr2.status < 300 || xhr2.status === 304))
  9181. throw new Error("Couldn't load " + url + ". Status: " + xhr2.status);
  9182. if (xhr2.response !== void 0) {
  9183. return new Uint8Array(xhr2.response || []);
  9184. } else {
  9185. return intArrayFromString(xhr2.responseText || "", true);
  9186. }
  9187. };
  9188. var lazyArray2 = this;
  9189. lazyArray2.setDataGetter(function(chunkNum) {
  9190. var start = chunkNum * chunkSize;
  9191. var end = (chunkNum + 1) * chunkSize - 1;
  9192. end = Math.min(end, datalength - 1);
  9193. if (typeof lazyArray2.chunks[chunkNum] === "undefined") {
  9194. lazyArray2.chunks[chunkNum] = doXHR(start, end);
  9195. }
  9196. if (typeof lazyArray2.chunks[chunkNum] === "undefined")
  9197. throw new Error("doXHR failed!");
  9198. return lazyArray2.chunks[chunkNum];
  9199. });
  9200. if (usesGzip || !datalength) {
  9201. chunkSize = datalength = 1;
  9202. datalength = this.getter(0).length;
  9203. chunkSize = datalength;
  9204. out("LazyFiles on gzip forces download of the whole file when length is accessed");
  9205. }
  9206. this._length = datalength;
  9207. this._chunkSize = chunkSize;
  9208. this.lengthKnown = true;
  9209. };
  9210. if (typeof XMLHttpRequest !== "undefined") {
  9211. if (!ENVIRONMENT_IS_WORKER)
  9212. throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
  9213. var lazyArray = new LazyUint8Array();
  9214. Object.defineProperties(lazyArray, { length: { get: function() {
  9215. if (!this.lengthKnown) {
  9216. this.cacheLength();
  9217. }
  9218. return this._length;
  9219. } }, chunkSize: { get: function() {
  9220. if (!this.lengthKnown) {
  9221. this.cacheLength();
  9222. }
  9223. return this._chunkSize;
  9224. } } });
  9225. var properties = { isDevice: false, contents: lazyArray };
  9226. } else {
  9227. var properties = { isDevice: false, url };
  9228. }
  9229. var node = FS.createFile(parent, name2, properties, canRead, canWrite);
  9230. if (properties.contents) {
  9231. node.contents = properties.contents;
  9232. } else if (properties.url) {
  9233. node.contents = null;
  9234. node.url = properties.url;
  9235. }
  9236. Object.defineProperties(node, { usedBytes: { get: function() {
  9237. return this.contents.length;
  9238. } } });
  9239. var stream_ops = {};
  9240. var keys = Object.keys(node.stream_ops);
  9241. keys.forEach(function(key2) {
  9242. var fn = node.stream_ops[key2];
  9243. stream_ops[key2] = function forceLoadLazyFile() {
  9244. FS.forceLoadFile(node);
  9245. return fn.apply(null, arguments);
  9246. };
  9247. });
  9248. stream_ops.read = function stream_ops_read(stream, buffer2, offset, length, position) {
  9249. FS.forceLoadFile(node);
  9250. var contents = stream.node.contents;
  9251. if (position >= contents.length)
  9252. return 0;
  9253. var size = Math.min(contents.length - position, length);
  9254. if (contents.slice) {
  9255. for (var i = 0; i < size; i++) {
  9256. buffer2[offset + i] = contents[position + i];
  9257. }
  9258. } else {
  9259. for (var i = 0; i < size; i++) {
  9260. buffer2[offset + i] = contents.get(position + i);
  9261. }
  9262. }
  9263. return size;
  9264. };
  9265. node.stream_ops = stream_ops;
  9266. return node;
  9267. }, createPreloadedFile: function(parent, name2, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) {
  9268. Browser.init();
  9269. var fullname = name2 ? PATH_FS.resolve(PATH.join2(parent, name2)) : parent;
  9270. var dep = getUniqueRunDependency("cp " + fullname);
  9271. function processData(byteArray) {
  9272. function finish(byteArray2) {
  9273. if (preFinish)
  9274. preFinish();
  9275. if (!dontCreateFile) {
  9276. FS.createDataFile(parent, name2, byteArray2, canRead, canWrite, canOwn);
  9277. }
  9278. if (onload)
  9279. onload();
  9280. removeRunDependency(dep);
  9281. }
  9282. var handled = false;
  9283. Module["preloadPlugins"].forEach(function(plugin) {
  9284. if (handled)
  9285. return;
  9286. if (plugin["canHandle"](fullname)) {
  9287. plugin["handle"](byteArray, fullname, finish, function() {
  9288. if (onerror)
  9289. onerror();
  9290. removeRunDependency(dep);
  9291. });
  9292. handled = true;
  9293. }
  9294. });
  9295. if (!handled)
  9296. finish(byteArray);
  9297. }
  9298. addRunDependency(dep);
  9299. if (typeof url == "string") {
  9300. asyncLoad(url, function(byteArray) {
  9301. processData(byteArray);
  9302. }, onerror);
  9303. } else {
  9304. processData(url);
  9305. }
  9306. }, indexedDB: function() {
  9307. return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
  9308. }, DB_NAME: function() {
  9309. return "EM_FS_" + window.location.pathname;
  9310. }, DB_VERSION: 20, DB_STORE_NAME: "FILE_DATA", saveFilesToDB: function(paths, onload, onerror) {
  9311. onload = onload || function() {
  9312. };
  9313. onerror = onerror || function() {
  9314. };
  9315. var indexedDB = FS.indexedDB();
  9316. try {
  9317. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  9318. } catch (e) {
  9319. return onerror(e);
  9320. }
  9321. openRequest.onupgradeneeded = function openRequest_onupgradeneeded() {
  9322. out("creating db");
  9323. var db = openRequest.result;
  9324. db.createObjectStore(FS.DB_STORE_NAME);
  9325. };
  9326. openRequest.onsuccess = function openRequest_onsuccess() {
  9327. var db = openRequest.result;
  9328. var transaction = db.transaction([FS.DB_STORE_NAME], "readwrite");
  9329. var files = transaction.objectStore(FS.DB_STORE_NAME);
  9330. var ok = 0, fail = 0, total = paths.length;
  9331. function finish() {
  9332. if (fail == 0)
  9333. onload();
  9334. else
  9335. onerror();
  9336. }
  9337. paths.forEach(function(path) {
  9338. var putRequest = files.put(FS.analyzePath(path).object.contents, path);
  9339. putRequest.onsuccess = function putRequest_onsuccess() {
  9340. ok++;
  9341. if (ok + fail == total)
  9342. finish();
  9343. };
  9344. putRequest.onerror = function putRequest_onerror() {
  9345. fail++;
  9346. if (ok + fail == total)
  9347. finish();
  9348. };
  9349. });
  9350. transaction.onerror = onerror;
  9351. };
  9352. openRequest.onerror = onerror;
  9353. }, loadFilesFromDB: function(paths, onload, onerror) {
  9354. onload = onload || function() {
  9355. };
  9356. onerror = onerror || function() {
  9357. };
  9358. var indexedDB = FS.indexedDB();
  9359. try {
  9360. var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
  9361. } catch (e) {
  9362. return onerror(e);
  9363. }
  9364. openRequest.onupgradeneeded = onerror;
  9365. openRequest.onsuccess = function openRequest_onsuccess() {
  9366. var db = openRequest.result;
  9367. try {
  9368. var transaction = db.transaction([FS.DB_STORE_NAME], "readonly");
  9369. } catch (e) {
  9370. onerror(e);
  9371. return;
  9372. }
  9373. var files = transaction.objectStore(FS.DB_STORE_NAME);
  9374. var ok = 0, fail = 0, total = paths.length;
  9375. function finish() {
  9376. if (fail == 0)
  9377. onload();
  9378. else
  9379. onerror();
  9380. }
  9381. paths.forEach(function(path) {
  9382. var getRequest = files.get(path);
  9383. getRequest.onsuccess = function getRequest_onsuccess() {
  9384. if (FS.analyzePath(path).exists) {
  9385. FS.unlink(path);
  9386. }
  9387. FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true);
  9388. ok++;
  9389. if (ok + fail == total)
  9390. finish();
  9391. };
  9392. getRequest.onerror = function getRequest_onerror() {
  9393. fail++;
  9394. if (ok + fail == total)
  9395. finish();
  9396. };
  9397. });
  9398. transaction.onerror = onerror;
  9399. };
  9400. openRequest.onerror = onerror;
  9401. } };
  9402. var SYSCALLS = { mappings: {}, DEFAULT_POLLMASK: 5, umask: 511, calculateAt: function(dirfd, path, allowEmpty) {
  9403. if (path[0] === "/") {
  9404. return path;
  9405. }
  9406. var dir;
  9407. if (dirfd === -100) {
  9408. dir = FS.cwd();
  9409. } else {
  9410. var dirstream = FS.getStream(dirfd);
  9411. if (!dirstream)
  9412. throw new FS.ErrnoError(8);
  9413. dir = dirstream.path;
  9414. }
  9415. if (path.length == 0) {
  9416. if (!allowEmpty) {
  9417. throw new FS.ErrnoError(44);
  9418. }
  9419. return dir;
  9420. }
  9421. return PATH.join2(dir, path);
  9422. }, doStat: function(func, path, buf) {
  9423. try {
  9424. var stat = func(path);
  9425. } catch (e) {
  9426. if (e && e.node && PATH.normalize(path) !== PATH.normalize(FS.getPath(e.node))) {
  9427. return -54;
  9428. }
  9429. throw e;
  9430. }
  9431. HEAP32[buf >>> 2] = stat.dev;
  9432. HEAP32[buf + 4 >>> 2] = 0;
  9433. HEAP32[buf + 8 >>> 2] = stat.ino;
  9434. HEAP32[buf + 12 >>> 2] = stat.mode;
  9435. HEAP32[buf + 16 >>> 2] = stat.nlink;
  9436. HEAP32[buf + 20 >>> 2] = stat.uid;
  9437. HEAP32[buf + 24 >>> 2] = stat.gid;
  9438. HEAP32[buf + 28 >>> 2] = stat.rdev;
  9439. HEAP32[buf + 32 >>> 2] = 0;
  9440. tempI64 = [stat.size >>> 0, (tempDouble = stat.size, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0)], HEAP32[buf + 40 >>> 2] = tempI64[0], HEAP32[buf + 44 >>> 2] = tempI64[1];
  9441. HEAP32[buf + 48 >>> 2] = 4096;
  9442. HEAP32[buf + 52 >>> 2] = stat.blocks;
  9443. HEAP32[buf + 56 >>> 2] = stat.atime.getTime() / 1e3 | 0;
  9444. HEAP32[buf + 60 >>> 2] = 0;
  9445. HEAP32[buf + 64 >>> 2] = stat.mtime.getTime() / 1e3 | 0;
  9446. HEAP32[buf + 68 >>> 2] = 0;
  9447. HEAP32[buf + 72 >>> 2] = stat.ctime.getTime() / 1e3 | 0;
  9448. HEAP32[buf + 76 >>> 2] = 0;
  9449. tempI64 = [stat.ino >>> 0, (tempDouble = stat.ino, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0)], HEAP32[buf + 80 >>> 2] = tempI64[0], HEAP32[buf + 84 >>> 2] = tempI64[1];
  9450. return 0;
  9451. }, doMsync: function(addr, stream, len, flags, offset) {
  9452. var buffer2 = HEAPU8.slice(addr, addr + len);
  9453. FS.msync(stream, buffer2, offset, len, flags);
  9454. }, doMkdir: function(path, mode) {
  9455. path = PATH.normalize(path);
  9456. if (path[path.length - 1] === "/")
  9457. path = path.substr(0, path.length - 1);
  9458. FS.mkdir(path, mode, 0);
  9459. return 0;
  9460. }, doMknod: function(path, mode, dev) {
  9461. switch (mode & 61440) {
  9462. case 32768:
  9463. case 8192:
  9464. case 24576:
  9465. case 4096:
  9466. case 49152:
  9467. break;
  9468. default:
  9469. return -28;
  9470. }
  9471. FS.mknod(path, mode, dev);
  9472. return 0;
  9473. }, doReadlink: function(path, buf, bufsize) {
  9474. if (bufsize <= 0)
  9475. return -28;
  9476. var ret = FS.readlink(path);
  9477. var len = Math.min(bufsize, lengthBytesUTF8(ret));
  9478. var endChar = HEAP8[buf + len >>> 0];
  9479. stringToUTF8(ret, buf, bufsize + 1);
  9480. HEAP8[buf + len >>> 0] = endChar;
  9481. return len;
  9482. }, doAccess: function(path, amode) {
  9483. if (amode & ~7) {
  9484. return -28;
  9485. }
  9486. var node;
  9487. var lookup = FS.lookupPath(path, { follow: true });
  9488. node = lookup.node;
  9489. if (!node) {
  9490. return -44;
  9491. }
  9492. var perms = "";
  9493. if (amode & 4)
  9494. perms += "r";
  9495. if (amode & 2)
  9496. perms += "w";
  9497. if (amode & 1)
  9498. perms += "x";
  9499. if (perms && FS.nodePermissions(node, perms)) {
  9500. return -2;
  9501. }
  9502. return 0;
  9503. }, doDup: function(path, flags, suggestFD) {
  9504. var suggest = FS.getStream(suggestFD);
  9505. if (suggest)
  9506. FS.close(suggest);
  9507. return FS.open(path, flags, 0, suggestFD, suggestFD).fd;
  9508. }, doReadv: function(stream, iov, iovcnt, offset) {
  9509. var ret = 0;
  9510. for (var i = 0; i < iovcnt; i++) {
  9511. var ptr = HEAP32[iov + i * 8 >>> 2];
  9512. var len = HEAP32[iov + (i * 8 + 4) >>> 2];
  9513. var curr = FS.read(stream, HEAP8, ptr, len, offset);
  9514. if (curr < 0)
  9515. return -1;
  9516. ret += curr;
  9517. if (curr < len)
  9518. break;
  9519. }
  9520. return ret;
  9521. }, doWritev: function(stream, iov, iovcnt, offset) {
  9522. var ret = 0;
  9523. for (var i = 0; i < iovcnt; i++) {
  9524. var ptr = HEAP32[iov + i * 8 >>> 2];
  9525. var len = HEAP32[iov + (i * 8 + 4) >>> 2];
  9526. var curr = FS.write(stream, HEAP8, ptr, len, offset);
  9527. if (curr < 0)
  9528. return -1;
  9529. ret += curr;
  9530. }
  9531. return ret;
  9532. }, varargs: void 0, get: function() {
  9533. SYSCALLS.varargs += 4;
  9534. var ret = HEAP32[SYSCALLS.varargs - 4 >>> 2];
  9535. return ret;
  9536. }, getStr: function(ptr) {
  9537. var ret = UTF8ToString(ptr);
  9538. return ret;
  9539. }, getStreamFromFD: function(fd) {
  9540. var stream = FS.getStream(fd);
  9541. if (!stream)
  9542. throw new FS.ErrnoError(8);
  9543. return stream;
  9544. }, get64: function(low, high) {
  9545. return low;
  9546. } };
  9547. function ___sys_fcntl64(fd, cmd, varargs) {
  9548. SYSCALLS.varargs = varargs;
  9549. try {
  9550. var stream = SYSCALLS.getStreamFromFD(fd);
  9551. switch (cmd) {
  9552. case 0: {
  9553. var arg = SYSCALLS.get();
  9554. if (arg < 0) {
  9555. return -28;
  9556. }
  9557. var newStream;
  9558. newStream = FS.open(stream.path, stream.flags, 0, arg);
  9559. return newStream.fd;
  9560. }
  9561. case 1:
  9562. case 2:
  9563. return 0;
  9564. case 3:
  9565. return stream.flags;
  9566. case 4: {
  9567. var arg = SYSCALLS.get();
  9568. stream.flags |= arg;
  9569. return 0;
  9570. }
  9571. case 12: {
  9572. var arg = SYSCALLS.get();
  9573. var offset = 0;
  9574. HEAP16[arg + offset >>> 1] = 2;
  9575. return 0;
  9576. }
  9577. case 13:
  9578. case 14:
  9579. return 0;
  9580. case 16:
  9581. case 8:
  9582. return -28;
  9583. case 9:
  9584. setErrNo(28);
  9585. return -1;
  9586. default: {
  9587. return -28;
  9588. }
  9589. }
  9590. } catch (e) {
  9591. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  9592. abort(e);
  9593. return -e.errno;
  9594. }
  9595. }
  9596. function ___sys_ioctl(fd, op, varargs) {
  9597. SYSCALLS.varargs = varargs;
  9598. try {
  9599. var stream = SYSCALLS.getStreamFromFD(fd);
  9600. switch (op) {
  9601. case 21509:
  9602. case 21505: {
  9603. if (!stream.tty)
  9604. return -59;
  9605. return 0;
  9606. }
  9607. case 21510:
  9608. case 21511:
  9609. case 21512:
  9610. case 21506:
  9611. case 21507:
  9612. case 21508: {
  9613. if (!stream.tty)
  9614. return -59;
  9615. return 0;
  9616. }
  9617. case 21519: {
  9618. if (!stream.tty)
  9619. return -59;
  9620. var argp = SYSCALLS.get();
  9621. HEAP32[argp >>> 2] = 0;
  9622. return 0;
  9623. }
  9624. case 21520: {
  9625. if (!stream.tty)
  9626. return -59;
  9627. return -28;
  9628. }
  9629. case 21531: {
  9630. var argp = SYSCALLS.get();
  9631. return FS.ioctl(stream, op, argp);
  9632. }
  9633. case 21523: {
  9634. if (!stream.tty)
  9635. return -59;
  9636. return 0;
  9637. }
  9638. case 21524: {
  9639. if (!stream.tty)
  9640. return -59;
  9641. return 0;
  9642. }
  9643. default:
  9644. abort("bad ioctl syscall " + op);
  9645. }
  9646. } catch (e) {
  9647. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  9648. abort(e);
  9649. return -e.errno;
  9650. }
  9651. }
  9652. function ___sys_open(path, flags, varargs) {
  9653. SYSCALLS.varargs = varargs;
  9654. try {
  9655. var pathname = SYSCALLS.getStr(path);
  9656. var mode = varargs ? SYSCALLS.get() : 0;
  9657. var stream = FS.open(pathname, flags, mode);
  9658. return stream.fd;
  9659. } catch (e) {
  9660. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  9661. abort(e);
  9662. return -e.errno;
  9663. }
  9664. }
  9665. var tupleRegistrations = {};
  9666. function runDestructors(destructors) {
  9667. while (destructors.length) {
  9668. var ptr = destructors.pop();
  9669. var del = destructors.pop();
  9670. del(ptr);
  9671. }
  9672. }
  9673. function simpleReadValueFromPointer(pointer) {
  9674. return this["fromWireType"](HEAPU32[pointer >>> 2]);
  9675. }
  9676. var awaitingDependencies = {};
  9677. var registeredTypes = {};
  9678. var typeDependencies = {};
  9679. var char_0 = 48;
  9680. var char_9 = 57;
  9681. function makeLegalFunctionName(name2) {
  9682. if (name2 === void 0) {
  9683. return "_unknown";
  9684. }
  9685. name2 = name2.replace(/[^a-zA-Z0-9_]/g, "$");
  9686. var f = name2.charCodeAt(0);
  9687. if (f >= char_0 && f <= char_9) {
  9688. return "_" + name2;
  9689. } else {
  9690. return name2;
  9691. }
  9692. }
  9693. function createNamedFunction(name2, body) {
  9694. name2 = makeLegalFunctionName(name2);
  9695. return new Function("body", "return function " + name2 + '() {\n "use strict"; return body.apply(this, arguments);\n};\n')(body);
  9696. }
  9697. function extendError(baseErrorType, errorName) {
  9698. var errorClass = createNamedFunction(errorName, function(message) {
  9699. this.name = errorName;
  9700. this.message = message;
  9701. var stack = new Error(message).stack;
  9702. if (stack !== void 0) {
  9703. this.stack = this.toString() + "\n" + stack.replace(/^Error(:[^\n]*)?\n/, "");
  9704. }
  9705. });
  9706. errorClass.prototype = Object.create(baseErrorType.prototype);
  9707. errorClass.prototype.constructor = errorClass;
  9708. errorClass.prototype.toString = function() {
  9709. if (this.message === void 0) {
  9710. return this.name;
  9711. } else {
  9712. return this.name + ": " + this.message;
  9713. }
  9714. };
  9715. return errorClass;
  9716. }
  9717. var InternalError = void 0;
  9718. function throwInternalError(message) {
  9719. throw new InternalError(message);
  9720. }
  9721. function whenDependentTypesAreResolved(myTypes, dependentTypes, getTypeConverters) {
  9722. myTypes.forEach(function(type) {
  9723. typeDependencies[type] = dependentTypes;
  9724. });
  9725. function onComplete(typeConverters2) {
  9726. var myTypeConverters = getTypeConverters(typeConverters2);
  9727. if (myTypeConverters.length !== myTypes.length) {
  9728. throwInternalError("Mismatched type converter count");
  9729. }
  9730. for (var i = 0; i < myTypes.length; ++i) {
  9731. registerType(myTypes[i], myTypeConverters[i]);
  9732. }
  9733. }
  9734. var typeConverters = new Array(dependentTypes.length);
  9735. var unregisteredTypes = [];
  9736. var registered = 0;
  9737. dependentTypes.forEach(function(dt, i) {
  9738. if (registeredTypes.hasOwnProperty(dt)) {
  9739. typeConverters[i] = registeredTypes[dt];
  9740. } else {
  9741. unregisteredTypes.push(dt);
  9742. if (!awaitingDependencies.hasOwnProperty(dt)) {
  9743. awaitingDependencies[dt] = [];
  9744. }
  9745. awaitingDependencies[dt].push(function() {
  9746. typeConverters[i] = registeredTypes[dt];
  9747. ++registered;
  9748. if (registered === unregisteredTypes.length) {
  9749. onComplete(typeConverters);
  9750. }
  9751. });
  9752. }
  9753. });
  9754. if (unregisteredTypes.length === 0) {
  9755. onComplete(typeConverters);
  9756. }
  9757. }
  9758. function __embind_finalize_value_array(rawTupleType) {
  9759. var reg = tupleRegistrations[rawTupleType];
  9760. delete tupleRegistrations[rawTupleType];
  9761. var elements = reg.elements;
  9762. var elementsLength = elements.length;
  9763. var elementTypes = elements.map(function(elt) {
  9764. return elt.getterReturnType;
  9765. }).concat(elements.map(function(elt) {
  9766. return elt.setterArgumentType;
  9767. }));
  9768. var rawConstructor = reg.rawConstructor;
  9769. var rawDestructor = reg.rawDestructor;
  9770. whenDependentTypesAreResolved([rawTupleType], elementTypes, function(elementTypes2) {
  9771. elements.forEach(function(elt, i) {
  9772. var getterReturnType = elementTypes2[i];
  9773. var getter = elt.getter;
  9774. var getterContext = elt.getterContext;
  9775. var setterArgumentType = elementTypes2[i + elementsLength];
  9776. var setter = elt.setter;
  9777. var setterContext = elt.setterContext;
  9778. elt.read = function(ptr) {
  9779. return getterReturnType["fromWireType"](getter(getterContext, ptr));
  9780. };
  9781. elt.write = function(ptr, o) {
  9782. var destructors = [];
  9783. setter(setterContext, ptr, setterArgumentType["toWireType"](destructors, o));
  9784. runDestructors(destructors);
  9785. };
  9786. });
  9787. return [{ name: reg.name, "fromWireType": function(ptr) {
  9788. var rv = new Array(elementsLength);
  9789. for (var i = 0; i < elementsLength; ++i) {
  9790. rv[i] = elements[i].read(ptr);
  9791. }
  9792. rawDestructor(ptr);
  9793. return rv;
  9794. }, "toWireType": function(destructors, o) {
  9795. if (elementsLength !== o.length) {
  9796. throw new TypeError("Incorrect number of tuple elements for " + reg.name + ": expected=" + elementsLength + ", actual=" + o.length);
  9797. }
  9798. var ptr = rawConstructor();
  9799. for (var i = 0; i < elementsLength; ++i) {
  9800. elements[i].write(ptr, o[i]);
  9801. }
  9802. if (destructors !== null) {
  9803. destructors.push(rawDestructor, ptr);
  9804. }
  9805. return ptr;
  9806. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: rawDestructor }];
  9807. });
  9808. }
  9809. var structRegistrations = {};
  9810. function __embind_finalize_value_object(structType) {
  9811. var reg = structRegistrations[structType];
  9812. delete structRegistrations[structType];
  9813. var rawConstructor = reg.rawConstructor;
  9814. var rawDestructor = reg.rawDestructor;
  9815. var fieldRecords = reg.fields;
  9816. var fieldTypes = fieldRecords.map(function(field) {
  9817. return field.getterReturnType;
  9818. }).concat(fieldRecords.map(function(field) {
  9819. return field.setterArgumentType;
  9820. }));
  9821. whenDependentTypesAreResolved([structType], fieldTypes, function(fieldTypes2) {
  9822. var fields = {};
  9823. fieldRecords.forEach(function(field, i) {
  9824. var fieldName = field.fieldName;
  9825. var getterReturnType = fieldTypes2[i];
  9826. var getter = field.getter;
  9827. var getterContext = field.getterContext;
  9828. var setterArgumentType = fieldTypes2[i + fieldRecords.length];
  9829. var setter = field.setter;
  9830. var setterContext = field.setterContext;
  9831. fields[fieldName] = { read: function(ptr) {
  9832. return getterReturnType["fromWireType"](getter(getterContext, ptr));
  9833. }, write: function(ptr, o) {
  9834. var destructors = [];
  9835. setter(setterContext, ptr, setterArgumentType["toWireType"](destructors, o));
  9836. runDestructors(destructors);
  9837. } };
  9838. });
  9839. return [{ name: reg.name, "fromWireType": function(ptr) {
  9840. var rv = {};
  9841. for (var i in fields) {
  9842. rv[i] = fields[i].read(ptr);
  9843. }
  9844. rawDestructor(ptr);
  9845. return rv;
  9846. }, "toWireType": function(destructors, o) {
  9847. for (var fieldName in fields) {
  9848. if (!(fieldName in o)) {
  9849. throw new TypeError('Missing field: "' + fieldName + '"');
  9850. }
  9851. }
  9852. var ptr = rawConstructor();
  9853. for (fieldName in fields) {
  9854. fields[fieldName].write(ptr, o[fieldName]);
  9855. }
  9856. if (destructors !== null) {
  9857. destructors.push(rawDestructor, ptr);
  9858. }
  9859. return ptr;
  9860. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: rawDestructor }];
  9861. });
  9862. }
  9863. function __embind_register_bigint(primitiveType, name2, size, minRange, maxRange) {
  9864. }
  9865. function getShiftFromSize(size) {
  9866. switch (size) {
  9867. case 1:
  9868. return 0;
  9869. case 2:
  9870. return 1;
  9871. case 4:
  9872. return 2;
  9873. case 8:
  9874. return 3;
  9875. default:
  9876. throw new TypeError("Unknown type size: " + size);
  9877. }
  9878. }
  9879. function embind_init_charCodes() {
  9880. var codes = new Array(256);
  9881. for (var i = 0; i < 256; ++i) {
  9882. codes[i] = String.fromCharCode(i);
  9883. }
  9884. embind_charCodes = codes;
  9885. }
  9886. var embind_charCodes = void 0;
  9887. function readLatin1String(ptr) {
  9888. var ret = "";
  9889. var c = ptr;
  9890. while (HEAPU8[c >>> 0]) {
  9891. ret += embind_charCodes[HEAPU8[c++ >>> 0]];
  9892. }
  9893. return ret;
  9894. }
  9895. var BindingError = void 0;
  9896. function throwBindingError(message) {
  9897. throw new BindingError(message);
  9898. }
  9899. function registerType(rawType, registeredInstance, options) {
  9900. options = options || {};
  9901. if (!("argPackAdvance" in registeredInstance)) {
  9902. throw new TypeError("registerType registeredInstance requires argPackAdvance");
  9903. }
  9904. var name2 = registeredInstance.name;
  9905. if (!rawType) {
  9906. throwBindingError('type "' + name2 + '" must have a positive integer typeid pointer');
  9907. }
  9908. if (registeredTypes.hasOwnProperty(rawType)) {
  9909. if (options.ignoreDuplicateRegistrations) {
  9910. return;
  9911. } else {
  9912. throwBindingError("Cannot register type '" + name2 + "' twice");
  9913. }
  9914. }
  9915. registeredTypes[rawType] = registeredInstance;
  9916. delete typeDependencies[rawType];
  9917. if (awaitingDependencies.hasOwnProperty(rawType)) {
  9918. var callbacks = awaitingDependencies[rawType];
  9919. delete awaitingDependencies[rawType];
  9920. callbacks.forEach(function(cb) {
  9921. cb();
  9922. });
  9923. }
  9924. }
  9925. function __embind_register_bool(rawType, name2, size, trueValue, falseValue) {
  9926. var shift = getShiftFromSize(size);
  9927. name2 = readLatin1String(name2);
  9928. registerType(rawType, { name: name2, "fromWireType": function(wt) {
  9929. return !!wt;
  9930. }, "toWireType": function(destructors, o) {
  9931. return o ? trueValue : falseValue;
  9932. }, "argPackAdvance": 8, "readValueFromPointer": function(pointer) {
  9933. var heap;
  9934. if (size === 1) {
  9935. heap = HEAP8;
  9936. } else if (size === 2) {
  9937. heap = HEAP16;
  9938. } else if (size === 4) {
  9939. heap = HEAP32;
  9940. } else {
  9941. throw new TypeError("Unknown boolean type size: " + name2);
  9942. }
  9943. return this["fromWireType"](heap[pointer >>> shift]);
  9944. }, destructorFunction: null });
  9945. }
  9946. function ClassHandle_isAliasOf(other) {
  9947. if (!(this instanceof ClassHandle)) {
  9948. return false;
  9949. }
  9950. if (!(other instanceof ClassHandle)) {
  9951. return false;
  9952. }
  9953. var leftClass = this.$$.ptrType.registeredClass;
  9954. var left = this.$$.ptr;
  9955. var rightClass = other.$$.ptrType.registeredClass;
  9956. var right = other.$$.ptr;
  9957. while (leftClass.baseClass) {
  9958. left = leftClass.upcast(left);
  9959. leftClass = leftClass.baseClass;
  9960. }
  9961. while (rightClass.baseClass) {
  9962. right = rightClass.upcast(right);
  9963. rightClass = rightClass.baseClass;
  9964. }
  9965. return leftClass === rightClass && left === right;
  9966. }
  9967. function shallowCopyInternalPointer(o) {
  9968. return { count: o.count, deleteScheduled: o.deleteScheduled, preservePointerOnDelete: o.preservePointerOnDelete, ptr: o.ptr, ptrType: o.ptrType, smartPtr: o.smartPtr, smartPtrType: o.smartPtrType };
  9969. }
  9970. function throwInstanceAlreadyDeleted(obj) {
  9971. function getInstanceTypeName(handle) {
  9972. return handle.$$.ptrType.registeredClass.name;
  9973. }
  9974. throwBindingError(getInstanceTypeName(obj) + " instance already deleted");
  9975. }
  9976. var finalizationGroup = false;
  9977. function detachFinalizer(handle) {
  9978. }
  9979. function runDestructor($$) {
  9980. if ($$.smartPtr) {
  9981. $$.smartPtrType.rawDestructor($$.smartPtr);
  9982. } else {
  9983. $$.ptrType.registeredClass.rawDestructor($$.ptr);
  9984. }
  9985. }
  9986. function releaseClassHandle($$) {
  9987. $$.count.value -= 1;
  9988. var toDelete = $$.count.value === 0;
  9989. if (toDelete) {
  9990. runDestructor($$);
  9991. }
  9992. }
  9993. function attachFinalizer(handle) {
  9994. if (typeof FinalizationGroup === "undefined") {
  9995. attachFinalizer = function(handle2) {
  9996. return handle2;
  9997. };
  9998. return handle;
  9999. }
  10000. finalizationGroup = new FinalizationGroup(function(iter) {
  10001. for (var result = iter.next(); !result.done; result = iter.next()) {
  10002. var $$ = result.value;
  10003. if (!$$.ptr) {
  10004. console.warn("object already deleted: " + $$.ptr);
  10005. } else {
  10006. releaseClassHandle($$);
  10007. }
  10008. }
  10009. });
  10010. attachFinalizer = function(handle2) {
  10011. finalizationGroup.register(handle2, handle2.$$, handle2.$$);
  10012. return handle2;
  10013. };
  10014. detachFinalizer = function(handle2) {
  10015. finalizationGroup.unregister(handle2.$$);
  10016. };
  10017. return attachFinalizer(handle);
  10018. }
  10019. function ClassHandle_clone() {
  10020. if (!this.$$.ptr) {
  10021. throwInstanceAlreadyDeleted(this);
  10022. }
  10023. if (this.$$.preservePointerOnDelete) {
  10024. this.$$.count.value += 1;
  10025. return this;
  10026. } else {
  10027. var clone = attachFinalizer(Object.create(Object.getPrototypeOf(this), { $$: { value: shallowCopyInternalPointer(this.$$) } }));
  10028. clone.$$.count.value += 1;
  10029. clone.$$.deleteScheduled = false;
  10030. return clone;
  10031. }
  10032. }
  10033. function ClassHandle_delete() {
  10034. if (!this.$$.ptr) {
  10035. throwInstanceAlreadyDeleted(this);
  10036. }
  10037. if (this.$$.deleteScheduled && !this.$$.preservePointerOnDelete) {
  10038. throwBindingError("Object already scheduled for deletion");
  10039. }
  10040. detachFinalizer(this);
  10041. releaseClassHandle(this.$$);
  10042. if (!this.$$.preservePointerOnDelete) {
  10043. this.$$.smartPtr = void 0;
  10044. this.$$.ptr = void 0;
  10045. }
  10046. }
  10047. function ClassHandle_isDeleted() {
  10048. return !this.$$.ptr;
  10049. }
  10050. var delayFunction = void 0;
  10051. var deletionQueue = [];
  10052. function flushPendingDeletes() {
  10053. while (deletionQueue.length) {
  10054. var obj = deletionQueue.pop();
  10055. obj.$$.deleteScheduled = false;
  10056. obj["delete"]();
  10057. }
  10058. }
  10059. function ClassHandle_deleteLater() {
  10060. if (!this.$$.ptr) {
  10061. throwInstanceAlreadyDeleted(this);
  10062. }
  10063. if (this.$$.deleteScheduled && !this.$$.preservePointerOnDelete) {
  10064. throwBindingError("Object already scheduled for deletion");
  10065. }
  10066. deletionQueue.push(this);
  10067. if (deletionQueue.length === 1 && delayFunction) {
  10068. delayFunction(flushPendingDeletes);
  10069. }
  10070. this.$$.deleteScheduled = true;
  10071. return this;
  10072. }
  10073. function init_ClassHandle() {
  10074. ClassHandle.prototype["isAliasOf"] = ClassHandle_isAliasOf;
  10075. ClassHandle.prototype["clone"] = ClassHandle_clone;
  10076. ClassHandle.prototype["delete"] = ClassHandle_delete;
  10077. ClassHandle.prototype["isDeleted"] = ClassHandle_isDeleted;
  10078. ClassHandle.prototype["deleteLater"] = ClassHandle_deleteLater;
  10079. }
  10080. function ClassHandle() {
  10081. }
  10082. var registeredPointers = {};
  10083. function ensureOverloadTable(proto, methodName, humanName) {
  10084. if (proto[methodName].overloadTable === void 0) {
  10085. var prevFunc = proto[methodName];
  10086. proto[methodName] = function() {
  10087. if (!proto[methodName].overloadTable.hasOwnProperty(arguments.length)) {
  10088. throwBindingError("Function '" + humanName + "' called with an invalid number of arguments (" + arguments.length + ") - expects one of (" + proto[methodName].overloadTable + ")!");
  10089. }
  10090. return proto[methodName].overloadTable[arguments.length].apply(this, arguments);
  10091. };
  10092. proto[methodName].overloadTable = [];
  10093. proto[methodName].overloadTable[prevFunc.argCount] = prevFunc;
  10094. }
  10095. }
  10096. function exposePublicSymbol(name2, value, numArguments) {
  10097. if (Module.hasOwnProperty(name2)) {
  10098. if (numArguments === void 0 || Module[name2].overloadTable !== void 0 && Module[name2].overloadTable[numArguments] !== void 0) {
  10099. throwBindingError("Cannot register public name '" + name2 + "' twice");
  10100. }
  10101. ensureOverloadTable(Module, name2, name2);
  10102. if (Module.hasOwnProperty(numArguments)) {
  10103. throwBindingError("Cannot register multiple overloads of a function with the same number of arguments (" + numArguments + ")!");
  10104. }
  10105. Module[name2].overloadTable[numArguments] = value;
  10106. } else {
  10107. Module[name2] = value;
  10108. if (numArguments !== void 0) {
  10109. Module[name2].numArguments = numArguments;
  10110. }
  10111. }
  10112. }
  10113. function RegisteredClass(name2, constructor, instancePrototype, rawDestructor, baseClass, getActualType, upcast, downcast) {
  10114. this.name = name2;
  10115. this.constructor = constructor;
  10116. this.instancePrototype = instancePrototype;
  10117. this.rawDestructor = rawDestructor;
  10118. this.baseClass = baseClass;
  10119. this.getActualType = getActualType;
  10120. this.upcast = upcast;
  10121. this.downcast = downcast;
  10122. this.pureVirtualFunctions = [];
  10123. }
  10124. function upcastPointer(ptr, ptrClass, desiredClass) {
  10125. while (ptrClass !== desiredClass) {
  10126. if (!ptrClass.upcast) {
  10127. throwBindingError("Expected null or instance of " + desiredClass.name + ", got an instance of " + ptrClass.name);
  10128. }
  10129. ptr = ptrClass.upcast(ptr);
  10130. ptrClass = ptrClass.baseClass;
  10131. }
  10132. return ptr;
  10133. }
  10134. function constNoSmartPtrRawPointerToWireType(destructors, handle) {
  10135. if (handle === null) {
  10136. if (this.isReference) {
  10137. throwBindingError("null is not a valid " + this.name);
  10138. }
  10139. return 0;
  10140. }
  10141. if (!handle.$$) {
  10142. throwBindingError('Cannot pass "' + _embind_repr(handle) + '" as a ' + this.name);
  10143. }
  10144. if (!handle.$$.ptr) {
  10145. throwBindingError("Cannot pass deleted object as a pointer of type " + this.name);
  10146. }
  10147. var handleClass = handle.$$.ptrType.registeredClass;
  10148. var ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass);
  10149. return ptr;
  10150. }
  10151. function genericPointerToWireType(destructors, handle) {
  10152. var ptr;
  10153. if (handle === null) {
  10154. if (this.isReference) {
  10155. throwBindingError("null is not a valid " + this.name);
  10156. }
  10157. if (this.isSmartPointer) {
  10158. ptr = this.rawConstructor();
  10159. if (destructors !== null) {
  10160. destructors.push(this.rawDestructor, ptr);
  10161. }
  10162. return ptr;
  10163. } else {
  10164. return 0;
  10165. }
  10166. }
  10167. if (!handle.$$) {
  10168. throwBindingError('Cannot pass "' + _embind_repr(handle) + '" as a ' + this.name);
  10169. }
  10170. if (!handle.$$.ptr) {
  10171. throwBindingError("Cannot pass deleted object as a pointer of type " + this.name);
  10172. }
  10173. if (!this.isConst && handle.$$.ptrType.isConst) {
  10174. throwBindingError("Cannot convert argument of type " + (handle.$$.smartPtrType ? handle.$$.smartPtrType.name : handle.$$.ptrType.name) + " to parameter type " + this.name);
  10175. }
  10176. var handleClass = handle.$$.ptrType.registeredClass;
  10177. ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass);
  10178. if (this.isSmartPointer) {
  10179. if (handle.$$.smartPtr === void 0) {
  10180. throwBindingError("Passing raw pointer to smart pointer is illegal");
  10181. }
  10182. switch (this.sharingPolicy) {
  10183. case 0:
  10184. if (handle.$$.smartPtrType === this) {
  10185. ptr = handle.$$.smartPtr;
  10186. } else {
  10187. throwBindingError("Cannot convert argument of type " + (handle.$$.smartPtrType ? handle.$$.smartPtrType.name : handle.$$.ptrType.name) + " to parameter type " + this.name);
  10188. }
  10189. break;
  10190. case 1:
  10191. ptr = handle.$$.smartPtr;
  10192. break;
  10193. case 2:
  10194. if (handle.$$.smartPtrType === this) {
  10195. ptr = handle.$$.smartPtr;
  10196. } else {
  10197. var clonedHandle = handle["clone"]();
  10198. ptr = this.rawShare(ptr, __emval_register(function() {
  10199. clonedHandle["delete"]();
  10200. }));
  10201. if (destructors !== null) {
  10202. destructors.push(this.rawDestructor, ptr);
  10203. }
  10204. }
  10205. break;
  10206. default:
  10207. throwBindingError("Unsupporting sharing policy");
  10208. }
  10209. }
  10210. return ptr;
  10211. }
  10212. function nonConstNoSmartPtrRawPointerToWireType(destructors, handle) {
  10213. if (handle === null) {
  10214. if (this.isReference) {
  10215. throwBindingError("null is not a valid " + this.name);
  10216. }
  10217. return 0;
  10218. }
  10219. if (!handle.$$) {
  10220. throwBindingError('Cannot pass "' + _embind_repr(handle) + '" as a ' + this.name);
  10221. }
  10222. if (!handle.$$.ptr) {
  10223. throwBindingError("Cannot pass deleted object as a pointer of type " + this.name);
  10224. }
  10225. if (handle.$$.ptrType.isConst) {
  10226. throwBindingError("Cannot convert argument of type " + handle.$$.ptrType.name + " to parameter type " + this.name);
  10227. }
  10228. var handleClass = handle.$$.ptrType.registeredClass;
  10229. var ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass);
  10230. return ptr;
  10231. }
  10232. function RegisteredPointer_getPointee(ptr) {
  10233. if (this.rawGetPointee) {
  10234. ptr = this.rawGetPointee(ptr);
  10235. }
  10236. return ptr;
  10237. }
  10238. function RegisteredPointer_destructor(ptr) {
  10239. if (this.rawDestructor) {
  10240. this.rawDestructor(ptr);
  10241. }
  10242. }
  10243. function RegisteredPointer_deleteObject(handle) {
  10244. if (handle !== null) {
  10245. handle["delete"]();
  10246. }
  10247. }
  10248. function downcastPointer(ptr, ptrClass, desiredClass) {
  10249. if (ptrClass === desiredClass) {
  10250. return ptr;
  10251. }
  10252. if (desiredClass.baseClass === void 0) {
  10253. return null;
  10254. }
  10255. var rv = downcastPointer(ptr, ptrClass, desiredClass.baseClass);
  10256. if (rv === null) {
  10257. return null;
  10258. }
  10259. return desiredClass.downcast(rv);
  10260. }
  10261. function getInheritedInstanceCount() {
  10262. return Object.keys(registeredInstances).length;
  10263. }
  10264. function getLiveInheritedInstances() {
  10265. var rv = [];
  10266. for (var k in registeredInstances) {
  10267. if (registeredInstances.hasOwnProperty(k)) {
  10268. rv.push(registeredInstances[k]);
  10269. }
  10270. }
  10271. return rv;
  10272. }
  10273. function setDelayFunction(fn) {
  10274. delayFunction = fn;
  10275. if (deletionQueue.length && delayFunction) {
  10276. delayFunction(flushPendingDeletes);
  10277. }
  10278. }
  10279. function init_embind() {
  10280. Module["getInheritedInstanceCount"] = getInheritedInstanceCount;
  10281. Module["getLiveInheritedInstances"] = getLiveInheritedInstances;
  10282. Module["flushPendingDeletes"] = flushPendingDeletes;
  10283. Module["setDelayFunction"] = setDelayFunction;
  10284. }
  10285. var registeredInstances = {};
  10286. function getBasestPointer(class_, ptr) {
  10287. if (ptr === void 0) {
  10288. throwBindingError("ptr should not be undefined");
  10289. }
  10290. while (class_.baseClass) {
  10291. ptr = class_.upcast(ptr);
  10292. class_ = class_.baseClass;
  10293. }
  10294. return ptr;
  10295. }
  10296. function getInheritedInstance(class_, ptr) {
  10297. ptr = getBasestPointer(class_, ptr);
  10298. return registeredInstances[ptr];
  10299. }
  10300. function makeClassHandle(prototype, record) {
  10301. if (!record.ptrType || !record.ptr) {
  10302. throwInternalError("makeClassHandle requires ptr and ptrType");
  10303. }
  10304. var hasSmartPtrType = !!record.smartPtrType;
  10305. var hasSmartPtr = !!record.smartPtr;
  10306. if (hasSmartPtrType !== hasSmartPtr) {
  10307. throwInternalError("Both smartPtrType and smartPtr must be specified");
  10308. }
  10309. record.count = { value: 1 };
  10310. return attachFinalizer(Object.create(prototype, { $$: { value: record } }));
  10311. }
  10312. function RegisteredPointer_fromWireType(ptr) {
  10313. var rawPointer = this.getPointee(ptr);
  10314. if (!rawPointer) {
  10315. this.destructor(ptr);
  10316. return null;
  10317. }
  10318. var registeredInstance = getInheritedInstance(this.registeredClass, rawPointer);
  10319. if (registeredInstance !== void 0) {
  10320. if (registeredInstance.$$.count.value === 0) {
  10321. registeredInstance.$$.ptr = rawPointer;
  10322. registeredInstance.$$.smartPtr = ptr;
  10323. return registeredInstance["clone"]();
  10324. } else {
  10325. var rv = registeredInstance["clone"]();
  10326. this.destructor(ptr);
  10327. return rv;
  10328. }
  10329. }
  10330. function makeDefaultHandle() {
  10331. if (this.isSmartPointer) {
  10332. return makeClassHandle(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: rawPointer, smartPtrType: this, smartPtr: ptr });
  10333. } else {
  10334. return makeClassHandle(this.registeredClass.instancePrototype, { ptrType: this, ptr });
  10335. }
  10336. }
  10337. var actualType = this.registeredClass.getActualType(rawPointer);
  10338. var registeredPointerRecord = registeredPointers[actualType];
  10339. if (!registeredPointerRecord) {
  10340. return makeDefaultHandle.call(this);
  10341. }
  10342. var toType;
  10343. if (this.isConst) {
  10344. toType = registeredPointerRecord.constPointerType;
  10345. } else {
  10346. toType = registeredPointerRecord.pointerType;
  10347. }
  10348. var dp = downcastPointer(rawPointer, this.registeredClass, toType.registeredClass);
  10349. if (dp === null) {
  10350. return makeDefaultHandle.call(this);
  10351. }
  10352. if (this.isSmartPointer) {
  10353. return makeClassHandle(toType.registeredClass.instancePrototype, { ptrType: toType, ptr: dp, smartPtrType: this, smartPtr: ptr });
  10354. } else {
  10355. return makeClassHandle(toType.registeredClass.instancePrototype, { ptrType: toType, ptr: dp });
  10356. }
  10357. }
  10358. function init_RegisteredPointer() {
  10359. RegisteredPointer.prototype.getPointee = RegisteredPointer_getPointee;
  10360. RegisteredPointer.prototype.destructor = RegisteredPointer_destructor;
  10361. RegisteredPointer.prototype["argPackAdvance"] = 8;
  10362. RegisteredPointer.prototype["readValueFromPointer"] = simpleReadValueFromPointer;
  10363. RegisteredPointer.prototype["deleteObject"] = RegisteredPointer_deleteObject;
  10364. RegisteredPointer.prototype["fromWireType"] = RegisteredPointer_fromWireType;
  10365. }
  10366. function RegisteredPointer(name2, registeredClass, isReference, isConst, isSmartPointer, pointeeType, sharingPolicy, rawGetPointee, rawConstructor, rawShare, rawDestructor) {
  10367. this.name = name2;
  10368. this.registeredClass = registeredClass;
  10369. this.isReference = isReference;
  10370. this.isConst = isConst;
  10371. this.isSmartPointer = isSmartPointer;
  10372. this.pointeeType = pointeeType;
  10373. this.sharingPolicy = sharingPolicy;
  10374. this.rawGetPointee = rawGetPointee;
  10375. this.rawConstructor = rawConstructor;
  10376. this.rawShare = rawShare;
  10377. this.rawDestructor = rawDestructor;
  10378. if (!isSmartPointer && registeredClass.baseClass === void 0) {
  10379. if (isConst) {
  10380. this["toWireType"] = constNoSmartPtrRawPointerToWireType;
  10381. this.destructorFunction = null;
  10382. } else {
  10383. this["toWireType"] = nonConstNoSmartPtrRawPointerToWireType;
  10384. this.destructorFunction = null;
  10385. }
  10386. } else {
  10387. this["toWireType"] = genericPointerToWireType;
  10388. }
  10389. }
  10390. function replacePublicSymbol(name2, value, numArguments) {
  10391. if (!Module.hasOwnProperty(name2)) {
  10392. throwInternalError("Replacing nonexistant public symbol");
  10393. }
  10394. if (Module[name2].overloadTable !== void 0 && numArguments !== void 0) {
  10395. Module[name2].overloadTable[numArguments] = value;
  10396. } else {
  10397. Module[name2] = value;
  10398. Module[name2].argCount = numArguments;
  10399. }
  10400. }
  10401. function dynCallLegacy(sig, ptr, args) {
  10402. var f = Module["dynCall_" + sig];
  10403. return args && args.length ? f.apply(null, [ptr].concat(args)) : f.call(null, ptr);
  10404. }
  10405. function dynCall(sig, ptr, args) {
  10406. if (sig.includes("j")) {
  10407. return dynCallLegacy(sig, ptr, args);
  10408. }
  10409. return wasmTable.get(ptr).apply(null, args);
  10410. }
  10411. function getDynCaller(sig, ptr) {
  10412. var argCache = [];
  10413. return function() {
  10414. argCache.length = arguments.length;
  10415. for (var i = 0; i < arguments.length; i++) {
  10416. argCache[i] = arguments[i];
  10417. }
  10418. return dynCall(sig, ptr, argCache);
  10419. };
  10420. }
  10421. function embind__requireFunction(signature, rawFunction) {
  10422. signature = readLatin1String(signature);
  10423. function makeDynCaller() {
  10424. if (signature.includes("j")) {
  10425. return getDynCaller(signature, rawFunction);
  10426. }
  10427. return wasmTable.get(rawFunction);
  10428. }
  10429. var fp = makeDynCaller();
  10430. if (typeof fp !== "function") {
  10431. throwBindingError("unknown function pointer with signature " + signature + ": " + rawFunction);
  10432. }
  10433. return fp;
  10434. }
  10435. var UnboundTypeError = void 0;
  10436. function getTypeName(type) {
  10437. var ptr = ___getTypeName(type);
  10438. var rv = readLatin1String(ptr);
  10439. _free(ptr);
  10440. return rv;
  10441. }
  10442. function throwUnboundTypeError(message, types) {
  10443. var unboundTypes = [];
  10444. var seen = {};
  10445. function visit(type) {
  10446. if (seen[type]) {
  10447. return;
  10448. }
  10449. if (registeredTypes[type]) {
  10450. return;
  10451. }
  10452. if (typeDependencies[type]) {
  10453. typeDependencies[type].forEach(visit);
  10454. return;
  10455. }
  10456. unboundTypes.push(type);
  10457. seen[type] = true;
  10458. }
  10459. types.forEach(visit);
  10460. throw new UnboundTypeError(message + ": " + unboundTypes.map(getTypeName).join([", "]));
  10461. }
  10462. function __embind_register_class(rawType, rawPointerType, rawConstPointerType, baseClassRawType, getActualTypeSignature, getActualType, upcastSignature, upcast, downcastSignature, downcast, name2, destructorSignature, rawDestructor) {
  10463. name2 = readLatin1String(name2);
  10464. getActualType = embind__requireFunction(getActualTypeSignature, getActualType);
  10465. if (upcast) {
  10466. upcast = embind__requireFunction(upcastSignature, upcast);
  10467. }
  10468. if (downcast) {
  10469. downcast = embind__requireFunction(downcastSignature, downcast);
  10470. }
  10471. rawDestructor = embind__requireFunction(destructorSignature, rawDestructor);
  10472. var legalFunctionName = makeLegalFunctionName(name2);
  10473. exposePublicSymbol(legalFunctionName, function() {
  10474. throwUnboundTypeError("Cannot construct " + name2 + " due to unbound types", [baseClassRawType]);
  10475. });
  10476. whenDependentTypesAreResolved([rawType, rawPointerType, rawConstPointerType], baseClassRawType ? [baseClassRawType] : [], function(base) {
  10477. base = base[0];
  10478. var baseClass;
  10479. var basePrototype;
  10480. if (baseClassRawType) {
  10481. baseClass = base.registeredClass;
  10482. basePrototype = baseClass.instancePrototype;
  10483. } else {
  10484. basePrototype = ClassHandle.prototype;
  10485. }
  10486. var constructor = createNamedFunction(legalFunctionName, function() {
  10487. if (Object.getPrototypeOf(this) !== instancePrototype) {
  10488. throw new BindingError("Use 'new' to construct " + name2);
  10489. }
  10490. if (registeredClass.constructor_body === void 0) {
  10491. throw new BindingError(name2 + " has no accessible constructor");
  10492. }
  10493. var body = registeredClass.constructor_body[arguments.length];
  10494. if (body === void 0) {
  10495. throw new BindingError("Tried to invoke ctor of " + name2 + " with invalid number of parameters (" + arguments.length + ") - expected (" + Object.keys(registeredClass.constructor_body).toString() + ") parameters instead!");
  10496. }
  10497. return body.apply(this, arguments);
  10498. });
  10499. var instancePrototype = Object.create(basePrototype, { constructor: { value: constructor } });
  10500. constructor.prototype = instancePrototype;
  10501. var registeredClass = new RegisteredClass(name2, constructor, instancePrototype, rawDestructor, baseClass, getActualType, upcast, downcast);
  10502. var referenceConverter = new RegisteredPointer(name2, registeredClass, true, false, false);
  10503. var pointerConverter = new RegisteredPointer(name2 + "*", registeredClass, false, false, false);
  10504. var constPointerConverter = new RegisteredPointer(name2 + " const*", registeredClass, false, true, false);
  10505. registeredPointers[rawType] = { pointerType: pointerConverter, constPointerType: constPointerConverter };
  10506. replacePublicSymbol(legalFunctionName, constructor);
  10507. return [referenceConverter, pointerConverter, constPointerConverter];
  10508. });
  10509. }
  10510. function heap32VectorToArray(count, firstElement) {
  10511. var array = [];
  10512. for (var i = 0; i < count; i++) {
  10513. array.push(HEAP32[(firstElement >> 2) + i >>> 0]);
  10514. }
  10515. return array;
  10516. }
  10517. function __embind_register_class_constructor(rawClassType, argCount, rawArgTypesAddr, invokerSignature, invoker, rawConstructor) {
  10518. assert(argCount > 0);
  10519. var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr);
  10520. invoker = embind__requireFunction(invokerSignature, invoker);
  10521. var args = [rawConstructor];
  10522. var destructors = [];
  10523. whenDependentTypesAreResolved([], [rawClassType], function(classType) {
  10524. classType = classType[0];
  10525. var humanName = "constructor " + classType.name;
  10526. if (classType.registeredClass.constructor_body === void 0) {
  10527. classType.registeredClass.constructor_body = [];
  10528. }
  10529. if (classType.registeredClass.constructor_body[argCount - 1] !== void 0) {
  10530. throw new BindingError("Cannot register multiple constructors with identical number of parameters (" + (argCount - 1) + ") for class '" + classType.name + "'! Overload resolution is currently only performed using the parameter count, not actual type info!");
  10531. }
  10532. classType.registeredClass.constructor_body[argCount - 1] = function unboundTypeHandler() {
  10533. throwUnboundTypeError("Cannot construct " + classType.name + " due to unbound types", rawArgTypes);
  10534. };
  10535. whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) {
  10536. classType.registeredClass.constructor_body[argCount - 1] = function constructor_body() {
  10537. if (arguments.length !== argCount - 1) {
  10538. throwBindingError(humanName + " called with " + arguments.length + " arguments, expected " + (argCount - 1));
  10539. }
  10540. destructors.length = 0;
  10541. args.length = argCount;
  10542. for (var i = 1; i < argCount; ++i) {
  10543. args[i] = argTypes[i]["toWireType"](destructors, arguments[i - 1]);
  10544. }
  10545. var ptr = invoker.apply(null, args);
  10546. runDestructors(destructors);
  10547. return argTypes[0]["fromWireType"](ptr);
  10548. };
  10549. return [];
  10550. });
  10551. return [];
  10552. });
  10553. }
  10554. function new_(constructor, argumentList) {
  10555. if (!(constructor instanceof Function)) {
  10556. throw new TypeError("new_ called with constructor type " + typeof constructor + " which is not a function");
  10557. }
  10558. var dummy = createNamedFunction(constructor.name || "unknownFunctionName", function() {
  10559. });
  10560. dummy.prototype = constructor.prototype;
  10561. var obj = new dummy();
  10562. var r = constructor.apply(obj, argumentList);
  10563. return r instanceof Object ? r : obj;
  10564. }
  10565. function craftInvokerFunction(humanName, argTypes, classType, cppInvokerFunc, cppTargetFunc) {
  10566. var argCount = argTypes.length;
  10567. if (argCount < 2) {
  10568. throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!");
  10569. }
  10570. var isClassMethodFunc = argTypes[1] !== null && classType !== null;
  10571. var needsDestructorStack = false;
  10572. for (var i = 1; i < argTypes.length; ++i) {
  10573. if (argTypes[i] !== null && argTypes[i].destructorFunction === void 0) {
  10574. needsDestructorStack = true;
  10575. break;
  10576. }
  10577. }
  10578. var returns = argTypes[0].name !== "void";
  10579. var argsList = "";
  10580. var argsListWired = "";
  10581. for (var i = 0; i < argCount - 2; ++i) {
  10582. argsList += (i !== 0 ? ", " : "") + "arg" + i;
  10583. argsListWired += (i !== 0 ? ", " : "") + "arg" + i + "Wired";
  10584. }
  10585. var invokerFnBody = "return function " + makeLegalFunctionName(humanName) + "(" + argsList + ") {\nif (arguments.length !== " + (argCount - 2) + ") {\nthrowBindingError('function " + humanName + " called with ' + arguments.length + ' arguments, expected " + (argCount - 2) + " args!');\n}\n";
  10586. if (needsDestructorStack) {
  10587. invokerFnBody += "var destructors = [];\n";
  10588. }
  10589. var dtorStack = needsDestructorStack ? "destructors" : "null";
  10590. var args1 = ["throwBindingError", "invoker", "fn", "runDestructors", "retType", "classParam"];
  10591. var args2 = [throwBindingError, cppInvokerFunc, cppTargetFunc, runDestructors, argTypes[0], argTypes[1]];
  10592. if (isClassMethodFunc) {
  10593. invokerFnBody += "var thisWired = classParam.toWireType(" + dtorStack + ", this);\n";
  10594. }
  10595. for (var i = 0; i < argCount - 2; ++i) {
  10596. invokerFnBody += "var arg" + i + "Wired = argType" + i + ".toWireType(" + dtorStack + ", arg" + i + "); // " + argTypes[i + 2].name + "\n";
  10597. args1.push("argType" + i);
  10598. args2.push(argTypes[i + 2]);
  10599. }
  10600. if (isClassMethodFunc) {
  10601. argsListWired = "thisWired" + (argsListWired.length > 0 ? ", " : "") + argsListWired;
  10602. }
  10603. invokerFnBody += (returns ? "var rv = " : "") + "invoker(fn" + (argsListWired.length > 0 ? ", " : "") + argsListWired + ");\n";
  10604. if (needsDestructorStack) {
  10605. invokerFnBody += "runDestructors(destructors);\n";
  10606. } else {
  10607. for (var i = isClassMethodFunc ? 1 : 2; i < argTypes.length; ++i) {
  10608. var paramName = i === 1 ? "thisWired" : "arg" + (i - 2) + "Wired";
  10609. if (argTypes[i].destructorFunction !== null) {
  10610. invokerFnBody += paramName + "_dtor(" + paramName + "); // " + argTypes[i].name + "\n";
  10611. args1.push(paramName + "_dtor");
  10612. args2.push(argTypes[i].destructorFunction);
  10613. }
  10614. }
  10615. }
  10616. if (returns) {
  10617. invokerFnBody += "var ret = retType.fromWireType(rv);\nreturn ret;\n";
  10618. } else {
  10619. }
  10620. invokerFnBody += "}\n";
  10621. args1.push(invokerFnBody);
  10622. var invokerFunction = new_(Function, args1).apply(null, args2);
  10623. return invokerFunction;
  10624. }
  10625. function __embind_register_class_function(rawClassType, methodName, argCount, rawArgTypesAddr, invokerSignature, rawInvoker, context, isPureVirtual) {
  10626. var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr);
  10627. methodName = readLatin1String(methodName);
  10628. rawInvoker = embind__requireFunction(invokerSignature, rawInvoker);
  10629. whenDependentTypesAreResolved([], [rawClassType], function(classType) {
  10630. classType = classType[0];
  10631. var humanName = classType.name + "." + methodName;
  10632. if (methodName.startsWith("@@")) {
  10633. methodName = Symbol[methodName.substring(2)];
  10634. }
  10635. if (isPureVirtual) {
  10636. classType.registeredClass.pureVirtualFunctions.push(methodName);
  10637. }
  10638. function unboundTypesHandler() {
  10639. throwUnboundTypeError("Cannot call " + humanName + " due to unbound types", rawArgTypes);
  10640. }
  10641. var proto = classType.registeredClass.instancePrototype;
  10642. var method = proto[methodName];
  10643. if (method === void 0 || method.overloadTable === void 0 && method.className !== classType.name && method.argCount === argCount - 2) {
  10644. unboundTypesHandler.argCount = argCount - 2;
  10645. unboundTypesHandler.className = classType.name;
  10646. proto[methodName] = unboundTypesHandler;
  10647. } else {
  10648. ensureOverloadTable(proto, methodName, humanName);
  10649. proto[methodName].overloadTable[argCount - 2] = unboundTypesHandler;
  10650. }
  10651. whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) {
  10652. var memberFunction = craftInvokerFunction(humanName, argTypes, classType, rawInvoker, context);
  10653. if (proto[methodName].overloadTable === void 0) {
  10654. memberFunction.argCount = argCount - 2;
  10655. proto[methodName] = memberFunction;
  10656. } else {
  10657. proto[methodName].overloadTable[argCount - 2] = memberFunction;
  10658. }
  10659. return [];
  10660. });
  10661. return [];
  10662. });
  10663. }
  10664. var emval_free_list = [];
  10665. var emval_handle_array = [{}, { value: void 0 }, { value: null }, { value: true }, { value: false }];
  10666. function __emval_decref(handle) {
  10667. if (handle > 4 && --emval_handle_array[handle].refcount === 0) {
  10668. emval_handle_array[handle] = void 0;
  10669. emval_free_list.push(handle);
  10670. }
  10671. }
  10672. function count_emval_handles() {
  10673. var count = 0;
  10674. for (var i = 5; i < emval_handle_array.length; ++i) {
  10675. if (emval_handle_array[i] !== void 0) {
  10676. ++count;
  10677. }
  10678. }
  10679. return count;
  10680. }
  10681. function get_first_emval() {
  10682. for (var i = 5; i < emval_handle_array.length; ++i) {
  10683. if (emval_handle_array[i] !== void 0) {
  10684. return emval_handle_array[i];
  10685. }
  10686. }
  10687. return null;
  10688. }
  10689. function init_emval() {
  10690. Module["count_emval_handles"] = count_emval_handles;
  10691. Module["get_first_emval"] = get_first_emval;
  10692. }
  10693. function __emval_register(value) {
  10694. switch (value) {
  10695. case void 0: {
  10696. return 1;
  10697. }
  10698. case null: {
  10699. return 2;
  10700. }
  10701. case true: {
  10702. return 3;
  10703. }
  10704. case false: {
  10705. return 4;
  10706. }
  10707. default: {
  10708. var handle = emval_free_list.length ? emval_free_list.pop() : emval_handle_array.length;
  10709. emval_handle_array[handle] = { refcount: 1, value };
  10710. return handle;
  10711. }
  10712. }
  10713. }
  10714. function __embind_register_emval(rawType, name2) {
  10715. name2 = readLatin1String(name2);
  10716. registerType(rawType, { name: name2, "fromWireType": function(handle) {
  10717. var rv = emval_handle_array[handle].value;
  10718. __emval_decref(handle);
  10719. return rv;
  10720. }, "toWireType": function(destructors, value) {
  10721. return __emval_register(value);
  10722. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: null });
  10723. }
  10724. function enumReadValueFromPointer(name2, shift, signed) {
  10725. switch (shift) {
  10726. case 0:
  10727. return function(pointer) {
  10728. var heap = signed ? HEAP8 : HEAPU8;
  10729. return this["fromWireType"](heap[pointer >>> 0]);
  10730. };
  10731. case 1:
  10732. return function(pointer) {
  10733. var heap = signed ? HEAP16 : HEAPU16;
  10734. return this["fromWireType"](heap[pointer >>> 1]);
  10735. };
  10736. case 2:
  10737. return function(pointer) {
  10738. var heap = signed ? HEAP32 : HEAPU32;
  10739. return this["fromWireType"](heap[pointer >>> 2]);
  10740. };
  10741. default:
  10742. throw new TypeError("Unknown integer type: " + name2);
  10743. }
  10744. }
  10745. function __embind_register_enum(rawType, name2, size, isSigned) {
  10746. var shift = getShiftFromSize(size);
  10747. name2 = readLatin1String(name2);
  10748. function ctor() {
  10749. }
  10750. ctor.values = {};
  10751. registerType(rawType, { name: name2, constructor: ctor, "fromWireType": function(c) {
  10752. return this.constructor.values[c];
  10753. }, "toWireType": function(destructors, c) {
  10754. return c.value;
  10755. }, "argPackAdvance": 8, "readValueFromPointer": enumReadValueFromPointer(name2, shift, isSigned), destructorFunction: null });
  10756. exposePublicSymbol(name2, ctor);
  10757. }
  10758. function requireRegisteredType(rawType, humanName) {
  10759. var impl = registeredTypes[rawType];
  10760. if (impl === void 0) {
  10761. throwBindingError(humanName + " has unknown type " + getTypeName(rawType));
  10762. }
  10763. return impl;
  10764. }
  10765. function __embind_register_enum_value(rawEnumType, name2, enumValue) {
  10766. var enumType = requireRegisteredType(rawEnumType, "enum");
  10767. name2 = readLatin1String(name2);
  10768. var Enum = enumType.constructor;
  10769. var Value2 = Object.create(enumType.constructor.prototype, { value: { value: enumValue }, constructor: { value: createNamedFunction(enumType.name + "_" + name2, function() {
  10770. }) } });
  10771. Enum.values[enumValue] = Value2;
  10772. Enum[name2] = Value2;
  10773. }
  10774. function _embind_repr(v) {
  10775. if (v === null) {
  10776. return "null";
  10777. }
  10778. var t = typeof v;
  10779. if (t === "object" || t === "array" || t === "function") {
  10780. return v.toString();
  10781. } else {
  10782. return "" + v;
  10783. }
  10784. }
  10785. function floatReadValueFromPointer(name2, shift) {
  10786. switch (shift) {
  10787. case 2:
  10788. return function(pointer) {
  10789. return this["fromWireType"](HEAPF32[pointer >>> 2]);
  10790. };
  10791. case 3:
  10792. return function(pointer) {
  10793. return this["fromWireType"](HEAPF64[pointer >>> 3]);
  10794. };
  10795. default:
  10796. throw new TypeError("Unknown float type: " + name2);
  10797. }
  10798. }
  10799. function __embind_register_float(rawType, name2, size) {
  10800. var shift = getShiftFromSize(size);
  10801. name2 = readLatin1String(name2);
  10802. registerType(rawType, { name: name2, "fromWireType": function(value) {
  10803. return value;
  10804. }, "toWireType": function(destructors, value) {
  10805. if (typeof value !== "number" && typeof value !== "boolean") {
  10806. throw new TypeError('Cannot convert "' + _embind_repr(value) + '" to ' + this.name);
  10807. }
  10808. return value;
  10809. }, "argPackAdvance": 8, "readValueFromPointer": floatReadValueFromPointer(name2, shift), destructorFunction: null });
  10810. }
  10811. function __embind_register_function(name2, argCount, rawArgTypesAddr, signature, rawInvoker, fn) {
  10812. var argTypes = heap32VectorToArray(argCount, rawArgTypesAddr);
  10813. name2 = readLatin1String(name2);
  10814. rawInvoker = embind__requireFunction(signature, rawInvoker);
  10815. exposePublicSymbol(name2, function() {
  10816. throwUnboundTypeError("Cannot call " + name2 + " due to unbound types", argTypes);
  10817. }, argCount - 1);
  10818. whenDependentTypesAreResolved([], argTypes, function(argTypes2) {
  10819. var invokerArgsArray = [argTypes2[0], null].concat(argTypes2.slice(1));
  10820. replacePublicSymbol(name2, craftInvokerFunction(name2, invokerArgsArray, null, rawInvoker, fn), argCount - 1);
  10821. return [];
  10822. });
  10823. }
  10824. function integerReadValueFromPointer(name2, shift, signed) {
  10825. switch (shift) {
  10826. case 0:
  10827. return signed ? function readS8FromPointer(pointer) {
  10828. return HEAP8[pointer >>> 0];
  10829. } : function readU8FromPointer(pointer) {
  10830. return HEAPU8[pointer >>> 0];
  10831. };
  10832. case 1:
  10833. return signed ? function readS16FromPointer(pointer) {
  10834. return HEAP16[pointer >>> 1];
  10835. } : function readU16FromPointer(pointer) {
  10836. return HEAPU16[pointer >>> 1];
  10837. };
  10838. case 2:
  10839. return signed ? function readS32FromPointer(pointer) {
  10840. return HEAP32[pointer >>> 2];
  10841. } : function readU32FromPointer(pointer) {
  10842. return HEAPU32[pointer >>> 2];
  10843. };
  10844. default:
  10845. throw new TypeError("Unknown integer type: " + name2);
  10846. }
  10847. }
  10848. function __embind_register_integer(primitiveType, name2, size, minRange, maxRange) {
  10849. name2 = readLatin1String(name2);
  10850. if (maxRange === -1) {
  10851. maxRange = 4294967295;
  10852. }
  10853. var shift = getShiftFromSize(size);
  10854. var fromWireType = function(value) {
  10855. return value;
  10856. };
  10857. if (minRange === 0) {
  10858. var bitshift = 32 - 8 * size;
  10859. fromWireType = function(value) {
  10860. return value << bitshift >>> bitshift;
  10861. };
  10862. }
  10863. var isUnsignedType = name2.includes("unsigned");
  10864. registerType(primitiveType, { name: name2, "fromWireType": fromWireType, "toWireType": function(destructors, value) {
  10865. if (typeof value !== "number" && typeof value !== "boolean") {
  10866. throw new TypeError('Cannot convert "' + _embind_repr(value) + '" to ' + this.name);
  10867. }
  10868. if (value < minRange || value > maxRange) {
  10869. throw new TypeError('Passing a number "' + _embind_repr(value) + '" from JS side to C/C++ side to an argument of type "' + name2 + '", which is outside the valid range [' + minRange + ", " + maxRange + "]!");
  10870. }
  10871. return isUnsignedType ? value >>> 0 : value | 0;
  10872. }, "argPackAdvance": 8, "readValueFromPointer": integerReadValueFromPointer(name2, shift, minRange !== 0), destructorFunction: null });
  10873. }
  10874. function __embind_register_memory_view(rawType, dataTypeIndex, name2) {
  10875. var typeMapping = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array];
  10876. var TA = typeMapping[dataTypeIndex];
  10877. function decodeMemoryView(handle) {
  10878. handle = handle >> 2;
  10879. var heap = HEAPU32;
  10880. var size = heap[handle >>> 0];
  10881. var data = heap[handle + 1 >>> 0];
  10882. return new TA(buffer, data, size);
  10883. }
  10884. name2 = readLatin1String(name2);
  10885. registerType(rawType, { name: name2, "fromWireType": decodeMemoryView, "argPackAdvance": 8, "readValueFromPointer": decodeMemoryView }, { ignoreDuplicateRegistrations: true });
  10886. }
  10887. function __embind_register_std_string(rawType, name2) {
  10888. name2 = readLatin1String(name2);
  10889. var stdStringIsUTF8 = name2 === "std::string";
  10890. registerType(rawType, { name: name2, "fromWireType": function(value) {
  10891. var length = HEAPU32[value >>> 2];
  10892. var str;
  10893. if (stdStringIsUTF8) {
  10894. var decodeStartPtr = value + 4;
  10895. for (var i = 0; i <= length; ++i) {
  10896. var currentBytePtr = value + 4 + i;
  10897. if (i == length || HEAPU8[currentBytePtr >>> 0] == 0) {
  10898. var maxRead = currentBytePtr - decodeStartPtr;
  10899. var stringSegment = UTF8ToString(decodeStartPtr, maxRead);
  10900. if (str === void 0) {
  10901. str = stringSegment;
  10902. } else {
  10903. str += String.fromCharCode(0);
  10904. str += stringSegment;
  10905. }
  10906. decodeStartPtr = currentBytePtr + 1;
  10907. }
  10908. }
  10909. } else {
  10910. var a = new Array(length);
  10911. for (var i = 0; i < length; ++i) {
  10912. a[i] = String.fromCharCode(HEAPU8[value + 4 + i >>> 0]);
  10913. }
  10914. str = a.join("");
  10915. }
  10916. _free(value);
  10917. return str;
  10918. }, "toWireType": function(destructors, value) {
  10919. if (value instanceof ArrayBuffer) {
  10920. value = new Uint8Array(value);
  10921. }
  10922. var getLength;
  10923. var valueIsOfTypeString = typeof value === "string";
  10924. if (!(valueIsOfTypeString || value instanceof Uint8Array || value instanceof Uint8ClampedArray || value instanceof Int8Array)) {
  10925. throwBindingError("Cannot pass non-string to std::string");
  10926. }
  10927. if (stdStringIsUTF8 && valueIsOfTypeString) {
  10928. getLength = function() {
  10929. return lengthBytesUTF8(value);
  10930. };
  10931. } else {
  10932. getLength = function() {
  10933. return value.length;
  10934. };
  10935. }
  10936. var length = getLength();
  10937. var ptr = _malloc(4 + length + 1);
  10938. ptr >>>= 0;
  10939. HEAPU32[ptr >>> 2] = length;
  10940. if (stdStringIsUTF8 && valueIsOfTypeString) {
  10941. stringToUTF8(value, ptr + 4, length + 1);
  10942. } else {
  10943. if (valueIsOfTypeString) {
  10944. for (var i = 0; i < length; ++i) {
  10945. var charCode = value.charCodeAt(i);
  10946. if (charCode > 255) {
  10947. _free(ptr);
  10948. throwBindingError("String has UTF-16 code units that do not fit in 8 bits");
  10949. }
  10950. HEAPU8[ptr + 4 + i >>> 0] = charCode;
  10951. }
  10952. } else {
  10953. for (var i = 0; i < length; ++i) {
  10954. HEAPU8[ptr + 4 + i >>> 0] = value[i];
  10955. }
  10956. }
  10957. }
  10958. if (destructors !== null) {
  10959. destructors.push(_free, ptr);
  10960. }
  10961. return ptr;
  10962. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: function(ptr) {
  10963. _free(ptr);
  10964. } });
  10965. }
  10966. function __embind_register_std_wstring(rawType, charSize, name2) {
  10967. name2 = readLatin1String(name2);
  10968. var decodeString, encodeString, getHeap, lengthBytesUTF, shift;
  10969. if (charSize === 2) {
  10970. decodeString = UTF16ToString;
  10971. encodeString = stringToUTF16;
  10972. lengthBytesUTF = lengthBytesUTF16;
  10973. getHeap = function() {
  10974. return HEAPU16;
  10975. };
  10976. shift = 1;
  10977. } else if (charSize === 4) {
  10978. decodeString = UTF32ToString;
  10979. encodeString = stringToUTF32;
  10980. lengthBytesUTF = lengthBytesUTF32;
  10981. getHeap = function() {
  10982. return HEAPU32;
  10983. };
  10984. shift = 2;
  10985. }
  10986. registerType(rawType, { name: name2, "fromWireType": function(value) {
  10987. var length = HEAPU32[value >>> 2];
  10988. var HEAP = getHeap();
  10989. var str;
  10990. var decodeStartPtr = value + 4;
  10991. for (var i = 0; i <= length; ++i) {
  10992. var currentBytePtr = value + 4 + i * charSize;
  10993. if (i == length || HEAP[currentBytePtr >>> shift] == 0) {
  10994. var maxReadBytes = currentBytePtr - decodeStartPtr;
  10995. var stringSegment = decodeString(decodeStartPtr, maxReadBytes);
  10996. if (str === void 0) {
  10997. str = stringSegment;
  10998. } else {
  10999. str += String.fromCharCode(0);
  11000. str += stringSegment;
  11001. }
  11002. decodeStartPtr = currentBytePtr + charSize;
  11003. }
  11004. }
  11005. _free(value);
  11006. return str;
  11007. }, "toWireType": function(destructors, value) {
  11008. if (!(typeof value === "string")) {
  11009. throwBindingError("Cannot pass non-string to C++ string type " + name2);
  11010. }
  11011. var length = lengthBytesUTF(value);
  11012. var ptr = _malloc(4 + length + charSize);
  11013. ptr >>>= 0;
  11014. HEAPU32[ptr >>> 2] = length >> shift;
  11015. encodeString(value, ptr + 4, length + charSize);
  11016. if (destructors !== null) {
  11017. destructors.push(_free, ptr);
  11018. }
  11019. return ptr;
  11020. }, "argPackAdvance": 8, "readValueFromPointer": simpleReadValueFromPointer, destructorFunction: function(ptr) {
  11021. _free(ptr);
  11022. } });
  11023. }
  11024. function __embind_register_value_array(rawType, name2, constructorSignature, rawConstructor, destructorSignature, rawDestructor) {
  11025. tupleRegistrations[rawType] = { name: readLatin1String(name2), rawConstructor: embind__requireFunction(constructorSignature, rawConstructor), rawDestructor: embind__requireFunction(destructorSignature, rawDestructor), elements: [] };
  11026. }
  11027. function __embind_register_value_array_element(rawTupleType, getterReturnType, getterSignature, getter, getterContext, setterArgumentType, setterSignature, setter, setterContext) {
  11028. tupleRegistrations[rawTupleType].elements.push({ getterReturnType, getter: embind__requireFunction(getterSignature, getter), getterContext, setterArgumentType, setter: embind__requireFunction(setterSignature, setter), setterContext });
  11029. }
  11030. function __embind_register_value_object(rawType, name2, constructorSignature, rawConstructor, destructorSignature, rawDestructor) {
  11031. structRegistrations[rawType] = { name: readLatin1String(name2), rawConstructor: embind__requireFunction(constructorSignature, rawConstructor), rawDestructor: embind__requireFunction(destructorSignature, rawDestructor), fields: [] };
  11032. }
  11033. function __embind_register_value_object_field(structType, fieldName, getterReturnType, getterSignature, getter, getterContext, setterArgumentType, setterSignature, setter, setterContext) {
  11034. structRegistrations[structType].fields.push({ fieldName: readLatin1String(fieldName), getterReturnType, getter: embind__requireFunction(getterSignature, getter), getterContext, setterArgumentType, setter: embind__requireFunction(setterSignature, setter), setterContext });
  11035. }
  11036. function __embind_register_void(rawType, name2) {
  11037. name2 = readLatin1String(name2);
  11038. registerType(rawType, { isVoid: true, name: name2, "argPackAdvance": 0, "fromWireType": function() {
  11039. return void 0;
  11040. }, "toWireType": function(destructors, o) {
  11041. return void 0;
  11042. } });
  11043. }
  11044. function requireHandle(handle) {
  11045. if (!handle) {
  11046. throwBindingError("Cannot use deleted val. handle = " + handle);
  11047. }
  11048. return emval_handle_array[handle].value;
  11049. }
  11050. function __emval_as(handle, returnType, destructorsRef) {
  11051. handle = requireHandle(handle);
  11052. returnType = requireRegisteredType(returnType, "emval::as");
  11053. var destructors = [];
  11054. var rd = __emval_register(destructors);
  11055. HEAP32[destructorsRef >>> 2] = rd;
  11056. return returnType["toWireType"](destructors, handle);
  11057. }
  11058. function __emval_lookupTypes(argCount, argTypes) {
  11059. var a = new Array(argCount);
  11060. for (var i = 0; i < argCount; ++i) {
  11061. a[i] = requireRegisteredType(HEAP32[(argTypes >> 2) + i >>> 0], "parameter " + i);
  11062. }
  11063. return a;
  11064. }
  11065. function __emval_call(handle, argCount, argTypes, argv) {
  11066. handle = requireHandle(handle);
  11067. var types = __emval_lookupTypes(argCount, argTypes);
  11068. var args = new Array(argCount);
  11069. for (var i = 0; i < argCount; ++i) {
  11070. var type = types[i];
  11071. args[i] = type["readValueFromPointer"](argv);
  11072. argv += type["argPackAdvance"];
  11073. }
  11074. var rv = handle.apply(void 0, args);
  11075. return __emval_register(rv);
  11076. }
  11077. var emval_symbols = {};
  11078. function getStringOrSymbol(address) {
  11079. var symbol = emval_symbols[address];
  11080. if (symbol === void 0) {
  11081. return readLatin1String(address);
  11082. } else {
  11083. return symbol;
  11084. }
  11085. }
  11086. function emval_get_global() {
  11087. if (typeof globalThis === "object") {
  11088. return globalThis;
  11089. }
  11090. return function() {
  11091. return Function;
  11092. }()("return this")();
  11093. }
  11094. function __emval_get_global(name2) {
  11095. if (name2 === 0) {
  11096. return __emval_register(emval_get_global());
  11097. } else {
  11098. name2 = getStringOrSymbol(name2);
  11099. return __emval_register(emval_get_global()[name2]);
  11100. }
  11101. }
  11102. function __emval_get_property(handle, key2) {
  11103. handle = requireHandle(handle);
  11104. key2 = requireHandle(key2);
  11105. return __emval_register(handle[key2]);
  11106. }
  11107. function __emval_incref(handle) {
  11108. if (handle > 4) {
  11109. emval_handle_array[handle].refcount += 1;
  11110. }
  11111. }
  11112. function __emval_instanceof(object, constructor) {
  11113. object = requireHandle(object);
  11114. constructor = requireHandle(constructor);
  11115. return object instanceof constructor;
  11116. }
  11117. function __emval_is_number(handle) {
  11118. handle = requireHandle(handle);
  11119. return typeof handle === "number";
  11120. }
  11121. function __emval_new_array() {
  11122. return __emval_register([]);
  11123. }
  11124. function __emval_new_cstring(v) {
  11125. return __emval_register(getStringOrSymbol(v));
  11126. }
  11127. function __emval_new_object() {
  11128. return __emval_register({});
  11129. }
  11130. function __emval_run_destructors(handle) {
  11131. var destructors = emval_handle_array[handle].value;
  11132. runDestructors(destructors);
  11133. __emval_decref(handle);
  11134. }
  11135. function __emval_set_property(handle, key2, value) {
  11136. handle = requireHandle(handle);
  11137. key2 = requireHandle(key2);
  11138. value = requireHandle(value);
  11139. handle[key2] = value;
  11140. }
  11141. function __emval_take_value(type, argv) {
  11142. type = requireRegisteredType(type, "_emval_take_value");
  11143. var v = type["readValueFromPointer"](argv);
  11144. return __emval_register(v);
  11145. }
  11146. function _abort() {
  11147. abort();
  11148. }
  11149. var _emscripten_get_now;
  11150. if (ENVIRONMENT_IS_NODE) {
  11151. _emscripten_get_now = function() {
  11152. var t = process["hrtime"]();
  11153. return t[0] * 1e3 + t[1] / 1e6;
  11154. };
  11155. } else
  11156. _emscripten_get_now = function() {
  11157. return performance.now();
  11158. };
  11159. var _emscripten_get_now_is_monotonic = true;
  11160. function _clock_gettime(clk_id, tp) {
  11161. var now;
  11162. if (clk_id === 0) {
  11163. now = Date.now();
  11164. } else if ((clk_id === 1 || clk_id === 4) && _emscripten_get_now_is_monotonic) {
  11165. now = _emscripten_get_now();
  11166. } else {
  11167. setErrNo(28);
  11168. return -1;
  11169. }
  11170. HEAP32[tp >>> 2] = now / 1e3 | 0;
  11171. HEAP32[tp + 4 >>> 2] = now % 1e3 * 1e3 * 1e3 | 0;
  11172. return 0;
  11173. }
  11174. function _emscripten_memcpy_big(dest, src, num) {
  11175. HEAPU8.copyWithin(dest >>> 0, src >>> 0, src + num >>> 0);
  11176. }
  11177. function emscripten_realloc_buffer(size) {
  11178. try {
  11179. wasmMemory.grow(size - buffer.byteLength + 65535 >>> 16);
  11180. updateGlobalBufferAndViews(wasmMemory.buffer);
  11181. return 1;
  11182. } catch (e) {
  11183. }
  11184. }
  11185. function _emscripten_resize_heap(requestedSize) {
  11186. var oldSize = HEAPU8.length;
  11187. requestedSize = requestedSize >>> 0;
  11188. var maxHeapSize = 4294901760;
  11189. if (requestedSize > maxHeapSize) {
  11190. return false;
  11191. }
  11192. for (var cutDown = 1; cutDown <= 4; cutDown *= 2) {
  11193. var overGrownHeapSize = oldSize * (1 + 0.2 / cutDown);
  11194. overGrownHeapSize = Math.min(overGrownHeapSize, requestedSize + 100663296);
  11195. var newSize = Math.min(maxHeapSize, alignUp(Math.max(requestedSize, overGrownHeapSize), 65536));
  11196. var replacement = emscripten_realloc_buffer(newSize);
  11197. if (replacement) {
  11198. return true;
  11199. }
  11200. }
  11201. return false;
  11202. }
  11203. var ENV = {};
  11204. function getExecutableName() {
  11205. return thisProgram || "./this.program";
  11206. }
  11207. function getEnvStrings() {
  11208. if (!getEnvStrings.strings) {
  11209. var lang = (typeof navigator === "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8";
  11210. var env = { "USER": "web_user", "LOGNAME": "web_user", "PATH": "/", "PWD": "/", "HOME": "/home/web_user", "LANG": lang, "_": getExecutableName() };
  11211. for (var x in ENV) {
  11212. if (ENV[x] === void 0)
  11213. delete env[x];
  11214. else
  11215. env[x] = ENV[x];
  11216. }
  11217. var strings = [];
  11218. for (var x in env) {
  11219. strings.push(x + "=" + env[x]);
  11220. }
  11221. getEnvStrings.strings = strings;
  11222. }
  11223. return getEnvStrings.strings;
  11224. }
  11225. function _environ_get(__environ, environ_buf) {
  11226. try {
  11227. var bufSize = 0;
  11228. getEnvStrings().forEach(function(string, i) {
  11229. var ptr = environ_buf + bufSize;
  11230. HEAP32[__environ + i * 4 >>> 2] = ptr;
  11231. writeAsciiToMemory(string, ptr);
  11232. bufSize += string.length + 1;
  11233. });
  11234. return 0;
  11235. } catch (e) {
  11236. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  11237. abort(e);
  11238. return e.errno;
  11239. }
  11240. }
  11241. function _environ_sizes_get(penviron_count, penviron_buf_size) {
  11242. try {
  11243. var strings = getEnvStrings();
  11244. HEAP32[penviron_count >>> 2] = strings.length;
  11245. var bufSize = 0;
  11246. strings.forEach(function(string) {
  11247. bufSize += string.length + 1;
  11248. });
  11249. HEAP32[penviron_buf_size >>> 2] = bufSize;
  11250. return 0;
  11251. } catch (e) {
  11252. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  11253. abort(e);
  11254. return e.errno;
  11255. }
  11256. }
  11257. function _fd_close(fd) {
  11258. try {
  11259. var stream = SYSCALLS.getStreamFromFD(fd);
  11260. FS.close(stream);
  11261. return 0;
  11262. } catch (e) {
  11263. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  11264. abort(e);
  11265. return e.errno;
  11266. }
  11267. }
  11268. function _fd_read(fd, iov, iovcnt, pnum) {
  11269. try {
  11270. var stream = SYSCALLS.getStreamFromFD(fd);
  11271. var num = SYSCALLS.doReadv(stream, iov, iovcnt);
  11272. HEAP32[pnum >>> 2] = num;
  11273. return 0;
  11274. } catch (e) {
  11275. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  11276. abort(e);
  11277. return e.errno;
  11278. }
  11279. }
  11280. function _fd_seek(fd, offset_low, offset_high, whence, newOffset) {
  11281. try {
  11282. var stream = SYSCALLS.getStreamFromFD(fd);
  11283. var HIGH_OFFSET = 4294967296;
  11284. var offset = offset_high * HIGH_OFFSET + (offset_low >>> 0);
  11285. var DOUBLE_LIMIT = 9007199254740992;
  11286. if (offset <= -DOUBLE_LIMIT || offset >= DOUBLE_LIMIT) {
  11287. return -61;
  11288. }
  11289. FS.llseek(stream, offset, whence);
  11290. tempI64 = [stream.position >>> 0, (tempDouble = stream.position, +Math.abs(tempDouble) >= 1 ? tempDouble > 0 ? (Math.min(+Math.floor(tempDouble / 4294967296), 4294967295) | 0) >>> 0 : ~~+Math.ceil((tempDouble - +(~~tempDouble >>> 0)) / 4294967296) >>> 0 : 0)], HEAP32[newOffset >>> 2] = tempI64[0], HEAP32[newOffset + 4 >>> 2] = tempI64[1];
  11291. if (stream.getdents && offset === 0 && whence === 0)
  11292. stream.getdents = null;
  11293. return 0;
  11294. } catch (e) {
  11295. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  11296. abort(e);
  11297. return e.errno;
  11298. }
  11299. }
  11300. function _fd_write(fd, iov, iovcnt, pnum) {
  11301. try {
  11302. var stream = SYSCALLS.getStreamFromFD(fd);
  11303. var num = SYSCALLS.doWritev(stream, iov, iovcnt);
  11304. HEAP32[pnum >>> 2] = num;
  11305. return 0;
  11306. } catch (e) {
  11307. if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
  11308. abort(e);
  11309. return e.errno;
  11310. }
  11311. }
  11312. function _getTempRet0() {
  11313. return getTempRet0();
  11314. }
  11315. function _llvm_eh_typeid_for(type) {
  11316. return type;
  11317. }
  11318. function _setTempRet0(val) {
  11319. setTempRet0(val);
  11320. }
  11321. function __isLeapYear(year) {
  11322. return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
  11323. }
  11324. function __arraySum(array, index) {
  11325. var sum = 0;
  11326. for (var i = 0; i <= index; sum += array[i++]) {
  11327. }
  11328. return sum;
  11329. }
  11330. var __MONTH_DAYS_LEAP = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
  11331. var __MONTH_DAYS_REGULAR = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
  11332. function __addDays(date, days) {
  11333. var newDate = new Date(date.getTime());
  11334. while (days > 0) {
  11335. var leap = __isLeapYear(newDate.getFullYear());
  11336. var currentMonth = newDate.getMonth();
  11337. var daysInCurrentMonth = (leap ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR)[currentMonth];
  11338. if (days > daysInCurrentMonth - newDate.getDate()) {
  11339. days -= daysInCurrentMonth - newDate.getDate() + 1;
  11340. newDate.setDate(1);
  11341. if (currentMonth < 11) {
  11342. newDate.setMonth(currentMonth + 1);
  11343. } else {
  11344. newDate.setMonth(0);
  11345. newDate.setFullYear(newDate.getFullYear() + 1);
  11346. }
  11347. } else {
  11348. newDate.setDate(newDate.getDate() + days);
  11349. return newDate;
  11350. }
  11351. }
  11352. return newDate;
  11353. }
  11354. function _strftime(s, maxsize, format, tm) {
  11355. var tm_zone = HEAP32[tm + 40 >>> 2];
  11356. var date = { tm_sec: HEAP32[tm >>> 2], tm_min: HEAP32[tm + 4 >>> 2], tm_hour: HEAP32[tm + 8 >>> 2], tm_mday: HEAP32[tm + 12 >>> 2], tm_mon: HEAP32[tm + 16 >>> 2], tm_year: HEAP32[tm + 20 >>> 2], tm_wday: HEAP32[tm + 24 >>> 2], tm_yday: HEAP32[tm + 28 >>> 2], tm_isdst: HEAP32[tm + 32 >>> 2], tm_gmtoff: HEAP32[tm + 36 >>> 2], tm_zone: tm_zone ? UTF8ToString(tm_zone) : "" };
  11357. var pattern = UTF8ToString(format);
  11358. var EXPANSION_RULES_1 = { "%c": "%a %b %d %H:%M:%S %Y", "%D": "%m/%d/%y", "%F": "%Y-%m-%d", "%h": "%b", "%r": "%I:%M:%S %p", "%R": "%H:%M", "%T": "%H:%M:%S", "%x": "%m/%d/%y", "%X": "%H:%M:%S", "%Ec": "%c", "%EC": "%C", "%Ex": "%m/%d/%y", "%EX": "%H:%M:%S", "%Ey": "%y", "%EY": "%Y", "%Od": "%d", "%Oe": "%e", "%OH": "%H", "%OI": "%I", "%Om": "%m", "%OM": "%M", "%OS": "%S", "%Ou": "%u", "%OU": "%U", "%OV": "%V", "%Ow": "%w", "%OW": "%W", "%Oy": "%y" };
  11359. for (var rule in EXPANSION_RULES_1) {
  11360. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_1[rule]);
  11361. }
  11362. var WEEKDAYS = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
  11363. var MONTHS = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
  11364. function leadingSomething(value, digits, character) {
  11365. var str = typeof value === "number" ? value.toString() : value || "";
  11366. while (str.length < digits) {
  11367. str = character[0] + str;
  11368. }
  11369. return str;
  11370. }
  11371. function leadingNulls(value, digits) {
  11372. return leadingSomething(value, digits, "0");
  11373. }
  11374. function compareByDay(date1, date2) {
  11375. function sgn(value) {
  11376. return value < 0 ? -1 : value > 0 ? 1 : 0;
  11377. }
  11378. var compare;
  11379. if ((compare = sgn(date1.getFullYear() - date2.getFullYear())) === 0) {
  11380. if ((compare = sgn(date1.getMonth() - date2.getMonth())) === 0) {
  11381. compare = sgn(date1.getDate() - date2.getDate());
  11382. }
  11383. }
  11384. return compare;
  11385. }
  11386. function getFirstWeekStartDate(janFourth) {
  11387. switch (janFourth.getDay()) {
  11388. case 0:
  11389. return new Date(janFourth.getFullYear() - 1, 11, 29);
  11390. case 1:
  11391. return janFourth;
  11392. case 2:
  11393. return new Date(janFourth.getFullYear(), 0, 3);
  11394. case 3:
  11395. return new Date(janFourth.getFullYear(), 0, 2);
  11396. case 4:
  11397. return new Date(janFourth.getFullYear(), 0, 1);
  11398. case 5:
  11399. return new Date(janFourth.getFullYear() - 1, 11, 31);
  11400. case 6:
  11401. return new Date(janFourth.getFullYear() - 1, 11, 30);
  11402. }
  11403. }
  11404. function getWeekBasedYear(date2) {
  11405. var thisDate = __addDays(new Date(date2.tm_year + 1900, 0, 1), date2.tm_yday);
  11406. var janFourthThisYear = new Date(thisDate.getFullYear(), 0, 4);
  11407. var janFourthNextYear = new Date(thisDate.getFullYear() + 1, 0, 4);
  11408. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  11409. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  11410. if (compareByDay(firstWeekStartThisYear, thisDate) <= 0) {
  11411. if (compareByDay(firstWeekStartNextYear, thisDate) <= 0) {
  11412. return thisDate.getFullYear() + 1;
  11413. } else {
  11414. return thisDate.getFullYear();
  11415. }
  11416. } else {
  11417. return thisDate.getFullYear() - 1;
  11418. }
  11419. }
  11420. var EXPANSION_RULES_2 = { "%a": function(date2) {
  11421. return WEEKDAYS[date2.tm_wday].substring(0, 3);
  11422. }, "%A": function(date2) {
  11423. return WEEKDAYS[date2.tm_wday];
  11424. }, "%b": function(date2) {
  11425. return MONTHS[date2.tm_mon].substring(0, 3);
  11426. }, "%B": function(date2) {
  11427. return MONTHS[date2.tm_mon];
  11428. }, "%C": function(date2) {
  11429. var year = date2.tm_year + 1900;
  11430. return leadingNulls(year / 100 | 0, 2);
  11431. }, "%d": function(date2) {
  11432. return leadingNulls(date2.tm_mday, 2);
  11433. }, "%e": function(date2) {
  11434. return leadingSomething(date2.tm_mday, 2, " ");
  11435. }, "%g": function(date2) {
  11436. return getWeekBasedYear(date2).toString().substring(2);
  11437. }, "%G": function(date2) {
  11438. return getWeekBasedYear(date2);
  11439. }, "%H": function(date2) {
  11440. return leadingNulls(date2.tm_hour, 2);
  11441. }, "%I": function(date2) {
  11442. var twelveHour = date2.tm_hour;
  11443. if (twelveHour == 0)
  11444. twelveHour = 12;
  11445. else if (twelveHour > 12)
  11446. twelveHour -= 12;
  11447. return leadingNulls(twelveHour, 2);
  11448. }, "%j": function(date2) {
  11449. return leadingNulls(date2.tm_mday + __arraySum(__isLeapYear(date2.tm_year + 1900) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, date2.tm_mon - 1), 3);
  11450. }, "%m": function(date2) {
  11451. return leadingNulls(date2.tm_mon + 1, 2);
  11452. }, "%M": function(date2) {
  11453. return leadingNulls(date2.tm_min, 2);
  11454. }, "%n": function() {
  11455. return "\n";
  11456. }, "%p": function(date2) {
  11457. if (date2.tm_hour >= 0 && date2.tm_hour < 12) {
  11458. return "AM";
  11459. } else {
  11460. return "PM";
  11461. }
  11462. }, "%S": function(date2) {
  11463. return leadingNulls(date2.tm_sec, 2);
  11464. }, "%t": function() {
  11465. return " ";
  11466. }, "%u": function(date2) {
  11467. return date2.tm_wday || 7;
  11468. }, "%U": function(date2) {
  11469. var janFirst = new Date(date2.tm_year + 1900, 0, 1);
  11470. var firstSunday = janFirst.getDay() === 0 ? janFirst : __addDays(janFirst, 7 - janFirst.getDay());
  11471. var endDate = new Date(date2.tm_year + 1900, date2.tm_mon, date2.tm_mday);
  11472. if (compareByDay(firstSunday, endDate) < 0) {
  11473. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  11474. var firstSundayUntilEndJanuary = 31 - firstSunday.getDate();
  11475. var days = firstSundayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  11476. return leadingNulls(Math.ceil(days / 7), 2);
  11477. }
  11478. return compareByDay(firstSunday, janFirst) === 0 ? "01" : "00";
  11479. }, "%V": function(date2) {
  11480. var janFourthThisYear = new Date(date2.tm_year + 1900, 0, 4);
  11481. var janFourthNextYear = new Date(date2.tm_year + 1901, 0, 4);
  11482. var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear);
  11483. var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear);
  11484. var endDate = __addDays(new Date(date2.tm_year + 1900, 0, 1), date2.tm_yday);
  11485. if (compareByDay(endDate, firstWeekStartThisYear) < 0) {
  11486. return "53";
  11487. }
  11488. if (compareByDay(firstWeekStartNextYear, endDate) <= 0) {
  11489. return "01";
  11490. }
  11491. var daysDifference;
  11492. if (firstWeekStartThisYear.getFullYear() < date2.tm_year + 1900) {
  11493. daysDifference = date2.tm_yday + 32 - firstWeekStartThisYear.getDate();
  11494. } else {
  11495. daysDifference = date2.tm_yday + 1 - firstWeekStartThisYear.getDate();
  11496. }
  11497. return leadingNulls(Math.ceil(daysDifference / 7), 2);
  11498. }, "%w": function(date2) {
  11499. return date2.tm_wday;
  11500. }, "%W": function(date2) {
  11501. var janFirst = new Date(date2.tm_year, 0, 1);
  11502. var firstMonday = janFirst.getDay() === 1 ? janFirst : __addDays(janFirst, janFirst.getDay() === 0 ? 1 : 7 - janFirst.getDay() + 1);
  11503. var endDate = new Date(date2.tm_year + 1900, date2.tm_mon, date2.tm_mday);
  11504. if (compareByDay(firstMonday, endDate) < 0) {
  11505. var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31;
  11506. var firstMondayUntilEndJanuary = 31 - firstMonday.getDate();
  11507. var days = firstMondayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate();
  11508. return leadingNulls(Math.ceil(days / 7), 2);
  11509. }
  11510. return compareByDay(firstMonday, janFirst) === 0 ? "01" : "00";
  11511. }, "%y": function(date2) {
  11512. return (date2.tm_year + 1900).toString().substring(2);
  11513. }, "%Y": function(date2) {
  11514. return date2.tm_year + 1900;
  11515. }, "%z": function(date2) {
  11516. var off = date2.tm_gmtoff;
  11517. var ahead = off >= 0;
  11518. off = Math.abs(off) / 60;
  11519. off = off / 60 * 100 + off % 60;
  11520. return (ahead ? "+" : "-") + String("0000" + off).slice(-4);
  11521. }, "%Z": function(date2) {
  11522. return date2.tm_zone;
  11523. }, "%%": function() {
  11524. return "%";
  11525. } };
  11526. for (var rule in EXPANSION_RULES_2) {
  11527. if (pattern.includes(rule)) {
  11528. pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_2[rule](date));
  11529. }
  11530. }
  11531. var bytes = intArrayFromString(pattern, false);
  11532. if (bytes.length > maxsize) {
  11533. return 0;
  11534. }
  11535. writeArrayToMemory(bytes, s);
  11536. return bytes.length - 1;
  11537. }
  11538. function _strftime_l(s, maxsize, format, tm) {
  11539. return _strftime(s, maxsize, format, tm);
  11540. }
  11541. var FSNode = function(parent, name2, mode, rdev) {
  11542. if (!parent) {
  11543. parent = this;
  11544. }
  11545. this.parent = parent;
  11546. this.mount = parent.mount;
  11547. this.mounted = null;
  11548. this.id = FS.nextInode++;
  11549. this.name = name2;
  11550. this.mode = mode;
  11551. this.node_ops = {};
  11552. this.stream_ops = {};
  11553. this.rdev = rdev;
  11554. };
  11555. var readMode = 292 | 73;
  11556. var writeMode = 146;
  11557. Object.defineProperties(FSNode.prototype, { read: { get: function() {
  11558. return (this.mode & readMode) === readMode;
  11559. }, set: function(val) {
  11560. val ? this.mode |= readMode : this.mode &= ~readMode;
  11561. } }, write: { get: function() {
  11562. return (this.mode & writeMode) === writeMode;
  11563. }, set: function(val) {
  11564. val ? this.mode |= writeMode : this.mode &= ~writeMode;
  11565. } }, isFolder: { get: function() {
  11566. return FS.isDir(this.mode);
  11567. } }, isDevice: { get: function() {
  11568. return FS.isChrdev(this.mode);
  11569. } } });
  11570. FS.FSNode = FSNode;
  11571. FS.staticInit();
  11572. Module["FS_createPath"] = FS.createPath;
  11573. Module["FS_createDataFile"] = FS.createDataFile;
  11574. Module["FS_createPreloadedFile"] = FS.createPreloadedFile;
  11575. Module["FS_createLazyFile"] = FS.createLazyFile;
  11576. Module["FS_createDevice"] = FS.createDevice;
  11577. Module["FS_unlink"] = FS.unlink;
  11578. InternalError = Module["InternalError"] = extendError(Error, "InternalError");
  11579. embind_init_charCodes();
  11580. BindingError = Module["BindingError"] = extendError(Error, "BindingError");
  11581. init_ClassHandle();
  11582. init_RegisteredPointer();
  11583. init_embind();
  11584. UnboundTypeError = Module["UnboundTypeError"] = extendError(Error, "UnboundTypeError");
  11585. init_emval();
  11586. function intArrayFromString(stringy, dontAddNull, length) {
  11587. var len = length > 0 ? length : lengthBytesUTF8(stringy) + 1;
  11588. var u8array = new Array(len);
  11589. var numBytesWritten = stringToUTF8Array(stringy, u8array, 0, u8array.length);
  11590. if (dontAddNull)
  11591. u8array.length = numBytesWritten;
  11592. return u8array;
  11593. }
  11594. var asmLibraryArg = { "ga": ___assert_fail, "m": ___cxa_allocate_exception, "u": ___cxa_begin_catch, "x": ___cxa_end_catch, "b": ___cxa_find_matching_catch_2, "l": ___cxa_find_matching_catch_3, "A": ___cxa_free_exception, "$": ___cxa_rethrow, "n": ___cxa_throw, "pa": ___cxa_uncaught_exceptions, "h": ___resumeException, "ba": ___sys_fcntl64, "qa": ___sys_ioctl, "ra": ___sys_open, "Ca": __embind_finalize_value_array, "Fa": __embind_finalize_value_object, "ka": __embind_register_bigint, "ya": __embind_register_bool, "K": __embind_register_class, "J": __embind_register_class_constructor, "p": __embind_register_class_function, "xa": __embind_register_emval, "Aa": __embind_register_enum, "Q": __embind_register_enum_value, "ea": __embind_register_float, "s": __embind_register_function, "z": __embind_register_integer, "w": __embind_register_memory_view, "fa": __embind_register_std_string, "U": __embind_register_std_wstring, "Da": __embind_register_value_array, "Ba": __embind_register_value_array_element, "I": __embind_register_value_object, "Ea": __embind_register_value_object_field, "za": __embind_register_void, "R": __emval_as, "ha": __emval_call, "na": __emval_decref, "Ma": __emval_get_global, "Ia": __emval_get_property, "_": __emval_incref, "la": __emval_instanceof, "La": __emval_is_number, "Ka": __emval_new_array, "V": __emval_new_cstring, "Ja": __emval_new_object, "Ha": __emval_run_destructors, "Ga": __emval_set_property, "B": __emval_take_value, "da": _abort, "aa": _clock_gettime, "oa": _emscripten_memcpy_big, "T": _emscripten_resize_heap, "ta": _environ_get, "ua": _environ_sizes_get, "ca": _fd_close, "wa": _fd_read, "ja": _fd_seek, "va": _fd_write, "a": _getTempRet0, "G": invoke_diii, "C": invoke_i, "c": invoke_ii, "O": invoke_iid, "i": invoke_iii, "j": invoke_iiii, "P": invoke_iiiii, "X": invoke_iiiiid, "E": invoke_iiiiii, "y": invoke_iiiiiii, "Y": invoke_iiiiiiii, "N": invoke_iiiiiiiii, "M": invoke_iiiiiiiiiiii, "ia": invoke_j, "f": invoke_v, "e": invoke_vi, "H": invoke_viddi, "F": invoke_viffiid, "g": invoke_vii, "r": invoke_viidd, "d": invoke_viii, "k": invoke_viiii, "Z": invoke_viiiid, "S": invoke_viiiidii, "D": invoke_viiiii, "v": invoke_viiiiii, "q": invoke_viiiiiii, "t": invoke_viiiiiiiii, "o": invoke_viiiiiiiiii, "L": invoke_viiiiiiiiiiiiiii, "ma": _llvm_eh_typeid_for, "W": _setTempRet0, "sa": _strftime_l };
  11595. var asm = createWasm();
  11596. var ___wasm_call_ctors = Module["___wasm_call_ctors"] = function() {
  11597. return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["Oa"]).apply(null, arguments);
  11598. };
  11599. var _main = Module["_main"] = function() {
  11600. return (_main = Module["_main"] = Module["asm"]["Pa"]).apply(null, arguments);
  11601. };
  11602. var _malloc = Module["_malloc"] = function() {
  11603. return (_malloc = Module["_malloc"] = Module["asm"]["Qa"]).apply(null, arguments);
  11604. };
  11605. var _free = Module["_free"] = function() {
  11606. return (_free = Module["_free"] = Module["asm"]["Sa"]).apply(null, arguments);
  11607. };
  11608. var ___getTypeName = Module["___getTypeName"] = function() {
  11609. return (___getTypeName = Module["___getTypeName"] = Module["asm"]["Ta"]).apply(null, arguments);
  11610. };
  11611. var ___embind_register_native_and_builtin_types = Module["___embind_register_native_and_builtin_types"] = function() {
  11612. return (___embind_register_native_and_builtin_types = Module["___embind_register_native_and_builtin_types"] = Module["asm"]["Ua"]).apply(null, arguments);
  11613. };
  11614. var ___errno_location = Module["___errno_location"] = function() {
  11615. return (___errno_location = Module["___errno_location"] = Module["asm"]["Va"]).apply(null, arguments);
  11616. };
  11617. var stackSave = Module["stackSave"] = function() {
  11618. return (stackSave = Module["stackSave"] = Module["asm"]["Wa"]).apply(null, arguments);
  11619. };
  11620. var stackRestore = Module["stackRestore"] = function() {
  11621. return (stackRestore = Module["stackRestore"] = Module["asm"]["Xa"]).apply(null, arguments);
  11622. };
  11623. var _setThrew = Module["_setThrew"] = function() {
  11624. return (_setThrew = Module["_setThrew"] = Module["asm"]["Ya"]).apply(null, arguments);
  11625. };
  11626. var ___cxa_can_catch = Module["___cxa_can_catch"] = function() {
  11627. return (___cxa_can_catch = Module["___cxa_can_catch"] = Module["asm"]["Za"]).apply(null, arguments);
  11628. };
  11629. var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = function() {
  11630. return (___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = Module["asm"]["_a"]).apply(null, arguments);
  11631. };
  11632. var dynCall_jiji = Module["dynCall_jiji"] = function() {
  11633. return (dynCall_jiji = Module["dynCall_jiji"] = Module["asm"]["$a"]).apply(null, arguments);
  11634. };
  11635. var dynCall_j = Module["dynCall_j"] = function() {
  11636. return (dynCall_j = Module["dynCall_j"] = Module["asm"]["ab"]).apply(null, arguments);
  11637. };
  11638. var dynCall_viijii = Module["dynCall_viijii"] = function() {
  11639. return (dynCall_viijii = Module["dynCall_viijii"] = Module["asm"]["bb"]).apply(null, arguments);
  11640. };
  11641. var dynCall_iiiiij = Module["dynCall_iiiiij"] = function() {
  11642. return (dynCall_iiiiij = Module["dynCall_iiiiij"] = Module["asm"]["cb"]).apply(null, arguments);
  11643. };
  11644. var dynCall_iiiiijj = Module["dynCall_iiiiijj"] = function() {
  11645. return (dynCall_iiiiijj = Module["dynCall_iiiiijj"] = Module["asm"]["db"]).apply(null, arguments);
  11646. };
  11647. var dynCall_iiiiiijj = Module["dynCall_iiiiiijj"] = function() {
  11648. return (dynCall_iiiiiijj = Module["dynCall_iiiiiijj"] = Module["asm"]["eb"]).apply(null, arguments);
  11649. };
  11650. function invoke_ii(index, a1) {
  11651. var sp = stackSave();
  11652. try {
  11653. return wasmTable.get(index)(a1);
  11654. } catch (e) {
  11655. stackRestore(sp);
  11656. if (e !== e + 0 && e !== "longjmp")
  11657. throw e;
  11658. _setThrew(1, 0);
  11659. }
  11660. }
  11661. function invoke_viiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
  11662. var sp = stackSave();
  11663. try {
  11664. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  11665. } catch (e) {
  11666. stackRestore(sp);
  11667. if (e !== e + 0 && e !== "longjmp")
  11668. throw e;
  11669. _setThrew(1, 0);
  11670. }
  11671. }
  11672. function invoke_vi(index, a1) {
  11673. var sp = stackSave();
  11674. try {
  11675. wasmTable.get(index)(a1);
  11676. } catch (e) {
  11677. stackRestore(sp);
  11678. if (e !== e + 0 && e !== "longjmp")
  11679. throw e;
  11680. _setThrew(1, 0);
  11681. }
  11682. }
  11683. function invoke_viiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
  11684. var sp = stackSave();
  11685. try {
  11686. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
  11687. } catch (e) {
  11688. stackRestore(sp);
  11689. if (e !== e + 0 && e !== "longjmp")
  11690. throw e;
  11691. _setThrew(1, 0);
  11692. }
  11693. }
  11694. function invoke_v(index) {
  11695. var sp = stackSave();
  11696. try {
  11697. wasmTable.get(index)();
  11698. } catch (e) {
  11699. stackRestore(sp);
  11700. if (e !== e + 0 && e !== "longjmp")
  11701. throw e;
  11702. _setThrew(1, 0);
  11703. }
  11704. }
  11705. function invoke_viii(index, a1, a2, a3) {
  11706. var sp = stackSave();
  11707. try {
  11708. wasmTable.get(index)(a1, a2, a3);
  11709. } catch (e) {
  11710. stackRestore(sp);
  11711. if (e !== e + 0 && e !== "longjmp")
  11712. throw e;
  11713. _setThrew(1, 0);
  11714. }
  11715. }
  11716. function invoke_viiii(index, a1, a2, a3, a4) {
  11717. var sp = stackSave();
  11718. try {
  11719. wasmTable.get(index)(a1, a2, a3, a4);
  11720. } catch (e) {
  11721. stackRestore(sp);
  11722. if (e !== e + 0 && e !== "longjmp")
  11723. throw e;
  11724. _setThrew(1, 0);
  11725. }
  11726. }
  11727. function invoke_iii(index, a1, a2) {
  11728. var sp = stackSave();
  11729. try {
  11730. return wasmTable.get(index)(a1, a2);
  11731. } catch (e) {
  11732. stackRestore(sp);
  11733. if (e !== e + 0 && e !== "longjmp")
  11734. throw e;
  11735. _setThrew(1, 0);
  11736. }
  11737. }
  11738. function invoke_vii(index, a1, a2) {
  11739. var sp = stackSave();
  11740. try {
  11741. wasmTable.get(index)(a1, a2);
  11742. } catch (e) {
  11743. stackRestore(sp);
  11744. if (e !== e + 0 && e !== "longjmp")
  11745. throw e;
  11746. _setThrew(1, 0);
  11747. }
  11748. }
  11749. function invoke_iiiii(index, a1, a2, a3, a4) {
  11750. var sp = stackSave();
  11751. try {
  11752. return wasmTable.get(index)(a1, a2, a3, a4);
  11753. } catch (e) {
  11754. stackRestore(sp);
  11755. if (e !== e + 0 && e !== "longjmp")
  11756. throw e;
  11757. _setThrew(1, 0);
  11758. }
  11759. }
  11760. function invoke_diii(index, a1, a2, a3) {
  11761. var sp = stackSave();
  11762. try {
  11763. return wasmTable.get(index)(a1, a2, a3);
  11764. } catch (e) {
  11765. stackRestore(sp);
  11766. if (e !== e + 0 && e !== "longjmp")
  11767. throw e;
  11768. _setThrew(1, 0);
  11769. }
  11770. }
  11771. function invoke_i(index) {
  11772. var sp = stackSave();
  11773. try {
  11774. return wasmTable.get(index)();
  11775. } catch (e) {
  11776. stackRestore(sp);
  11777. if (e !== e + 0 && e !== "longjmp")
  11778. throw e;
  11779. _setThrew(1, 0);
  11780. }
  11781. }
  11782. function invoke_iiii(index, a1, a2, a3) {
  11783. var sp = stackSave();
  11784. try {
  11785. return wasmTable.get(index)(a1, a2, a3);
  11786. } catch (e) {
  11787. stackRestore(sp);
  11788. if (e !== e + 0 && e !== "longjmp")
  11789. throw e;
  11790. _setThrew(1, 0);
  11791. }
  11792. }
  11793. function invoke_iid(index, a1, a2) {
  11794. var sp = stackSave();
  11795. try {
  11796. return wasmTable.get(index)(a1, a2);
  11797. } catch (e) {
  11798. stackRestore(sp);
  11799. if (e !== e + 0 && e !== "longjmp")
  11800. throw e;
  11801. _setThrew(1, 0);
  11802. }
  11803. }
  11804. function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
  11805. var sp = stackSave();
  11806. try {
  11807. return wasmTable.get(index)(a1, a2, a3, a4, a5, a6);
  11808. } catch (e) {
  11809. stackRestore(sp);
  11810. if (e !== e + 0 && e !== "longjmp")
  11811. throw e;
  11812. _setThrew(1, 0);
  11813. }
  11814. }
  11815. function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
  11816. var sp = stackSave();
  11817. try {
  11818. wasmTable.get(index)(a1, a2, a3, a4, a5, a6);
  11819. } catch (e) {
  11820. stackRestore(sp);
  11821. if (e !== e + 0 && e !== "longjmp")
  11822. throw e;
  11823. _setThrew(1, 0);
  11824. }
  11825. }
  11826. function invoke_viiiidii(index, a1, a2, a3, a4, a5, a6, a7) {
  11827. var sp = stackSave();
  11828. try {
  11829. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7);
  11830. } catch (e) {
  11831. stackRestore(sp);
  11832. if (e !== e + 0 && e !== "longjmp")
  11833. throw e;
  11834. _setThrew(1, 0);
  11835. }
  11836. }
  11837. function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  11838. var sp = stackSave();
  11839. try {
  11840. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7);
  11841. } catch (e) {
  11842. stackRestore(sp);
  11843. if (e !== e + 0 && e !== "longjmp")
  11844. throw e;
  11845. _setThrew(1, 0);
  11846. }
  11847. }
  11848. function invoke_viffiid(index, a1, a2, a3, a4, a5, a6) {
  11849. var sp = stackSave();
  11850. try {
  11851. wasmTable.get(index)(a1, a2, a3, a4, a5, a6);
  11852. } catch (e) {
  11853. stackRestore(sp);
  11854. if (e !== e + 0 && e !== "longjmp")
  11855. throw e;
  11856. _setThrew(1, 0);
  11857. }
  11858. }
  11859. function invoke_viddi(index, a1, a2, a3, a4) {
  11860. var sp = stackSave();
  11861. try {
  11862. wasmTable.get(index)(a1, a2, a3, a4);
  11863. } catch (e) {
  11864. stackRestore(sp);
  11865. if (e !== e + 0 && e !== "longjmp")
  11866. throw e;
  11867. _setThrew(1, 0);
  11868. }
  11869. }
  11870. function invoke_iiiiii(index, a1, a2, a3, a4, a5) {
  11871. var sp = stackSave();
  11872. try {
  11873. return wasmTable.get(index)(a1, a2, a3, a4, a5);
  11874. } catch (e) {
  11875. stackRestore(sp);
  11876. if (e !== e + 0 && e !== "longjmp")
  11877. throw e;
  11878. _setThrew(1, 0);
  11879. }
  11880. }
  11881. function invoke_viiiii(index, a1, a2, a3, a4, a5) {
  11882. var sp = stackSave();
  11883. try {
  11884. wasmTable.get(index)(a1, a2, a3, a4, a5);
  11885. } catch (e) {
  11886. stackRestore(sp);
  11887. if (e !== e + 0 && e !== "longjmp")
  11888. throw e;
  11889. _setThrew(1, 0);
  11890. }
  11891. }
  11892. function invoke_viidd(index, a1, a2, a3, a4) {
  11893. var sp = stackSave();
  11894. try {
  11895. wasmTable.get(index)(a1, a2, a3, a4);
  11896. } catch (e) {
  11897. stackRestore(sp);
  11898. if (e !== e + 0 && e !== "longjmp")
  11899. throw e;
  11900. _setThrew(1, 0);
  11901. }
  11902. }
  11903. function invoke_viiiid(index, a1, a2, a3, a4, a5) {
  11904. var sp = stackSave();
  11905. try {
  11906. wasmTable.get(index)(a1, a2, a3, a4, a5);
  11907. } catch (e) {
  11908. stackRestore(sp);
  11909. if (e !== e + 0 && e !== "longjmp")
  11910. throw e;
  11911. _setThrew(1, 0);
  11912. }
  11913. }
  11914. function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
  11915. var sp = stackSave();
  11916. try {
  11917. return wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8);
  11918. } catch (e) {
  11919. stackRestore(sp);
  11920. if (e !== e + 0 && e !== "longjmp")
  11921. throw e;
  11922. _setThrew(1, 0);
  11923. }
  11924. }
  11925. function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
  11926. var sp = stackSave();
  11927. try {
  11928. return wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7);
  11929. } catch (e) {
  11930. stackRestore(sp);
  11931. if (e !== e + 0 && e !== "longjmp")
  11932. throw e;
  11933. _setThrew(1, 0);
  11934. }
  11935. }
  11936. function invoke_iiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
  11937. var sp = stackSave();
  11938. try {
  11939. return wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
  11940. } catch (e) {
  11941. stackRestore(sp);
  11942. if (e !== e + 0 && e !== "longjmp")
  11943. throw e;
  11944. _setThrew(1, 0);
  11945. }
  11946. }
  11947. function invoke_viiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {
  11948. var sp = stackSave();
  11949. try {
  11950. wasmTable.get(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);
  11951. } catch (e) {
  11952. stackRestore(sp);
  11953. if (e !== e + 0 && e !== "longjmp")
  11954. throw e;
  11955. _setThrew(1, 0);
  11956. }
  11957. }
  11958. function invoke_iiiiid(index, a1, a2, a3, a4, a5) {
  11959. var sp = stackSave();
  11960. try {
  11961. return wasmTable.get(index)(a1, a2, a3, a4, a5);
  11962. } catch (e) {
  11963. stackRestore(sp);
  11964. if (e !== e + 0 && e !== "longjmp")
  11965. throw e;
  11966. _setThrew(1, 0);
  11967. }
  11968. }
  11969. function invoke_j(index) {
  11970. var sp = stackSave();
  11971. try {
  11972. return dynCall_j(index);
  11973. } catch (e) {
  11974. stackRestore(sp);
  11975. if (e !== e + 0 && e !== "longjmp")
  11976. throw e;
  11977. _setThrew(1, 0);
  11978. }
  11979. }
  11980. Module["addRunDependency"] = addRunDependency;
  11981. Module["removeRunDependency"] = removeRunDependency;
  11982. Module["FS_createPath"] = FS.createPath;
  11983. Module["FS_createDataFile"] = FS.createDataFile;
  11984. Module["FS_createPreloadedFile"] = FS.createPreloadedFile;
  11985. Module["FS_createLazyFile"] = FS.createLazyFile;
  11986. Module["FS_createDevice"] = FS.createDevice;
  11987. Module["FS_unlink"] = FS.unlink;
  11988. Module["FS"] = FS;
  11989. var calledRun;
  11990. function ExitStatus(status) {
  11991. this.name = "ExitStatus";
  11992. this.message = "Program terminated with exit(" + status + ")";
  11993. this.status = status;
  11994. }
  11995. var calledMain = false;
  11996. dependenciesFulfilled = function runCaller() {
  11997. if (!calledRun)
  11998. run();
  11999. if (!calledRun)
  12000. dependenciesFulfilled = runCaller;
  12001. };
  12002. function callMain(args) {
  12003. var entryFunction = Module["_main"];
  12004. var argc = 0;
  12005. var argv = 0;
  12006. try {
  12007. var ret = entryFunction(argc, argv);
  12008. exit(ret, true);
  12009. } catch (e) {
  12010. if (e instanceof ExitStatus || e == "unwind") {
  12011. return;
  12012. }
  12013. var toLog = e;
  12014. if (e && typeof e === "object" && e.stack) {
  12015. toLog = [e, e.stack];
  12016. }
  12017. err("exception thrown: " + toLog);
  12018. quit_(1, e);
  12019. } finally {
  12020. calledMain = true;
  12021. }
  12022. }
  12023. function run(args) {
  12024. args = args || arguments_;
  12025. if (runDependencies > 0) {
  12026. return;
  12027. }
  12028. preRun();
  12029. if (runDependencies > 0) {
  12030. return;
  12031. }
  12032. function doRun() {
  12033. if (calledRun)
  12034. return;
  12035. calledRun = true;
  12036. Module["calledRun"] = true;
  12037. if (ABORT)
  12038. return;
  12039. initRuntime();
  12040. preMain();
  12041. readyPromiseResolve(Module);
  12042. if (Module["onRuntimeInitialized"])
  12043. Module["onRuntimeInitialized"]();
  12044. if (shouldRunNow)
  12045. callMain(args);
  12046. postRun();
  12047. }
  12048. if (Module["setStatus"]) {
  12049. Module["setStatus"]("Running...");
  12050. setTimeout(function() {
  12051. setTimeout(function() {
  12052. Module["setStatus"]("");
  12053. }, 1);
  12054. doRun();
  12055. }, 1);
  12056. } else {
  12057. doRun();
  12058. }
  12059. }
  12060. Module["run"] = run;
  12061. function exit(status, implicit) {
  12062. EXITSTATUS = status;
  12063. if (keepRuntimeAlive()) {
  12064. } else {
  12065. exitRuntime();
  12066. if (Module["onExit"])
  12067. Module["onExit"](status);
  12068. ABORT = true;
  12069. }
  12070. quit_(status, new ExitStatus(status));
  12071. }
  12072. if (Module["preInit"]) {
  12073. if (typeof Module["preInit"] == "function")
  12074. Module["preInit"] = [Module["preInit"]];
  12075. while (Module["preInit"].length > 0) {
  12076. Module["preInit"].pop()();
  12077. }
  12078. }
  12079. var shouldRunNow = true;
  12080. if (Module["noInitialRun"])
  12081. shouldRunNow = false;
  12082. run();
  12083. return WebIFCWasm3.ready;
  12084. };
  12085. }();
  12086. if (typeof exports === "object" && typeof module === "object")
  12087. module.exports = WebIFCWasm2;
  12088. else if (typeof define === "function" && define["amd"])
  12089. define([], function() {
  12090. return WebIFCWasm2;
  12091. });
  12092. else if (typeof exports === "object")
  12093. exports["WebIFCWasm"] = WebIFCWasm2;
  12094. }
  12095. });
  12096. // dist/ifc2x4.ts
  12097. var IFCACTIONREQUEST = 3821786052;
  12098. var IFCACTOR = 2296667514;
  12099. var IFCACTORROLE = 3630933823;
  12100. var IFCACTUATOR = 4288193352;
  12101. var IFCACTUATORTYPE = 2874132201;
  12102. var IFCADDRESS = 618182010;
  12103. var IFCADVANCEDBREP = 1635779807;
  12104. var IFCADVANCEDBREPWITHVOIDS = 2603310189;
  12105. var IFCADVANCEDFACE = 3406155212;
  12106. var IFCAIRTERMINAL = 1634111441;
  12107. var IFCAIRTERMINALBOX = 177149247;
  12108. var IFCAIRTERMINALBOXTYPE = 1411407467;
  12109. var IFCAIRTERMINALTYPE = 3352864051;
  12110. var IFCAIRTOAIRHEATRECOVERY = 2056796094;
  12111. var IFCAIRTOAIRHEATRECOVERYTYPE = 1871374353;
  12112. var IFCALARM = 3087945054;
  12113. var IFCALARMTYPE = 3001207471;
  12114. var IFCALIGNMENT = 325726236;
  12115. var IFCALIGNMENT2DHORIZONTAL = 749761778;
  12116. var IFCALIGNMENT2DHORIZONTALSEGMENT = 3199563722;
  12117. var IFCALIGNMENT2DSEGMENT = 2483840362;
  12118. var IFCALIGNMENT2DVERSEGCIRCULARARC = 3379348081;
  12119. var IFCALIGNMENT2DVERSEGLINE = 3239324667;
  12120. var IFCALIGNMENT2DVERSEGPARABOLICARC = 4263986512;
  12121. var IFCALIGNMENT2DVERTICAL = 53199957;
  12122. var IFCALIGNMENT2DVERTICALSEGMENT = 2029264950;
  12123. var IFCALIGNMENTCURVE = 3512275521;
  12124. var IFCANNOTATION = 1674181508;
  12125. var IFCANNOTATIONFILLAREA = 669184980;
  12126. var IFCAPPLICATION = 639542469;
  12127. var IFCAPPLIEDVALUE = 411424972;
  12128. var IFCAPPROVAL = 130549933;
  12129. var IFCAPPROVALRELATIONSHIP = 3869604511;
  12130. var IFCARBITRARYCLOSEDPROFILEDEF = 3798115385;
  12131. var IFCARBITRARYOPENPROFILEDEF = 1310608509;
  12132. var IFCARBITRARYPROFILEDEFWITHVOIDS = 2705031697;
  12133. var IFCASSET = 3460190687;
  12134. var IFCASYMMETRICISHAPEPROFILEDEF = 3207858831;
  12135. var IFCAUDIOVISUALAPPLIANCE = 277319702;
  12136. var IFCAUDIOVISUALAPPLIANCETYPE = 1532957894;
  12137. var IFCAXIS1PLACEMENT = 4261334040;
  12138. var IFCAXIS2PLACEMENT2D = 3125803723;
  12139. var IFCAXIS2PLACEMENT3D = 2740243338;
  12140. var IFCBSPLINECURVE = 1967976161;
  12141. var IFCBSPLINECURVEWITHKNOTS = 2461110595;
  12142. var IFCBSPLINESURFACE = 2887950389;
  12143. var IFCBSPLINESURFACEWITHKNOTS = 167062518;
  12144. var IFCBEAM = 753842376;
  12145. var IFCBEAMSTANDARDCASE = 2906023776;
  12146. var IFCBEAMTYPE = 819618141;
  12147. var IFCBEARING = 4196446775;
  12148. var IFCBEARINGTYPE = 3649138523;
  12149. var IFCBLOBTEXTURE = 616511568;
  12150. var IFCBLOCK = 1334484129;
  12151. var IFCBOILER = 32344328;
  12152. var IFCBOILERTYPE = 231477066;
  12153. var IFCBOOLEANCLIPPINGRESULT = 3649129432;
  12154. var IFCBOOLEANRESULT = 2736907675;
  12155. var IFCBOUNDARYCONDITION = 4037036970;
  12156. var IFCBOUNDARYCURVE = 1136057603;
  12157. var IFCBOUNDARYEDGECONDITION = 1560379544;
  12158. var IFCBOUNDARYFACECONDITION = 3367102660;
  12159. var IFCBOUNDARYNODECONDITION = 1387855156;
  12160. var IFCBOUNDARYNODECONDITIONWARPING = 2069777674;
  12161. var IFCBOUNDEDCURVE = 1260505505;
  12162. var IFCBOUNDEDSURFACE = 4182860854;
  12163. var IFCBOUNDINGBOX = 2581212453;
  12164. var IFCBOXEDHALFSPACE = 2713105998;
  12165. var IFCBRIDGE = 644574406;
  12166. var IFCBRIDGEPART = 963979645;
  12167. var IFCBUILDING = 4031249490;
  12168. var IFCBUILDINGELEMENT = 3299480353;
  12169. var IFCBUILDINGELEMENTPART = 2979338954;
  12170. var IFCBUILDINGELEMENTPARTTYPE = 39481116;
  12171. var IFCBUILDINGELEMENTPROXY = 1095909175;
  12172. var IFCBUILDINGELEMENTPROXYTYPE = 1909888760;
  12173. var IFCBUILDINGELEMENTTYPE = 1950629157;
  12174. var IFCBUILDINGSTOREY = 3124254112;
  12175. var IFCBUILDINGSYSTEM = 1177604601;
  12176. var IFCBURNER = 2938176219;
  12177. var IFCBURNERTYPE = 2188180465;
  12178. var IFCCSHAPEPROFILEDEF = 2898889636;
  12179. var IFCCABLECARRIERFITTING = 635142910;
  12180. var IFCCABLECARRIERFITTINGTYPE = 395041908;
  12181. var IFCCABLECARRIERSEGMENT = 3758799889;
  12182. var IFCCABLECARRIERSEGMENTTYPE = 3293546465;
  12183. var IFCCABLEFITTING = 1051757585;
  12184. var IFCCABLEFITTINGTYPE = 2674252688;
  12185. var IFCCABLESEGMENT = 4217484030;
  12186. var IFCCABLESEGMENTTYPE = 1285652485;
  12187. var IFCCAISSONFOUNDATION = 3999819293;
  12188. var IFCCAISSONFOUNDATIONTYPE = 3203706013;
  12189. var IFCCARTESIANPOINT = 1123145078;
  12190. var IFCCARTESIANPOINTLIST = 574549367;
  12191. var IFCCARTESIANPOINTLIST2D = 1675464909;
  12192. var IFCCARTESIANPOINTLIST3D = 2059837836;
  12193. var IFCCARTESIANTRANSFORMATIONOPERATOR = 59481748;
  12194. var IFCCARTESIANTRANSFORMATIONOPERATOR2D = 3749851601;
  12195. var IFCCARTESIANTRANSFORMATIONOPERATOR2DNONUNIFORM = 3486308946;
  12196. var IFCCARTESIANTRANSFORMATIONOPERATOR3D = 3331915920;
  12197. var IFCCARTESIANTRANSFORMATIONOPERATOR3DNONUNIFORM = 1416205885;
  12198. var IFCCENTERLINEPROFILEDEF = 3150382593;
  12199. var IFCCHILLER = 3902619387;
  12200. var IFCCHILLERTYPE = 2951183804;
  12201. var IFCCHIMNEY = 3296154744;
  12202. var IFCCHIMNEYTYPE = 2197970202;
  12203. var IFCCIRCLE = 2611217952;
  12204. var IFCCIRCLEHOLLOWPROFILEDEF = 2937912522;
  12205. var IFCCIRCLEPROFILEDEF = 1383045692;
  12206. var IFCCIRCULARARCSEGMENT2D = 1062206242;
  12207. var IFCCIVILELEMENT = 1677625105;
  12208. var IFCCIVILELEMENTTYPE = 3893394355;
  12209. var IFCCLASSIFICATION = 747523909;
  12210. var IFCCLASSIFICATIONREFERENCE = 647927063;
  12211. var IFCCLOSEDSHELL = 2205249479;
  12212. var IFCCOIL = 639361253;
  12213. var IFCCOILTYPE = 2301859152;
  12214. var IFCCOLOURRGB = 776857604;
  12215. var IFCCOLOURRGBLIST = 3285139300;
  12216. var IFCCOLOURSPECIFICATION = 3264961684;
  12217. var IFCCOLUMN = 843113511;
  12218. var IFCCOLUMNSTANDARDCASE = 905975707;
  12219. var IFCCOLUMNTYPE = 300633059;
  12220. var IFCCOMMUNICATIONSAPPLIANCE = 3221913625;
  12221. var IFCCOMMUNICATIONSAPPLIANCETYPE = 400855858;
  12222. var IFCCOMPLEXPROPERTY = 2542286263;
  12223. var IFCCOMPLEXPROPERTYTEMPLATE = 3875453745;
  12224. var IFCCOMPOSITECURVE = 3732776249;
  12225. var IFCCOMPOSITECURVEONSURFACE = 15328376;
  12226. var IFCCOMPOSITECURVESEGMENT = 2485617015;
  12227. var IFCCOMPOSITEPROFILEDEF = 1485152156;
  12228. var IFCCOMPRESSOR = 3571504051;
  12229. var IFCCOMPRESSORTYPE = 3850581409;
  12230. var IFCCONDENSER = 2272882330;
  12231. var IFCCONDENSERTYPE = 2816379211;
  12232. var IFCCONIC = 2510884976;
  12233. var IFCCONNECTEDFACESET = 370225590;
  12234. var IFCCONNECTIONCURVEGEOMETRY = 1981873012;
  12235. var IFCCONNECTIONGEOMETRY = 2859738748;
  12236. var IFCCONNECTIONPOINTECCENTRICITY = 45288368;
  12237. var IFCCONNECTIONPOINTGEOMETRY = 2614616156;
  12238. var IFCCONNECTIONSURFACEGEOMETRY = 2732653382;
  12239. var IFCCONNECTIONVOLUMEGEOMETRY = 775493141;
  12240. var IFCCONSTRAINT = 1959218052;
  12241. var IFCCONSTRUCTIONEQUIPMENTRESOURCE = 3898045240;
  12242. var IFCCONSTRUCTIONEQUIPMENTRESOURCETYPE = 2185764099;
  12243. var IFCCONSTRUCTIONMATERIALRESOURCE = 1060000209;
  12244. var IFCCONSTRUCTIONMATERIALRESOURCETYPE = 4105962743;
  12245. var IFCCONSTRUCTIONPRODUCTRESOURCE = 488727124;
  12246. var IFCCONSTRUCTIONPRODUCTRESOURCETYPE = 1525564444;
  12247. var IFCCONSTRUCTIONRESOURCE = 2559216714;
  12248. var IFCCONSTRUCTIONRESOURCETYPE = 2574617495;
  12249. var IFCCONTEXT = 3419103109;
  12250. var IFCCONTEXTDEPENDENTUNIT = 3050246964;
  12251. var IFCCONTROL = 3293443760;
  12252. var IFCCONTROLLER = 25142252;
  12253. var IFCCONTROLLERTYPE = 578613899;
  12254. var IFCCONVERSIONBASEDUNIT = 2889183280;
  12255. var IFCCONVERSIONBASEDUNITWITHOFFSET = 2713554722;
  12256. var IFCCOOLEDBEAM = 4136498852;
  12257. var IFCCOOLEDBEAMTYPE = 335055490;
  12258. var IFCCOOLINGTOWER = 3640358203;
  12259. var IFCCOOLINGTOWERTYPE = 2954562838;
  12260. var IFCCOORDINATEOPERATION = 1785450214;
  12261. var IFCCOORDINATEREFERENCESYSTEM = 1466758467;
  12262. var IFCCOSTITEM = 3895139033;
  12263. var IFCCOSTSCHEDULE = 1419761937;
  12264. var IFCCOSTVALUE = 602808272;
  12265. var IFCCOVERING = 1973544240;
  12266. var IFCCOVERINGTYPE = 1916426348;
  12267. var IFCCREWRESOURCE = 3295246426;
  12268. var IFCCREWRESOURCETYPE = 1815067380;
  12269. var IFCCSGPRIMITIVE3D = 2506170314;
  12270. var IFCCSGSOLID = 2147822146;
  12271. var IFCCURRENCYRELATIONSHIP = 539742890;
  12272. var IFCCURTAINWALL = 3495092785;
  12273. var IFCCURTAINWALLTYPE = 1457835157;
  12274. var IFCCURVE = 2601014836;
  12275. var IFCCURVEBOUNDEDPLANE = 2827736869;
  12276. var IFCCURVEBOUNDEDSURFACE = 2629017746;
  12277. var IFCCURVESEGMENT2D = 1186437898;
  12278. var IFCCURVESTYLE = 3800577675;
  12279. var IFCCURVESTYLEFONT = 1105321065;
  12280. var IFCCURVESTYLEFONTANDSCALING = 2367409068;
  12281. var IFCCURVESTYLEFONTPATTERN = 3510044353;
  12282. var IFCCYLINDRICALSURFACE = 1213902940;
  12283. var IFCDAMPER = 4074379575;
  12284. var IFCDAMPERTYPE = 3961806047;
  12285. var IFCDEEPFOUNDATION = 3426335179;
  12286. var IFCDEEPFOUNDATIONTYPE = 1306400036;
  12287. var IFCDERIVEDPROFILEDEF = 3632507154;
  12288. var IFCDERIVEDUNIT = 1765591967;
  12289. var IFCDERIVEDUNITELEMENT = 1045800335;
  12290. var IFCDIMENSIONALEXPONENTS = 2949456006;
  12291. var IFCDIRECTION = 32440307;
  12292. var IFCDISCRETEACCESSORY = 1335981549;
  12293. var IFCDISCRETEACCESSORYTYPE = 2635815018;
  12294. var IFCDISTANCEEXPRESSION = 1945343521;
  12295. var IFCDISTRIBUTIONCHAMBERELEMENT = 1052013943;
  12296. var IFCDISTRIBUTIONCHAMBERELEMENTTYPE = 1599208980;
  12297. var IFCDISTRIBUTIONCIRCUIT = 562808652;
  12298. var IFCDISTRIBUTIONCONTROLELEMENT = 1062813311;
  12299. var IFCDISTRIBUTIONCONTROLELEMENTTYPE = 2063403501;
  12300. var IFCDISTRIBUTIONELEMENT = 1945004755;
  12301. var IFCDISTRIBUTIONELEMENTTYPE = 3256556792;
  12302. var IFCDISTRIBUTIONFLOWELEMENT = 3040386961;
  12303. var IFCDISTRIBUTIONFLOWELEMENTTYPE = 3849074793;
  12304. var IFCDISTRIBUTIONPORT = 3041715199;
  12305. var IFCDISTRIBUTIONSYSTEM = 3205830791;
  12306. var IFCDOCUMENTINFORMATION = 1154170062;
  12307. var IFCDOCUMENTINFORMATIONRELATIONSHIP = 770865208;
  12308. var IFCDOCUMENTREFERENCE = 3732053477;
  12309. var IFCDOOR = 395920057;
  12310. var IFCDOORLININGPROPERTIES = 2963535650;
  12311. var IFCDOORPANELPROPERTIES = 1714330368;
  12312. var IFCDOORSTANDARDCASE = 3242481149;
  12313. var IFCDOORSTYLE = 526551008;
  12314. var IFCDOORTYPE = 2323601079;
  12315. var IFCDRAUGHTINGPREDEFINEDCOLOUR = 445594917;
  12316. var IFCDRAUGHTINGPREDEFINEDCURVEFONT = 4006246654;
  12317. var IFCDUCTFITTING = 342316401;
  12318. var IFCDUCTFITTINGTYPE = 869906466;
  12319. var IFCDUCTSEGMENT = 3518393246;
  12320. var IFCDUCTSEGMENTTYPE = 3760055223;
  12321. var IFCDUCTSILENCER = 1360408905;
  12322. var IFCDUCTSILENCERTYPE = 2030761528;
  12323. var IFCEDGE = 3900360178;
  12324. var IFCEDGECURVE = 476780140;
  12325. var IFCEDGELOOP = 1472233963;
  12326. var IFCELECTRICAPPLIANCE = 1904799276;
  12327. var IFCELECTRICAPPLIANCETYPE = 663422040;
  12328. var IFCELECTRICDISTRIBUTIONBOARD = 862014818;
  12329. var IFCELECTRICDISTRIBUTIONBOARDTYPE = 2417008758;
  12330. var IFCELECTRICFLOWSTORAGEDEVICE = 3310460725;
  12331. var IFCELECTRICFLOWSTORAGEDEVICETYPE = 3277789161;
  12332. var IFCELECTRICGENERATOR = 264262732;
  12333. var IFCELECTRICGENERATORTYPE = 1534661035;
  12334. var IFCELECTRICMOTOR = 402227799;
  12335. var IFCELECTRICMOTORTYPE = 1217240411;
  12336. var IFCELECTRICTIMECONTROL = 1003880860;
  12337. var IFCELECTRICTIMECONTROLTYPE = 712377611;
  12338. var IFCELEMENT = 1758889154;
  12339. var IFCELEMENTASSEMBLY = 4123344466;
  12340. var IFCELEMENTASSEMBLYTYPE = 2397081782;
  12341. var IFCELEMENTCOMPONENT = 1623761950;
  12342. var IFCELEMENTCOMPONENTTYPE = 2590856083;
  12343. var IFCELEMENTQUANTITY = 1883228015;
  12344. var IFCELEMENTTYPE = 339256511;
  12345. var IFCELEMENTARYSURFACE = 2777663545;
  12346. var IFCELLIPSE = 1704287377;
  12347. var IFCELLIPSEPROFILEDEF = 2835456948;
  12348. var IFCENERGYCONVERSIONDEVICE = 1658829314;
  12349. var IFCENERGYCONVERSIONDEVICETYPE = 2107101300;
  12350. var IFCENGINE = 2814081492;
  12351. var IFCENGINETYPE = 132023988;
  12352. var IFCEVAPORATIVECOOLER = 3747195512;
  12353. var IFCEVAPORATIVECOOLERTYPE = 3174744832;
  12354. var IFCEVAPORATOR = 484807127;
  12355. var IFCEVAPORATORTYPE = 3390157468;
  12356. var IFCEVENT = 4148101412;
  12357. var IFCEVENTTIME = 211053100;
  12358. var IFCEVENTTYPE = 4024345920;
  12359. var IFCEXTENDEDPROPERTIES = 297599258;
  12360. var IFCEXTERNALINFORMATION = 4294318154;
  12361. var IFCEXTERNALREFERENCE = 3200245327;
  12362. var IFCEXTERNALREFERENCERELATIONSHIP = 1437805879;
  12363. var IFCEXTERNALSPATIALELEMENT = 1209101575;
  12364. var IFCEXTERNALSPATIALSTRUCTUREELEMENT = 2853485674;
  12365. var IFCEXTERNALLYDEFINEDHATCHSTYLE = 2242383968;
  12366. var IFCEXTERNALLYDEFINEDSURFACESTYLE = 1040185647;
  12367. var IFCEXTERNALLYDEFINEDTEXTFONT = 3548104201;
  12368. var IFCEXTRUDEDAREASOLID = 477187591;
  12369. var IFCEXTRUDEDAREASOLIDTAPERED = 2804161546;
  12370. var IFCFACE = 2556980723;
  12371. var IFCFACEBASEDSURFACEMODEL = 2047409740;
  12372. var IFCFACEBOUND = 1809719519;
  12373. var IFCFACEOUTERBOUND = 803316827;
  12374. var IFCFACESURFACE = 3008276851;
  12375. var IFCFACETEDBREP = 807026263;
  12376. var IFCFACETEDBREPWITHVOIDS = 3737207727;
  12377. var IFCFACILITY = 24185140;
  12378. var IFCFACILITYPART = 1310830890;
  12379. var IFCFAILURECONNECTIONCONDITION = 4219587988;
  12380. var IFCFAN = 3415622556;
  12381. var IFCFANTYPE = 346874300;
  12382. var IFCFASTENER = 647756555;
  12383. var IFCFASTENERTYPE = 2489546625;
  12384. var IFCFEATUREELEMENT = 2827207264;
  12385. var IFCFEATUREELEMENTADDITION = 2143335405;
  12386. var IFCFEATUREELEMENTSUBTRACTION = 1287392070;
  12387. var IFCFILLAREASTYLE = 738692330;
  12388. var IFCFILLAREASTYLEHATCHING = 374418227;
  12389. var IFCFILLAREASTYLETILES = 315944413;
  12390. var IFCFILTER = 819412036;
  12391. var IFCFILTERTYPE = 1810631287;
  12392. var IFCFIRESUPPRESSIONTERMINAL = 1426591983;
  12393. var IFCFIRESUPPRESSIONTERMINALTYPE = 4222183408;
  12394. var IFCFIXEDREFERENCESWEPTAREASOLID = 2652556860;
  12395. var IFCFLOWCONTROLLER = 2058353004;
  12396. var IFCFLOWCONTROLLERTYPE = 3907093117;
  12397. var IFCFLOWFITTING = 4278956645;
  12398. var IFCFLOWFITTINGTYPE = 3198132628;
  12399. var IFCFLOWINSTRUMENT = 182646315;
  12400. var IFCFLOWINSTRUMENTTYPE = 4037862832;
  12401. var IFCFLOWMETER = 2188021234;
  12402. var IFCFLOWMETERTYPE = 3815607619;
  12403. var IFCFLOWMOVINGDEVICE = 3132237377;
  12404. var IFCFLOWMOVINGDEVICETYPE = 1482959167;
  12405. var IFCFLOWSEGMENT = 987401354;
  12406. var IFCFLOWSEGMENTTYPE = 1834744321;
  12407. var IFCFLOWSTORAGEDEVICE = 707683696;
  12408. var IFCFLOWSTORAGEDEVICETYPE = 1339347760;
  12409. var IFCFLOWTERMINAL = 2223149337;
  12410. var IFCFLOWTERMINALTYPE = 2297155007;
  12411. var IFCFLOWTREATMENTDEVICE = 3508470533;
  12412. var IFCFLOWTREATMENTDEVICETYPE = 3009222698;
  12413. var IFCFOOTING = 900683007;
  12414. var IFCFOOTINGTYPE = 1893162501;
  12415. var IFCFURNISHINGELEMENT = 263784265;
  12416. var IFCFURNISHINGELEMENTTYPE = 4238390223;
  12417. var IFCFURNITURE = 1509553395;
  12418. var IFCFURNITURETYPE = 1268542332;
  12419. var IFCGEOGRAPHICELEMENT = 3493046030;
  12420. var IFCGEOGRAPHICELEMENTTYPE = 4095422895;
  12421. var IFCGEOMETRICCURVESET = 987898635;
  12422. var IFCGEOMETRICREPRESENTATIONCONTEXT = 3448662350;
  12423. var IFCGEOMETRICREPRESENTATIONITEM = 2453401579;
  12424. var IFCGEOMETRICREPRESENTATIONSUBCONTEXT = 4142052618;
  12425. var IFCGEOMETRICSET = 3590301190;
  12426. var IFCGRID = 3009204131;
  12427. var IFCGRIDAXIS = 852622518;
  12428. var IFCGRIDPLACEMENT = 178086475;
  12429. var IFCGROUP = 2706460486;
  12430. var IFCHALFSPACESOLID = 812098782;
  12431. var IFCHEATEXCHANGER = 3319311131;
  12432. var IFCHEATEXCHANGERTYPE = 1251058090;
  12433. var IFCHUMIDIFIER = 2068733104;
  12434. var IFCHUMIDIFIERTYPE = 1806887404;
  12435. var IFCISHAPEPROFILEDEF = 1484403080;
  12436. var IFCIMAGETEXTURE = 3905492369;
  12437. var IFCINDEXEDCOLOURMAP = 3570813810;
  12438. var IFCINDEXEDPOLYCURVE = 2571569899;
  12439. var IFCINDEXEDPOLYGONALFACE = 178912537;
  12440. var IFCINDEXEDPOLYGONALFACEWITHVOIDS = 2294589976;
  12441. var IFCINDEXEDTEXTUREMAP = 1437953363;
  12442. var IFCINDEXEDTRIANGLETEXTUREMAP = 2133299955;
  12443. var IFCINTERCEPTOR = 4175244083;
  12444. var IFCINTERCEPTORTYPE = 3946677679;
  12445. var IFCINTERSECTIONCURVE = 3113134337;
  12446. var IFCINVENTORY = 2391368822;
  12447. var IFCIRREGULARTIMESERIES = 3741457305;
  12448. var IFCIRREGULARTIMESERIESVALUE = 3020489413;
  12449. var IFCJUNCTIONBOX = 2176052936;
  12450. var IFCJUNCTIONBOXTYPE = 4288270099;
  12451. var IFCLSHAPEPROFILEDEF = 572779678;
  12452. var IFCLABORRESOURCE = 3827777499;
  12453. var IFCLABORRESOURCETYPE = 428585644;
  12454. var IFCLAGTIME = 1585845231;
  12455. var IFCLAMP = 76236018;
  12456. var IFCLAMPTYPE = 1051575348;
  12457. var IFCLIBRARYINFORMATION = 2655187982;
  12458. var IFCLIBRARYREFERENCE = 3452421091;
  12459. var IFCLIGHTDISTRIBUTIONDATA = 4162380809;
  12460. var IFCLIGHTFIXTURE = 629592764;
  12461. var IFCLIGHTFIXTURETYPE = 1161773419;
  12462. var IFCLIGHTINTENSITYDISTRIBUTION = 1566485204;
  12463. var IFCLIGHTSOURCE = 1402838566;
  12464. var IFCLIGHTSOURCEAMBIENT = 125510826;
  12465. var IFCLIGHTSOURCEDIRECTIONAL = 2604431987;
  12466. var IFCLIGHTSOURCEGONIOMETRIC = 4266656042;
  12467. var IFCLIGHTSOURCEPOSITIONAL = 1520743889;
  12468. var IFCLIGHTSOURCESPOT = 3422422726;
  12469. var IFCLINE = 1281925730;
  12470. var IFCLINESEGMENT2D = 3092502836;
  12471. var IFCLINEARPLACEMENT = 388784114;
  12472. var IFCLINEARPOSITIONINGELEMENT = 1154579445;
  12473. var IFCLOCALPLACEMENT = 2624227202;
  12474. var IFCLOOP = 1008929658;
  12475. var IFCMANIFOLDSOLIDBREP = 1425443689;
  12476. var IFCMAPCONVERSION = 3057273783;
  12477. var IFCMAPPEDITEM = 2347385850;
  12478. var IFCMATERIAL = 1838606355;
  12479. var IFCMATERIALCLASSIFICATIONRELATIONSHIP = 1847130766;
  12480. var IFCMATERIALCONSTITUENT = 3708119e3;
  12481. var IFCMATERIALCONSTITUENTSET = 2852063980;
  12482. var IFCMATERIALDEFINITION = 760658860;
  12483. var IFCMATERIALDEFINITIONREPRESENTATION = 2022407955;
  12484. var IFCMATERIALLAYER = 248100487;
  12485. var IFCMATERIALLAYERSET = 3303938423;
  12486. var IFCMATERIALLAYERSETUSAGE = 1303795690;
  12487. var IFCMATERIALLAYERWITHOFFSETS = 1847252529;
  12488. var IFCMATERIALLIST = 2199411900;
  12489. var IFCMATERIALPROFILE = 2235152071;
  12490. var IFCMATERIALPROFILESET = 164193824;
  12491. var IFCMATERIALPROFILESETUSAGE = 3079605661;
  12492. var IFCMATERIALPROFILESETUSAGETAPERING = 3404854881;
  12493. var IFCMATERIALPROFILEWITHOFFSETS = 552965576;
  12494. var IFCMATERIALPROPERTIES = 3265635763;
  12495. var IFCMATERIALRELATIONSHIP = 853536259;
  12496. var IFCMATERIALUSAGEDEFINITION = 1507914824;
  12497. var IFCMEASUREWITHUNIT = 2597039031;
  12498. var IFCMECHANICALFASTENER = 377706215;
  12499. var IFCMECHANICALFASTENERTYPE = 2108223431;
  12500. var IFCMEDICALDEVICE = 1437502449;
  12501. var IFCMEDICALDEVICETYPE = 1114901282;
  12502. var IFCMEMBER = 1073191201;
  12503. var IFCMEMBERSTANDARDCASE = 1911478936;
  12504. var IFCMEMBERTYPE = 3181161470;
  12505. var IFCMETRIC = 3368373690;
  12506. var IFCMIRROREDPROFILEDEF = 2998442950;
  12507. var IFCMONETARYUNIT = 2706619895;
  12508. var IFCMOTORCONNECTION = 2474470126;
  12509. var IFCMOTORCONNECTIONTYPE = 977012517;
  12510. var IFCNAMEDUNIT = 1918398963;
  12511. var IFCOBJECT = 3888040117;
  12512. var IFCOBJECTDEFINITION = 219451334;
  12513. var IFCOBJECTPLACEMENT = 3701648758;
  12514. var IFCOBJECTIVE = 2251480897;
  12515. var IFCOCCUPANT = 4143007308;
  12516. var IFCOFFSETCURVE = 590820931;
  12517. var IFCOFFSETCURVE2D = 3388369263;
  12518. var IFCOFFSETCURVE3D = 3505215534;
  12519. var IFCOFFSETCURVEBYDISTANCES = 2485787929;
  12520. var IFCOPENSHELL = 2665983363;
  12521. var IFCOPENINGELEMENT = 3588315303;
  12522. var IFCOPENINGSTANDARDCASE = 3079942009;
  12523. var IFCORGANIZATION = 4251960020;
  12524. var IFCORGANIZATIONRELATIONSHIP = 1411181986;
  12525. var IFCORIENTATIONEXPRESSION = 643959842;
  12526. var IFCORIENTEDEDGE = 1029017970;
  12527. var IFCOUTERBOUNDARYCURVE = 144952367;
  12528. var IFCOUTLET = 3694346114;
  12529. var IFCOUTLETTYPE = 2837617999;
  12530. var IFCOWNERHISTORY = 1207048766;
  12531. var IFCPARAMETERIZEDPROFILEDEF = 2529465313;
  12532. var IFCPATH = 2519244187;
  12533. var IFCPCURVE = 1682466193;
  12534. var IFCPERFORMANCEHISTORY = 2382730787;
  12535. var IFCPERMEABLECOVERINGPROPERTIES = 3566463478;
  12536. var IFCPERMIT = 3327091369;
  12537. var IFCPERSON = 2077209135;
  12538. var IFCPERSONANDORGANIZATION = 101040310;
  12539. var IFCPHYSICALCOMPLEXQUANTITY = 3021840470;
  12540. var IFCPHYSICALQUANTITY = 2483315170;
  12541. var IFCPHYSICALSIMPLEQUANTITY = 2226359599;
  12542. var IFCPILE = 1687234759;
  12543. var IFCPILETYPE = 1158309216;
  12544. var IFCPIPEFITTING = 310824031;
  12545. var IFCPIPEFITTINGTYPE = 804291784;
  12546. var IFCPIPESEGMENT = 3612865200;
  12547. var IFCPIPESEGMENTTYPE = 4231323485;
  12548. var IFCPIXELTEXTURE = 597895409;
  12549. var IFCPLACEMENT = 2004835150;
  12550. var IFCPLANARBOX = 603570806;
  12551. var IFCPLANAREXTENT = 1663979128;
  12552. var IFCPLANE = 220341763;
  12553. var IFCPLATE = 3171933400;
  12554. var IFCPLATESTANDARDCASE = 1156407060;
  12555. var IFCPLATETYPE = 4017108033;
  12556. var IFCPOINT = 2067069095;
  12557. var IFCPOINTONCURVE = 4022376103;
  12558. var IFCPOINTONSURFACE = 1423911732;
  12559. var IFCPOLYLOOP = 2924175390;
  12560. var IFCPOLYGONALBOUNDEDHALFSPACE = 2775532180;
  12561. var IFCPOLYGONALFACESET = 2839578677;
  12562. var IFCPOLYLINE = 3724593414;
  12563. var IFCPORT = 3740093272;
  12564. var IFCPOSITIONINGELEMENT = 1946335990;
  12565. var IFCPOSTALADDRESS = 3355820592;
  12566. var IFCPREDEFINEDCOLOUR = 759155922;
  12567. var IFCPREDEFINEDCURVEFONT = 2559016684;
  12568. var IFCPREDEFINEDITEM = 3727388367;
  12569. var IFCPREDEFINEDPROPERTIES = 3778827333;
  12570. var IFCPREDEFINEDPROPERTYSET = 3967405729;
  12571. var IFCPREDEFINEDTEXTFONT = 1775413392;
  12572. var IFCPRESENTATIONITEM = 677532197;
  12573. var IFCPRESENTATIONLAYERASSIGNMENT = 2022622350;
  12574. var IFCPRESENTATIONLAYERWITHSTYLE = 1304840413;
  12575. var IFCPRESENTATIONSTYLE = 3119450353;
  12576. var IFCPRESENTATIONSTYLEASSIGNMENT = 2417041796;
  12577. var IFCPROCEDURE = 2744685151;
  12578. var IFCPROCEDURETYPE = 569719735;
  12579. var IFCPROCESS = 2945172077;
  12580. var IFCPRODUCT = 4208778838;
  12581. var IFCPRODUCTDEFINITIONSHAPE = 673634403;
  12582. var IFCPRODUCTREPRESENTATION = 2095639259;
  12583. var IFCPROFILEDEF = 3958567839;
  12584. var IFCPROFILEPROPERTIES = 2802850158;
  12585. var IFCPROJECT = 103090709;
  12586. var IFCPROJECTLIBRARY = 653396225;
  12587. var IFCPROJECTORDER = 2904328755;
  12588. var IFCPROJECTEDCRS = 3843373140;
  12589. var IFCPROJECTIONELEMENT = 3651124850;
  12590. var IFCPROPERTY = 2598011224;
  12591. var IFCPROPERTYABSTRACTION = 986844984;
  12592. var IFCPROPERTYBOUNDEDVALUE = 871118103;
  12593. var IFCPROPERTYDEFINITION = 1680319473;
  12594. var IFCPROPERTYDEPENDENCYRELATIONSHIP = 148025276;
  12595. var IFCPROPERTYENUMERATEDVALUE = 4166981789;
  12596. var IFCPROPERTYENUMERATION = 3710013099;
  12597. var IFCPROPERTYLISTVALUE = 2752243245;
  12598. var IFCPROPERTYREFERENCEVALUE = 941946838;
  12599. var IFCPROPERTYSET = 1451395588;
  12600. var IFCPROPERTYSETDEFINITION = 3357820518;
  12601. var IFCPROPERTYSETTEMPLATE = 492091185;
  12602. var IFCPROPERTYSINGLEVALUE = 3650150729;
  12603. var IFCPROPERTYTABLEVALUE = 110355661;
  12604. var IFCPROPERTYTEMPLATE = 3521284610;
  12605. var IFCPROPERTYTEMPLATEDEFINITION = 1482703590;
  12606. var IFCPROTECTIVEDEVICE = 738039164;
  12607. var IFCPROTECTIVEDEVICETRIPPINGUNIT = 2295281155;
  12608. var IFCPROTECTIVEDEVICETRIPPINGUNITTYPE = 655969474;
  12609. var IFCPROTECTIVEDEVICETYPE = 1842657554;
  12610. var IFCPROXY = 3219374653;
  12611. var IFCPUMP = 90941305;
  12612. var IFCPUMPTYPE = 2250791053;
  12613. var IFCQUANTITYAREA = 2044713172;
  12614. var IFCQUANTITYCOUNT = 2093928680;
  12615. var IFCQUANTITYLENGTH = 931644368;
  12616. var IFCQUANTITYSET = 2090586900;
  12617. var IFCQUANTITYTIME = 3252649465;
  12618. var IFCQUANTITYVOLUME = 2405470396;
  12619. var IFCQUANTITYWEIGHT = 825690147;
  12620. var IFCRAILING = 2262370178;
  12621. var IFCRAILINGTYPE = 2893384427;
  12622. var IFCRAMP = 3024970846;
  12623. var IFCRAMPFLIGHT = 3283111854;
  12624. var IFCRAMPFLIGHTTYPE = 2324767716;
  12625. var IFCRAMPTYPE = 1469900589;
  12626. var IFCRATIONALBSPLINECURVEWITHKNOTS = 1232101972;
  12627. var IFCRATIONALBSPLINESURFACEWITHKNOTS = 683857671;
  12628. var IFCRECTANGLEHOLLOWPROFILEDEF = 2770003689;
  12629. var IFCRECTANGLEPROFILEDEF = 3615266464;
  12630. var IFCRECTANGULARPYRAMID = 2798486643;
  12631. var IFCRECTANGULARTRIMMEDSURFACE = 3454111270;
  12632. var IFCRECURRENCEPATTERN = 3915482550;
  12633. var IFCREFERENCE = 2433181523;
  12634. var IFCREFERENT = 4021432810;
  12635. var IFCREGULARTIMESERIES = 3413951693;
  12636. var IFCREINFORCEMENTBARPROPERTIES = 1580146022;
  12637. var IFCREINFORCEMENTDEFINITIONPROPERTIES = 3765753017;
  12638. var IFCREINFORCINGBAR = 979691226;
  12639. var IFCREINFORCINGBARTYPE = 2572171363;
  12640. var IFCREINFORCINGELEMENT = 3027567501;
  12641. var IFCREINFORCINGELEMENTTYPE = 964333572;
  12642. var IFCREINFORCINGMESH = 2320036040;
  12643. var IFCREINFORCINGMESHTYPE = 2310774935;
  12644. var IFCRELAGGREGATES = 160246688;
  12645. var IFCRELASSIGNS = 3939117080;
  12646. var IFCRELASSIGNSTOACTOR = 1683148259;
  12647. var IFCRELASSIGNSTOCONTROL = 2495723537;
  12648. var IFCRELASSIGNSTOGROUP = 1307041759;
  12649. var IFCRELASSIGNSTOGROUPBYFACTOR = 1027710054;
  12650. var IFCRELASSIGNSTOPROCESS = 4278684876;
  12651. var IFCRELASSIGNSTOPRODUCT = 2857406711;
  12652. var IFCRELASSIGNSTORESOURCE = 205026976;
  12653. var IFCRELASSOCIATES = 1865459582;
  12654. var IFCRELASSOCIATESAPPROVAL = 4095574036;
  12655. var IFCRELASSOCIATESCLASSIFICATION = 919958153;
  12656. var IFCRELASSOCIATESCONSTRAINT = 2728634034;
  12657. var IFCRELASSOCIATESDOCUMENT = 982818633;
  12658. var IFCRELASSOCIATESLIBRARY = 3840914261;
  12659. var IFCRELASSOCIATESMATERIAL = 2655215786;
  12660. var IFCRELCONNECTS = 826625072;
  12661. var IFCRELCONNECTSELEMENTS = 1204542856;
  12662. var IFCRELCONNECTSPATHELEMENTS = 3945020480;
  12663. var IFCRELCONNECTSPORTTOELEMENT = 4201705270;
  12664. var IFCRELCONNECTSPORTS = 3190031847;
  12665. var IFCRELCONNECTSSTRUCTURALACTIVITY = 2127690289;
  12666. var IFCRELCONNECTSSTRUCTURALMEMBER = 1638771189;
  12667. var IFCRELCONNECTSWITHECCENTRICITY = 504942748;
  12668. var IFCRELCONNECTSWITHREALIZINGELEMENTS = 3678494232;
  12669. var IFCRELCONTAINEDINSPATIALSTRUCTURE = 3242617779;
  12670. var IFCRELCOVERSBLDGELEMENTS = 886880790;
  12671. var IFCRELCOVERSSPACES = 2802773753;
  12672. var IFCRELDECLARES = 2565941209;
  12673. var IFCRELDECOMPOSES = 2551354335;
  12674. var IFCRELDEFINES = 693640335;
  12675. var IFCRELDEFINESBYOBJECT = 1462361463;
  12676. var IFCRELDEFINESBYPROPERTIES = 4186316022;
  12677. var IFCRELDEFINESBYTEMPLATE = 307848117;
  12678. var IFCRELDEFINESBYTYPE = 781010003;
  12679. var IFCRELFILLSELEMENT = 3940055652;
  12680. var IFCRELFLOWCONTROLELEMENTS = 279856033;
  12681. var IFCRELINTERFERESELEMENTS = 427948657;
  12682. var IFCRELNESTS = 3268803585;
  12683. var IFCRELPOSITIONS = 1441486842;
  12684. var IFCRELPROJECTSELEMENT = 750771296;
  12685. var IFCRELREFERENCEDINSPATIALSTRUCTURE = 1245217292;
  12686. var IFCRELSEQUENCE = 4122056220;
  12687. var IFCRELSERVICESBUILDINGS = 366585022;
  12688. var IFCRELSPACEBOUNDARY = 3451746338;
  12689. var IFCRELSPACEBOUNDARY1STLEVEL = 3523091289;
  12690. var IFCRELSPACEBOUNDARY2NDLEVEL = 1521410863;
  12691. var IFCRELVOIDSELEMENT = 1401173127;
  12692. var IFCRELATIONSHIP = 478536968;
  12693. var IFCREPARAMETRISEDCOMPOSITECURVESEGMENT = 816062949;
  12694. var IFCREPRESENTATION = 1076942058;
  12695. var IFCREPRESENTATIONCONTEXT = 3377609919;
  12696. var IFCREPRESENTATIONITEM = 3008791417;
  12697. var IFCREPRESENTATIONMAP = 1660063152;
  12698. var IFCRESOURCE = 2914609552;
  12699. var IFCRESOURCEAPPROVALRELATIONSHIP = 2943643501;
  12700. var IFCRESOURCECONSTRAINTRELATIONSHIP = 1608871552;
  12701. var IFCRESOURCELEVELRELATIONSHIP = 2439245199;
  12702. var IFCRESOURCETIME = 1042787934;
  12703. var IFCREVOLVEDAREASOLID = 1856042241;
  12704. var IFCREVOLVEDAREASOLIDTAPERED = 3243963512;
  12705. var IFCRIGHTCIRCULARCONE = 4158566097;
  12706. var IFCRIGHTCIRCULARCYLINDER = 3626867408;
  12707. var IFCROOF = 2016517767;
  12708. var IFCROOFTYPE = 2781568857;
  12709. var IFCROOT = 2341007311;
  12710. var IFCROUNDEDRECTANGLEPROFILEDEF = 2778083089;
  12711. var IFCSIUNIT = 448429030;
  12712. var IFCSANITARYTERMINAL = 3053780830;
  12713. var IFCSANITARYTERMINALTYPE = 1768891740;
  12714. var IFCSCHEDULINGTIME = 1054537805;
  12715. var IFCSEAMCURVE = 2157484638;
  12716. var IFCSECTIONPROPERTIES = 2042790032;
  12717. var IFCSECTIONREINFORCEMENTPROPERTIES = 4165799628;
  12718. var IFCSECTIONEDSOLID = 1862484736;
  12719. var IFCSECTIONEDSOLIDHORIZONTAL = 1290935644;
  12720. var IFCSECTIONEDSPINE = 1509187699;
  12721. var IFCSENSOR = 4086658281;
  12722. var IFCSENSORTYPE = 1783015770;
  12723. var IFCSHADINGDEVICE = 1329646415;
  12724. var IFCSHADINGDEVICETYPE = 4074543187;
  12725. var IFCSHAPEASPECT = 867548509;
  12726. var IFCSHAPEMODEL = 3982875396;
  12727. var IFCSHAPEREPRESENTATION = 4240577450;
  12728. var IFCSHELLBASEDSURFACEMODEL = 4124623270;
  12729. var IFCSIMPLEPROPERTY = 3692461612;
  12730. var IFCSIMPLEPROPERTYTEMPLATE = 3663146110;
  12731. var IFCSITE = 4097777520;
  12732. var IFCSLAB = 1529196076;
  12733. var IFCSLABELEMENTEDCASE = 3127900445;
  12734. var IFCSLABSTANDARDCASE = 3027962421;
  12735. var IFCSLABTYPE = 2533589738;
  12736. var IFCSLIPPAGECONNECTIONCONDITION = 2609359061;
  12737. var IFCSOLARDEVICE = 3420628829;
  12738. var IFCSOLARDEVICETYPE = 1072016465;
  12739. var IFCSOLIDMODEL = 723233188;
  12740. var IFCSPACE = 3856911033;
  12741. var IFCSPACEHEATER = 1999602285;
  12742. var IFCSPACEHEATERTYPE = 1305183839;
  12743. var IFCSPACETYPE = 3812236995;
  12744. var IFCSPATIALELEMENT = 1412071761;
  12745. var IFCSPATIALELEMENTTYPE = 710998568;
  12746. var IFCSPATIALSTRUCTUREELEMENT = 2706606064;
  12747. var IFCSPATIALSTRUCTUREELEMENTTYPE = 3893378262;
  12748. var IFCSPATIALZONE = 463610769;
  12749. var IFCSPATIALZONETYPE = 2481509218;
  12750. var IFCSPHERE = 451544542;
  12751. var IFCSPHERICALSURFACE = 4015995234;
  12752. var IFCSTACKTERMINAL = 1404847402;
  12753. var IFCSTACKTERMINALTYPE = 3112655638;
  12754. var IFCSTAIR = 331165859;
  12755. var IFCSTAIRFLIGHT = 4252922144;
  12756. var IFCSTAIRFLIGHTTYPE = 1039846685;
  12757. var IFCSTAIRTYPE = 338393293;
  12758. var IFCSTRUCTURALACTION = 682877961;
  12759. var IFCSTRUCTURALACTIVITY = 3544373492;
  12760. var IFCSTRUCTURALANALYSISMODEL = 2515109513;
  12761. var IFCSTRUCTURALCONNECTION = 1179482911;
  12762. var IFCSTRUCTURALCONNECTIONCONDITION = 2273995522;
  12763. var IFCSTRUCTURALCURVEACTION = 1004757350;
  12764. var IFCSTRUCTURALCURVECONNECTION = 4243806635;
  12765. var IFCSTRUCTURALCURVEMEMBER = 214636428;
  12766. var IFCSTRUCTURALCURVEMEMBERVARYING = 2445595289;
  12767. var IFCSTRUCTURALCURVEREACTION = 2757150158;
  12768. var IFCSTRUCTURALITEM = 3136571912;
  12769. var IFCSTRUCTURALLINEARACTION = 1807405624;
  12770. var IFCSTRUCTURALLOAD = 2162789131;
  12771. var IFCSTRUCTURALLOADCASE = 385403989;
  12772. var IFCSTRUCTURALLOADCONFIGURATION = 3478079324;
  12773. var IFCSTRUCTURALLOADGROUP = 1252848954;
  12774. var IFCSTRUCTURALLOADLINEARFORCE = 1595516126;
  12775. var IFCSTRUCTURALLOADORRESULT = 609421318;
  12776. var IFCSTRUCTURALLOADPLANARFORCE = 2668620305;
  12777. var IFCSTRUCTURALLOADSINGLEDISPLACEMENT = 2473145415;
  12778. var IFCSTRUCTURALLOADSINGLEDISPLACEMENTDISTORTION = 1973038258;
  12779. var IFCSTRUCTURALLOADSINGLEFORCE = 1597423693;
  12780. var IFCSTRUCTURALLOADSINGLEFORCEWARPING = 1190533807;
  12781. var IFCSTRUCTURALLOADSTATIC = 2525727697;
  12782. var IFCSTRUCTURALLOADTEMPERATURE = 3408363356;
  12783. var IFCSTRUCTURALMEMBER = 530289379;
  12784. var IFCSTRUCTURALPLANARACTION = 1621171031;
  12785. var IFCSTRUCTURALPOINTACTION = 2082059205;
  12786. var IFCSTRUCTURALPOINTCONNECTION = 734778138;
  12787. var IFCSTRUCTURALPOINTREACTION = 1235345126;
  12788. var IFCSTRUCTURALREACTION = 3689010777;
  12789. var IFCSTRUCTURALRESULTGROUP = 2986769608;
  12790. var IFCSTRUCTURALSURFACEACTION = 3657597509;
  12791. var IFCSTRUCTURALSURFACECONNECTION = 1975003073;
  12792. var IFCSTRUCTURALSURFACEMEMBER = 3979015343;
  12793. var IFCSTRUCTURALSURFACEMEMBERVARYING = 2218152070;
  12794. var IFCSTRUCTURALSURFACEREACTION = 603775116;
  12795. var IFCSTYLEMODEL = 2830218821;
  12796. var IFCSTYLEDITEM = 3958052878;
  12797. var IFCSTYLEDREPRESENTATION = 3049322572;
  12798. var IFCSUBCONTRACTRESOURCE = 148013059;
  12799. var IFCSUBCONTRACTRESOURCETYPE = 4095615324;
  12800. var IFCSUBEDGE = 2233826070;
  12801. var IFCSURFACE = 2513912981;
  12802. var IFCSURFACECURVE = 699246055;
  12803. var IFCSURFACECURVESWEPTAREASOLID = 2028607225;
  12804. var IFCSURFACEFEATURE = 3101698114;
  12805. var IFCSURFACEOFLINEAREXTRUSION = 2809605785;
  12806. var IFCSURFACEOFREVOLUTION = 4124788165;
  12807. var IFCSURFACEREINFORCEMENTAREA = 2934153892;
  12808. var IFCSURFACESTYLE = 1300840506;
  12809. var IFCSURFACESTYLELIGHTING = 3303107099;
  12810. var IFCSURFACESTYLEREFRACTION = 1607154358;
  12811. var IFCSURFACESTYLERENDERING = 1878645084;
  12812. var IFCSURFACESTYLESHADING = 846575682;
  12813. var IFCSURFACESTYLEWITHTEXTURES = 1351298697;
  12814. var IFCSURFACETEXTURE = 626085974;
  12815. var IFCSWEPTAREASOLID = 2247615214;
  12816. var IFCSWEPTDISKSOLID = 1260650574;
  12817. var IFCSWEPTDISKSOLIDPOLYGONAL = 1096409881;
  12818. var IFCSWEPTSURFACE = 230924584;
  12819. var IFCSWITCHINGDEVICE = 1162798199;
  12820. var IFCSWITCHINGDEVICETYPE = 2315554128;
  12821. var IFCSYSTEM = 2254336722;
  12822. var IFCSYSTEMFURNITUREELEMENT = 413509423;
  12823. var IFCSYSTEMFURNITUREELEMENTTYPE = 1580310250;
  12824. var IFCTSHAPEPROFILEDEF = 3071757647;
  12825. var IFCTABLE = 985171141;
  12826. var IFCTABLECOLUMN = 2043862942;
  12827. var IFCTABLEROW = 531007025;
  12828. var IFCTANK = 812556717;
  12829. var IFCTANKTYPE = 5716631;
  12830. var IFCTASK = 3473067441;
  12831. var IFCTASKTIME = 1549132990;
  12832. var IFCTASKTIMERECURRING = 2771591690;
  12833. var IFCTASKTYPE = 3206491090;
  12834. var IFCTELECOMADDRESS = 912023232;
  12835. var IFCTENDON = 3824725483;
  12836. var IFCTENDONANCHOR = 2347447852;
  12837. var IFCTENDONANCHORTYPE = 3081323446;
  12838. var IFCTENDONCONDUIT = 3663046924;
  12839. var IFCTENDONCONDUITTYPE = 2281632017;
  12840. var IFCTENDONTYPE = 2415094496;
  12841. var IFCTESSELLATEDFACESET = 2387106220;
  12842. var IFCTESSELLATEDITEM = 901063453;
  12843. var IFCTEXTLITERAL = 4282788508;
  12844. var IFCTEXTLITERALWITHEXTENT = 3124975700;
  12845. var IFCTEXTSTYLE = 1447204868;
  12846. var IFCTEXTSTYLEFONTMODEL = 1983826977;
  12847. var IFCTEXTSTYLEFORDEFINEDFONT = 2636378356;
  12848. var IFCTEXTSTYLETEXTMODEL = 1640371178;
  12849. var IFCTEXTURECOORDINATE = 280115917;
  12850. var IFCTEXTURECOORDINATEGENERATOR = 1742049831;
  12851. var IFCTEXTUREMAP = 2552916305;
  12852. var IFCTEXTUREVERTEX = 1210645708;
  12853. var IFCTEXTUREVERTEXLIST = 3611470254;
  12854. var IFCTIMEPERIOD = 1199560280;
  12855. var IFCTIMESERIES = 3101149627;
  12856. var IFCTIMESERIESVALUE = 581633288;
  12857. var IFCTOPOLOGICALREPRESENTATIONITEM = 1377556343;
  12858. var IFCTOPOLOGYREPRESENTATION = 1735638870;
  12859. var IFCTOROIDALSURFACE = 1935646853;
  12860. var IFCTRANSFORMER = 3825984169;
  12861. var IFCTRANSFORMERTYPE = 1692211062;
  12862. var IFCTRANSITIONCURVESEGMENT2D = 2595432518;
  12863. var IFCTRANSPORTELEMENT = 1620046519;
  12864. var IFCTRANSPORTELEMENTTYPE = 2097647324;
  12865. var IFCTRAPEZIUMPROFILEDEF = 2715220739;
  12866. var IFCTRIANGULATEDFACESET = 2916149573;
  12867. var IFCTRIANGULATEDIRREGULARNETWORK = 1229763772;
  12868. var IFCTRIMMEDCURVE = 3593883385;
  12869. var IFCTUBEBUNDLE = 3026737570;
  12870. var IFCTUBEBUNDLETYPE = 1600972822;
  12871. var IFCTYPEOBJECT = 1628702193;
  12872. var IFCTYPEPROCESS = 3736923433;
  12873. var IFCTYPEPRODUCT = 2347495698;
  12874. var IFCTYPERESOURCE = 3698973494;
  12875. var IFCUSHAPEPROFILEDEF = 427810014;
  12876. var IFCUNITASSIGNMENT = 180925521;
  12877. var IFCUNITARYCONTROLELEMENT = 630975310;
  12878. var IFCUNITARYCONTROLELEMENTTYPE = 3179687236;
  12879. var IFCUNITARYEQUIPMENT = 4292641817;
  12880. var IFCUNITARYEQUIPMENTTYPE = 1911125066;
  12881. var IFCVALVE = 4207607924;
  12882. var IFCVALVETYPE = 728799441;
  12883. var IFCVECTOR = 1417489154;
  12884. var IFCVERTEX = 2799835756;
  12885. var IFCVERTEXLOOP = 2759199220;
  12886. var IFCVERTEXPOINT = 1907098498;
  12887. var IFCVIBRATIONDAMPER = 1530820697;
  12888. var IFCVIBRATIONDAMPERTYPE = 3956297820;
  12889. var IFCVIBRATIONISOLATOR = 2391383451;
  12890. var IFCVIBRATIONISOLATORTYPE = 3313531582;
  12891. var IFCVIRTUALELEMENT = 2769231204;
  12892. var IFCVIRTUALGRIDINTERSECTION = 891718957;
  12893. var IFCVOIDINGFEATURE = 926996030;
  12894. var IFCWALL = 2391406946;
  12895. var IFCWALLELEMENTEDCASE = 4156078855;
  12896. var IFCWALLSTANDARDCASE = 3512223829;
  12897. var IFCWALLTYPE = 1898987631;
  12898. var IFCWASTETERMINAL = 4237592921;
  12899. var IFCWASTETERMINALTYPE = 1133259667;
  12900. var IFCWINDOW = 3304561284;
  12901. var IFCWINDOWLININGPROPERTIES = 336235671;
  12902. var IFCWINDOWPANELPROPERTIES = 512836454;
  12903. var IFCWINDOWSTANDARDCASE = 486154966;
  12904. var IFCWINDOWSTYLE = 1299126871;
  12905. var IFCWINDOWTYPE = 4009809668;
  12906. var IFCWORKCALENDAR = 4088093105;
  12907. var IFCWORKCONTROL = 1028945134;
  12908. var IFCWORKPLAN = 4218914973;
  12909. var IFCWORKSCHEDULE = 3342526732;
  12910. var IFCWORKTIME = 1236880293;
  12911. var IFCZSHAPEPROFILEDEF = 2543172580;
  12912. var IFCZONE = 1033361043;
  12913. var IfcElements = [
  12914. IFCACTUATOR,
  12915. IFCAIRTERMINAL,
  12916. IFCAIRTERMINALBOX,
  12917. IFCAIRTOAIRHEATRECOVERY,
  12918. IFCALARM,
  12919. IFCALIGNMENT,
  12920. IFCANNOTATION,
  12921. IFCAUDIOVISUALAPPLIANCE,
  12922. IFCBEAM,
  12923. IFCBEAMSTANDARDCASE,
  12924. IFCBEARING,
  12925. IFCBOILER,
  12926. IFCBRIDGE,
  12927. IFCBRIDGEPART,
  12928. IFCBUILDING,
  12929. IFCBUILDINGELEMENT,
  12930. IFCBUILDINGELEMENTPART,
  12931. IFCBUILDINGELEMENTPROXY,
  12932. IFCBUILDINGSTOREY,
  12933. IFCBURNER,
  12934. IFCCABLECARRIERFITTING,
  12935. IFCCABLECARRIERSEGMENT,
  12936. IFCCABLEFITTING,
  12937. IFCCABLESEGMENT,
  12938. IFCCAISSONFOUNDATION,
  12939. IFCCHILLER,
  12940. IFCCHIMNEY,
  12941. IFCCIVILELEMENT,
  12942. IFCCOIL,
  12943. IFCCOLUMN,
  12944. IFCCOLUMNSTANDARDCASE,
  12945. IFCCOMMUNICATIONSAPPLIANCE,
  12946. IFCCOMPRESSOR,
  12947. IFCCONDENSER,
  12948. IFCCONTROLLER,
  12949. IFCCOOLEDBEAM,
  12950. IFCCOOLINGTOWER,
  12951. IFCCOVERING,
  12952. IFCCURTAINWALL,
  12953. IFCDAMPER,
  12954. IFCDEEPFOUNDATION,
  12955. IFCDISCRETEACCESSORY,
  12956. IFCDISTRIBUTIONCHAMBERELEMENT,
  12957. IFCDISTRIBUTIONCONTROLELEMENT,
  12958. IFCDISTRIBUTIONELEMENT,
  12959. IFCDISTRIBUTIONFLOWELEMENT,
  12960. IFCDISTRIBUTIONPORT,
  12961. IFCDOOR,
  12962. IFCDOORSTANDARDCASE,
  12963. IFCDUCTFITTING,
  12964. IFCDUCTSEGMENT,
  12965. IFCDUCTSILENCER,
  12966. IFCELECTRICAPPLIANCE,
  12967. IFCELECTRICDISTRIBUTIONBOARD,
  12968. IFCELECTRICFLOWSTORAGEDEVICE,
  12969. IFCELECTRICGENERATOR,
  12970. IFCELECTRICMOTOR,
  12971. IFCELECTRICTIMECONTROL,
  12972. IFCELEMENT,
  12973. IFCELEMENTASSEMBLY,
  12974. IFCELEMENTCOMPONENT,
  12975. IFCENERGYCONVERSIONDEVICE,
  12976. IFCENGINE,
  12977. IFCEVAPORATIVECOOLER,
  12978. IFCEVAPORATOR,
  12979. IFCEXTERNALSPATIALELEMENT,
  12980. IFCEXTERNALSPATIALSTRUCTUREELEMENT,
  12981. IFCFACILITY,
  12982. IFCFACILITYPART,
  12983. IFCFAN,
  12984. IFCFASTENER,
  12985. IFCFEATUREELEMENT,
  12986. IFCFEATUREELEMENTADDITION,
  12987. IFCFEATUREELEMENTSUBTRACTION,
  12988. IFCFILTER,
  12989. IFCFIRESUPPRESSIONTERMINAL,
  12990. IFCFLOWCONTROLLER,
  12991. IFCFLOWFITTING,
  12992. IFCFLOWINSTRUMENT,
  12993. IFCFLOWMETER,
  12994. IFCFLOWMOVINGDEVICE,
  12995. IFCFLOWSEGMENT,
  12996. IFCFLOWSTORAGEDEVICE,
  12997. IFCFLOWTERMINAL,
  12998. IFCFLOWTREATMENTDEVICE,
  12999. IFCFOOTING,
  13000. IFCFURNISHINGELEMENT,
  13001. IFCFURNITURE,
  13002. IFCGEOGRAPHICELEMENT,
  13003. IFCGRID,
  13004. IFCHEATEXCHANGER,
  13005. IFCHUMIDIFIER,
  13006. IFCINTERCEPTOR,
  13007. IFCJUNCTIONBOX,
  13008. IFCLAMP,
  13009. IFCLIGHTFIXTURE,
  13010. IFCLINEARPOSITIONINGELEMENT,
  13011. IFCMECHANICALFASTENER,
  13012. IFCMEDICALDEVICE,
  13013. IFCMEMBER,
  13014. IFCMEMBERSTANDARDCASE,
  13015. IFCMOTORCONNECTION,
  13016. IFCOPENINGELEMENT,
  13017. IFCOPENINGSTANDARDCASE,
  13018. IFCOUTLET,
  13019. IFCPILE,
  13020. IFCPIPEFITTING,
  13021. IFCPIPESEGMENT,
  13022. IFCPLATE,
  13023. IFCPLATESTANDARDCASE,
  13024. IFCPORT,
  13025. IFCPOSITIONINGELEMENT,
  13026. IFCPROJECTIONELEMENT,
  13027. IFCPROTECTIVEDEVICE,
  13028. IFCPROTECTIVEDEVICETRIPPINGUNIT,
  13029. IFCPROXY,
  13030. IFCPUMP,
  13031. IFCRAILING,
  13032. IFCRAMP,
  13033. IFCRAMPFLIGHT,
  13034. IFCREFERENT,
  13035. IFCREINFORCINGBAR,
  13036. IFCREINFORCINGELEMENT,
  13037. IFCREINFORCINGMESH,
  13038. IFCROOF,
  13039. IFCSANITARYTERMINAL,
  13040. IFCSENSOR,
  13041. IFCSHADINGDEVICE,
  13042. IFCSITE,
  13043. IFCSLAB,
  13044. IFCSLABELEMENTEDCASE,
  13045. IFCSLABSTANDARDCASE,
  13046. IFCSOLARDEVICE,
  13047. IFCSPACE,
  13048. IFCSPACEHEATER,
  13049. IFCSPATIALELEMENT,
  13050. IFCSPATIALSTRUCTUREELEMENT,
  13051. IFCSPATIALZONE,
  13052. IFCSTACKTERMINAL,
  13053. IFCSTAIR,
  13054. IFCSTAIRFLIGHT,
  13055. IFCSTRUCTURALACTION,
  13056. IFCSTRUCTURALACTIVITY,
  13057. IFCSTRUCTURALCONNECTION,
  13058. IFCSTRUCTURALCURVEACTION,
  13059. IFCSTRUCTURALCURVECONNECTION,
  13060. IFCSTRUCTURALCURVEMEMBER,
  13061. IFCSTRUCTURALCURVEMEMBERVARYING,
  13062. IFCSTRUCTURALCURVEREACTION,
  13063. IFCSTRUCTURALITEM,
  13064. IFCSTRUCTURALLINEARACTION,
  13065. IFCSTRUCTURALMEMBER,
  13066. IFCSTRUCTURALPLANARACTION,
  13067. IFCSTRUCTURALPOINTACTION,
  13068. IFCSTRUCTURALPOINTCONNECTION,
  13069. IFCSTRUCTURALPOINTREACTION,
  13070. IFCSTRUCTURALREACTION,
  13071. IFCSTRUCTURALSURFACEACTION,
  13072. IFCSTRUCTURALSURFACECONNECTION,
  13073. IFCSTRUCTURALSURFACEMEMBER,
  13074. IFCSTRUCTURALSURFACEMEMBERVARYING,
  13075. IFCSTRUCTURALSURFACEREACTION,
  13076. IFCSURFACEFEATURE,
  13077. IFCSWITCHINGDEVICE,
  13078. IFCSYSTEMFURNITUREELEMENT,
  13079. IFCTANK,
  13080. IFCTENDON,
  13081. IFCTENDONANCHOR,
  13082. IFCTENDONCONDUIT,
  13083. IFCTRANSFORMER,
  13084. IFCTRANSPORTELEMENT,
  13085. IFCTUBEBUNDLE,
  13086. IFCUNITARYCONTROLELEMENT,
  13087. IFCUNITARYEQUIPMENT,
  13088. IFCVALVE,
  13089. IFCVIBRATIONDAMPER,
  13090. IFCVIBRATIONISOLATOR,
  13091. IFCVIRTUALELEMENT,
  13092. IFCVOIDINGFEATURE,
  13093. IFCWALL,
  13094. IFCWALLELEMENTEDCASE,
  13095. IFCWALLSTANDARDCASE,
  13096. IFCWASTETERMINAL,
  13097. IFCWINDOW,
  13098. IFCWINDOWSTANDARDCASE
  13099. ];
  13100. // dist/ifc2x4_helper.ts
  13101. var FromRawLineData = {};
  13102. FromRawLineData[IFCACTIONREQUEST] = (d) => {
  13103. return IfcActionRequest.FromTape(d.ID, d.type, d.arguments);
  13104. };
  13105. FromRawLineData[IFCACTOR] = (d) => {
  13106. return IfcActor.FromTape(d.ID, d.type, d.arguments);
  13107. };
  13108. FromRawLineData[IFCACTORROLE] = (d) => {
  13109. return IfcActorRole.FromTape(d.ID, d.type, d.arguments);
  13110. };
  13111. FromRawLineData[IFCACTUATOR] = (d) => {
  13112. return IfcActuator.FromTape(d.ID, d.type, d.arguments);
  13113. };
  13114. FromRawLineData[IFCACTUATORTYPE] = (d) => {
  13115. return IfcActuatorType.FromTape(d.ID, d.type, d.arguments);
  13116. };
  13117. FromRawLineData[IFCADDRESS] = (d) => {
  13118. return IfcAddress.FromTape(d.ID, d.type, d.arguments);
  13119. };
  13120. FromRawLineData[IFCADVANCEDBREP] = (d) => {
  13121. return IfcAdvancedBrep.FromTape(d.ID, d.type, d.arguments);
  13122. };
  13123. FromRawLineData[IFCADVANCEDBREPWITHVOIDS] = (d) => {
  13124. return IfcAdvancedBrepWithVoids.FromTape(d.ID, d.type, d.arguments);
  13125. };
  13126. FromRawLineData[IFCADVANCEDFACE] = (d) => {
  13127. return IfcAdvancedFace.FromTape(d.ID, d.type, d.arguments);
  13128. };
  13129. FromRawLineData[IFCAIRTERMINAL] = (d) => {
  13130. return IfcAirTerminal.FromTape(d.ID, d.type, d.arguments);
  13131. };
  13132. FromRawLineData[IFCAIRTERMINALBOX] = (d) => {
  13133. return IfcAirTerminalBox.FromTape(d.ID, d.type, d.arguments);
  13134. };
  13135. FromRawLineData[IFCAIRTERMINALBOXTYPE] = (d) => {
  13136. return IfcAirTerminalBoxType.FromTape(d.ID, d.type, d.arguments);
  13137. };
  13138. FromRawLineData[IFCAIRTERMINALTYPE] = (d) => {
  13139. return IfcAirTerminalType.FromTape(d.ID, d.type, d.arguments);
  13140. };
  13141. FromRawLineData[IFCAIRTOAIRHEATRECOVERY] = (d) => {
  13142. return IfcAirToAirHeatRecovery.FromTape(d.ID, d.type, d.arguments);
  13143. };
  13144. FromRawLineData[IFCAIRTOAIRHEATRECOVERYTYPE] = (d) => {
  13145. return IfcAirToAirHeatRecoveryType.FromTape(d.ID, d.type, d.arguments);
  13146. };
  13147. FromRawLineData[IFCALARM] = (d) => {
  13148. return IfcAlarm.FromTape(d.ID, d.type, d.arguments);
  13149. };
  13150. FromRawLineData[IFCALARMTYPE] = (d) => {
  13151. return IfcAlarmType.FromTape(d.ID, d.type, d.arguments);
  13152. };
  13153. FromRawLineData[IFCALIGNMENT] = (d) => {
  13154. return IfcAlignment.FromTape(d.ID, d.type, d.arguments);
  13155. };
  13156. FromRawLineData[IFCALIGNMENT2DHORIZONTAL] = (d) => {
  13157. return IfcAlignment2DHorizontal.FromTape(d.ID, d.type, d.arguments);
  13158. };
  13159. FromRawLineData[IFCALIGNMENT2DHORIZONTALSEGMENT] = (d) => {
  13160. return IfcAlignment2DHorizontalSegment.FromTape(d.ID, d.type, d.arguments);
  13161. };
  13162. FromRawLineData[IFCALIGNMENT2DSEGMENT] = (d) => {
  13163. return IfcAlignment2DSegment.FromTape(d.ID, d.type, d.arguments);
  13164. };
  13165. FromRawLineData[IFCALIGNMENT2DVERSEGCIRCULARARC] = (d) => {
  13166. return IfcAlignment2DVerSegCircularArc.FromTape(d.ID, d.type, d.arguments);
  13167. };
  13168. FromRawLineData[IFCALIGNMENT2DVERSEGLINE] = (d) => {
  13169. return IfcAlignment2DVerSegLine.FromTape(d.ID, d.type, d.arguments);
  13170. };
  13171. FromRawLineData[IFCALIGNMENT2DVERSEGPARABOLICARC] = (d) => {
  13172. return IfcAlignment2DVerSegParabolicArc.FromTape(d.ID, d.type, d.arguments);
  13173. };
  13174. FromRawLineData[IFCALIGNMENT2DVERTICAL] = (d) => {
  13175. return IfcAlignment2DVertical.FromTape(d.ID, d.type, d.arguments);
  13176. };
  13177. FromRawLineData[IFCALIGNMENT2DVERTICALSEGMENT] = (d) => {
  13178. return IfcAlignment2DVerticalSegment.FromTape(d.ID, d.type, d.arguments);
  13179. };
  13180. FromRawLineData[IFCALIGNMENTCURVE] = (d) => {
  13181. return IfcAlignmentCurve.FromTape(d.ID, d.type, d.arguments);
  13182. };
  13183. FromRawLineData[IFCANNOTATION] = (d) => {
  13184. return IfcAnnotation.FromTape(d.ID, d.type, d.arguments);
  13185. };
  13186. FromRawLineData[IFCANNOTATIONFILLAREA] = (d) => {
  13187. return IfcAnnotationFillArea.FromTape(d.ID, d.type, d.arguments);
  13188. };
  13189. FromRawLineData[IFCAPPLICATION] = (d) => {
  13190. return IfcApplication.FromTape(d.ID, d.type, d.arguments);
  13191. };
  13192. FromRawLineData[IFCAPPLIEDVALUE] = (d) => {
  13193. return IfcAppliedValue.FromTape(d.ID, d.type, d.arguments);
  13194. };
  13195. FromRawLineData[IFCAPPROVAL] = (d) => {
  13196. return IfcApproval.FromTape(d.ID, d.type, d.arguments);
  13197. };
  13198. FromRawLineData[IFCAPPROVALRELATIONSHIP] = (d) => {
  13199. return IfcApprovalRelationship.FromTape(d.ID, d.type, d.arguments);
  13200. };
  13201. FromRawLineData[IFCARBITRARYCLOSEDPROFILEDEF] = (d) => {
  13202. return IfcArbitraryClosedProfileDef.FromTape(d.ID, d.type, d.arguments);
  13203. };
  13204. FromRawLineData[IFCARBITRARYOPENPROFILEDEF] = (d) => {
  13205. return IfcArbitraryOpenProfileDef.FromTape(d.ID, d.type, d.arguments);
  13206. };
  13207. FromRawLineData[IFCARBITRARYPROFILEDEFWITHVOIDS] = (d) => {
  13208. return IfcArbitraryProfileDefWithVoids.FromTape(d.ID, d.type, d.arguments);
  13209. };
  13210. FromRawLineData[IFCASSET] = (d) => {
  13211. return IfcAsset.FromTape(d.ID, d.type, d.arguments);
  13212. };
  13213. FromRawLineData[IFCASYMMETRICISHAPEPROFILEDEF] = (d) => {
  13214. return IfcAsymmetricIShapeProfileDef.FromTape(d.ID, d.type, d.arguments);
  13215. };
  13216. FromRawLineData[IFCAUDIOVISUALAPPLIANCE] = (d) => {
  13217. return IfcAudioVisualAppliance.FromTape(d.ID, d.type, d.arguments);
  13218. };
  13219. FromRawLineData[IFCAUDIOVISUALAPPLIANCETYPE] = (d) => {
  13220. return IfcAudioVisualApplianceType.FromTape(d.ID, d.type, d.arguments);
  13221. };
  13222. FromRawLineData[IFCAXIS1PLACEMENT] = (d) => {
  13223. return IfcAxis1Placement.FromTape(d.ID, d.type, d.arguments);
  13224. };
  13225. FromRawLineData[IFCAXIS2PLACEMENT2D] = (d) => {
  13226. return IfcAxis2Placement2D.FromTape(d.ID, d.type, d.arguments);
  13227. };
  13228. FromRawLineData[IFCAXIS2PLACEMENT3D] = (d) => {
  13229. return IfcAxis2Placement3D.FromTape(d.ID, d.type, d.arguments);
  13230. };
  13231. FromRawLineData[IFCBSPLINECURVE] = (d) => {
  13232. return IfcBSplineCurve.FromTape(d.ID, d.type, d.arguments);
  13233. };
  13234. FromRawLineData[IFCBSPLINECURVEWITHKNOTS] = (d) => {
  13235. return IfcBSplineCurveWithKnots.FromTape(d.ID, d.type, d.arguments);
  13236. };
  13237. FromRawLineData[IFCBSPLINESURFACE] = (d) => {
  13238. return IfcBSplineSurface.FromTape(d.ID, d.type, d.arguments);
  13239. };
  13240. FromRawLineData[IFCBSPLINESURFACEWITHKNOTS] = (d) => {
  13241. return IfcBSplineSurfaceWithKnots.FromTape(d.ID, d.type, d.arguments);
  13242. };
  13243. FromRawLineData[IFCBEAM] = (d) => {
  13244. return IfcBeam.FromTape(d.ID, d.type, d.arguments);
  13245. };
  13246. FromRawLineData[IFCBEAMSTANDARDCASE] = (d) => {
  13247. return IfcBeamStandardCase.FromTape(d.ID, d.type, d.arguments);
  13248. };
  13249. FromRawLineData[IFCBEAMTYPE] = (d) => {
  13250. return IfcBeamType.FromTape(d.ID, d.type, d.arguments);
  13251. };
  13252. FromRawLineData[IFCBEARING] = (d) => {
  13253. return IfcBearing.FromTape(d.ID, d.type, d.arguments);
  13254. };
  13255. FromRawLineData[IFCBEARINGTYPE] = (d) => {
  13256. return IfcBearingType.FromTape(d.ID, d.type, d.arguments);
  13257. };
  13258. FromRawLineData[IFCBLOBTEXTURE] = (d) => {
  13259. return IfcBlobTexture.FromTape(d.ID, d.type, d.arguments);
  13260. };
  13261. FromRawLineData[IFCBLOCK] = (d) => {
  13262. return IfcBlock.FromTape(d.ID, d.type, d.arguments);
  13263. };
  13264. FromRawLineData[IFCBOILER] = (d) => {
  13265. return IfcBoiler.FromTape(d.ID, d.type, d.arguments);
  13266. };
  13267. FromRawLineData[IFCBOILERTYPE] = (d) => {
  13268. return IfcBoilerType.FromTape(d.ID, d.type, d.arguments);
  13269. };
  13270. FromRawLineData[IFCBOOLEANCLIPPINGRESULT] = (d) => {
  13271. return IfcBooleanClippingResult.FromTape(d.ID, d.type, d.arguments);
  13272. };
  13273. FromRawLineData[IFCBOOLEANRESULT] = (d) => {
  13274. return IfcBooleanResult.FromTape(d.ID, d.type, d.arguments);
  13275. };
  13276. FromRawLineData[IFCBOUNDARYCONDITION] = (d) => {
  13277. return IfcBoundaryCondition.FromTape(d.ID, d.type, d.arguments);
  13278. };
  13279. FromRawLineData[IFCBOUNDARYCURVE] = (d) => {
  13280. return IfcBoundaryCurve.FromTape(d.ID, d.type, d.arguments);
  13281. };
  13282. FromRawLineData[IFCBOUNDARYEDGECONDITION] = (d) => {
  13283. return IfcBoundaryEdgeCondition.FromTape(d.ID, d.type, d.arguments);
  13284. };
  13285. FromRawLineData[IFCBOUNDARYFACECONDITION] = (d) => {
  13286. return IfcBoundaryFaceCondition.FromTape(d.ID, d.type, d.arguments);
  13287. };
  13288. FromRawLineData[IFCBOUNDARYNODECONDITION] = (d) => {
  13289. return IfcBoundaryNodeCondition.FromTape(d.ID, d.type, d.arguments);
  13290. };
  13291. FromRawLineData[IFCBOUNDARYNODECONDITIONWARPING] = (d) => {
  13292. return IfcBoundaryNodeConditionWarping.FromTape(d.ID, d.type, d.arguments);
  13293. };
  13294. FromRawLineData[IFCBOUNDEDCURVE] = (d) => {
  13295. return IfcBoundedCurve.FromTape(d.ID, d.type, d.arguments);
  13296. };
  13297. FromRawLineData[IFCBOUNDEDSURFACE] = (d) => {
  13298. return IfcBoundedSurface.FromTape(d.ID, d.type, d.arguments);
  13299. };
  13300. FromRawLineData[IFCBOUNDINGBOX] = (d) => {
  13301. return IfcBoundingBox.FromTape(d.ID, d.type, d.arguments);
  13302. };
  13303. FromRawLineData[IFCBOXEDHALFSPACE] = (d) => {
  13304. return IfcBoxedHalfSpace.FromTape(d.ID, d.type, d.arguments);
  13305. };
  13306. FromRawLineData[IFCBRIDGE] = (d) => {
  13307. return IfcBridge.FromTape(d.ID, d.type, d.arguments);
  13308. };
  13309. FromRawLineData[IFCBRIDGEPART] = (d) => {
  13310. return IfcBridgePart.FromTape(d.ID, d.type, d.arguments);
  13311. };
  13312. FromRawLineData[IFCBUILDING] = (d) => {
  13313. return IfcBuilding.FromTape(d.ID, d.type, d.arguments);
  13314. };
  13315. FromRawLineData[IFCBUILDINGELEMENT] = (d) => {
  13316. return IfcBuildingElement.FromTape(d.ID, d.type, d.arguments);
  13317. };
  13318. FromRawLineData[IFCBUILDINGELEMENTPART] = (d) => {
  13319. return IfcBuildingElementPart.FromTape(d.ID, d.type, d.arguments);
  13320. };
  13321. FromRawLineData[IFCBUILDINGELEMENTPARTTYPE] = (d) => {
  13322. return IfcBuildingElementPartType.FromTape(d.ID, d.type, d.arguments);
  13323. };
  13324. FromRawLineData[IFCBUILDINGELEMENTPROXY] = (d) => {
  13325. return IfcBuildingElementProxy.FromTape(d.ID, d.type, d.arguments);
  13326. };
  13327. FromRawLineData[IFCBUILDINGELEMENTPROXYTYPE] = (d) => {
  13328. return IfcBuildingElementProxyType.FromTape(d.ID, d.type, d.arguments);
  13329. };
  13330. FromRawLineData[IFCBUILDINGELEMENTTYPE] = (d) => {
  13331. return IfcBuildingElementType.FromTape(d.ID, d.type, d.arguments);
  13332. };
  13333. FromRawLineData[IFCBUILDINGSTOREY] = (d) => {
  13334. return IfcBuildingStorey.FromTape(d.ID, d.type, d.arguments);
  13335. };
  13336. FromRawLineData[IFCBUILDINGSYSTEM] = (d) => {
  13337. return IfcBuildingSystem.FromTape(d.ID, d.type, d.arguments);
  13338. };
  13339. FromRawLineData[IFCBURNER] = (d) => {
  13340. return IfcBurner.FromTape(d.ID, d.type, d.arguments);
  13341. };
  13342. FromRawLineData[IFCBURNERTYPE] = (d) => {
  13343. return IfcBurnerType.FromTape(d.ID, d.type, d.arguments);
  13344. };
  13345. FromRawLineData[IFCCSHAPEPROFILEDEF] = (d) => {
  13346. return IfcCShapeProfileDef.FromTape(d.ID, d.type, d.arguments);
  13347. };
  13348. FromRawLineData[IFCCABLECARRIERFITTING] = (d) => {
  13349. return IfcCableCarrierFitting.FromTape(d.ID, d.type, d.arguments);
  13350. };
  13351. FromRawLineData[IFCCABLECARRIERFITTINGTYPE] = (d) => {
  13352. return IfcCableCarrierFittingType.FromTape(d.ID, d.type, d.arguments);
  13353. };
  13354. FromRawLineData[IFCCABLECARRIERSEGMENT] = (d) => {
  13355. return IfcCableCarrierSegment.FromTape(d.ID, d.type, d.arguments);
  13356. };
  13357. FromRawLineData[IFCCABLECARRIERSEGMENTTYPE] = (d) => {
  13358. return IfcCableCarrierSegmentType.FromTape(d.ID, d.type, d.arguments);
  13359. };
  13360. FromRawLineData[IFCCABLEFITTING] = (d) => {
  13361. return IfcCableFitting.FromTape(d.ID, d.type, d.arguments);
  13362. };
  13363. FromRawLineData[IFCCABLEFITTINGTYPE] = (d) => {
  13364. return IfcCableFittingType.FromTape(d.ID, d.type, d.arguments);
  13365. };
  13366. FromRawLineData[IFCCABLESEGMENT] = (d) => {
  13367. return IfcCableSegment.FromTape(d.ID, d.type, d.arguments);
  13368. };
  13369. FromRawLineData[IFCCABLESEGMENTTYPE] = (d) => {
  13370. return IfcCableSegmentType.FromTape(d.ID, d.type, d.arguments);
  13371. };
  13372. FromRawLineData[IFCCAISSONFOUNDATION] = (d) => {
  13373. return IfcCaissonFoundation.FromTape(d.ID, d.type, d.arguments);
  13374. };
  13375. FromRawLineData[IFCCAISSONFOUNDATIONTYPE] = (d) => {
  13376. return IfcCaissonFoundationType.FromTape(d.ID, d.type, d.arguments);
  13377. };
  13378. FromRawLineData[IFCCARTESIANPOINT] = (d) => {
  13379. return IfcCartesianPoint.FromTape(d.ID, d.type, d.arguments);
  13380. };
  13381. FromRawLineData[IFCCARTESIANPOINTLIST] = (d) => {
  13382. return IfcCartesianPointList.FromTape(d.ID, d.type, d.arguments);
  13383. };
  13384. FromRawLineData[IFCCARTESIANPOINTLIST2D] = (d) => {
  13385. return IfcCartesianPointList2D.FromTape(d.ID, d.type, d.arguments);
  13386. };
  13387. FromRawLineData[IFCCARTESIANPOINTLIST3D] = (d) => {
  13388. return IfcCartesianPointList3D.FromTape(d.ID, d.type, d.arguments);
  13389. };
  13390. FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR] = (d) => {
  13391. return IfcCartesianTransformationOperator.FromTape(d.ID, d.type, d.arguments);
  13392. };
  13393. FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR2D] = (d) => {
  13394. return IfcCartesianTransformationOperator2D.FromTape(d.ID, d.type, d.arguments);
  13395. };
  13396. FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR2DNONUNIFORM] = (d) => {
  13397. return IfcCartesianTransformationOperator2DnonUniform.FromTape(d.ID, d.type, d.arguments);
  13398. };
  13399. FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR3D] = (d) => {
  13400. return IfcCartesianTransformationOperator3D.FromTape(d.ID, d.type, d.arguments);
  13401. };
  13402. FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR3DNONUNIFORM] = (d) => {
  13403. return IfcCartesianTransformationOperator3DnonUniform.FromTape(d.ID, d.type, d.arguments);
  13404. };
  13405. FromRawLineData[IFCCENTERLINEPROFILEDEF] = (d) => {
  13406. return IfcCenterLineProfileDef.FromTape(d.ID, d.type, d.arguments);
  13407. };
  13408. FromRawLineData[IFCCHILLER] = (d) => {
  13409. return IfcChiller.FromTape(d.ID, d.type, d.arguments);
  13410. };
  13411. FromRawLineData[IFCCHILLERTYPE] = (d) => {
  13412. return IfcChillerType.FromTape(d.ID, d.type, d.arguments);
  13413. };
  13414. FromRawLineData[IFCCHIMNEY] = (d) => {
  13415. return IfcChimney.FromTape(d.ID, d.type, d.arguments);
  13416. };
  13417. FromRawLineData[IFCCHIMNEYTYPE] = (d) => {
  13418. return IfcChimneyType.FromTape(d.ID, d.type, d.arguments);
  13419. };
  13420. FromRawLineData[IFCCIRCLE] = (d) => {
  13421. return IfcCircle.FromTape(d.ID, d.type, d.arguments);
  13422. };
  13423. FromRawLineData[IFCCIRCLEHOLLOWPROFILEDEF] = (d) => {
  13424. return IfcCircleHollowProfileDef.FromTape(d.ID, d.type, d.arguments);
  13425. };
  13426. FromRawLineData[IFCCIRCLEPROFILEDEF] = (d) => {
  13427. return IfcCircleProfileDef.FromTape(d.ID, d.type, d.arguments);
  13428. };
  13429. FromRawLineData[IFCCIRCULARARCSEGMENT2D] = (d) => {
  13430. return IfcCircularArcSegment2D.FromTape(d.ID, d.type, d.arguments);
  13431. };
  13432. FromRawLineData[IFCCIVILELEMENT] = (d) => {
  13433. return IfcCivilElement.FromTape(d.ID, d.type, d.arguments);
  13434. };
  13435. FromRawLineData[IFCCIVILELEMENTTYPE] = (d) => {
  13436. return IfcCivilElementType.FromTape(d.ID, d.type, d.arguments);
  13437. };
  13438. FromRawLineData[IFCCLASSIFICATION] = (d) => {
  13439. return IfcClassification.FromTape(d.ID, d.type, d.arguments);
  13440. };
  13441. FromRawLineData[IFCCLASSIFICATIONREFERENCE] = (d) => {
  13442. return IfcClassificationReference.FromTape(d.ID, d.type, d.arguments);
  13443. };
  13444. FromRawLineData[IFCCLOSEDSHELL] = (d) => {
  13445. return IfcClosedShell.FromTape(d.ID, d.type, d.arguments);
  13446. };
  13447. FromRawLineData[IFCCOIL] = (d) => {
  13448. return IfcCoil.FromTape(d.ID, d.type, d.arguments);
  13449. };
  13450. FromRawLineData[IFCCOILTYPE] = (d) => {
  13451. return IfcCoilType.FromTape(d.ID, d.type, d.arguments);
  13452. };
  13453. FromRawLineData[IFCCOLOURRGB] = (d) => {
  13454. return IfcColourRgb.FromTape(d.ID, d.type, d.arguments);
  13455. };
  13456. FromRawLineData[IFCCOLOURRGBLIST] = (d) => {
  13457. return IfcColourRgbList.FromTape(d.ID, d.type, d.arguments);
  13458. };
  13459. FromRawLineData[IFCCOLOURSPECIFICATION] = (d) => {
  13460. return IfcColourSpecification.FromTape(d.ID, d.type, d.arguments);
  13461. };
  13462. FromRawLineData[IFCCOLUMN] = (d) => {
  13463. return IfcColumn.FromTape(d.ID, d.type, d.arguments);
  13464. };
  13465. FromRawLineData[IFCCOLUMNSTANDARDCASE] = (d) => {
  13466. return IfcColumnStandardCase.FromTape(d.ID, d.type, d.arguments);
  13467. };
  13468. FromRawLineData[IFCCOLUMNTYPE] = (d) => {
  13469. return IfcColumnType.FromTape(d.ID, d.type, d.arguments);
  13470. };
  13471. FromRawLineData[IFCCOMMUNICATIONSAPPLIANCE] = (d) => {
  13472. return IfcCommunicationsAppliance.FromTape(d.ID, d.type, d.arguments);
  13473. };
  13474. FromRawLineData[IFCCOMMUNICATIONSAPPLIANCETYPE] = (d) => {
  13475. return IfcCommunicationsApplianceType.FromTape(d.ID, d.type, d.arguments);
  13476. };
  13477. FromRawLineData[IFCCOMPLEXPROPERTY] = (d) => {
  13478. return IfcComplexProperty.FromTape(d.ID, d.type, d.arguments);
  13479. };
  13480. FromRawLineData[IFCCOMPLEXPROPERTYTEMPLATE] = (d) => {
  13481. return IfcComplexPropertyTemplate.FromTape(d.ID, d.type, d.arguments);
  13482. };
  13483. FromRawLineData[IFCCOMPOSITECURVE] = (d) => {
  13484. return IfcCompositeCurve.FromTape(d.ID, d.type, d.arguments);
  13485. };
  13486. FromRawLineData[IFCCOMPOSITECURVEONSURFACE] = (d) => {
  13487. return IfcCompositeCurveOnSurface.FromTape(d.ID, d.type, d.arguments);
  13488. };
  13489. FromRawLineData[IFCCOMPOSITECURVESEGMENT] = (d) => {
  13490. return IfcCompositeCurveSegment.FromTape(d.ID, d.type, d.arguments);
  13491. };
  13492. FromRawLineData[IFCCOMPOSITEPROFILEDEF] = (d) => {
  13493. return IfcCompositeProfileDef.FromTape(d.ID, d.type, d.arguments);
  13494. };
  13495. FromRawLineData[IFCCOMPRESSOR] = (d) => {
  13496. return IfcCompressor.FromTape(d.ID, d.type, d.arguments);
  13497. };
  13498. FromRawLineData[IFCCOMPRESSORTYPE] = (d) => {
  13499. return IfcCompressorType.FromTape(d.ID, d.type, d.arguments);
  13500. };
  13501. FromRawLineData[IFCCONDENSER] = (d) => {
  13502. return IfcCondenser.FromTape(d.ID, d.type, d.arguments);
  13503. };
  13504. FromRawLineData[IFCCONDENSERTYPE] = (d) => {
  13505. return IfcCondenserType.FromTape(d.ID, d.type, d.arguments);
  13506. };
  13507. FromRawLineData[IFCCONIC] = (d) => {
  13508. return IfcConic.FromTape(d.ID, d.type, d.arguments);
  13509. };
  13510. FromRawLineData[IFCCONNECTEDFACESET] = (d) => {
  13511. return IfcConnectedFaceSet.FromTape(d.ID, d.type, d.arguments);
  13512. };
  13513. FromRawLineData[IFCCONNECTIONCURVEGEOMETRY] = (d) => {
  13514. return IfcConnectionCurveGeometry.FromTape(d.ID, d.type, d.arguments);
  13515. };
  13516. FromRawLineData[IFCCONNECTIONGEOMETRY] = (d) => {
  13517. return IfcConnectionGeometry.FromTape(d.ID, d.type, d.arguments);
  13518. };
  13519. FromRawLineData[IFCCONNECTIONPOINTECCENTRICITY] = (d) => {
  13520. return IfcConnectionPointEccentricity.FromTape(d.ID, d.type, d.arguments);
  13521. };
  13522. FromRawLineData[IFCCONNECTIONPOINTGEOMETRY] = (d) => {
  13523. return IfcConnectionPointGeometry.FromTape(d.ID, d.type, d.arguments);
  13524. };
  13525. FromRawLineData[IFCCONNECTIONSURFACEGEOMETRY] = (d) => {
  13526. return IfcConnectionSurfaceGeometry.FromTape(d.ID, d.type, d.arguments);
  13527. };
  13528. FromRawLineData[IFCCONNECTIONVOLUMEGEOMETRY] = (d) => {
  13529. return IfcConnectionVolumeGeometry.FromTape(d.ID, d.type, d.arguments);
  13530. };
  13531. FromRawLineData[IFCCONSTRAINT] = (d) => {
  13532. return IfcConstraint.FromTape(d.ID, d.type, d.arguments);
  13533. };
  13534. FromRawLineData[IFCCONSTRUCTIONEQUIPMENTRESOURCE] = (d) => {
  13535. return IfcConstructionEquipmentResource.FromTape(d.ID, d.type, d.arguments);
  13536. };
  13537. FromRawLineData[IFCCONSTRUCTIONEQUIPMENTRESOURCETYPE] = (d) => {
  13538. return IfcConstructionEquipmentResourceType.FromTape(d.ID, d.type, d.arguments);
  13539. };
  13540. FromRawLineData[IFCCONSTRUCTIONMATERIALRESOURCE] = (d) => {
  13541. return IfcConstructionMaterialResource.FromTape(d.ID, d.type, d.arguments);
  13542. };
  13543. FromRawLineData[IFCCONSTRUCTIONMATERIALRESOURCETYPE] = (d) => {
  13544. return IfcConstructionMaterialResourceType.FromTape(d.ID, d.type, d.arguments);
  13545. };
  13546. FromRawLineData[IFCCONSTRUCTIONPRODUCTRESOURCE] = (d) => {
  13547. return IfcConstructionProductResource.FromTape(d.ID, d.type, d.arguments);
  13548. };
  13549. FromRawLineData[IFCCONSTRUCTIONPRODUCTRESOURCETYPE] = (d) => {
  13550. return IfcConstructionProductResourceType.FromTape(d.ID, d.type, d.arguments);
  13551. };
  13552. FromRawLineData[IFCCONSTRUCTIONRESOURCE] = (d) => {
  13553. return IfcConstructionResource.FromTape(d.ID, d.type, d.arguments);
  13554. };
  13555. FromRawLineData[IFCCONSTRUCTIONRESOURCETYPE] = (d) => {
  13556. return IfcConstructionResourceType.FromTape(d.ID, d.type, d.arguments);
  13557. };
  13558. FromRawLineData[IFCCONTEXT] = (d) => {
  13559. return IfcContext.FromTape(d.ID, d.type, d.arguments);
  13560. };
  13561. FromRawLineData[IFCCONTEXTDEPENDENTUNIT] = (d) => {
  13562. return IfcContextDependentUnit.FromTape(d.ID, d.type, d.arguments);
  13563. };
  13564. FromRawLineData[IFCCONTROL] = (d) => {
  13565. return IfcControl.FromTape(d.ID, d.type, d.arguments);
  13566. };
  13567. FromRawLineData[IFCCONTROLLER] = (d) => {
  13568. return IfcController.FromTape(d.ID, d.type, d.arguments);
  13569. };
  13570. FromRawLineData[IFCCONTROLLERTYPE] = (d) => {
  13571. return IfcControllerType.FromTape(d.ID, d.type, d.arguments);
  13572. };
  13573. FromRawLineData[IFCCONVERSIONBASEDUNIT] = (d) => {
  13574. return IfcConversionBasedUnit.FromTape(d.ID, d.type, d.arguments);
  13575. };
  13576. FromRawLineData[IFCCONVERSIONBASEDUNITWITHOFFSET] = (d) => {
  13577. return IfcConversionBasedUnitWithOffset.FromTape(d.ID, d.type, d.arguments);
  13578. };
  13579. FromRawLineData[IFCCOOLEDBEAM] = (d) => {
  13580. return IfcCooledBeam.FromTape(d.ID, d.type, d.arguments);
  13581. };
  13582. FromRawLineData[IFCCOOLEDBEAMTYPE] = (d) => {
  13583. return IfcCooledBeamType.FromTape(d.ID, d.type, d.arguments);
  13584. };
  13585. FromRawLineData[IFCCOOLINGTOWER] = (d) => {
  13586. return IfcCoolingTower.FromTape(d.ID, d.type, d.arguments);
  13587. };
  13588. FromRawLineData[IFCCOOLINGTOWERTYPE] = (d) => {
  13589. return IfcCoolingTowerType.FromTape(d.ID, d.type, d.arguments);
  13590. };
  13591. FromRawLineData[IFCCOORDINATEOPERATION] = (d) => {
  13592. return IfcCoordinateOperation.FromTape(d.ID, d.type, d.arguments);
  13593. };
  13594. FromRawLineData[IFCCOORDINATEREFERENCESYSTEM] = (d) => {
  13595. return IfcCoordinateReferenceSystem.FromTape(d.ID, d.type, d.arguments);
  13596. };
  13597. FromRawLineData[IFCCOSTITEM] = (d) => {
  13598. return IfcCostItem.FromTape(d.ID, d.type, d.arguments);
  13599. };
  13600. FromRawLineData[IFCCOSTSCHEDULE] = (d) => {
  13601. return IfcCostSchedule.FromTape(d.ID, d.type, d.arguments);
  13602. };
  13603. FromRawLineData[IFCCOSTVALUE] = (d) => {
  13604. return IfcCostValue.FromTape(d.ID, d.type, d.arguments);
  13605. };
  13606. FromRawLineData[IFCCOVERING] = (d) => {
  13607. return IfcCovering.FromTape(d.ID, d.type, d.arguments);
  13608. };
  13609. FromRawLineData[IFCCOVERINGTYPE] = (d) => {
  13610. return IfcCoveringType.FromTape(d.ID, d.type, d.arguments);
  13611. };
  13612. FromRawLineData[IFCCREWRESOURCE] = (d) => {
  13613. return IfcCrewResource.FromTape(d.ID, d.type, d.arguments);
  13614. };
  13615. FromRawLineData[IFCCREWRESOURCETYPE] = (d) => {
  13616. return IfcCrewResourceType.FromTape(d.ID, d.type, d.arguments);
  13617. };
  13618. FromRawLineData[IFCCSGPRIMITIVE3D] = (d) => {
  13619. return IfcCsgPrimitive3D.FromTape(d.ID, d.type, d.arguments);
  13620. };
  13621. FromRawLineData[IFCCSGSOLID] = (d) => {
  13622. return IfcCsgSolid.FromTape(d.ID, d.type, d.arguments);
  13623. };
  13624. FromRawLineData[IFCCURRENCYRELATIONSHIP] = (d) => {
  13625. return IfcCurrencyRelationship.FromTape(d.ID, d.type, d.arguments);
  13626. };
  13627. FromRawLineData[IFCCURTAINWALL] = (d) => {
  13628. return IfcCurtainWall.FromTape(d.ID, d.type, d.arguments);
  13629. };
  13630. FromRawLineData[IFCCURTAINWALLTYPE] = (d) => {
  13631. return IfcCurtainWallType.FromTape(d.ID, d.type, d.arguments);
  13632. };
  13633. FromRawLineData[IFCCURVE] = (d) => {
  13634. return IfcCurve.FromTape(d.ID, d.type, d.arguments);
  13635. };
  13636. FromRawLineData[IFCCURVEBOUNDEDPLANE] = (d) => {
  13637. return IfcCurveBoundedPlane.FromTape(d.ID, d.type, d.arguments);
  13638. };
  13639. FromRawLineData[IFCCURVEBOUNDEDSURFACE] = (d) => {
  13640. return IfcCurveBoundedSurface.FromTape(d.ID, d.type, d.arguments);
  13641. };
  13642. FromRawLineData[IFCCURVESEGMENT2D] = (d) => {
  13643. return IfcCurveSegment2D.FromTape(d.ID, d.type, d.arguments);
  13644. };
  13645. FromRawLineData[IFCCURVESTYLE] = (d) => {
  13646. return IfcCurveStyle.FromTape(d.ID, d.type, d.arguments);
  13647. };
  13648. FromRawLineData[IFCCURVESTYLEFONT] = (d) => {
  13649. return IfcCurveStyleFont.FromTape(d.ID, d.type, d.arguments);
  13650. };
  13651. FromRawLineData[IFCCURVESTYLEFONTANDSCALING] = (d) => {
  13652. return IfcCurveStyleFontAndScaling.FromTape(d.ID, d.type, d.arguments);
  13653. };
  13654. FromRawLineData[IFCCURVESTYLEFONTPATTERN] = (d) => {
  13655. return IfcCurveStyleFontPattern.FromTape(d.ID, d.type, d.arguments);
  13656. };
  13657. FromRawLineData[IFCCYLINDRICALSURFACE] = (d) => {
  13658. return IfcCylindricalSurface.FromTape(d.ID, d.type, d.arguments);
  13659. };
  13660. FromRawLineData[IFCDAMPER] = (d) => {
  13661. return IfcDamper.FromTape(d.ID, d.type, d.arguments);
  13662. };
  13663. FromRawLineData[IFCDAMPERTYPE] = (d) => {
  13664. return IfcDamperType.FromTape(d.ID, d.type, d.arguments);
  13665. };
  13666. FromRawLineData[IFCDEEPFOUNDATION] = (d) => {
  13667. return IfcDeepFoundation.FromTape(d.ID, d.type, d.arguments);
  13668. };
  13669. FromRawLineData[IFCDEEPFOUNDATIONTYPE] = (d) => {
  13670. return IfcDeepFoundationType.FromTape(d.ID, d.type, d.arguments);
  13671. };
  13672. FromRawLineData[IFCDERIVEDPROFILEDEF] = (d) => {
  13673. return IfcDerivedProfileDef.FromTape(d.ID, d.type, d.arguments);
  13674. };
  13675. FromRawLineData[IFCDERIVEDUNIT] = (d) => {
  13676. return IfcDerivedUnit.FromTape(d.ID, d.type, d.arguments);
  13677. };
  13678. FromRawLineData[IFCDERIVEDUNITELEMENT] = (d) => {
  13679. return IfcDerivedUnitElement.FromTape(d.ID, d.type, d.arguments);
  13680. };
  13681. FromRawLineData[IFCDIMENSIONALEXPONENTS] = (d) => {
  13682. return IfcDimensionalExponents.FromTape(d.ID, d.type, d.arguments);
  13683. };
  13684. FromRawLineData[IFCDIRECTION] = (d) => {
  13685. return IfcDirection.FromTape(d.ID, d.type, d.arguments);
  13686. };
  13687. FromRawLineData[IFCDISCRETEACCESSORY] = (d) => {
  13688. return IfcDiscreteAccessory.FromTape(d.ID, d.type, d.arguments);
  13689. };
  13690. FromRawLineData[IFCDISCRETEACCESSORYTYPE] = (d) => {
  13691. return IfcDiscreteAccessoryType.FromTape(d.ID, d.type, d.arguments);
  13692. };
  13693. FromRawLineData[IFCDISTANCEEXPRESSION] = (d) => {
  13694. return IfcDistanceExpression.FromTape(d.ID, d.type, d.arguments);
  13695. };
  13696. FromRawLineData[IFCDISTRIBUTIONCHAMBERELEMENT] = (d) => {
  13697. return IfcDistributionChamberElement.FromTape(d.ID, d.type, d.arguments);
  13698. };
  13699. FromRawLineData[IFCDISTRIBUTIONCHAMBERELEMENTTYPE] = (d) => {
  13700. return IfcDistributionChamberElementType.FromTape(d.ID, d.type, d.arguments);
  13701. };
  13702. FromRawLineData[IFCDISTRIBUTIONCIRCUIT] = (d) => {
  13703. return IfcDistributionCircuit.FromTape(d.ID, d.type, d.arguments);
  13704. };
  13705. FromRawLineData[IFCDISTRIBUTIONCONTROLELEMENT] = (d) => {
  13706. return IfcDistributionControlElement.FromTape(d.ID, d.type, d.arguments);
  13707. };
  13708. FromRawLineData[IFCDISTRIBUTIONCONTROLELEMENTTYPE] = (d) => {
  13709. return IfcDistributionControlElementType.FromTape(d.ID, d.type, d.arguments);
  13710. };
  13711. FromRawLineData[IFCDISTRIBUTIONELEMENT] = (d) => {
  13712. return IfcDistributionElement.FromTape(d.ID, d.type, d.arguments);
  13713. };
  13714. FromRawLineData[IFCDISTRIBUTIONELEMENTTYPE] = (d) => {
  13715. return IfcDistributionElementType.FromTape(d.ID, d.type, d.arguments);
  13716. };
  13717. FromRawLineData[IFCDISTRIBUTIONFLOWELEMENT] = (d) => {
  13718. return IfcDistributionFlowElement.FromTape(d.ID, d.type, d.arguments);
  13719. };
  13720. FromRawLineData[IFCDISTRIBUTIONFLOWELEMENTTYPE] = (d) => {
  13721. return IfcDistributionFlowElementType.FromTape(d.ID, d.type, d.arguments);
  13722. };
  13723. FromRawLineData[IFCDISTRIBUTIONPORT] = (d) => {
  13724. return IfcDistributionPort.FromTape(d.ID, d.type, d.arguments);
  13725. };
  13726. FromRawLineData[IFCDISTRIBUTIONSYSTEM] = (d) => {
  13727. return IfcDistributionSystem.FromTape(d.ID, d.type, d.arguments);
  13728. };
  13729. FromRawLineData[IFCDOCUMENTINFORMATION] = (d) => {
  13730. return IfcDocumentInformation.FromTape(d.ID, d.type, d.arguments);
  13731. };
  13732. FromRawLineData[IFCDOCUMENTINFORMATIONRELATIONSHIP] = (d) => {
  13733. return IfcDocumentInformationRelationship.FromTape(d.ID, d.type, d.arguments);
  13734. };
  13735. FromRawLineData[IFCDOCUMENTREFERENCE] = (d) => {
  13736. return IfcDocumentReference.FromTape(d.ID, d.type, d.arguments);
  13737. };
  13738. FromRawLineData[IFCDOOR] = (d) => {
  13739. return IfcDoor.FromTape(d.ID, d.type, d.arguments);
  13740. };
  13741. FromRawLineData[IFCDOORLININGPROPERTIES] = (d) => {
  13742. return IfcDoorLiningProperties.FromTape(d.ID, d.type, d.arguments);
  13743. };
  13744. FromRawLineData[IFCDOORPANELPROPERTIES] = (d) => {
  13745. return IfcDoorPanelProperties.FromTape(d.ID, d.type, d.arguments);
  13746. };
  13747. FromRawLineData[IFCDOORSTANDARDCASE] = (d) => {
  13748. return IfcDoorStandardCase.FromTape(d.ID, d.type, d.arguments);
  13749. };
  13750. FromRawLineData[IFCDOORSTYLE] = (d) => {
  13751. return IfcDoorStyle.FromTape(d.ID, d.type, d.arguments);
  13752. };
  13753. FromRawLineData[IFCDOORTYPE] = (d) => {
  13754. return IfcDoorType.FromTape(d.ID, d.type, d.arguments);
  13755. };
  13756. FromRawLineData[IFCDRAUGHTINGPREDEFINEDCOLOUR] = (d) => {
  13757. return IfcDraughtingPreDefinedColour.FromTape(d.ID, d.type, d.arguments);
  13758. };
  13759. FromRawLineData[IFCDRAUGHTINGPREDEFINEDCURVEFONT] = (d) => {
  13760. return IfcDraughtingPreDefinedCurveFont.FromTape(d.ID, d.type, d.arguments);
  13761. };
  13762. FromRawLineData[IFCDUCTFITTING] = (d) => {
  13763. return IfcDuctFitting.FromTape(d.ID, d.type, d.arguments);
  13764. };
  13765. FromRawLineData[IFCDUCTFITTINGTYPE] = (d) => {
  13766. return IfcDuctFittingType.FromTape(d.ID, d.type, d.arguments);
  13767. };
  13768. FromRawLineData[IFCDUCTSEGMENT] = (d) => {
  13769. return IfcDuctSegment.FromTape(d.ID, d.type, d.arguments);
  13770. };
  13771. FromRawLineData[IFCDUCTSEGMENTTYPE] = (d) => {
  13772. return IfcDuctSegmentType.FromTape(d.ID, d.type, d.arguments);
  13773. };
  13774. FromRawLineData[IFCDUCTSILENCER] = (d) => {
  13775. return IfcDuctSilencer.FromTape(d.ID, d.type, d.arguments);
  13776. };
  13777. FromRawLineData[IFCDUCTSILENCERTYPE] = (d) => {
  13778. return IfcDuctSilencerType.FromTape(d.ID, d.type, d.arguments);
  13779. };
  13780. FromRawLineData[IFCEDGE] = (d) => {
  13781. return IfcEdge.FromTape(d.ID, d.type, d.arguments);
  13782. };
  13783. FromRawLineData[IFCEDGECURVE] = (d) => {
  13784. return IfcEdgeCurve.FromTape(d.ID, d.type, d.arguments);
  13785. };
  13786. FromRawLineData[IFCEDGELOOP] = (d) => {
  13787. return IfcEdgeLoop.FromTape(d.ID, d.type, d.arguments);
  13788. };
  13789. FromRawLineData[IFCELECTRICAPPLIANCE] = (d) => {
  13790. return IfcElectricAppliance.FromTape(d.ID, d.type, d.arguments);
  13791. };
  13792. FromRawLineData[IFCELECTRICAPPLIANCETYPE] = (d) => {
  13793. return IfcElectricApplianceType.FromTape(d.ID, d.type, d.arguments);
  13794. };
  13795. FromRawLineData[IFCELECTRICDISTRIBUTIONBOARD] = (d) => {
  13796. return IfcElectricDistributionBoard.FromTape(d.ID, d.type, d.arguments);
  13797. };
  13798. FromRawLineData[IFCELECTRICDISTRIBUTIONBOARDTYPE] = (d) => {
  13799. return IfcElectricDistributionBoardType.FromTape(d.ID, d.type, d.arguments);
  13800. };
  13801. FromRawLineData[IFCELECTRICFLOWSTORAGEDEVICE] = (d) => {
  13802. return IfcElectricFlowStorageDevice.FromTape(d.ID, d.type, d.arguments);
  13803. };
  13804. FromRawLineData[IFCELECTRICFLOWSTORAGEDEVICETYPE] = (d) => {
  13805. return IfcElectricFlowStorageDeviceType.FromTape(d.ID, d.type, d.arguments);
  13806. };
  13807. FromRawLineData[IFCELECTRICGENERATOR] = (d) => {
  13808. return IfcElectricGenerator.FromTape(d.ID, d.type, d.arguments);
  13809. };
  13810. FromRawLineData[IFCELECTRICGENERATORTYPE] = (d) => {
  13811. return IfcElectricGeneratorType.FromTape(d.ID, d.type, d.arguments);
  13812. };
  13813. FromRawLineData[IFCELECTRICMOTOR] = (d) => {
  13814. return IfcElectricMotor.FromTape(d.ID, d.type, d.arguments);
  13815. };
  13816. FromRawLineData[IFCELECTRICMOTORTYPE] = (d) => {
  13817. return IfcElectricMotorType.FromTape(d.ID, d.type, d.arguments);
  13818. };
  13819. FromRawLineData[IFCELECTRICTIMECONTROL] = (d) => {
  13820. return IfcElectricTimeControl.FromTape(d.ID, d.type, d.arguments);
  13821. };
  13822. FromRawLineData[IFCELECTRICTIMECONTROLTYPE] = (d) => {
  13823. return IfcElectricTimeControlType.FromTape(d.ID, d.type, d.arguments);
  13824. };
  13825. FromRawLineData[IFCELEMENT] = (d) => {
  13826. return IfcElement.FromTape(d.ID, d.type, d.arguments);
  13827. };
  13828. FromRawLineData[IFCELEMENTASSEMBLY] = (d) => {
  13829. return IfcElementAssembly.FromTape(d.ID, d.type, d.arguments);
  13830. };
  13831. FromRawLineData[IFCELEMENTASSEMBLYTYPE] = (d) => {
  13832. return IfcElementAssemblyType.FromTape(d.ID, d.type, d.arguments);
  13833. };
  13834. FromRawLineData[IFCELEMENTCOMPONENT] = (d) => {
  13835. return IfcElementComponent.FromTape(d.ID, d.type, d.arguments);
  13836. };
  13837. FromRawLineData[IFCELEMENTCOMPONENTTYPE] = (d) => {
  13838. return IfcElementComponentType.FromTape(d.ID, d.type, d.arguments);
  13839. };
  13840. FromRawLineData[IFCELEMENTQUANTITY] = (d) => {
  13841. return IfcElementQuantity.FromTape(d.ID, d.type, d.arguments);
  13842. };
  13843. FromRawLineData[IFCELEMENTTYPE] = (d) => {
  13844. return IfcElementType.FromTape(d.ID, d.type, d.arguments);
  13845. };
  13846. FromRawLineData[IFCELEMENTARYSURFACE] = (d) => {
  13847. return IfcElementarySurface.FromTape(d.ID, d.type, d.arguments);
  13848. };
  13849. FromRawLineData[IFCELLIPSE] = (d) => {
  13850. return IfcEllipse.FromTape(d.ID, d.type, d.arguments);
  13851. };
  13852. FromRawLineData[IFCELLIPSEPROFILEDEF] = (d) => {
  13853. return IfcEllipseProfileDef.FromTape(d.ID, d.type, d.arguments);
  13854. };
  13855. FromRawLineData[IFCENERGYCONVERSIONDEVICE] = (d) => {
  13856. return IfcEnergyConversionDevice.FromTape(d.ID, d.type, d.arguments);
  13857. };
  13858. FromRawLineData[IFCENERGYCONVERSIONDEVICETYPE] = (d) => {
  13859. return IfcEnergyConversionDeviceType.FromTape(d.ID, d.type, d.arguments);
  13860. };
  13861. FromRawLineData[IFCENGINE] = (d) => {
  13862. return IfcEngine.FromTape(d.ID, d.type, d.arguments);
  13863. };
  13864. FromRawLineData[IFCENGINETYPE] = (d) => {
  13865. return IfcEngineType.FromTape(d.ID, d.type, d.arguments);
  13866. };
  13867. FromRawLineData[IFCEVAPORATIVECOOLER] = (d) => {
  13868. return IfcEvaporativeCooler.FromTape(d.ID, d.type, d.arguments);
  13869. };
  13870. FromRawLineData[IFCEVAPORATIVECOOLERTYPE] = (d) => {
  13871. return IfcEvaporativeCoolerType.FromTape(d.ID, d.type, d.arguments);
  13872. };
  13873. FromRawLineData[IFCEVAPORATOR] = (d) => {
  13874. return IfcEvaporator.FromTape(d.ID, d.type, d.arguments);
  13875. };
  13876. FromRawLineData[IFCEVAPORATORTYPE] = (d) => {
  13877. return IfcEvaporatorType.FromTape(d.ID, d.type, d.arguments);
  13878. };
  13879. FromRawLineData[IFCEVENT] = (d) => {
  13880. return IfcEvent.FromTape(d.ID, d.type, d.arguments);
  13881. };
  13882. FromRawLineData[IFCEVENTTIME] = (d) => {
  13883. return IfcEventTime.FromTape(d.ID, d.type, d.arguments);
  13884. };
  13885. FromRawLineData[IFCEVENTTYPE] = (d) => {
  13886. return IfcEventType.FromTape(d.ID, d.type, d.arguments);
  13887. };
  13888. FromRawLineData[IFCEXTENDEDPROPERTIES] = (d) => {
  13889. return IfcExtendedProperties.FromTape(d.ID, d.type, d.arguments);
  13890. };
  13891. FromRawLineData[IFCEXTERNALINFORMATION] = (d) => {
  13892. return IfcExternalInformation.FromTape(d.ID, d.type, d.arguments);
  13893. };
  13894. FromRawLineData[IFCEXTERNALREFERENCE] = (d) => {
  13895. return IfcExternalReference.FromTape(d.ID, d.type, d.arguments);
  13896. };
  13897. FromRawLineData[IFCEXTERNALREFERENCERELATIONSHIP] = (d) => {
  13898. return IfcExternalReferenceRelationship.FromTape(d.ID, d.type, d.arguments);
  13899. };
  13900. FromRawLineData[IFCEXTERNALSPATIALELEMENT] = (d) => {
  13901. return IfcExternalSpatialElement.FromTape(d.ID, d.type, d.arguments);
  13902. };
  13903. FromRawLineData[IFCEXTERNALSPATIALSTRUCTUREELEMENT] = (d) => {
  13904. return IfcExternalSpatialStructureElement.FromTape(d.ID, d.type, d.arguments);
  13905. };
  13906. FromRawLineData[IFCEXTERNALLYDEFINEDHATCHSTYLE] = (d) => {
  13907. return IfcExternallyDefinedHatchStyle.FromTape(d.ID, d.type, d.arguments);
  13908. };
  13909. FromRawLineData[IFCEXTERNALLYDEFINEDSURFACESTYLE] = (d) => {
  13910. return IfcExternallyDefinedSurfaceStyle.FromTape(d.ID, d.type, d.arguments);
  13911. };
  13912. FromRawLineData[IFCEXTERNALLYDEFINEDTEXTFONT] = (d) => {
  13913. return IfcExternallyDefinedTextFont.FromTape(d.ID, d.type, d.arguments);
  13914. };
  13915. FromRawLineData[IFCEXTRUDEDAREASOLID] = (d) => {
  13916. return IfcExtrudedAreaSolid.FromTape(d.ID, d.type, d.arguments);
  13917. };
  13918. FromRawLineData[IFCEXTRUDEDAREASOLIDTAPERED] = (d) => {
  13919. return IfcExtrudedAreaSolidTapered.FromTape(d.ID, d.type, d.arguments);
  13920. };
  13921. FromRawLineData[IFCFACE] = (d) => {
  13922. return IfcFace.FromTape(d.ID, d.type, d.arguments);
  13923. };
  13924. FromRawLineData[IFCFACEBASEDSURFACEMODEL] = (d) => {
  13925. return IfcFaceBasedSurfaceModel.FromTape(d.ID, d.type, d.arguments);
  13926. };
  13927. FromRawLineData[IFCFACEBOUND] = (d) => {
  13928. return IfcFaceBound.FromTape(d.ID, d.type, d.arguments);
  13929. };
  13930. FromRawLineData[IFCFACEOUTERBOUND] = (d) => {
  13931. return IfcFaceOuterBound.FromTape(d.ID, d.type, d.arguments);
  13932. };
  13933. FromRawLineData[IFCFACESURFACE] = (d) => {
  13934. return IfcFaceSurface.FromTape(d.ID, d.type, d.arguments);
  13935. };
  13936. FromRawLineData[IFCFACETEDBREP] = (d) => {
  13937. return IfcFacetedBrep.FromTape(d.ID, d.type, d.arguments);
  13938. };
  13939. FromRawLineData[IFCFACETEDBREPWITHVOIDS] = (d) => {
  13940. return IfcFacetedBrepWithVoids.FromTape(d.ID, d.type, d.arguments);
  13941. };
  13942. FromRawLineData[IFCFACILITY] = (d) => {
  13943. return IfcFacility.FromTape(d.ID, d.type, d.arguments);
  13944. };
  13945. FromRawLineData[IFCFACILITYPART] = (d) => {
  13946. return IfcFacilityPart.FromTape(d.ID, d.type, d.arguments);
  13947. };
  13948. FromRawLineData[IFCFAILURECONNECTIONCONDITION] = (d) => {
  13949. return IfcFailureConnectionCondition.FromTape(d.ID, d.type, d.arguments);
  13950. };
  13951. FromRawLineData[IFCFAN] = (d) => {
  13952. return IfcFan.FromTape(d.ID, d.type, d.arguments);
  13953. };
  13954. FromRawLineData[IFCFANTYPE] = (d) => {
  13955. return IfcFanType.FromTape(d.ID, d.type, d.arguments);
  13956. };
  13957. FromRawLineData[IFCFASTENER] = (d) => {
  13958. return IfcFastener.FromTape(d.ID, d.type, d.arguments);
  13959. };
  13960. FromRawLineData[IFCFASTENERTYPE] = (d) => {
  13961. return IfcFastenerType.FromTape(d.ID, d.type, d.arguments);
  13962. };
  13963. FromRawLineData[IFCFEATUREELEMENT] = (d) => {
  13964. return IfcFeatureElement.FromTape(d.ID, d.type, d.arguments);
  13965. };
  13966. FromRawLineData[IFCFEATUREELEMENTADDITION] = (d) => {
  13967. return IfcFeatureElementAddition.FromTape(d.ID, d.type, d.arguments);
  13968. };
  13969. FromRawLineData[IFCFEATUREELEMENTSUBTRACTION] = (d) => {
  13970. return IfcFeatureElementSubtraction.FromTape(d.ID, d.type, d.arguments);
  13971. };
  13972. FromRawLineData[IFCFILLAREASTYLE] = (d) => {
  13973. return IfcFillAreaStyle.FromTape(d.ID, d.type, d.arguments);
  13974. };
  13975. FromRawLineData[IFCFILLAREASTYLEHATCHING] = (d) => {
  13976. return IfcFillAreaStyleHatching.FromTape(d.ID, d.type, d.arguments);
  13977. };
  13978. FromRawLineData[IFCFILLAREASTYLETILES] = (d) => {
  13979. return IfcFillAreaStyleTiles.FromTape(d.ID, d.type, d.arguments);
  13980. };
  13981. FromRawLineData[IFCFILTER] = (d) => {
  13982. return IfcFilter.FromTape(d.ID, d.type, d.arguments);
  13983. };
  13984. FromRawLineData[IFCFILTERTYPE] = (d) => {
  13985. return IfcFilterType.FromTape(d.ID, d.type, d.arguments);
  13986. };
  13987. FromRawLineData[IFCFIRESUPPRESSIONTERMINAL] = (d) => {
  13988. return IfcFireSuppressionTerminal.FromTape(d.ID, d.type, d.arguments);
  13989. };
  13990. FromRawLineData[IFCFIRESUPPRESSIONTERMINALTYPE] = (d) => {
  13991. return IfcFireSuppressionTerminalType.FromTape(d.ID, d.type, d.arguments);
  13992. };
  13993. FromRawLineData[IFCFIXEDREFERENCESWEPTAREASOLID] = (d) => {
  13994. return IfcFixedReferenceSweptAreaSolid.FromTape(d.ID, d.type, d.arguments);
  13995. };
  13996. FromRawLineData[IFCFLOWCONTROLLER] = (d) => {
  13997. return IfcFlowController.FromTape(d.ID, d.type, d.arguments);
  13998. };
  13999. FromRawLineData[IFCFLOWCONTROLLERTYPE] = (d) => {
  14000. return IfcFlowControllerType.FromTape(d.ID, d.type, d.arguments);
  14001. };
  14002. FromRawLineData[IFCFLOWFITTING] = (d) => {
  14003. return IfcFlowFitting.FromTape(d.ID, d.type, d.arguments);
  14004. };
  14005. FromRawLineData[IFCFLOWFITTINGTYPE] = (d) => {
  14006. return IfcFlowFittingType.FromTape(d.ID, d.type, d.arguments);
  14007. };
  14008. FromRawLineData[IFCFLOWINSTRUMENT] = (d) => {
  14009. return IfcFlowInstrument.FromTape(d.ID, d.type, d.arguments);
  14010. };
  14011. FromRawLineData[IFCFLOWINSTRUMENTTYPE] = (d) => {
  14012. return IfcFlowInstrumentType.FromTape(d.ID, d.type, d.arguments);
  14013. };
  14014. FromRawLineData[IFCFLOWMETER] = (d) => {
  14015. return IfcFlowMeter.FromTape(d.ID, d.type, d.arguments);
  14016. };
  14017. FromRawLineData[IFCFLOWMETERTYPE] = (d) => {
  14018. return IfcFlowMeterType.FromTape(d.ID, d.type, d.arguments);
  14019. };
  14020. FromRawLineData[IFCFLOWMOVINGDEVICE] = (d) => {
  14021. return IfcFlowMovingDevice.FromTape(d.ID, d.type, d.arguments);
  14022. };
  14023. FromRawLineData[IFCFLOWMOVINGDEVICETYPE] = (d) => {
  14024. return IfcFlowMovingDeviceType.FromTape(d.ID, d.type, d.arguments);
  14025. };
  14026. FromRawLineData[IFCFLOWSEGMENT] = (d) => {
  14027. return IfcFlowSegment.FromTape(d.ID, d.type, d.arguments);
  14028. };
  14029. FromRawLineData[IFCFLOWSEGMENTTYPE] = (d) => {
  14030. return IfcFlowSegmentType.FromTape(d.ID, d.type, d.arguments);
  14031. };
  14032. FromRawLineData[IFCFLOWSTORAGEDEVICE] = (d) => {
  14033. return IfcFlowStorageDevice.FromTape(d.ID, d.type, d.arguments);
  14034. };
  14035. FromRawLineData[IFCFLOWSTORAGEDEVICETYPE] = (d) => {
  14036. return IfcFlowStorageDeviceType.FromTape(d.ID, d.type, d.arguments);
  14037. };
  14038. FromRawLineData[IFCFLOWTERMINAL] = (d) => {
  14039. return IfcFlowTerminal.FromTape(d.ID, d.type, d.arguments);
  14040. };
  14041. FromRawLineData[IFCFLOWTERMINALTYPE] = (d) => {
  14042. return IfcFlowTerminalType.FromTape(d.ID, d.type, d.arguments);
  14043. };
  14044. FromRawLineData[IFCFLOWTREATMENTDEVICE] = (d) => {
  14045. return IfcFlowTreatmentDevice.FromTape(d.ID, d.type, d.arguments);
  14046. };
  14047. FromRawLineData[IFCFLOWTREATMENTDEVICETYPE] = (d) => {
  14048. return IfcFlowTreatmentDeviceType.FromTape(d.ID, d.type, d.arguments);
  14049. };
  14050. FromRawLineData[IFCFOOTING] = (d) => {
  14051. return IfcFooting.FromTape(d.ID, d.type, d.arguments);
  14052. };
  14053. FromRawLineData[IFCFOOTINGTYPE] = (d) => {
  14054. return IfcFootingType.FromTape(d.ID, d.type, d.arguments);
  14055. };
  14056. FromRawLineData[IFCFURNISHINGELEMENT] = (d) => {
  14057. return IfcFurnishingElement.FromTape(d.ID, d.type, d.arguments);
  14058. };
  14059. FromRawLineData[IFCFURNISHINGELEMENTTYPE] = (d) => {
  14060. return IfcFurnishingElementType.FromTape(d.ID, d.type, d.arguments);
  14061. };
  14062. FromRawLineData[IFCFURNITURE] = (d) => {
  14063. return IfcFurniture.FromTape(d.ID, d.type, d.arguments);
  14064. };
  14065. FromRawLineData[IFCFURNITURETYPE] = (d) => {
  14066. return IfcFurnitureType.FromTape(d.ID, d.type, d.arguments);
  14067. };
  14068. FromRawLineData[IFCGEOGRAPHICELEMENT] = (d) => {
  14069. return IfcGeographicElement.FromTape(d.ID, d.type, d.arguments);
  14070. };
  14071. FromRawLineData[IFCGEOGRAPHICELEMENTTYPE] = (d) => {
  14072. return IfcGeographicElementType.FromTape(d.ID, d.type, d.arguments);
  14073. };
  14074. FromRawLineData[IFCGEOMETRICCURVESET] = (d) => {
  14075. return IfcGeometricCurveSet.FromTape(d.ID, d.type, d.arguments);
  14076. };
  14077. FromRawLineData[IFCGEOMETRICREPRESENTATIONCONTEXT] = (d) => {
  14078. return IfcGeometricRepresentationContext.FromTape(d.ID, d.type, d.arguments);
  14079. };
  14080. FromRawLineData[IFCGEOMETRICREPRESENTATIONITEM] = (d) => {
  14081. return IfcGeometricRepresentationItem.FromTape(d.ID, d.type, d.arguments);
  14082. };
  14083. FromRawLineData[IFCGEOMETRICREPRESENTATIONSUBCONTEXT] = (d) => {
  14084. return IfcGeometricRepresentationSubContext.FromTape(d.ID, d.type, d.arguments);
  14085. };
  14086. FromRawLineData[IFCGEOMETRICSET] = (d) => {
  14087. return IfcGeometricSet.FromTape(d.ID, d.type, d.arguments);
  14088. };
  14089. FromRawLineData[IFCGRID] = (d) => {
  14090. return IfcGrid.FromTape(d.ID, d.type, d.arguments);
  14091. };
  14092. FromRawLineData[IFCGRIDAXIS] = (d) => {
  14093. return IfcGridAxis.FromTape(d.ID, d.type, d.arguments);
  14094. };
  14095. FromRawLineData[IFCGRIDPLACEMENT] = (d) => {
  14096. return IfcGridPlacement.FromTape(d.ID, d.type, d.arguments);
  14097. };
  14098. FromRawLineData[IFCGROUP] = (d) => {
  14099. return IfcGroup.FromTape(d.ID, d.type, d.arguments);
  14100. };
  14101. FromRawLineData[IFCHALFSPACESOLID] = (d) => {
  14102. return IfcHalfSpaceSolid.FromTape(d.ID, d.type, d.arguments);
  14103. };
  14104. FromRawLineData[IFCHEATEXCHANGER] = (d) => {
  14105. return IfcHeatExchanger.FromTape(d.ID, d.type, d.arguments);
  14106. };
  14107. FromRawLineData[IFCHEATEXCHANGERTYPE] = (d) => {
  14108. return IfcHeatExchangerType.FromTape(d.ID, d.type, d.arguments);
  14109. };
  14110. FromRawLineData[IFCHUMIDIFIER] = (d) => {
  14111. return IfcHumidifier.FromTape(d.ID, d.type, d.arguments);
  14112. };
  14113. FromRawLineData[IFCHUMIDIFIERTYPE] = (d) => {
  14114. return IfcHumidifierType.FromTape(d.ID, d.type, d.arguments);
  14115. };
  14116. FromRawLineData[IFCISHAPEPROFILEDEF] = (d) => {
  14117. return IfcIShapeProfileDef.FromTape(d.ID, d.type, d.arguments);
  14118. };
  14119. FromRawLineData[IFCIMAGETEXTURE] = (d) => {
  14120. return IfcImageTexture.FromTape(d.ID, d.type, d.arguments);
  14121. };
  14122. FromRawLineData[IFCINDEXEDCOLOURMAP] = (d) => {
  14123. return IfcIndexedColourMap.FromTape(d.ID, d.type, d.arguments);
  14124. };
  14125. FromRawLineData[IFCINDEXEDPOLYCURVE] = (d) => {
  14126. return IfcIndexedPolyCurve.FromTape(d.ID, d.type, d.arguments);
  14127. };
  14128. FromRawLineData[IFCINDEXEDPOLYGONALFACE] = (d) => {
  14129. return IfcIndexedPolygonalFace.FromTape(d.ID, d.type, d.arguments);
  14130. };
  14131. FromRawLineData[IFCINDEXEDPOLYGONALFACEWITHVOIDS] = (d) => {
  14132. return IfcIndexedPolygonalFaceWithVoids.FromTape(d.ID, d.type, d.arguments);
  14133. };
  14134. FromRawLineData[IFCINDEXEDTEXTUREMAP] = (d) => {
  14135. return IfcIndexedTextureMap.FromTape(d.ID, d.type, d.arguments);
  14136. };
  14137. FromRawLineData[IFCINDEXEDTRIANGLETEXTUREMAP] = (d) => {
  14138. return IfcIndexedTriangleTextureMap.FromTape(d.ID, d.type, d.arguments);
  14139. };
  14140. FromRawLineData[IFCINTERCEPTOR] = (d) => {
  14141. return IfcInterceptor.FromTape(d.ID, d.type, d.arguments);
  14142. };
  14143. FromRawLineData[IFCINTERCEPTORTYPE] = (d) => {
  14144. return IfcInterceptorType.FromTape(d.ID, d.type, d.arguments);
  14145. };
  14146. FromRawLineData[IFCINTERSECTIONCURVE] = (d) => {
  14147. return IfcIntersectionCurve.FromTape(d.ID, d.type, d.arguments);
  14148. };
  14149. FromRawLineData[IFCINVENTORY] = (d) => {
  14150. return IfcInventory.FromTape(d.ID, d.type, d.arguments);
  14151. };
  14152. FromRawLineData[IFCIRREGULARTIMESERIES] = (d) => {
  14153. return IfcIrregularTimeSeries.FromTape(d.ID, d.type, d.arguments);
  14154. };
  14155. FromRawLineData[IFCIRREGULARTIMESERIESVALUE] = (d) => {
  14156. return IfcIrregularTimeSeriesValue.FromTape(d.ID, d.type, d.arguments);
  14157. };
  14158. FromRawLineData[IFCJUNCTIONBOX] = (d) => {
  14159. return IfcJunctionBox.FromTape(d.ID, d.type, d.arguments);
  14160. };
  14161. FromRawLineData[IFCJUNCTIONBOXTYPE] = (d) => {
  14162. return IfcJunctionBoxType.FromTape(d.ID, d.type, d.arguments);
  14163. };
  14164. FromRawLineData[IFCLSHAPEPROFILEDEF] = (d) => {
  14165. return IfcLShapeProfileDef.FromTape(d.ID, d.type, d.arguments);
  14166. };
  14167. FromRawLineData[IFCLABORRESOURCE] = (d) => {
  14168. return IfcLaborResource.FromTape(d.ID, d.type, d.arguments);
  14169. };
  14170. FromRawLineData[IFCLABORRESOURCETYPE] = (d) => {
  14171. return IfcLaborResourceType.FromTape(d.ID, d.type, d.arguments);
  14172. };
  14173. FromRawLineData[IFCLAGTIME] = (d) => {
  14174. return IfcLagTime.FromTape(d.ID, d.type, d.arguments);
  14175. };
  14176. FromRawLineData[IFCLAMP] = (d) => {
  14177. return IfcLamp.FromTape(d.ID, d.type, d.arguments);
  14178. };
  14179. FromRawLineData[IFCLAMPTYPE] = (d) => {
  14180. return IfcLampType.FromTape(d.ID, d.type, d.arguments);
  14181. };
  14182. FromRawLineData[IFCLIBRARYINFORMATION] = (d) => {
  14183. return IfcLibraryInformation.FromTape(d.ID, d.type, d.arguments);
  14184. };
  14185. FromRawLineData[IFCLIBRARYREFERENCE] = (d) => {
  14186. return IfcLibraryReference.FromTape(d.ID, d.type, d.arguments);
  14187. };
  14188. FromRawLineData[IFCLIGHTDISTRIBUTIONDATA] = (d) => {
  14189. return IfcLightDistributionData.FromTape(d.ID, d.type, d.arguments);
  14190. };
  14191. FromRawLineData[IFCLIGHTFIXTURE] = (d) => {
  14192. return IfcLightFixture.FromTape(d.ID, d.type, d.arguments);
  14193. };
  14194. FromRawLineData[IFCLIGHTFIXTURETYPE] = (d) => {
  14195. return IfcLightFixtureType.FromTape(d.ID, d.type, d.arguments);
  14196. };
  14197. FromRawLineData[IFCLIGHTINTENSITYDISTRIBUTION] = (d) => {
  14198. return IfcLightIntensityDistribution.FromTape(d.ID, d.type, d.arguments);
  14199. };
  14200. FromRawLineData[IFCLIGHTSOURCE] = (d) => {
  14201. return IfcLightSource.FromTape(d.ID, d.type, d.arguments);
  14202. };
  14203. FromRawLineData[IFCLIGHTSOURCEAMBIENT] = (d) => {
  14204. return IfcLightSourceAmbient.FromTape(d.ID, d.type, d.arguments);
  14205. };
  14206. FromRawLineData[IFCLIGHTSOURCEDIRECTIONAL] = (d) => {
  14207. return IfcLightSourceDirectional.FromTape(d.ID, d.type, d.arguments);
  14208. };
  14209. FromRawLineData[IFCLIGHTSOURCEGONIOMETRIC] = (d) => {
  14210. return IfcLightSourceGoniometric.FromTape(d.ID, d.type, d.arguments);
  14211. };
  14212. FromRawLineData[IFCLIGHTSOURCEPOSITIONAL] = (d) => {
  14213. return IfcLightSourcePositional.FromTape(d.ID, d.type, d.arguments);
  14214. };
  14215. FromRawLineData[IFCLIGHTSOURCESPOT] = (d) => {
  14216. return IfcLightSourceSpot.FromTape(d.ID, d.type, d.arguments);
  14217. };
  14218. FromRawLineData[IFCLINE] = (d) => {
  14219. return IfcLine.FromTape(d.ID, d.type, d.arguments);
  14220. };
  14221. FromRawLineData[IFCLINESEGMENT2D] = (d) => {
  14222. return IfcLineSegment2D.FromTape(d.ID, d.type, d.arguments);
  14223. };
  14224. FromRawLineData[IFCLINEARPLACEMENT] = (d) => {
  14225. return IfcLinearPlacement.FromTape(d.ID, d.type, d.arguments);
  14226. };
  14227. FromRawLineData[IFCLINEARPOSITIONINGELEMENT] = (d) => {
  14228. return IfcLinearPositioningElement.FromTape(d.ID, d.type, d.arguments);
  14229. };
  14230. FromRawLineData[IFCLOCALPLACEMENT] = (d) => {
  14231. return IfcLocalPlacement.FromTape(d.ID, d.type, d.arguments);
  14232. };
  14233. FromRawLineData[IFCLOOP] = (d) => {
  14234. return IfcLoop.FromTape(d.ID, d.type, d.arguments);
  14235. };
  14236. FromRawLineData[IFCMANIFOLDSOLIDBREP] = (d) => {
  14237. return IfcManifoldSolidBrep.FromTape(d.ID, d.type, d.arguments);
  14238. };
  14239. FromRawLineData[IFCMAPCONVERSION] = (d) => {
  14240. return IfcMapConversion.FromTape(d.ID, d.type, d.arguments);
  14241. };
  14242. FromRawLineData[IFCMAPPEDITEM] = (d) => {
  14243. return IfcMappedItem.FromTape(d.ID, d.type, d.arguments);
  14244. };
  14245. FromRawLineData[IFCMATERIAL] = (d) => {
  14246. return IfcMaterial.FromTape(d.ID, d.type, d.arguments);
  14247. };
  14248. FromRawLineData[IFCMATERIALCLASSIFICATIONRELATIONSHIP] = (d) => {
  14249. return IfcMaterialClassificationRelationship.FromTape(d.ID, d.type, d.arguments);
  14250. };
  14251. FromRawLineData[IFCMATERIALCONSTITUENT] = (d) => {
  14252. return IfcMaterialConstituent.FromTape(d.ID, d.type, d.arguments);
  14253. };
  14254. FromRawLineData[IFCMATERIALCONSTITUENTSET] = (d) => {
  14255. return IfcMaterialConstituentSet.FromTape(d.ID, d.type, d.arguments);
  14256. };
  14257. FromRawLineData[IFCMATERIALDEFINITION] = (d) => {
  14258. return IfcMaterialDefinition.FromTape(d.ID, d.type, d.arguments);
  14259. };
  14260. FromRawLineData[IFCMATERIALDEFINITIONREPRESENTATION] = (d) => {
  14261. return IfcMaterialDefinitionRepresentation.FromTape(d.ID, d.type, d.arguments);
  14262. };
  14263. FromRawLineData[IFCMATERIALLAYER] = (d) => {
  14264. return IfcMaterialLayer.FromTape(d.ID, d.type, d.arguments);
  14265. };
  14266. FromRawLineData[IFCMATERIALLAYERSET] = (d) => {
  14267. return IfcMaterialLayerSet.FromTape(d.ID, d.type, d.arguments);
  14268. };
  14269. FromRawLineData[IFCMATERIALLAYERSETUSAGE] = (d) => {
  14270. return IfcMaterialLayerSetUsage.FromTape(d.ID, d.type, d.arguments);
  14271. };
  14272. FromRawLineData[IFCMATERIALLAYERWITHOFFSETS] = (d) => {
  14273. return IfcMaterialLayerWithOffsets.FromTape(d.ID, d.type, d.arguments);
  14274. };
  14275. FromRawLineData[IFCMATERIALLIST] = (d) => {
  14276. return IfcMaterialList.FromTape(d.ID, d.type, d.arguments);
  14277. };
  14278. FromRawLineData[IFCMATERIALPROFILE] = (d) => {
  14279. return IfcMaterialProfile.FromTape(d.ID, d.type, d.arguments);
  14280. };
  14281. FromRawLineData[IFCMATERIALPROFILESET] = (d) => {
  14282. return IfcMaterialProfileSet.FromTape(d.ID, d.type, d.arguments);
  14283. };
  14284. FromRawLineData[IFCMATERIALPROFILESETUSAGE] = (d) => {
  14285. return IfcMaterialProfileSetUsage.FromTape(d.ID, d.type, d.arguments);
  14286. };
  14287. FromRawLineData[IFCMATERIALPROFILESETUSAGETAPERING] = (d) => {
  14288. return IfcMaterialProfileSetUsageTapering.FromTape(d.ID, d.type, d.arguments);
  14289. };
  14290. FromRawLineData[IFCMATERIALPROFILEWITHOFFSETS] = (d) => {
  14291. return IfcMaterialProfileWithOffsets.FromTape(d.ID, d.type, d.arguments);
  14292. };
  14293. FromRawLineData[IFCMATERIALPROPERTIES] = (d) => {
  14294. return IfcMaterialProperties.FromTape(d.ID, d.type, d.arguments);
  14295. };
  14296. FromRawLineData[IFCMATERIALRELATIONSHIP] = (d) => {
  14297. return IfcMaterialRelationship.FromTape(d.ID, d.type, d.arguments);
  14298. };
  14299. FromRawLineData[IFCMATERIALUSAGEDEFINITION] = (d) => {
  14300. return IfcMaterialUsageDefinition.FromTape(d.ID, d.type, d.arguments);
  14301. };
  14302. FromRawLineData[IFCMEASUREWITHUNIT] = (d) => {
  14303. return IfcMeasureWithUnit.FromTape(d.ID, d.type, d.arguments);
  14304. };
  14305. FromRawLineData[IFCMECHANICALFASTENER] = (d) => {
  14306. return IfcMechanicalFastener.FromTape(d.ID, d.type, d.arguments);
  14307. };
  14308. FromRawLineData[IFCMECHANICALFASTENERTYPE] = (d) => {
  14309. return IfcMechanicalFastenerType.FromTape(d.ID, d.type, d.arguments);
  14310. };
  14311. FromRawLineData[IFCMEDICALDEVICE] = (d) => {
  14312. return IfcMedicalDevice.FromTape(d.ID, d.type, d.arguments);
  14313. };
  14314. FromRawLineData[IFCMEDICALDEVICETYPE] = (d) => {
  14315. return IfcMedicalDeviceType.FromTape(d.ID, d.type, d.arguments);
  14316. };
  14317. FromRawLineData[IFCMEMBER] = (d) => {
  14318. return IfcMember.FromTape(d.ID, d.type, d.arguments);
  14319. };
  14320. FromRawLineData[IFCMEMBERSTANDARDCASE] = (d) => {
  14321. return IfcMemberStandardCase.FromTape(d.ID, d.type, d.arguments);
  14322. };
  14323. FromRawLineData[IFCMEMBERTYPE] = (d) => {
  14324. return IfcMemberType.FromTape(d.ID, d.type, d.arguments);
  14325. };
  14326. FromRawLineData[IFCMETRIC] = (d) => {
  14327. return IfcMetric.FromTape(d.ID, d.type, d.arguments);
  14328. };
  14329. FromRawLineData[IFCMIRROREDPROFILEDEF] = (d) => {
  14330. return IfcMirroredProfileDef.FromTape(d.ID, d.type, d.arguments);
  14331. };
  14332. FromRawLineData[IFCMONETARYUNIT] = (d) => {
  14333. return IfcMonetaryUnit.FromTape(d.ID, d.type, d.arguments);
  14334. };
  14335. FromRawLineData[IFCMOTORCONNECTION] = (d) => {
  14336. return IfcMotorConnection.FromTape(d.ID, d.type, d.arguments);
  14337. };
  14338. FromRawLineData[IFCMOTORCONNECTIONTYPE] = (d) => {
  14339. return IfcMotorConnectionType.FromTape(d.ID, d.type, d.arguments);
  14340. };
  14341. FromRawLineData[IFCNAMEDUNIT] = (d) => {
  14342. return IfcNamedUnit.FromTape(d.ID, d.type, d.arguments);
  14343. };
  14344. FromRawLineData[IFCOBJECT] = (d) => {
  14345. return IfcObject.FromTape(d.ID, d.type, d.arguments);
  14346. };
  14347. FromRawLineData[IFCOBJECTDEFINITION] = (d) => {
  14348. return IfcObjectDefinition.FromTape(d.ID, d.type, d.arguments);
  14349. };
  14350. FromRawLineData[IFCOBJECTPLACEMENT] = (d) => {
  14351. return IfcObjectPlacement.FromTape(d.ID, d.type, d.arguments);
  14352. };
  14353. FromRawLineData[IFCOBJECTIVE] = (d) => {
  14354. return IfcObjective.FromTape(d.ID, d.type, d.arguments);
  14355. };
  14356. FromRawLineData[IFCOCCUPANT] = (d) => {
  14357. return IfcOccupant.FromTape(d.ID, d.type, d.arguments);
  14358. };
  14359. FromRawLineData[IFCOFFSETCURVE] = (d) => {
  14360. return IfcOffsetCurve.FromTape(d.ID, d.type, d.arguments);
  14361. };
  14362. FromRawLineData[IFCOFFSETCURVE2D] = (d) => {
  14363. return IfcOffsetCurve2D.FromTape(d.ID, d.type, d.arguments);
  14364. };
  14365. FromRawLineData[IFCOFFSETCURVE3D] = (d) => {
  14366. return IfcOffsetCurve3D.FromTape(d.ID, d.type, d.arguments);
  14367. };
  14368. FromRawLineData[IFCOFFSETCURVEBYDISTANCES] = (d) => {
  14369. return IfcOffsetCurveByDistances.FromTape(d.ID, d.type, d.arguments);
  14370. };
  14371. FromRawLineData[IFCOPENSHELL] = (d) => {
  14372. return IfcOpenShell.FromTape(d.ID, d.type, d.arguments);
  14373. };
  14374. FromRawLineData[IFCOPENINGELEMENT] = (d) => {
  14375. return IfcOpeningElement.FromTape(d.ID, d.type, d.arguments);
  14376. };
  14377. FromRawLineData[IFCOPENINGSTANDARDCASE] = (d) => {
  14378. return IfcOpeningStandardCase.FromTape(d.ID, d.type, d.arguments);
  14379. };
  14380. FromRawLineData[IFCORGANIZATION] = (d) => {
  14381. return IfcOrganization.FromTape(d.ID, d.type, d.arguments);
  14382. };
  14383. FromRawLineData[IFCORGANIZATIONRELATIONSHIP] = (d) => {
  14384. return IfcOrganizationRelationship.FromTape(d.ID, d.type, d.arguments);
  14385. };
  14386. FromRawLineData[IFCORIENTATIONEXPRESSION] = (d) => {
  14387. return IfcOrientationExpression.FromTape(d.ID, d.type, d.arguments);
  14388. };
  14389. FromRawLineData[IFCORIENTEDEDGE] = (d) => {
  14390. return IfcOrientedEdge.FromTape(d.ID, d.type, d.arguments);
  14391. };
  14392. FromRawLineData[IFCOUTERBOUNDARYCURVE] = (d) => {
  14393. return IfcOuterBoundaryCurve.FromTape(d.ID, d.type, d.arguments);
  14394. };
  14395. FromRawLineData[IFCOUTLET] = (d) => {
  14396. return IfcOutlet.FromTape(d.ID, d.type, d.arguments);
  14397. };
  14398. FromRawLineData[IFCOUTLETTYPE] = (d) => {
  14399. return IfcOutletType.FromTape(d.ID, d.type, d.arguments);
  14400. };
  14401. FromRawLineData[IFCOWNERHISTORY] = (d) => {
  14402. return IfcOwnerHistory.FromTape(d.ID, d.type, d.arguments);
  14403. };
  14404. FromRawLineData[IFCPARAMETERIZEDPROFILEDEF] = (d) => {
  14405. return IfcParameterizedProfileDef.FromTape(d.ID, d.type, d.arguments);
  14406. };
  14407. FromRawLineData[IFCPATH] = (d) => {
  14408. return IfcPath.FromTape(d.ID, d.type, d.arguments);
  14409. };
  14410. FromRawLineData[IFCPCURVE] = (d) => {
  14411. return IfcPcurve.FromTape(d.ID, d.type, d.arguments);
  14412. };
  14413. FromRawLineData[IFCPERFORMANCEHISTORY] = (d) => {
  14414. return IfcPerformanceHistory.FromTape(d.ID, d.type, d.arguments);
  14415. };
  14416. FromRawLineData[IFCPERMEABLECOVERINGPROPERTIES] = (d) => {
  14417. return IfcPermeableCoveringProperties.FromTape(d.ID, d.type, d.arguments);
  14418. };
  14419. FromRawLineData[IFCPERMIT] = (d) => {
  14420. return IfcPermit.FromTape(d.ID, d.type, d.arguments);
  14421. };
  14422. FromRawLineData[IFCPERSON] = (d) => {
  14423. return IfcPerson.FromTape(d.ID, d.type, d.arguments);
  14424. };
  14425. FromRawLineData[IFCPERSONANDORGANIZATION] = (d) => {
  14426. return IfcPersonAndOrganization.FromTape(d.ID, d.type, d.arguments);
  14427. };
  14428. FromRawLineData[IFCPHYSICALCOMPLEXQUANTITY] = (d) => {
  14429. return IfcPhysicalComplexQuantity.FromTape(d.ID, d.type, d.arguments);
  14430. };
  14431. FromRawLineData[IFCPHYSICALQUANTITY] = (d) => {
  14432. return IfcPhysicalQuantity.FromTape(d.ID, d.type, d.arguments);
  14433. };
  14434. FromRawLineData[IFCPHYSICALSIMPLEQUANTITY] = (d) => {
  14435. return IfcPhysicalSimpleQuantity.FromTape(d.ID, d.type, d.arguments);
  14436. };
  14437. FromRawLineData[IFCPILE] = (d) => {
  14438. return IfcPile.FromTape(d.ID, d.type, d.arguments);
  14439. };
  14440. FromRawLineData[IFCPILETYPE] = (d) => {
  14441. return IfcPileType.FromTape(d.ID, d.type, d.arguments);
  14442. };
  14443. FromRawLineData[IFCPIPEFITTING] = (d) => {
  14444. return IfcPipeFitting.FromTape(d.ID, d.type, d.arguments);
  14445. };
  14446. FromRawLineData[IFCPIPEFITTINGTYPE] = (d) => {
  14447. return IfcPipeFittingType.FromTape(d.ID, d.type, d.arguments);
  14448. };
  14449. FromRawLineData[IFCPIPESEGMENT] = (d) => {
  14450. return IfcPipeSegment.FromTape(d.ID, d.type, d.arguments);
  14451. };
  14452. FromRawLineData[IFCPIPESEGMENTTYPE] = (d) => {
  14453. return IfcPipeSegmentType.FromTape(d.ID, d.type, d.arguments);
  14454. };
  14455. FromRawLineData[IFCPIXELTEXTURE] = (d) => {
  14456. return IfcPixelTexture.FromTape(d.ID, d.type, d.arguments);
  14457. };
  14458. FromRawLineData[IFCPLACEMENT] = (d) => {
  14459. return IfcPlacement.FromTape(d.ID, d.type, d.arguments);
  14460. };
  14461. FromRawLineData[IFCPLANARBOX] = (d) => {
  14462. return IfcPlanarBox.FromTape(d.ID, d.type, d.arguments);
  14463. };
  14464. FromRawLineData[IFCPLANAREXTENT] = (d) => {
  14465. return IfcPlanarExtent.FromTape(d.ID, d.type, d.arguments);
  14466. };
  14467. FromRawLineData[IFCPLANE] = (d) => {
  14468. return IfcPlane.FromTape(d.ID, d.type, d.arguments);
  14469. };
  14470. FromRawLineData[IFCPLATE] = (d) => {
  14471. return IfcPlate.FromTape(d.ID, d.type, d.arguments);
  14472. };
  14473. FromRawLineData[IFCPLATESTANDARDCASE] = (d) => {
  14474. return IfcPlateStandardCase.FromTape(d.ID, d.type, d.arguments);
  14475. };
  14476. FromRawLineData[IFCPLATETYPE] = (d) => {
  14477. return IfcPlateType.FromTape(d.ID, d.type, d.arguments);
  14478. };
  14479. FromRawLineData[IFCPOINT] = (d) => {
  14480. return IfcPoint.FromTape(d.ID, d.type, d.arguments);
  14481. };
  14482. FromRawLineData[IFCPOINTONCURVE] = (d) => {
  14483. return IfcPointOnCurve.FromTape(d.ID, d.type, d.arguments);
  14484. };
  14485. FromRawLineData[IFCPOINTONSURFACE] = (d) => {
  14486. return IfcPointOnSurface.FromTape(d.ID, d.type, d.arguments);
  14487. };
  14488. FromRawLineData[IFCPOLYLOOP] = (d) => {
  14489. return IfcPolyLoop.FromTape(d.ID, d.type, d.arguments);
  14490. };
  14491. FromRawLineData[IFCPOLYGONALBOUNDEDHALFSPACE] = (d) => {
  14492. return IfcPolygonalBoundedHalfSpace.FromTape(d.ID, d.type, d.arguments);
  14493. };
  14494. FromRawLineData[IFCPOLYGONALFACESET] = (d) => {
  14495. return IfcPolygonalFaceSet.FromTape(d.ID, d.type, d.arguments);
  14496. };
  14497. FromRawLineData[IFCPOLYLINE] = (d) => {
  14498. return IfcPolyline.FromTape(d.ID, d.type, d.arguments);
  14499. };
  14500. FromRawLineData[IFCPORT] = (d) => {
  14501. return IfcPort.FromTape(d.ID, d.type, d.arguments);
  14502. };
  14503. FromRawLineData[IFCPOSITIONINGELEMENT] = (d) => {
  14504. return IfcPositioningElement.FromTape(d.ID, d.type, d.arguments);
  14505. };
  14506. FromRawLineData[IFCPOSTALADDRESS] = (d) => {
  14507. return IfcPostalAddress.FromTape(d.ID, d.type, d.arguments);
  14508. };
  14509. FromRawLineData[IFCPREDEFINEDCOLOUR] = (d) => {
  14510. return IfcPreDefinedColour.FromTape(d.ID, d.type, d.arguments);
  14511. };
  14512. FromRawLineData[IFCPREDEFINEDCURVEFONT] = (d) => {
  14513. return IfcPreDefinedCurveFont.FromTape(d.ID, d.type, d.arguments);
  14514. };
  14515. FromRawLineData[IFCPREDEFINEDITEM] = (d) => {
  14516. return IfcPreDefinedItem.FromTape(d.ID, d.type, d.arguments);
  14517. };
  14518. FromRawLineData[IFCPREDEFINEDPROPERTIES] = (d) => {
  14519. return IfcPreDefinedProperties.FromTape(d.ID, d.type, d.arguments);
  14520. };
  14521. FromRawLineData[IFCPREDEFINEDPROPERTYSET] = (d) => {
  14522. return IfcPreDefinedPropertySet.FromTape(d.ID, d.type, d.arguments);
  14523. };
  14524. FromRawLineData[IFCPREDEFINEDTEXTFONT] = (d) => {
  14525. return IfcPreDefinedTextFont.FromTape(d.ID, d.type, d.arguments);
  14526. };
  14527. FromRawLineData[IFCPRESENTATIONITEM] = (d) => {
  14528. return IfcPresentationItem.FromTape(d.ID, d.type, d.arguments);
  14529. };
  14530. FromRawLineData[IFCPRESENTATIONLAYERASSIGNMENT] = (d) => {
  14531. return IfcPresentationLayerAssignment.FromTape(d.ID, d.type, d.arguments);
  14532. };
  14533. FromRawLineData[IFCPRESENTATIONLAYERWITHSTYLE] = (d) => {
  14534. return IfcPresentationLayerWithStyle.FromTape(d.ID, d.type, d.arguments);
  14535. };
  14536. FromRawLineData[IFCPRESENTATIONSTYLE] = (d) => {
  14537. return IfcPresentationStyle.FromTape(d.ID, d.type, d.arguments);
  14538. };
  14539. FromRawLineData[IFCPRESENTATIONSTYLEASSIGNMENT] = (d) => {
  14540. return IfcPresentationStyleAssignment.FromTape(d.ID, d.type, d.arguments);
  14541. };
  14542. FromRawLineData[IFCPROCEDURE] = (d) => {
  14543. return IfcProcedure.FromTape(d.ID, d.type, d.arguments);
  14544. };
  14545. FromRawLineData[IFCPROCEDURETYPE] = (d) => {
  14546. return IfcProcedureType.FromTape(d.ID, d.type, d.arguments);
  14547. };
  14548. FromRawLineData[IFCPROCESS] = (d) => {
  14549. return IfcProcess.FromTape(d.ID, d.type, d.arguments);
  14550. };
  14551. FromRawLineData[IFCPRODUCT] = (d) => {
  14552. return IfcProduct.FromTape(d.ID, d.type, d.arguments);
  14553. };
  14554. FromRawLineData[IFCPRODUCTDEFINITIONSHAPE] = (d) => {
  14555. return IfcProductDefinitionShape.FromTape(d.ID, d.type, d.arguments);
  14556. };
  14557. FromRawLineData[IFCPRODUCTREPRESENTATION] = (d) => {
  14558. return IfcProductRepresentation.FromTape(d.ID, d.type, d.arguments);
  14559. };
  14560. FromRawLineData[IFCPROFILEDEF] = (d) => {
  14561. return IfcProfileDef.FromTape(d.ID, d.type, d.arguments);
  14562. };
  14563. FromRawLineData[IFCPROFILEPROPERTIES] = (d) => {
  14564. return IfcProfileProperties.FromTape(d.ID, d.type, d.arguments);
  14565. };
  14566. FromRawLineData[IFCPROJECT] = (d) => {
  14567. return IfcProject.FromTape(d.ID, d.type, d.arguments);
  14568. };
  14569. FromRawLineData[IFCPROJECTLIBRARY] = (d) => {
  14570. return IfcProjectLibrary.FromTape(d.ID, d.type, d.arguments);
  14571. };
  14572. FromRawLineData[IFCPROJECTORDER] = (d) => {
  14573. return IfcProjectOrder.FromTape(d.ID, d.type, d.arguments);
  14574. };
  14575. FromRawLineData[IFCPROJECTEDCRS] = (d) => {
  14576. return IfcProjectedCRS.FromTape(d.ID, d.type, d.arguments);
  14577. };
  14578. FromRawLineData[IFCPROJECTIONELEMENT] = (d) => {
  14579. return IfcProjectionElement.FromTape(d.ID, d.type, d.arguments);
  14580. };
  14581. FromRawLineData[IFCPROPERTY] = (d) => {
  14582. return IfcProperty.FromTape(d.ID, d.type, d.arguments);
  14583. };
  14584. FromRawLineData[IFCPROPERTYABSTRACTION] = (d) => {
  14585. return IfcPropertyAbstraction.FromTape(d.ID, d.type, d.arguments);
  14586. };
  14587. FromRawLineData[IFCPROPERTYBOUNDEDVALUE] = (d) => {
  14588. return IfcPropertyBoundedValue.FromTape(d.ID, d.type, d.arguments);
  14589. };
  14590. FromRawLineData[IFCPROPERTYDEFINITION] = (d) => {
  14591. return IfcPropertyDefinition.FromTape(d.ID, d.type, d.arguments);
  14592. };
  14593. FromRawLineData[IFCPROPERTYDEPENDENCYRELATIONSHIP] = (d) => {
  14594. return IfcPropertyDependencyRelationship.FromTape(d.ID, d.type, d.arguments);
  14595. };
  14596. FromRawLineData[IFCPROPERTYENUMERATEDVALUE] = (d) => {
  14597. return IfcPropertyEnumeratedValue.FromTape(d.ID, d.type, d.arguments);
  14598. };
  14599. FromRawLineData[IFCPROPERTYENUMERATION] = (d) => {
  14600. return IfcPropertyEnumeration.FromTape(d.ID, d.type, d.arguments);
  14601. };
  14602. FromRawLineData[IFCPROPERTYLISTVALUE] = (d) => {
  14603. return IfcPropertyListValue.FromTape(d.ID, d.type, d.arguments);
  14604. };
  14605. FromRawLineData[IFCPROPERTYREFERENCEVALUE] = (d) => {
  14606. return IfcPropertyReferenceValue.FromTape(d.ID, d.type, d.arguments);
  14607. };
  14608. FromRawLineData[IFCPROPERTYSET] = (d) => {
  14609. return IfcPropertySet.FromTape(d.ID, d.type, d.arguments);
  14610. };
  14611. FromRawLineData[IFCPROPERTYSETDEFINITION] = (d) => {
  14612. return IfcPropertySetDefinition.FromTape(d.ID, d.type, d.arguments);
  14613. };
  14614. FromRawLineData[IFCPROPERTYSETTEMPLATE] = (d) => {
  14615. return IfcPropertySetTemplate.FromTape(d.ID, d.type, d.arguments);
  14616. };
  14617. FromRawLineData[IFCPROPERTYSINGLEVALUE] = (d) => {
  14618. return IfcPropertySingleValue.FromTape(d.ID, d.type, d.arguments);
  14619. };
  14620. FromRawLineData[IFCPROPERTYTABLEVALUE] = (d) => {
  14621. return IfcPropertyTableValue.FromTape(d.ID, d.type, d.arguments);
  14622. };
  14623. FromRawLineData[IFCPROPERTYTEMPLATE] = (d) => {
  14624. return IfcPropertyTemplate.FromTape(d.ID, d.type, d.arguments);
  14625. };
  14626. FromRawLineData[IFCPROPERTYTEMPLATEDEFINITION] = (d) => {
  14627. return IfcPropertyTemplateDefinition.FromTape(d.ID, d.type, d.arguments);
  14628. };
  14629. FromRawLineData[IFCPROTECTIVEDEVICE] = (d) => {
  14630. return IfcProtectiveDevice.FromTape(d.ID, d.type, d.arguments);
  14631. };
  14632. FromRawLineData[IFCPROTECTIVEDEVICETRIPPINGUNIT] = (d) => {
  14633. return IfcProtectiveDeviceTrippingUnit.FromTape(d.ID, d.type, d.arguments);
  14634. };
  14635. FromRawLineData[IFCPROTECTIVEDEVICETRIPPINGUNITTYPE] = (d) => {
  14636. return IfcProtectiveDeviceTrippingUnitType.FromTape(d.ID, d.type, d.arguments);
  14637. };
  14638. FromRawLineData[IFCPROTECTIVEDEVICETYPE] = (d) => {
  14639. return IfcProtectiveDeviceType.FromTape(d.ID, d.type, d.arguments);
  14640. };
  14641. FromRawLineData[IFCPROXY] = (d) => {
  14642. return IfcProxy.FromTape(d.ID, d.type, d.arguments);
  14643. };
  14644. FromRawLineData[IFCPUMP] = (d) => {
  14645. return IfcPump.FromTape(d.ID, d.type, d.arguments);
  14646. };
  14647. FromRawLineData[IFCPUMPTYPE] = (d) => {
  14648. return IfcPumpType.FromTape(d.ID, d.type, d.arguments);
  14649. };
  14650. FromRawLineData[IFCQUANTITYAREA] = (d) => {
  14651. return IfcQuantityArea.FromTape(d.ID, d.type, d.arguments);
  14652. };
  14653. FromRawLineData[IFCQUANTITYCOUNT] = (d) => {
  14654. return IfcQuantityCount.FromTape(d.ID, d.type, d.arguments);
  14655. };
  14656. FromRawLineData[IFCQUANTITYLENGTH] = (d) => {
  14657. return IfcQuantityLength.FromTape(d.ID, d.type, d.arguments);
  14658. };
  14659. FromRawLineData[IFCQUANTITYSET] = (d) => {
  14660. return IfcQuantitySet.FromTape(d.ID, d.type, d.arguments);
  14661. };
  14662. FromRawLineData[IFCQUANTITYTIME] = (d) => {
  14663. return IfcQuantityTime.FromTape(d.ID, d.type, d.arguments);
  14664. };
  14665. FromRawLineData[IFCQUANTITYVOLUME] = (d) => {
  14666. return IfcQuantityVolume.FromTape(d.ID, d.type, d.arguments);
  14667. };
  14668. FromRawLineData[IFCQUANTITYWEIGHT] = (d) => {
  14669. return IfcQuantityWeight.FromTape(d.ID, d.type, d.arguments);
  14670. };
  14671. FromRawLineData[IFCRAILING] = (d) => {
  14672. return IfcRailing.FromTape(d.ID, d.type, d.arguments);
  14673. };
  14674. FromRawLineData[IFCRAILINGTYPE] = (d) => {
  14675. return IfcRailingType.FromTape(d.ID, d.type, d.arguments);
  14676. };
  14677. FromRawLineData[IFCRAMP] = (d) => {
  14678. return IfcRamp.FromTape(d.ID, d.type, d.arguments);
  14679. };
  14680. FromRawLineData[IFCRAMPFLIGHT] = (d) => {
  14681. return IfcRampFlight.FromTape(d.ID, d.type, d.arguments);
  14682. };
  14683. FromRawLineData[IFCRAMPFLIGHTTYPE] = (d) => {
  14684. return IfcRampFlightType.FromTape(d.ID, d.type, d.arguments);
  14685. };
  14686. FromRawLineData[IFCRAMPTYPE] = (d) => {
  14687. return IfcRampType.FromTape(d.ID, d.type, d.arguments);
  14688. };
  14689. FromRawLineData[IFCRATIONALBSPLINECURVEWITHKNOTS] = (d) => {
  14690. return IfcRationalBSplineCurveWithKnots.FromTape(d.ID, d.type, d.arguments);
  14691. };
  14692. FromRawLineData[IFCRATIONALBSPLINESURFACEWITHKNOTS] = (d) => {
  14693. return IfcRationalBSplineSurfaceWithKnots.FromTape(d.ID, d.type, d.arguments);
  14694. };
  14695. FromRawLineData[IFCRECTANGLEHOLLOWPROFILEDEF] = (d) => {
  14696. return IfcRectangleHollowProfileDef.FromTape(d.ID, d.type, d.arguments);
  14697. };
  14698. FromRawLineData[IFCRECTANGLEPROFILEDEF] = (d) => {
  14699. return IfcRectangleProfileDef.FromTape(d.ID, d.type, d.arguments);
  14700. };
  14701. FromRawLineData[IFCRECTANGULARPYRAMID] = (d) => {
  14702. return IfcRectangularPyramid.FromTape(d.ID, d.type, d.arguments);
  14703. };
  14704. FromRawLineData[IFCRECTANGULARTRIMMEDSURFACE] = (d) => {
  14705. return IfcRectangularTrimmedSurface.FromTape(d.ID, d.type, d.arguments);
  14706. };
  14707. FromRawLineData[IFCRECURRENCEPATTERN] = (d) => {
  14708. return IfcRecurrencePattern.FromTape(d.ID, d.type, d.arguments);
  14709. };
  14710. FromRawLineData[IFCREFERENCE] = (d) => {
  14711. return IfcReference.FromTape(d.ID, d.type, d.arguments);
  14712. };
  14713. FromRawLineData[IFCREFERENT] = (d) => {
  14714. return IfcReferent.FromTape(d.ID, d.type, d.arguments);
  14715. };
  14716. FromRawLineData[IFCREGULARTIMESERIES] = (d) => {
  14717. return IfcRegularTimeSeries.FromTape(d.ID, d.type, d.arguments);
  14718. };
  14719. FromRawLineData[IFCREINFORCEMENTBARPROPERTIES] = (d) => {
  14720. return IfcReinforcementBarProperties.FromTape(d.ID, d.type, d.arguments);
  14721. };
  14722. FromRawLineData[IFCREINFORCEMENTDEFINITIONPROPERTIES] = (d) => {
  14723. return IfcReinforcementDefinitionProperties.FromTape(d.ID, d.type, d.arguments);
  14724. };
  14725. FromRawLineData[IFCREINFORCINGBAR] = (d) => {
  14726. return IfcReinforcingBar.FromTape(d.ID, d.type, d.arguments);
  14727. };
  14728. FromRawLineData[IFCREINFORCINGBARTYPE] = (d) => {
  14729. return IfcReinforcingBarType.FromTape(d.ID, d.type, d.arguments);
  14730. };
  14731. FromRawLineData[IFCREINFORCINGELEMENT] = (d) => {
  14732. return IfcReinforcingElement.FromTape(d.ID, d.type, d.arguments);
  14733. };
  14734. FromRawLineData[IFCREINFORCINGELEMENTTYPE] = (d) => {
  14735. return IfcReinforcingElementType.FromTape(d.ID, d.type, d.arguments);
  14736. };
  14737. FromRawLineData[IFCREINFORCINGMESH] = (d) => {
  14738. return IfcReinforcingMesh.FromTape(d.ID, d.type, d.arguments);
  14739. };
  14740. FromRawLineData[IFCREINFORCINGMESHTYPE] = (d) => {
  14741. return IfcReinforcingMeshType.FromTape(d.ID, d.type, d.arguments);
  14742. };
  14743. FromRawLineData[IFCRELAGGREGATES] = (d) => {
  14744. return IfcRelAggregates.FromTape(d.ID, d.type, d.arguments);
  14745. };
  14746. FromRawLineData[IFCRELASSIGNS] = (d) => {
  14747. return IfcRelAssigns.FromTape(d.ID, d.type, d.arguments);
  14748. };
  14749. FromRawLineData[IFCRELASSIGNSTOACTOR] = (d) => {
  14750. return IfcRelAssignsToActor.FromTape(d.ID, d.type, d.arguments);
  14751. };
  14752. FromRawLineData[IFCRELASSIGNSTOCONTROL] = (d) => {
  14753. return IfcRelAssignsToControl.FromTape(d.ID, d.type, d.arguments);
  14754. };
  14755. FromRawLineData[IFCRELASSIGNSTOGROUP] = (d) => {
  14756. return IfcRelAssignsToGroup.FromTape(d.ID, d.type, d.arguments);
  14757. };
  14758. FromRawLineData[IFCRELASSIGNSTOGROUPBYFACTOR] = (d) => {
  14759. return IfcRelAssignsToGroupByFactor.FromTape(d.ID, d.type, d.arguments);
  14760. };
  14761. FromRawLineData[IFCRELASSIGNSTOPROCESS] = (d) => {
  14762. return IfcRelAssignsToProcess.FromTape(d.ID, d.type, d.arguments);
  14763. };
  14764. FromRawLineData[IFCRELASSIGNSTOPRODUCT] = (d) => {
  14765. return IfcRelAssignsToProduct.FromTape(d.ID, d.type, d.arguments);
  14766. };
  14767. FromRawLineData[IFCRELASSIGNSTORESOURCE] = (d) => {
  14768. return IfcRelAssignsToResource.FromTape(d.ID, d.type, d.arguments);
  14769. };
  14770. FromRawLineData[IFCRELASSOCIATES] = (d) => {
  14771. return IfcRelAssociates.FromTape(d.ID, d.type, d.arguments);
  14772. };
  14773. FromRawLineData[IFCRELASSOCIATESAPPROVAL] = (d) => {
  14774. return IfcRelAssociatesApproval.FromTape(d.ID, d.type, d.arguments);
  14775. };
  14776. FromRawLineData[IFCRELASSOCIATESCLASSIFICATION] = (d) => {
  14777. return IfcRelAssociatesClassification.FromTape(d.ID, d.type, d.arguments);
  14778. };
  14779. FromRawLineData[IFCRELASSOCIATESCONSTRAINT] = (d) => {
  14780. return IfcRelAssociatesConstraint.FromTape(d.ID, d.type, d.arguments);
  14781. };
  14782. FromRawLineData[IFCRELASSOCIATESDOCUMENT] = (d) => {
  14783. return IfcRelAssociatesDocument.FromTape(d.ID, d.type, d.arguments);
  14784. };
  14785. FromRawLineData[IFCRELASSOCIATESLIBRARY] = (d) => {
  14786. return IfcRelAssociatesLibrary.FromTape(d.ID, d.type, d.arguments);
  14787. };
  14788. FromRawLineData[IFCRELASSOCIATESMATERIAL] = (d) => {
  14789. return IfcRelAssociatesMaterial.FromTape(d.ID, d.type, d.arguments);
  14790. };
  14791. FromRawLineData[IFCRELCONNECTS] = (d) => {
  14792. return IfcRelConnects.FromTape(d.ID, d.type, d.arguments);
  14793. };
  14794. FromRawLineData[IFCRELCONNECTSELEMENTS] = (d) => {
  14795. return IfcRelConnectsElements.FromTape(d.ID, d.type, d.arguments);
  14796. };
  14797. FromRawLineData[IFCRELCONNECTSPATHELEMENTS] = (d) => {
  14798. return IfcRelConnectsPathElements.FromTape(d.ID, d.type, d.arguments);
  14799. };
  14800. FromRawLineData[IFCRELCONNECTSPORTTOELEMENT] = (d) => {
  14801. return IfcRelConnectsPortToElement.FromTape(d.ID, d.type, d.arguments);
  14802. };
  14803. FromRawLineData[IFCRELCONNECTSPORTS] = (d) => {
  14804. return IfcRelConnectsPorts.FromTape(d.ID, d.type, d.arguments);
  14805. };
  14806. FromRawLineData[IFCRELCONNECTSSTRUCTURALACTIVITY] = (d) => {
  14807. return IfcRelConnectsStructuralActivity.FromTape(d.ID, d.type, d.arguments);
  14808. };
  14809. FromRawLineData[IFCRELCONNECTSSTRUCTURALMEMBER] = (d) => {
  14810. return IfcRelConnectsStructuralMember.FromTape(d.ID, d.type, d.arguments);
  14811. };
  14812. FromRawLineData[IFCRELCONNECTSWITHECCENTRICITY] = (d) => {
  14813. return IfcRelConnectsWithEccentricity.FromTape(d.ID, d.type, d.arguments);
  14814. };
  14815. FromRawLineData[IFCRELCONNECTSWITHREALIZINGELEMENTS] = (d) => {
  14816. return IfcRelConnectsWithRealizingElements.FromTape(d.ID, d.type, d.arguments);
  14817. };
  14818. FromRawLineData[IFCRELCONTAINEDINSPATIALSTRUCTURE] = (d) => {
  14819. return IfcRelContainedInSpatialStructure.FromTape(d.ID, d.type, d.arguments);
  14820. };
  14821. FromRawLineData[IFCRELCOVERSBLDGELEMENTS] = (d) => {
  14822. return IfcRelCoversBldgElements.FromTape(d.ID, d.type, d.arguments);
  14823. };
  14824. FromRawLineData[IFCRELCOVERSSPACES] = (d) => {
  14825. return IfcRelCoversSpaces.FromTape(d.ID, d.type, d.arguments);
  14826. };
  14827. FromRawLineData[IFCRELDECLARES] = (d) => {
  14828. return IfcRelDeclares.FromTape(d.ID, d.type, d.arguments);
  14829. };
  14830. FromRawLineData[IFCRELDECOMPOSES] = (d) => {
  14831. return IfcRelDecomposes.FromTape(d.ID, d.type, d.arguments);
  14832. };
  14833. FromRawLineData[IFCRELDEFINES] = (d) => {
  14834. return IfcRelDefines.FromTape(d.ID, d.type, d.arguments);
  14835. };
  14836. FromRawLineData[IFCRELDEFINESBYOBJECT] = (d) => {
  14837. return IfcRelDefinesByObject.FromTape(d.ID, d.type, d.arguments);
  14838. };
  14839. FromRawLineData[IFCRELDEFINESBYPROPERTIES] = (d) => {
  14840. return IfcRelDefinesByProperties.FromTape(d.ID, d.type, d.arguments);
  14841. };
  14842. FromRawLineData[IFCRELDEFINESBYTEMPLATE] = (d) => {
  14843. return IfcRelDefinesByTemplate.FromTape(d.ID, d.type, d.arguments);
  14844. };
  14845. FromRawLineData[IFCRELDEFINESBYTYPE] = (d) => {
  14846. return IfcRelDefinesByType.FromTape(d.ID, d.type, d.arguments);
  14847. };
  14848. FromRawLineData[IFCRELFILLSELEMENT] = (d) => {
  14849. return IfcRelFillsElement.FromTape(d.ID, d.type, d.arguments);
  14850. };
  14851. FromRawLineData[IFCRELFLOWCONTROLELEMENTS] = (d) => {
  14852. return IfcRelFlowControlElements.FromTape(d.ID, d.type, d.arguments);
  14853. };
  14854. FromRawLineData[IFCRELINTERFERESELEMENTS] = (d) => {
  14855. return IfcRelInterferesElements.FromTape(d.ID, d.type, d.arguments);
  14856. };
  14857. FromRawLineData[IFCRELNESTS] = (d) => {
  14858. return IfcRelNests.FromTape(d.ID, d.type, d.arguments);
  14859. };
  14860. FromRawLineData[IFCRELPOSITIONS] = (d) => {
  14861. return IfcRelPositions.FromTape(d.ID, d.type, d.arguments);
  14862. };
  14863. FromRawLineData[IFCRELPROJECTSELEMENT] = (d) => {
  14864. return IfcRelProjectsElement.FromTape(d.ID, d.type, d.arguments);
  14865. };
  14866. FromRawLineData[IFCRELREFERENCEDINSPATIALSTRUCTURE] = (d) => {
  14867. return IfcRelReferencedInSpatialStructure.FromTape(d.ID, d.type, d.arguments);
  14868. };
  14869. FromRawLineData[IFCRELSEQUENCE] = (d) => {
  14870. return IfcRelSequence.FromTape(d.ID, d.type, d.arguments);
  14871. };
  14872. FromRawLineData[IFCRELSERVICESBUILDINGS] = (d) => {
  14873. return IfcRelServicesBuildings.FromTape(d.ID, d.type, d.arguments);
  14874. };
  14875. FromRawLineData[IFCRELSPACEBOUNDARY] = (d) => {
  14876. return IfcRelSpaceBoundary.FromTape(d.ID, d.type, d.arguments);
  14877. };
  14878. FromRawLineData[IFCRELSPACEBOUNDARY1STLEVEL] = (d) => {
  14879. return IfcRelSpaceBoundary1stLevel.FromTape(d.ID, d.type, d.arguments);
  14880. };
  14881. FromRawLineData[IFCRELSPACEBOUNDARY2NDLEVEL] = (d) => {
  14882. return IfcRelSpaceBoundary2ndLevel.FromTape(d.ID, d.type, d.arguments);
  14883. };
  14884. FromRawLineData[IFCRELVOIDSELEMENT] = (d) => {
  14885. return IfcRelVoidsElement.FromTape(d.ID, d.type, d.arguments);
  14886. };
  14887. FromRawLineData[IFCRELATIONSHIP] = (d) => {
  14888. return IfcRelationship.FromTape(d.ID, d.type, d.arguments);
  14889. };
  14890. FromRawLineData[IFCREPARAMETRISEDCOMPOSITECURVESEGMENT] = (d) => {
  14891. return IfcReparametrisedCompositeCurveSegment.FromTape(d.ID, d.type, d.arguments);
  14892. };
  14893. FromRawLineData[IFCREPRESENTATION] = (d) => {
  14894. return IfcRepresentation.FromTape(d.ID, d.type, d.arguments);
  14895. };
  14896. FromRawLineData[IFCREPRESENTATIONCONTEXT] = (d) => {
  14897. return IfcRepresentationContext.FromTape(d.ID, d.type, d.arguments);
  14898. };
  14899. FromRawLineData[IFCREPRESENTATIONITEM] = (d) => {
  14900. return IfcRepresentationItem.FromTape(d.ID, d.type, d.arguments);
  14901. };
  14902. FromRawLineData[IFCREPRESENTATIONMAP] = (d) => {
  14903. return IfcRepresentationMap.FromTape(d.ID, d.type, d.arguments);
  14904. };
  14905. FromRawLineData[IFCRESOURCE] = (d) => {
  14906. return IfcResource.FromTape(d.ID, d.type, d.arguments);
  14907. };
  14908. FromRawLineData[IFCRESOURCEAPPROVALRELATIONSHIP] = (d) => {
  14909. return IfcResourceApprovalRelationship.FromTape(d.ID, d.type, d.arguments);
  14910. };
  14911. FromRawLineData[IFCRESOURCECONSTRAINTRELATIONSHIP] = (d) => {
  14912. return IfcResourceConstraintRelationship.FromTape(d.ID, d.type, d.arguments);
  14913. };
  14914. FromRawLineData[IFCRESOURCELEVELRELATIONSHIP] = (d) => {
  14915. return IfcResourceLevelRelationship.FromTape(d.ID, d.type, d.arguments);
  14916. };
  14917. FromRawLineData[IFCRESOURCETIME] = (d) => {
  14918. return IfcResourceTime.FromTape(d.ID, d.type, d.arguments);
  14919. };
  14920. FromRawLineData[IFCREVOLVEDAREASOLID] = (d) => {
  14921. return IfcRevolvedAreaSolid.FromTape(d.ID, d.type, d.arguments);
  14922. };
  14923. FromRawLineData[IFCREVOLVEDAREASOLIDTAPERED] = (d) => {
  14924. return IfcRevolvedAreaSolidTapered.FromTape(d.ID, d.type, d.arguments);
  14925. };
  14926. FromRawLineData[IFCRIGHTCIRCULARCONE] = (d) => {
  14927. return IfcRightCircularCone.FromTape(d.ID, d.type, d.arguments);
  14928. };
  14929. FromRawLineData[IFCRIGHTCIRCULARCYLINDER] = (d) => {
  14930. return IfcRightCircularCylinder.FromTape(d.ID, d.type, d.arguments);
  14931. };
  14932. FromRawLineData[IFCROOF] = (d) => {
  14933. return IfcRoof.FromTape(d.ID, d.type, d.arguments);
  14934. };
  14935. FromRawLineData[IFCROOFTYPE] = (d) => {
  14936. return IfcRoofType.FromTape(d.ID, d.type, d.arguments);
  14937. };
  14938. FromRawLineData[IFCROOT] = (d) => {
  14939. return IfcRoot.FromTape(d.ID, d.type, d.arguments);
  14940. };
  14941. FromRawLineData[IFCROUNDEDRECTANGLEPROFILEDEF] = (d) => {
  14942. return IfcRoundedRectangleProfileDef.FromTape(d.ID, d.type, d.arguments);
  14943. };
  14944. FromRawLineData[IFCSIUNIT] = (d) => {
  14945. return IfcSIUnit.FromTape(d.ID, d.type, d.arguments);
  14946. };
  14947. FromRawLineData[IFCSANITARYTERMINAL] = (d) => {
  14948. return IfcSanitaryTerminal.FromTape(d.ID, d.type, d.arguments);
  14949. };
  14950. FromRawLineData[IFCSANITARYTERMINALTYPE] = (d) => {
  14951. return IfcSanitaryTerminalType.FromTape(d.ID, d.type, d.arguments);
  14952. };
  14953. FromRawLineData[IFCSCHEDULINGTIME] = (d) => {
  14954. return IfcSchedulingTime.FromTape(d.ID, d.type, d.arguments);
  14955. };
  14956. FromRawLineData[IFCSEAMCURVE] = (d) => {
  14957. return IfcSeamCurve.FromTape(d.ID, d.type, d.arguments);
  14958. };
  14959. FromRawLineData[IFCSECTIONPROPERTIES] = (d) => {
  14960. return IfcSectionProperties.FromTape(d.ID, d.type, d.arguments);
  14961. };
  14962. FromRawLineData[IFCSECTIONREINFORCEMENTPROPERTIES] = (d) => {
  14963. return IfcSectionReinforcementProperties.FromTape(d.ID, d.type, d.arguments);
  14964. };
  14965. FromRawLineData[IFCSECTIONEDSOLID] = (d) => {
  14966. return IfcSectionedSolid.FromTape(d.ID, d.type, d.arguments);
  14967. };
  14968. FromRawLineData[IFCSECTIONEDSOLIDHORIZONTAL] = (d) => {
  14969. return IfcSectionedSolidHorizontal.FromTape(d.ID, d.type, d.arguments);
  14970. };
  14971. FromRawLineData[IFCSECTIONEDSPINE] = (d) => {
  14972. return IfcSectionedSpine.FromTape(d.ID, d.type, d.arguments);
  14973. };
  14974. FromRawLineData[IFCSENSOR] = (d) => {
  14975. return IfcSensor.FromTape(d.ID, d.type, d.arguments);
  14976. };
  14977. FromRawLineData[IFCSENSORTYPE] = (d) => {
  14978. return IfcSensorType.FromTape(d.ID, d.type, d.arguments);
  14979. };
  14980. FromRawLineData[IFCSHADINGDEVICE] = (d) => {
  14981. return IfcShadingDevice.FromTape(d.ID, d.type, d.arguments);
  14982. };
  14983. FromRawLineData[IFCSHADINGDEVICETYPE] = (d) => {
  14984. return IfcShadingDeviceType.FromTape(d.ID, d.type, d.arguments);
  14985. };
  14986. FromRawLineData[IFCSHAPEASPECT] = (d) => {
  14987. return IfcShapeAspect.FromTape(d.ID, d.type, d.arguments);
  14988. };
  14989. FromRawLineData[IFCSHAPEMODEL] = (d) => {
  14990. return IfcShapeModel.FromTape(d.ID, d.type, d.arguments);
  14991. };
  14992. FromRawLineData[IFCSHAPEREPRESENTATION] = (d) => {
  14993. return IfcShapeRepresentation.FromTape(d.ID, d.type, d.arguments);
  14994. };
  14995. FromRawLineData[IFCSHELLBASEDSURFACEMODEL] = (d) => {
  14996. return IfcShellBasedSurfaceModel.FromTape(d.ID, d.type, d.arguments);
  14997. };
  14998. FromRawLineData[IFCSIMPLEPROPERTY] = (d) => {
  14999. return IfcSimpleProperty.FromTape(d.ID, d.type, d.arguments);
  15000. };
  15001. FromRawLineData[IFCSIMPLEPROPERTYTEMPLATE] = (d) => {
  15002. return IfcSimplePropertyTemplate.FromTape(d.ID, d.type, d.arguments);
  15003. };
  15004. FromRawLineData[IFCSITE] = (d) => {
  15005. return IfcSite.FromTape(d.ID, d.type, d.arguments);
  15006. };
  15007. FromRawLineData[IFCSLAB] = (d) => {
  15008. return IfcSlab.FromTape(d.ID, d.type, d.arguments);
  15009. };
  15010. FromRawLineData[IFCSLABELEMENTEDCASE] = (d) => {
  15011. return IfcSlabElementedCase.FromTape(d.ID, d.type, d.arguments);
  15012. };
  15013. FromRawLineData[IFCSLABSTANDARDCASE] = (d) => {
  15014. return IfcSlabStandardCase.FromTape(d.ID, d.type, d.arguments);
  15015. };
  15016. FromRawLineData[IFCSLABTYPE] = (d) => {
  15017. return IfcSlabType.FromTape(d.ID, d.type, d.arguments);
  15018. };
  15019. FromRawLineData[IFCSLIPPAGECONNECTIONCONDITION] = (d) => {
  15020. return IfcSlippageConnectionCondition.FromTape(d.ID, d.type, d.arguments);
  15021. };
  15022. FromRawLineData[IFCSOLARDEVICE] = (d) => {
  15023. return IfcSolarDevice.FromTape(d.ID, d.type, d.arguments);
  15024. };
  15025. FromRawLineData[IFCSOLARDEVICETYPE] = (d) => {
  15026. return IfcSolarDeviceType.FromTape(d.ID, d.type, d.arguments);
  15027. };
  15028. FromRawLineData[IFCSOLIDMODEL] = (d) => {
  15029. return IfcSolidModel.FromTape(d.ID, d.type, d.arguments);
  15030. };
  15031. FromRawLineData[IFCSPACE] = (d) => {
  15032. return IfcSpace.FromTape(d.ID, d.type, d.arguments);
  15033. };
  15034. FromRawLineData[IFCSPACEHEATER] = (d) => {
  15035. return IfcSpaceHeater.FromTape(d.ID, d.type, d.arguments);
  15036. };
  15037. FromRawLineData[IFCSPACEHEATERTYPE] = (d) => {
  15038. return IfcSpaceHeaterType.FromTape(d.ID, d.type, d.arguments);
  15039. };
  15040. FromRawLineData[IFCSPACETYPE] = (d) => {
  15041. return IfcSpaceType.FromTape(d.ID, d.type, d.arguments);
  15042. };
  15043. FromRawLineData[IFCSPATIALELEMENT] = (d) => {
  15044. return IfcSpatialElement.FromTape(d.ID, d.type, d.arguments);
  15045. };
  15046. FromRawLineData[IFCSPATIALELEMENTTYPE] = (d) => {
  15047. return IfcSpatialElementType.FromTape(d.ID, d.type, d.arguments);
  15048. };
  15049. FromRawLineData[IFCSPATIALSTRUCTUREELEMENT] = (d) => {
  15050. return IfcSpatialStructureElement.FromTape(d.ID, d.type, d.arguments);
  15051. };
  15052. FromRawLineData[IFCSPATIALSTRUCTUREELEMENTTYPE] = (d) => {
  15053. return IfcSpatialStructureElementType.FromTape(d.ID, d.type, d.arguments);
  15054. };
  15055. FromRawLineData[IFCSPATIALZONE] = (d) => {
  15056. return IfcSpatialZone.FromTape(d.ID, d.type, d.arguments);
  15057. };
  15058. FromRawLineData[IFCSPATIALZONETYPE] = (d) => {
  15059. return IfcSpatialZoneType.FromTape(d.ID, d.type, d.arguments);
  15060. };
  15061. FromRawLineData[IFCSPHERE] = (d) => {
  15062. return IfcSphere.FromTape(d.ID, d.type, d.arguments);
  15063. };
  15064. FromRawLineData[IFCSPHERICALSURFACE] = (d) => {
  15065. return IfcSphericalSurface.FromTape(d.ID, d.type, d.arguments);
  15066. };
  15067. FromRawLineData[IFCSTACKTERMINAL] = (d) => {
  15068. return IfcStackTerminal.FromTape(d.ID, d.type, d.arguments);
  15069. };
  15070. FromRawLineData[IFCSTACKTERMINALTYPE] = (d) => {
  15071. return IfcStackTerminalType.FromTape(d.ID, d.type, d.arguments);
  15072. };
  15073. FromRawLineData[IFCSTAIR] = (d) => {
  15074. return IfcStair.FromTape(d.ID, d.type, d.arguments);
  15075. };
  15076. FromRawLineData[IFCSTAIRFLIGHT] = (d) => {
  15077. return IfcStairFlight.FromTape(d.ID, d.type, d.arguments);
  15078. };
  15079. FromRawLineData[IFCSTAIRFLIGHTTYPE] = (d) => {
  15080. return IfcStairFlightType.FromTape(d.ID, d.type, d.arguments);
  15081. };
  15082. FromRawLineData[IFCSTAIRTYPE] = (d) => {
  15083. return IfcStairType.FromTape(d.ID, d.type, d.arguments);
  15084. };
  15085. FromRawLineData[IFCSTRUCTURALACTION] = (d) => {
  15086. return IfcStructuralAction.FromTape(d.ID, d.type, d.arguments);
  15087. };
  15088. FromRawLineData[IFCSTRUCTURALACTIVITY] = (d) => {
  15089. return IfcStructuralActivity.FromTape(d.ID, d.type, d.arguments);
  15090. };
  15091. FromRawLineData[IFCSTRUCTURALANALYSISMODEL] = (d) => {
  15092. return IfcStructuralAnalysisModel.FromTape(d.ID, d.type, d.arguments);
  15093. };
  15094. FromRawLineData[IFCSTRUCTURALCONNECTION] = (d) => {
  15095. return IfcStructuralConnection.FromTape(d.ID, d.type, d.arguments);
  15096. };
  15097. FromRawLineData[IFCSTRUCTURALCONNECTIONCONDITION] = (d) => {
  15098. return IfcStructuralConnectionCondition.FromTape(d.ID, d.type, d.arguments);
  15099. };
  15100. FromRawLineData[IFCSTRUCTURALCURVEACTION] = (d) => {
  15101. return IfcStructuralCurveAction.FromTape(d.ID, d.type, d.arguments);
  15102. };
  15103. FromRawLineData[IFCSTRUCTURALCURVECONNECTION] = (d) => {
  15104. return IfcStructuralCurveConnection.FromTape(d.ID, d.type, d.arguments);
  15105. };
  15106. FromRawLineData[IFCSTRUCTURALCURVEMEMBER] = (d) => {
  15107. return IfcStructuralCurveMember.FromTape(d.ID, d.type, d.arguments);
  15108. };
  15109. FromRawLineData[IFCSTRUCTURALCURVEMEMBERVARYING] = (d) => {
  15110. return IfcStructuralCurveMemberVarying.FromTape(d.ID, d.type, d.arguments);
  15111. };
  15112. FromRawLineData[IFCSTRUCTURALCURVEREACTION] = (d) => {
  15113. return IfcStructuralCurveReaction.FromTape(d.ID, d.type, d.arguments);
  15114. };
  15115. FromRawLineData[IFCSTRUCTURALITEM] = (d) => {
  15116. return IfcStructuralItem.FromTape(d.ID, d.type, d.arguments);
  15117. };
  15118. FromRawLineData[IFCSTRUCTURALLINEARACTION] = (d) => {
  15119. return IfcStructuralLinearAction.FromTape(d.ID, d.type, d.arguments);
  15120. };
  15121. FromRawLineData[IFCSTRUCTURALLOAD] = (d) => {
  15122. return IfcStructuralLoad.FromTape(d.ID, d.type, d.arguments);
  15123. };
  15124. FromRawLineData[IFCSTRUCTURALLOADCASE] = (d) => {
  15125. return IfcStructuralLoadCase.FromTape(d.ID, d.type, d.arguments);
  15126. };
  15127. FromRawLineData[IFCSTRUCTURALLOADCONFIGURATION] = (d) => {
  15128. return IfcStructuralLoadConfiguration.FromTape(d.ID, d.type, d.arguments);
  15129. };
  15130. FromRawLineData[IFCSTRUCTURALLOADGROUP] = (d) => {
  15131. return IfcStructuralLoadGroup.FromTape(d.ID, d.type, d.arguments);
  15132. };
  15133. FromRawLineData[IFCSTRUCTURALLOADLINEARFORCE] = (d) => {
  15134. return IfcStructuralLoadLinearForce.FromTape(d.ID, d.type, d.arguments);
  15135. };
  15136. FromRawLineData[IFCSTRUCTURALLOADORRESULT] = (d) => {
  15137. return IfcStructuralLoadOrResult.FromTape(d.ID, d.type, d.arguments);
  15138. };
  15139. FromRawLineData[IFCSTRUCTURALLOADPLANARFORCE] = (d) => {
  15140. return IfcStructuralLoadPlanarForce.FromTape(d.ID, d.type, d.arguments);
  15141. };
  15142. FromRawLineData[IFCSTRUCTURALLOADSINGLEDISPLACEMENT] = (d) => {
  15143. return IfcStructuralLoadSingleDisplacement.FromTape(d.ID, d.type, d.arguments);
  15144. };
  15145. FromRawLineData[IFCSTRUCTURALLOADSINGLEDISPLACEMENTDISTORTION] = (d) => {
  15146. return IfcStructuralLoadSingleDisplacementDistortion.FromTape(d.ID, d.type, d.arguments);
  15147. };
  15148. FromRawLineData[IFCSTRUCTURALLOADSINGLEFORCE] = (d) => {
  15149. return IfcStructuralLoadSingleForce.FromTape(d.ID, d.type, d.arguments);
  15150. };
  15151. FromRawLineData[IFCSTRUCTURALLOADSINGLEFORCEWARPING] = (d) => {
  15152. return IfcStructuralLoadSingleForceWarping.FromTape(d.ID, d.type, d.arguments);
  15153. };
  15154. FromRawLineData[IFCSTRUCTURALLOADSTATIC] = (d) => {
  15155. return IfcStructuralLoadStatic.FromTape(d.ID, d.type, d.arguments);
  15156. };
  15157. FromRawLineData[IFCSTRUCTURALLOADTEMPERATURE] = (d) => {
  15158. return IfcStructuralLoadTemperature.FromTape(d.ID, d.type, d.arguments);
  15159. };
  15160. FromRawLineData[IFCSTRUCTURALMEMBER] = (d) => {
  15161. return IfcStructuralMember.FromTape(d.ID, d.type, d.arguments);
  15162. };
  15163. FromRawLineData[IFCSTRUCTURALPLANARACTION] = (d) => {
  15164. return IfcStructuralPlanarAction.FromTape(d.ID, d.type, d.arguments);
  15165. };
  15166. FromRawLineData[IFCSTRUCTURALPOINTACTION] = (d) => {
  15167. return IfcStructuralPointAction.FromTape(d.ID, d.type, d.arguments);
  15168. };
  15169. FromRawLineData[IFCSTRUCTURALPOINTCONNECTION] = (d) => {
  15170. return IfcStructuralPointConnection.FromTape(d.ID, d.type, d.arguments);
  15171. };
  15172. FromRawLineData[IFCSTRUCTURALPOINTREACTION] = (d) => {
  15173. return IfcStructuralPointReaction.FromTape(d.ID, d.type, d.arguments);
  15174. };
  15175. FromRawLineData[IFCSTRUCTURALREACTION] = (d) => {
  15176. return IfcStructuralReaction.FromTape(d.ID, d.type, d.arguments);
  15177. };
  15178. FromRawLineData[IFCSTRUCTURALRESULTGROUP] = (d) => {
  15179. return IfcStructuralResultGroup.FromTape(d.ID, d.type, d.arguments);
  15180. };
  15181. FromRawLineData[IFCSTRUCTURALSURFACEACTION] = (d) => {
  15182. return IfcStructuralSurfaceAction.FromTape(d.ID, d.type, d.arguments);
  15183. };
  15184. FromRawLineData[IFCSTRUCTURALSURFACECONNECTION] = (d) => {
  15185. return IfcStructuralSurfaceConnection.FromTape(d.ID, d.type, d.arguments);
  15186. };
  15187. FromRawLineData[IFCSTRUCTURALSURFACEMEMBER] = (d) => {
  15188. return IfcStructuralSurfaceMember.FromTape(d.ID, d.type, d.arguments);
  15189. };
  15190. FromRawLineData[IFCSTRUCTURALSURFACEMEMBERVARYING] = (d) => {
  15191. return IfcStructuralSurfaceMemberVarying.FromTape(d.ID, d.type, d.arguments);
  15192. };
  15193. FromRawLineData[IFCSTRUCTURALSURFACEREACTION] = (d) => {
  15194. return IfcStructuralSurfaceReaction.FromTape(d.ID, d.type, d.arguments);
  15195. };
  15196. FromRawLineData[IFCSTYLEMODEL] = (d) => {
  15197. return IfcStyleModel.FromTape(d.ID, d.type, d.arguments);
  15198. };
  15199. FromRawLineData[IFCSTYLEDITEM] = (d) => {
  15200. return IfcStyledItem.FromTape(d.ID, d.type, d.arguments);
  15201. };
  15202. FromRawLineData[IFCSTYLEDREPRESENTATION] = (d) => {
  15203. return IfcStyledRepresentation.FromTape(d.ID, d.type, d.arguments);
  15204. };
  15205. FromRawLineData[IFCSUBCONTRACTRESOURCE] = (d) => {
  15206. return IfcSubContractResource.FromTape(d.ID, d.type, d.arguments);
  15207. };
  15208. FromRawLineData[IFCSUBCONTRACTRESOURCETYPE] = (d) => {
  15209. return IfcSubContractResourceType.FromTape(d.ID, d.type, d.arguments);
  15210. };
  15211. FromRawLineData[IFCSUBEDGE] = (d) => {
  15212. return IfcSubedge.FromTape(d.ID, d.type, d.arguments);
  15213. };
  15214. FromRawLineData[IFCSURFACE] = (d) => {
  15215. return IfcSurface.FromTape(d.ID, d.type, d.arguments);
  15216. };
  15217. FromRawLineData[IFCSURFACECURVE] = (d) => {
  15218. return IfcSurfaceCurve.FromTape(d.ID, d.type, d.arguments);
  15219. };
  15220. FromRawLineData[IFCSURFACECURVESWEPTAREASOLID] = (d) => {
  15221. return IfcSurfaceCurveSweptAreaSolid.FromTape(d.ID, d.type, d.arguments);
  15222. };
  15223. FromRawLineData[IFCSURFACEFEATURE] = (d) => {
  15224. return IfcSurfaceFeature.FromTape(d.ID, d.type, d.arguments);
  15225. };
  15226. FromRawLineData[IFCSURFACEOFLINEAREXTRUSION] = (d) => {
  15227. return IfcSurfaceOfLinearExtrusion.FromTape(d.ID, d.type, d.arguments);
  15228. };
  15229. FromRawLineData[IFCSURFACEOFREVOLUTION] = (d) => {
  15230. return IfcSurfaceOfRevolution.FromTape(d.ID, d.type, d.arguments);
  15231. };
  15232. FromRawLineData[IFCSURFACEREINFORCEMENTAREA] = (d) => {
  15233. return IfcSurfaceReinforcementArea.FromTape(d.ID, d.type, d.arguments);
  15234. };
  15235. FromRawLineData[IFCSURFACESTYLE] = (d) => {
  15236. return IfcSurfaceStyle.FromTape(d.ID, d.type, d.arguments);
  15237. };
  15238. FromRawLineData[IFCSURFACESTYLELIGHTING] = (d) => {
  15239. return IfcSurfaceStyleLighting.FromTape(d.ID, d.type, d.arguments);
  15240. };
  15241. FromRawLineData[IFCSURFACESTYLEREFRACTION] = (d) => {
  15242. return IfcSurfaceStyleRefraction.FromTape(d.ID, d.type, d.arguments);
  15243. };
  15244. FromRawLineData[IFCSURFACESTYLERENDERING] = (d) => {
  15245. return IfcSurfaceStyleRendering.FromTape(d.ID, d.type, d.arguments);
  15246. };
  15247. FromRawLineData[IFCSURFACESTYLESHADING] = (d) => {
  15248. return IfcSurfaceStyleShading.FromTape(d.ID, d.type, d.arguments);
  15249. };
  15250. FromRawLineData[IFCSURFACESTYLEWITHTEXTURES] = (d) => {
  15251. return IfcSurfaceStyleWithTextures.FromTape(d.ID, d.type, d.arguments);
  15252. };
  15253. FromRawLineData[IFCSURFACETEXTURE] = (d) => {
  15254. return IfcSurfaceTexture.FromTape(d.ID, d.type, d.arguments);
  15255. };
  15256. FromRawLineData[IFCSWEPTAREASOLID] = (d) => {
  15257. return IfcSweptAreaSolid.FromTape(d.ID, d.type, d.arguments);
  15258. };
  15259. FromRawLineData[IFCSWEPTDISKSOLID] = (d) => {
  15260. return IfcSweptDiskSolid.FromTape(d.ID, d.type, d.arguments);
  15261. };
  15262. FromRawLineData[IFCSWEPTDISKSOLIDPOLYGONAL] = (d) => {
  15263. return IfcSweptDiskSolidPolygonal.FromTape(d.ID, d.type, d.arguments);
  15264. };
  15265. FromRawLineData[IFCSWEPTSURFACE] = (d) => {
  15266. return IfcSweptSurface.FromTape(d.ID, d.type, d.arguments);
  15267. };
  15268. FromRawLineData[IFCSWITCHINGDEVICE] = (d) => {
  15269. return IfcSwitchingDevice.FromTape(d.ID, d.type, d.arguments);
  15270. };
  15271. FromRawLineData[IFCSWITCHINGDEVICETYPE] = (d) => {
  15272. return IfcSwitchingDeviceType.FromTape(d.ID, d.type, d.arguments);
  15273. };
  15274. FromRawLineData[IFCSYSTEM] = (d) => {
  15275. return IfcSystem.FromTape(d.ID, d.type, d.arguments);
  15276. };
  15277. FromRawLineData[IFCSYSTEMFURNITUREELEMENT] = (d) => {
  15278. return IfcSystemFurnitureElement.FromTape(d.ID, d.type, d.arguments);
  15279. };
  15280. FromRawLineData[IFCSYSTEMFURNITUREELEMENTTYPE] = (d) => {
  15281. return IfcSystemFurnitureElementType.FromTape(d.ID, d.type, d.arguments);
  15282. };
  15283. FromRawLineData[IFCTSHAPEPROFILEDEF] = (d) => {
  15284. return IfcTShapeProfileDef.FromTape(d.ID, d.type, d.arguments);
  15285. };
  15286. FromRawLineData[IFCTABLE] = (d) => {
  15287. return IfcTable.FromTape(d.ID, d.type, d.arguments);
  15288. };
  15289. FromRawLineData[IFCTABLECOLUMN] = (d) => {
  15290. return IfcTableColumn.FromTape(d.ID, d.type, d.arguments);
  15291. };
  15292. FromRawLineData[IFCTABLEROW] = (d) => {
  15293. return IfcTableRow.FromTape(d.ID, d.type, d.arguments);
  15294. };
  15295. FromRawLineData[IFCTANK] = (d) => {
  15296. return IfcTank.FromTape(d.ID, d.type, d.arguments);
  15297. };
  15298. FromRawLineData[IFCTANKTYPE] = (d) => {
  15299. return IfcTankType.FromTape(d.ID, d.type, d.arguments);
  15300. };
  15301. FromRawLineData[IFCTASK] = (d) => {
  15302. return IfcTask.FromTape(d.ID, d.type, d.arguments);
  15303. };
  15304. FromRawLineData[IFCTASKTIME] = (d) => {
  15305. return IfcTaskTime.FromTape(d.ID, d.type, d.arguments);
  15306. };
  15307. FromRawLineData[IFCTASKTIMERECURRING] = (d) => {
  15308. return IfcTaskTimeRecurring.FromTape(d.ID, d.type, d.arguments);
  15309. };
  15310. FromRawLineData[IFCTASKTYPE] = (d) => {
  15311. return IfcTaskType.FromTape(d.ID, d.type, d.arguments);
  15312. };
  15313. FromRawLineData[IFCTELECOMADDRESS] = (d) => {
  15314. return IfcTelecomAddress.FromTape(d.ID, d.type, d.arguments);
  15315. };
  15316. FromRawLineData[IFCTENDON] = (d) => {
  15317. return IfcTendon.FromTape(d.ID, d.type, d.arguments);
  15318. };
  15319. FromRawLineData[IFCTENDONANCHOR] = (d) => {
  15320. return IfcTendonAnchor.FromTape(d.ID, d.type, d.arguments);
  15321. };
  15322. FromRawLineData[IFCTENDONANCHORTYPE] = (d) => {
  15323. return IfcTendonAnchorType.FromTape(d.ID, d.type, d.arguments);
  15324. };
  15325. FromRawLineData[IFCTENDONCONDUIT] = (d) => {
  15326. return IfcTendonConduit.FromTape(d.ID, d.type, d.arguments);
  15327. };
  15328. FromRawLineData[IFCTENDONCONDUITTYPE] = (d) => {
  15329. return IfcTendonConduitType.FromTape(d.ID, d.type, d.arguments);
  15330. };
  15331. FromRawLineData[IFCTENDONTYPE] = (d) => {
  15332. return IfcTendonType.FromTape(d.ID, d.type, d.arguments);
  15333. };
  15334. FromRawLineData[IFCTESSELLATEDFACESET] = (d) => {
  15335. return IfcTessellatedFaceSet.FromTape(d.ID, d.type, d.arguments);
  15336. };
  15337. FromRawLineData[IFCTESSELLATEDITEM] = (d) => {
  15338. return IfcTessellatedItem.FromTape(d.ID, d.type, d.arguments);
  15339. };
  15340. FromRawLineData[IFCTEXTLITERAL] = (d) => {
  15341. return IfcTextLiteral.FromTape(d.ID, d.type, d.arguments);
  15342. };
  15343. FromRawLineData[IFCTEXTLITERALWITHEXTENT] = (d) => {
  15344. return IfcTextLiteralWithExtent.FromTape(d.ID, d.type, d.arguments);
  15345. };
  15346. FromRawLineData[IFCTEXTSTYLE] = (d) => {
  15347. return IfcTextStyle.FromTape(d.ID, d.type, d.arguments);
  15348. };
  15349. FromRawLineData[IFCTEXTSTYLEFONTMODEL] = (d) => {
  15350. return IfcTextStyleFontModel.FromTape(d.ID, d.type, d.arguments);
  15351. };
  15352. FromRawLineData[IFCTEXTSTYLEFORDEFINEDFONT] = (d) => {
  15353. return IfcTextStyleForDefinedFont.FromTape(d.ID, d.type, d.arguments);
  15354. };
  15355. FromRawLineData[IFCTEXTSTYLETEXTMODEL] = (d) => {
  15356. return IfcTextStyleTextModel.FromTape(d.ID, d.type, d.arguments);
  15357. };
  15358. FromRawLineData[IFCTEXTURECOORDINATE] = (d) => {
  15359. return IfcTextureCoordinate.FromTape(d.ID, d.type, d.arguments);
  15360. };
  15361. FromRawLineData[IFCTEXTURECOORDINATEGENERATOR] = (d) => {
  15362. return IfcTextureCoordinateGenerator.FromTape(d.ID, d.type, d.arguments);
  15363. };
  15364. FromRawLineData[IFCTEXTUREMAP] = (d) => {
  15365. return IfcTextureMap.FromTape(d.ID, d.type, d.arguments);
  15366. };
  15367. FromRawLineData[IFCTEXTUREVERTEX] = (d) => {
  15368. return IfcTextureVertex.FromTape(d.ID, d.type, d.arguments);
  15369. };
  15370. FromRawLineData[IFCTEXTUREVERTEXLIST] = (d) => {
  15371. return IfcTextureVertexList.FromTape(d.ID, d.type, d.arguments);
  15372. };
  15373. FromRawLineData[IFCTIMEPERIOD] = (d) => {
  15374. return IfcTimePeriod.FromTape(d.ID, d.type, d.arguments);
  15375. };
  15376. FromRawLineData[IFCTIMESERIES] = (d) => {
  15377. return IfcTimeSeries.FromTape(d.ID, d.type, d.arguments);
  15378. };
  15379. FromRawLineData[IFCTIMESERIESVALUE] = (d) => {
  15380. return IfcTimeSeriesValue.FromTape(d.ID, d.type, d.arguments);
  15381. };
  15382. FromRawLineData[IFCTOPOLOGICALREPRESENTATIONITEM] = (d) => {
  15383. return IfcTopologicalRepresentationItem.FromTape(d.ID, d.type, d.arguments);
  15384. };
  15385. FromRawLineData[IFCTOPOLOGYREPRESENTATION] = (d) => {
  15386. return IfcTopologyRepresentation.FromTape(d.ID, d.type, d.arguments);
  15387. };
  15388. FromRawLineData[IFCTOROIDALSURFACE] = (d) => {
  15389. return IfcToroidalSurface.FromTape(d.ID, d.type, d.arguments);
  15390. };
  15391. FromRawLineData[IFCTRANSFORMER] = (d) => {
  15392. return IfcTransformer.FromTape(d.ID, d.type, d.arguments);
  15393. };
  15394. FromRawLineData[IFCTRANSFORMERTYPE] = (d) => {
  15395. return IfcTransformerType.FromTape(d.ID, d.type, d.arguments);
  15396. };
  15397. FromRawLineData[IFCTRANSITIONCURVESEGMENT2D] = (d) => {
  15398. return IfcTransitionCurveSegment2D.FromTape(d.ID, d.type, d.arguments);
  15399. };
  15400. FromRawLineData[IFCTRANSPORTELEMENT] = (d) => {
  15401. return IfcTransportElement.FromTape(d.ID, d.type, d.arguments);
  15402. };
  15403. FromRawLineData[IFCTRANSPORTELEMENTTYPE] = (d) => {
  15404. return IfcTransportElementType.FromTape(d.ID, d.type, d.arguments);
  15405. };
  15406. FromRawLineData[IFCTRAPEZIUMPROFILEDEF] = (d) => {
  15407. return IfcTrapeziumProfileDef.FromTape(d.ID, d.type, d.arguments);
  15408. };
  15409. FromRawLineData[IFCTRIANGULATEDFACESET] = (d) => {
  15410. return IfcTriangulatedFaceSet.FromTape(d.ID, d.type, d.arguments);
  15411. };
  15412. FromRawLineData[IFCTRIANGULATEDIRREGULARNETWORK] = (d) => {
  15413. return IfcTriangulatedIrregularNetwork.FromTape(d.ID, d.type, d.arguments);
  15414. };
  15415. FromRawLineData[IFCTRIMMEDCURVE] = (d) => {
  15416. return IfcTrimmedCurve.FromTape(d.ID, d.type, d.arguments);
  15417. };
  15418. FromRawLineData[IFCTUBEBUNDLE] = (d) => {
  15419. return IfcTubeBundle.FromTape(d.ID, d.type, d.arguments);
  15420. };
  15421. FromRawLineData[IFCTUBEBUNDLETYPE] = (d) => {
  15422. return IfcTubeBundleType.FromTape(d.ID, d.type, d.arguments);
  15423. };
  15424. FromRawLineData[IFCTYPEOBJECT] = (d) => {
  15425. return IfcTypeObject.FromTape(d.ID, d.type, d.arguments);
  15426. };
  15427. FromRawLineData[IFCTYPEPROCESS] = (d) => {
  15428. return IfcTypeProcess.FromTape(d.ID, d.type, d.arguments);
  15429. };
  15430. FromRawLineData[IFCTYPEPRODUCT] = (d) => {
  15431. return IfcTypeProduct.FromTape(d.ID, d.type, d.arguments);
  15432. };
  15433. FromRawLineData[IFCTYPERESOURCE] = (d) => {
  15434. return IfcTypeResource.FromTape(d.ID, d.type, d.arguments);
  15435. };
  15436. FromRawLineData[IFCUSHAPEPROFILEDEF] = (d) => {
  15437. return IfcUShapeProfileDef.FromTape(d.ID, d.type, d.arguments);
  15438. };
  15439. FromRawLineData[IFCUNITASSIGNMENT] = (d) => {
  15440. return IfcUnitAssignment.FromTape(d.ID, d.type, d.arguments);
  15441. };
  15442. FromRawLineData[IFCUNITARYCONTROLELEMENT] = (d) => {
  15443. return IfcUnitaryControlElement.FromTape(d.ID, d.type, d.arguments);
  15444. };
  15445. FromRawLineData[IFCUNITARYCONTROLELEMENTTYPE] = (d) => {
  15446. return IfcUnitaryControlElementType.FromTape(d.ID, d.type, d.arguments);
  15447. };
  15448. FromRawLineData[IFCUNITARYEQUIPMENT] = (d) => {
  15449. return IfcUnitaryEquipment.FromTape(d.ID, d.type, d.arguments);
  15450. };
  15451. FromRawLineData[IFCUNITARYEQUIPMENTTYPE] = (d) => {
  15452. return IfcUnitaryEquipmentType.FromTape(d.ID, d.type, d.arguments);
  15453. };
  15454. FromRawLineData[IFCVALVE] = (d) => {
  15455. return IfcValve.FromTape(d.ID, d.type, d.arguments);
  15456. };
  15457. FromRawLineData[IFCVALVETYPE] = (d) => {
  15458. return IfcValveType.FromTape(d.ID, d.type, d.arguments);
  15459. };
  15460. FromRawLineData[IFCVECTOR] = (d) => {
  15461. return IfcVector.FromTape(d.ID, d.type, d.arguments);
  15462. };
  15463. FromRawLineData[IFCVERTEX] = (d) => {
  15464. return IfcVertex.FromTape(d.ID, d.type, d.arguments);
  15465. };
  15466. FromRawLineData[IFCVERTEXLOOP] = (d) => {
  15467. return IfcVertexLoop.FromTape(d.ID, d.type, d.arguments);
  15468. };
  15469. FromRawLineData[IFCVERTEXPOINT] = (d) => {
  15470. return IfcVertexPoint.FromTape(d.ID, d.type, d.arguments);
  15471. };
  15472. FromRawLineData[IFCVIBRATIONDAMPER] = (d) => {
  15473. return IfcVibrationDamper.FromTape(d.ID, d.type, d.arguments);
  15474. };
  15475. FromRawLineData[IFCVIBRATIONDAMPERTYPE] = (d) => {
  15476. return IfcVibrationDamperType.FromTape(d.ID, d.type, d.arguments);
  15477. };
  15478. FromRawLineData[IFCVIBRATIONISOLATOR] = (d) => {
  15479. return IfcVibrationIsolator.FromTape(d.ID, d.type, d.arguments);
  15480. };
  15481. FromRawLineData[IFCVIBRATIONISOLATORTYPE] = (d) => {
  15482. return IfcVibrationIsolatorType.FromTape(d.ID, d.type, d.arguments);
  15483. };
  15484. FromRawLineData[IFCVIRTUALELEMENT] = (d) => {
  15485. return IfcVirtualElement.FromTape(d.ID, d.type, d.arguments);
  15486. };
  15487. FromRawLineData[IFCVIRTUALGRIDINTERSECTION] = (d) => {
  15488. return IfcVirtualGridIntersection.FromTape(d.ID, d.type, d.arguments);
  15489. };
  15490. FromRawLineData[IFCVOIDINGFEATURE] = (d) => {
  15491. return IfcVoidingFeature.FromTape(d.ID, d.type, d.arguments);
  15492. };
  15493. FromRawLineData[IFCWALL] = (d) => {
  15494. return IfcWall.FromTape(d.ID, d.type, d.arguments);
  15495. };
  15496. FromRawLineData[IFCWALLELEMENTEDCASE] = (d) => {
  15497. return IfcWallElementedCase.FromTape(d.ID, d.type, d.arguments);
  15498. };
  15499. FromRawLineData[IFCWALLSTANDARDCASE] = (d) => {
  15500. return IfcWallStandardCase.FromTape(d.ID, d.type, d.arguments);
  15501. };
  15502. FromRawLineData[IFCWALLTYPE] = (d) => {
  15503. return IfcWallType.FromTape(d.ID, d.type, d.arguments);
  15504. };
  15505. FromRawLineData[IFCWASTETERMINAL] = (d) => {
  15506. return IfcWasteTerminal.FromTape(d.ID, d.type, d.arguments);
  15507. };
  15508. FromRawLineData[IFCWASTETERMINALTYPE] = (d) => {
  15509. return IfcWasteTerminalType.FromTape(d.ID, d.type, d.arguments);
  15510. };
  15511. FromRawLineData[IFCWINDOW] = (d) => {
  15512. return IfcWindow.FromTape(d.ID, d.type, d.arguments);
  15513. };
  15514. FromRawLineData[IFCWINDOWLININGPROPERTIES] = (d) => {
  15515. return IfcWindowLiningProperties.FromTape(d.ID, d.type, d.arguments);
  15516. };
  15517. FromRawLineData[IFCWINDOWPANELPROPERTIES] = (d) => {
  15518. return IfcWindowPanelProperties.FromTape(d.ID, d.type, d.arguments);
  15519. };
  15520. FromRawLineData[IFCWINDOWSTANDARDCASE] = (d) => {
  15521. return IfcWindowStandardCase.FromTape(d.ID, d.type, d.arguments);
  15522. };
  15523. FromRawLineData[IFCWINDOWSTYLE] = (d) => {
  15524. return IfcWindowStyle.FromTape(d.ID, d.type, d.arguments);
  15525. };
  15526. FromRawLineData[IFCWINDOWTYPE] = (d) => {
  15527. return IfcWindowType.FromTape(d.ID, d.type, d.arguments);
  15528. };
  15529. FromRawLineData[IFCWORKCALENDAR] = (d) => {
  15530. return IfcWorkCalendar.FromTape(d.ID, d.type, d.arguments);
  15531. };
  15532. FromRawLineData[IFCWORKCONTROL] = (d) => {
  15533. return IfcWorkControl.FromTape(d.ID, d.type, d.arguments);
  15534. };
  15535. FromRawLineData[IFCWORKPLAN] = (d) => {
  15536. return IfcWorkPlan.FromTape(d.ID, d.type, d.arguments);
  15537. };
  15538. FromRawLineData[IFCWORKSCHEDULE] = (d) => {
  15539. return IfcWorkSchedule.FromTape(d.ID, d.type, d.arguments);
  15540. };
  15541. FromRawLineData[IFCWORKTIME] = (d) => {
  15542. return IfcWorkTime.FromTape(d.ID, d.type, d.arguments);
  15543. };
  15544. FromRawLineData[IFCZSHAPEPROFILEDEF] = (d) => {
  15545. return IfcZShapeProfileDef.FromTape(d.ID, d.type, d.arguments);
  15546. };
  15547. FromRawLineData[IFCZONE] = (d) => {
  15548. return IfcZone.FromTape(d.ID, d.type, d.arguments);
  15549. };
  15550. var Handle = class {
  15551. constructor(id) {
  15552. this.value = id;
  15553. }
  15554. toTape(args) {
  15555. args.push({ type: 5, value: this.value });
  15556. }
  15557. };
  15558. function Value(type, value) {
  15559. return { t: type, v: value };
  15560. }
  15561. var IfcAbsorbedDoseMeasure = class {
  15562. constructor(v) {
  15563. this.value = v;
  15564. }
  15565. };
  15566. var IfcAccelerationMeasure = class {
  15567. constructor(v) {
  15568. this.value = v;
  15569. }
  15570. };
  15571. var IfcAmountOfSubstanceMeasure = class {
  15572. constructor(v) {
  15573. this.value = v;
  15574. }
  15575. };
  15576. var IfcAngularVelocityMeasure = class {
  15577. constructor(v) {
  15578. this.value = v;
  15579. }
  15580. };
  15581. var IfcAreaDensityMeasure = class {
  15582. constructor(v) {
  15583. this.value = v;
  15584. }
  15585. };
  15586. var IfcAreaMeasure = class {
  15587. constructor(v) {
  15588. this.value = v;
  15589. }
  15590. };
  15591. var IfcBinary = class {
  15592. constructor(v) {
  15593. this.value = v;
  15594. }
  15595. };
  15596. var IfcBoolean = class {
  15597. constructor(v) {
  15598. this.value = v;
  15599. }
  15600. };
  15601. var IfcBoxAlignment = class {
  15602. constructor(v) {
  15603. this.value = v;
  15604. }
  15605. };
  15606. var IfcCardinalPointReference = class {
  15607. constructor(v) {
  15608. this.value = v;
  15609. }
  15610. };
  15611. var IfcContextDependentMeasure = class {
  15612. constructor(v) {
  15613. this.value = v;
  15614. }
  15615. };
  15616. var IfcCountMeasure = class {
  15617. constructor(v) {
  15618. this.value = v;
  15619. }
  15620. };
  15621. var IfcCurvatureMeasure = class {
  15622. constructor(v) {
  15623. this.value = v;
  15624. }
  15625. };
  15626. var IfcDate = class {
  15627. constructor(v) {
  15628. this.value = v;
  15629. }
  15630. };
  15631. var IfcDateTime = class {
  15632. constructor(v) {
  15633. this.value = v;
  15634. }
  15635. };
  15636. var IfcDayInMonthNumber = class {
  15637. constructor(v) {
  15638. this.value = v;
  15639. }
  15640. };
  15641. var IfcDayInWeekNumber = class {
  15642. constructor(v) {
  15643. this.value = v;
  15644. }
  15645. };
  15646. var IfcDescriptiveMeasure = class {
  15647. constructor(v) {
  15648. this.value = v;
  15649. }
  15650. };
  15651. var IfcDimensionCount = class {
  15652. constructor(v) {
  15653. this.value = v;
  15654. }
  15655. };
  15656. var IfcDoseEquivalentMeasure = class {
  15657. constructor(v) {
  15658. this.value = v;
  15659. }
  15660. };
  15661. var IfcDuration = class {
  15662. constructor(v) {
  15663. this.value = v;
  15664. }
  15665. };
  15666. var IfcDynamicViscosityMeasure = class {
  15667. constructor(v) {
  15668. this.value = v;
  15669. }
  15670. };
  15671. var IfcElectricCapacitanceMeasure = class {
  15672. constructor(v) {
  15673. this.value = v;
  15674. }
  15675. };
  15676. var IfcElectricChargeMeasure = class {
  15677. constructor(v) {
  15678. this.value = v;
  15679. }
  15680. };
  15681. var IfcElectricConductanceMeasure = class {
  15682. constructor(v) {
  15683. this.value = v;
  15684. }
  15685. };
  15686. var IfcElectricCurrentMeasure = class {
  15687. constructor(v) {
  15688. this.value = v;
  15689. }
  15690. };
  15691. var IfcElectricResistanceMeasure = class {
  15692. constructor(v) {
  15693. this.value = v;
  15694. }
  15695. };
  15696. var IfcElectricVoltageMeasure = class {
  15697. constructor(v) {
  15698. this.value = v;
  15699. }
  15700. };
  15701. var IfcEnergyMeasure = class {
  15702. constructor(v) {
  15703. this.value = v;
  15704. }
  15705. };
  15706. var IfcFontStyle = class {
  15707. constructor(v) {
  15708. this.value = v;
  15709. }
  15710. };
  15711. var IfcFontVariant = class {
  15712. constructor(v) {
  15713. this.value = v;
  15714. }
  15715. };
  15716. var IfcFontWeight = class {
  15717. constructor(v) {
  15718. this.value = v;
  15719. }
  15720. };
  15721. var IfcForceMeasure = class {
  15722. constructor(v) {
  15723. this.value = v;
  15724. }
  15725. };
  15726. var IfcFrequencyMeasure = class {
  15727. constructor(v) {
  15728. this.value = v;
  15729. }
  15730. };
  15731. var IfcGloballyUniqueId = class {
  15732. constructor(v) {
  15733. this.value = v;
  15734. }
  15735. };
  15736. var IfcHeatFluxDensityMeasure = class {
  15737. constructor(v) {
  15738. this.value = v;
  15739. }
  15740. };
  15741. var IfcHeatingValueMeasure = class {
  15742. constructor(v) {
  15743. this.value = v;
  15744. }
  15745. };
  15746. var IfcIdentifier = class {
  15747. constructor(v) {
  15748. this.value = v;
  15749. }
  15750. };
  15751. var IfcIlluminanceMeasure = class {
  15752. constructor(v) {
  15753. this.value = v;
  15754. }
  15755. };
  15756. var IfcInductanceMeasure = class {
  15757. constructor(v) {
  15758. this.value = v;
  15759. }
  15760. };
  15761. var IfcInteger = class {
  15762. constructor(v) {
  15763. this.value = v;
  15764. }
  15765. };
  15766. var IfcIntegerCountRateMeasure = class {
  15767. constructor(v) {
  15768. this.value = v;
  15769. }
  15770. };
  15771. var IfcIonConcentrationMeasure = class {
  15772. constructor(v) {
  15773. this.value = v;
  15774. }
  15775. };
  15776. var IfcIsothermalMoistureCapacityMeasure = class {
  15777. constructor(v) {
  15778. this.value = v;
  15779. }
  15780. };
  15781. var IfcKinematicViscosityMeasure = class {
  15782. constructor(v) {
  15783. this.value = v;
  15784. }
  15785. };
  15786. var IfcLabel = class {
  15787. constructor(v) {
  15788. this.value = v;
  15789. }
  15790. };
  15791. var IfcLanguageId = class {
  15792. constructor(v) {
  15793. this.value = v;
  15794. }
  15795. };
  15796. var IfcLengthMeasure = class {
  15797. constructor(v) {
  15798. this.value = v;
  15799. }
  15800. };
  15801. var IfcLinearForceMeasure = class {
  15802. constructor(v) {
  15803. this.value = v;
  15804. }
  15805. };
  15806. var IfcLinearMomentMeasure = class {
  15807. constructor(v) {
  15808. this.value = v;
  15809. }
  15810. };
  15811. var IfcLinearStiffnessMeasure = class {
  15812. constructor(v) {
  15813. this.value = v;
  15814. }
  15815. };
  15816. var IfcLinearVelocityMeasure = class {
  15817. constructor(v) {
  15818. this.value = v;
  15819. }
  15820. };
  15821. var IfcLogical = class {
  15822. constructor(v) {
  15823. this.value = v;
  15824. }
  15825. };
  15826. var IfcLuminousFluxMeasure = class {
  15827. constructor(v) {
  15828. this.value = v;
  15829. }
  15830. };
  15831. var IfcLuminousIntensityDistributionMeasure = class {
  15832. constructor(v) {
  15833. this.value = v;
  15834. }
  15835. };
  15836. var IfcLuminousIntensityMeasure = class {
  15837. constructor(v) {
  15838. this.value = v;
  15839. }
  15840. };
  15841. var IfcMagneticFluxDensityMeasure = class {
  15842. constructor(v) {
  15843. this.value = v;
  15844. }
  15845. };
  15846. var IfcMagneticFluxMeasure = class {
  15847. constructor(v) {
  15848. this.value = v;
  15849. }
  15850. };
  15851. var IfcMassDensityMeasure = class {
  15852. constructor(v) {
  15853. this.value = v;
  15854. }
  15855. };
  15856. var IfcMassFlowRateMeasure = class {
  15857. constructor(v) {
  15858. this.value = v;
  15859. }
  15860. };
  15861. var IfcMassMeasure = class {
  15862. constructor(v) {
  15863. this.value = v;
  15864. }
  15865. };
  15866. var IfcMassPerLengthMeasure = class {
  15867. constructor(v) {
  15868. this.value = v;
  15869. }
  15870. };
  15871. var IfcModulusOfElasticityMeasure = class {
  15872. constructor(v) {
  15873. this.value = v;
  15874. }
  15875. };
  15876. var IfcModulusOfLinearSubgradeReactionMeasure = class {
  15877. constructor(v) {
  15878. this.value = v;
  15879. }
  15880. };
  15881. var IfcModulusOfRotationalSubgradeReactionMeasure = class {
  15882. constructor(v) {
  15883. this.value = v;
  15884. }
  15885. };
  15886. var IfcModulusOfSubgradeReactionMeasure = class {
  15887. constructor(v) {
  15888. this.value = v;
  15889. }
  15890. };
  15891. var IfcMoistureDiffusivityMeasure = class {
  15892. constructor(v) {
  15893. this.value = v;
  15894. }
  15895. };
  15896. var IfcMolecularWeightMeasure = class {
  15897. constructor(v) {
  15898. this.value = v;
  15899. }
  15900. };
  15901. var IfcMomentOfInertiaMeasure = class {
  15902. constructor(v) {
  15903. this.value = v;
  15904. }
  15905. };
  15906. var IfcMonetaryMeasure = class {
  15907. constructor(v) {
  15908. this.value = v;
  15909. }
  15910. };
  15911. var IfcMonthInYearNumber = class {
  15912. constructor(v) {
  15913. this.value = v;
  15914. }
  15915. };
  15916. var IfcNonNegativeLengthMeasure = class {
  15917. constructor(v) {
  15918. this.value = v;
  15919. }
  15920. };
  15921. var IfcNormalisedRatioMeasure = class {
  15922. constructor(v) {
  15923. this.value = v;
  15924. }
  15925. };
  15926. var IfcNumericMeasure = class {
  15927. constructor(v) {
  15928. this.value = v;
  15929. }
  15930. };
  15931. var IfcPHMeasure = class {
  15932. constructor(v) {
  15933. this.value = v;
  15934. }
  15935. };
  15936. var IfcParameterValue = class {
  15937. constructor(v) {
  15938. this.value = v;
  15939. }
  15940. };
  15941. var IfcPlanarForceMeasure = class {
  15942. constructor(v) {
  15943. this.value = v;
  15944. }
  15945. };
  15946. var IfcPlaneAngleMeasure = class {
  15947. constructor(v) {
  15948. this.value = v;
  15949. }
  15950. };
  15951. var IfcPositiveInteger = class {
  15952. constructor(v) {
  15953. this.value = v;
  15954. }
  15955. };
  15956. var IfcPositiveLengthMeasure = class {
  15957. constructor(v) {
  15958. this.value = v;
  15959. }
  15960. };
  15961. var IfcPositivePlaneAngleMeasure = class {
  15962. constructor(v) {
  15963. this.value = v;
  15964. }
  15965. };
  15966. var IfcPositiveRatioMeasure = class {
  15967. constructor(v) {
  15968. this.value = v;
  15969. }
  15970. };
  15971. var IfcPowerMeasure = class {
  15972. constructor(v) {
  15973. this.value = v;
  15974. }
  15975. };
  15976. var IfcPresentableText = class {
  15977. constructor(v) {
  15978. this.value = v;
  15979. }
  15980. };
  15981. var IfcPressureMeasure = class {
  15982. constructor(v) {
  15983. this.value = v;
  15984. }
  15985. };
  15986. var IfcRadioActivityMeasure = class {
  15987. constructor(v) {
  15988. this.value = v;
  15989. }
  15990. };
  15991. var IfcRatioMeasure = class {
  15992. constructor(v) {
  15993. this.value = v;
  15994. }
  15995. };
  15996. var IfcReal = class {
  15997. constructor(v) {
  15998. this.value = v;
  15999. }
  16000. };
  16001. var IfcRotationalFrequencyMeasure = class {
  16002. constructor(v) {
  16003. this.value = v;
  16004. }
  16005. };
  16006. var IfcRotationalMassMeasure = class {
  16007. constructor(v) {
  16008. this.value = v;
  16009. }
  16010. };
  16011. var IfcRotationalStiffnessMeasure = class {
  16012. constructor(v) {
  16013. this.value = v;
  16014. }
  16015. };
  16016. var IfcSectionModulusMeasure = class {
  16017. constructor(v) {
  16018. this.value = v;
  16019. }
  16020. };
  16021. var IfcSectionalAreaIntegralMeasure = class {
  16022. constructor(v) {
  16023. this.value = v;
  16024. }
  16025. };
  16026. var IfcShearModulusMeasure = class {
  16027. constructor(v) {
  16028. this.value = v;
  16029. }
  16030. };
  16031. var IfcSolidAngleMeasure = class {
  16032. constructor(v) {
  16033. this.value = v;
  16034. }
  16035. };
  16036. var IfcSoundPowerLevelMeasure = class {
  16037. constructor(v) {
  16038. this.value = v;
  16039. }
  16040. };
  16041. var IfcSoundPowerMeasure = class {
  16042. constructor(v) {
  16043. this.value = v;
  16044. }
  16045. };
  16046. var IfcSoundPressureLevelMeasure = class {
  16047. constructor(v) {
  16048. this.value = v;
  16049. }
  16050. };
  16051. var IfcSoundPressureMeasure = class {
  16052. constructor(v) {
  16053. this.value = v;
  16054. }
  16055. };
  16056. var IfcSpecificHeatCapacityMeasure = class {
  16057. constructor(v) {
  16058. this.value = v;
  16059. }
  16060. };
  16061. var IfcSpecularExponent = class {
  16062. constructor(v) {
  16063. this.value = v;
  16064. }
  16065. };
  16066. var IfcSpecularRoughness = class {
  16067. constructor(v) {
  16068. this.value = v;
  16069. }
  16070. };
  16071. var IfcTemperatureGradientMeasure = class {
  16072. constructor(v) {
  16073. this.value = v;
  16074. }
  16075. };
  16076. var IfcTemperatureRateOfChangeMeasure = class {
  16077. constructor(v) {
  16078. this.value = v;
  16079. }
  16080. };
  16081. var IfcText = class {
  16082. constructor(v) {
  16083. this.value = v;
  16084. }
  16085. };
  16086. var IfcTextAlignment = class {
  16087. constructor(v) {
  16088. this.value = v;
  16089. }
  16090. };
  16091. var IfcTextDecoration = class {
  16092. constructor(v) {
  16093. this.value = v;
  16094. }
  16095. };
  16096. var IfcTextFontName = class {
  16097. constructor(v) {
  16098. this.value = v;
  16099. }
  16100. };
  16101. var IfcTextTransformation = class {
  16102. constructor(v) {
  16103. this.value = v;
  16104. }
  16105. };
  16106. var IfcThermalAdmittanceMeasure = class {
  16107. constructor(v) {
  16108. this.value = v;
  16109. }
  16110. };
  16111. var IfcThermalConductivityMeasure = class {
  16112. constructor(v) {
  16113. this.value = v;
  16114. }
  16115. };
  16116. var IfcThermalExpansionCoefficientMeasure = class {
  16117. constructor(v) {
  16118. this.value = v;
  16119. }
  16120. };
  16121. var IfcThermalResistanceMeasure = class {
  16122. constructor(v) {
  16123. this.value = v;
  16124. }
  16125. };
  16126. var IfcThermalTransmittanceMeasure = class {
  16127. constructor(v) {
  16128. this.value = v;
  16129. }
  16130. };
  16131. var IfcThermodynamicTemperatureMeasure = class {
  16132. constructor(v) {
  16133. this.value = v;
  16134. }
  16135. };
  16136. var IfcTime = class {
  16137. constructor(v) {
  16138. this.value = v;
  16139. }
  16140. };
  16141. var IfcTimeMeasure = class {
  16142. constructor(v) {
  16143. this.value = v;
  16144. }
  16145. };
  16146. var IfcTimeStamp = class {
  16147. constructor(v) {
  16148. this.value = v;
  16149. }
  16150. };
  16151. var IfcTorqueMeasure = class {
  16152. constructor(v) {
  16153. this.value = v;
  16154. }
  16155. };
  16156. var IfcURIReference = class {
  16157. constructor(v) {
  16158. this.value = v;
  16159. }
  16160. };
  16161. var IfcVaporPermeabilityMeasure = class {
  16162. constructor(v) {
  16163. this.value = v;
  16164. }
  16165. };
  16166. var IfcVolumeMeasure = class {
  16167. constructor(v) {
  16168. this.value = v;
  16169. }
  16170. };
  16171. var IfcVolumetricFlowRateMeasure = class {
  16172. constructor(v) {
  16173. this.value = v;
  16174. }
  16175. };
  16176. var IfcWarpingConstantMeasure = class {
  16177. constructor(v) {
  16178. this.value = v;
  16179. }
  16180. };
  16181. var IfcWarpingMomentMeasure = class {
  16182. constructor(v) {
  16183. this.value = v;
  16184. }
  16185. };
  16186. var IfcActionRequestTypeEnum = class {
  16187. constructor(v) {
  16188. this.value = v;
  16189. }
  16190. };
  16191. IfcActionRequestTypeEnum.EMAIL = "EMAIL";
  16192. IfcActionRequestTypeEnum.FAX = "FAX";
  16193. IfcActionRequestTypeEnum.PHONE = "PHONE";
  16194. IfcActionRequestTypeEnum.POST = "POST";
  16195. IfcActionRequestTypeEnum.VERBAL = "VERBAL";
  16196. IfcActionRequestTypeEnum.USERDEFINED = "USERDEFINED";
  16197. IfcActionRequestTypeEnum.NOTDEFINED = "NOTDEFINED";
  16198. var IfcActionSourceTypeEnum = class {
  16199. constructor(v) {
  16200. this.value = v;
  16201. }
  16202. };
  16203. IfcActionSourceTypeEnum.DEAD_LOAD_G = "DEAD_LOAD_G";
  16204. IfcActionSourceTypeEnum.COMPLETION_G1 = "COMPLETION_G1";
  16205. IfcActionSourceTypeEnum.LIVE_LOAD_Q = "LIVE_LOAD_Q";
  16206. IfcActionSourceTypeEnum.SNOW_S = "SNOW_S";
  16207. IfcActionSourceTypeEnum.WIND_W = "WIND_W";
  16208. IfcActionSourceTypeEnum.PRESTRESSING_P = "PRESTRESSING_P";
  16209. IfcActionSourceTypeEnum.SETTLEMENT_U = "SETTLEMENT_U";
  16210. IfcActionSourceTypeEnum.TEMPERATURE_T = "TEMPERATURE_T";
  16211. IfcActionSourceTypeEnum.EARTHQUAKE_E = "EARTHQUAKE_E";
  16212. IfcActionSourceTypeEnum.FIRE = "FIRE";
  16213. IfcActionSourceTypeEnum.IMPULSE = "IMPULSE";
  16214. IfcActionSourceTypeEnum.IMPACT = "IMPACT";
  16215. IfcActionSourceTypeEnum.TRANSPORT = "TRANSPORT";
  16216. IfcActionSourceTypeEnum.ERECTION = "ERECTION";
  16217. IfcActionSourceTypeEnum.PROPPING = "PROPPING";
  16218. IfcActionSourceTypeEnum.SYSTEM_IMPERFECTION = "SYSTEM_IMPERFECTION";
  16219. IfcActionSourceTypeEnum.SHRINKAGE = "SHRINKAGE";
  16220. IfcActionSourceTypeEnum.CREEP = "CREEP";
  16221. IfcActionSourceTypeEnum.LACK_OF_FIT = "LACK_OF_FIT";
  16222. IfcActionSourceTypeEnum.BUOYANCY = "BUOYANCY";
  16223. IfcActionSourceTypeEnum.ICE = "ICE";
  16224. IfcActionSourceTypeEnum.CURRENT = "CURRENT";
  16225. IfcActionSourceTypeEnum.WAVE = "WAVE";
  16226. IfcActionSourceTypeEnum.RAIN = "RAIN";
  16227. IfcActionSourceTypeEnum.BRAKES = "BRAKES";
  16228. IfcActionSourceTypeEnum.USERDEFINED = "USERDEFINED";
  16229. IfcActionSourceTypeEnum.NOTDEFINED = "NOTDEFINED";
  16230. var IfcActionTypeEnum = class {
  16231. constructor(v) {
  16232. this.value = v;
  16233. }
  16234. };
  16235. IfcActionTypeEnum.PERMANENT_G = "PERMANENT_G";
  16236. IfcActionTypeEnum.VARIABLE_Q = "VARIABLE_Q";
  16237. IfcActionTypeEnum.EXTRAORDINARY_A = "EXTRAORDINARY_A";
  16238. IfcActionTypeEnum.USERDEFINED = "USERDEFINED";
  16239. IfcActionTypeEnum.NOTDEFINED = "NOTDEFINED";
  16240. var IfcActuatorTypeEnum = class {
  16241. constructor(v) {
  16242. this.value = v;
  16243. }
  16244. };
  16245. IfcActuatorTypeEnum.ELECTRICACTUATOR = "ELECTRICACTUATOR";
  16246. IfcActuatorTypeEnum.HANDOPERATEDACTUATOR = "HANDOPERATEDACTUATOR";
  16247. IfcActuatorTypeEnum.HYDRAULICACTUATOR = "HYDRAULICACTUATOR";
  16248. IfcActuatorTypeEnum.PNEUMATICACTUATOR = "PNEUMATICACTUATOR";
  16249. IfcActuatorTypeEnum.THERMOSTATICACTUATOR = "THERMOSTATICACTUATOR";
  16250. IfcActuatorTypeEnum.USERDEFINED = "USERDEFINED";
  16251. IfcActuatorTypeEnum.NOTDEFINED = "NOTDEFINED";
  16252. var IfcAddressTypeEnum = class {
  16253. constructor(v) {
  16254. this.value = v;
  16255. }
  16256. };
  16257. IfcAddressTypeEnum.OFFICE = "OFFICE";
  16258. IfcAddressTypeEnum.SITE = "SITE";
  16259. IfcAddressTypeEnum.HOME = "HOME";
  16260. IfcAddressTypeEnum.DISTRIBUTIONPOINT = "DISTRIBUTIONPOINT";
  16261. IfcAddressTypeEnum.USERDEFINED = "USERDEFINED";
  16262. var IfcAirTerminalBoxTypeEnum = class {
  16263. constructor(v) {
  16264. this.value = v;
  16265. }
  16266. };
  16267. IfcAirTerminalBoxTypeEnum.CONSTANTFLOW = "CONSTANTFLOW";
  16268. IfcAirTerminalBoxTypeEnum.VARIABLEFLOWPRESSUREDEPENDANT = "VARIABLEFLOWPRESSUREDEPENDANT";
  16269. IfcAirTerminalBoxTypeEnum.VARIABLEFLOWPRESSUREINDEPENDANT = "VARIABLEFLOWPRESSUREINDEPENDANT";
  16270. IfcAirTerminalBoxTypeEnum.USERDEFINED = "USERDEFINED";
  16271. IfcAirTerminalBoxTypeEnum.NOTDEFINED = "NOTDEFINED";
  16272. var IfcAirTerminalTypeEnum = class {
  16273. constructor(v) {
  16274. this.value = v;
  16275. }
  16276. };
  16277. IfcAirTerminalTypeEnum.DIFFUSER = "DIFFUSER";
  16278. IfcAirTerminalTypeEnum.GRILLE = "GRILLE";
  16279. IfcAirTerminalTypeEnum.LOUVRE = "LOUVRE";
  16280. IfcAirTerminalTypeEnum.REGISTER = "REGISTER";
  16281. IfcAirTerminalTypeEnum.USERDEFINED = "USERDEFINED";
  16282. IfcAirTerminalTypeEnum.NOTDEFINED = "NOTDEFINED";
  16283. var IfcAirToAirHeatRecoveryTypeEnum = class {
  16284. constructor(v) {
  16285. this.value = v;
  16286. }
  16287. };
  16288. IfcAirToAirHeatRecoveryTypeEnum.FIXEDPLATECOUNTERFLOWEXCHANGER = "FIXEDPLATECOUNTERFLOWEXCHANGER";
  16289. IfcAirToAirHeatRecoveryTypeEnum.FIXEDPLATECROSSFLOWEXCHANGER = "FIXEDPLATECROSSFLOWEXCHANGER";
  16290. IfcAirToAirHeatRecoveryTypeEnum.FIXEDPLATEPARALLELFLOWEXCHANGER = "FIXEDPLATEPARALLELFLOWEXCHANGER";
  16291. IfcAirToAirHeatRecoveryTypeEnum.ROTARYWHEEL = "ROTARYWHEEL";
  16292. IfcAirToAirHeatRecoveryTypeEnum.RUNAROUNDCOILLOOP = "RUNAROUNDCOILLOOP";
  16293. IfcAirToAirHeatRecoveryTypeEnum.HEATPIPE = "HEATPIPE";
  16294. IfcAirToAirHeatRecoveryTypeEnum.TWINTOWERENTHALPYRECOVERYLOOPS = "TWINTOWERENTHALPYRECOVERYLOOPS";
  16295. IfcAirToAirHeatRecoveryTypeEnum.THERMOSIPHONSEALEDTUBEHEATEXCHANGERS = "THERMOSIPHONSEALEDTUBEHEATEXCHANGERS";
  16296. IfcAirToAirHeatRecoveryTypeEnum.THERMOSIPHONCOILTYPEHEATEXCHANGERS = "THERMOSIPHONCOILTYPEHEATEXCHANGERS";
  16297. IfcAirToAirHeatRecoveryTypeEnum.USERDEFINED = "USERDEFINED";
  16298. IfcAirToAirHeatRecoveryTypeEnum.NOTDEFINED = "NOTDEFINED";
  16299. var IfcAlarmTypeEnum = class {
  16300. constructor(v) {
  16301. this.value = v;
  16302. }
  16303. };
  16304. IfcAlarmTypeEnum.BELL = "BELL";
  16305. IfcAlarmTypeEnum.BREAKGLASSBUTTON = "BREAKGLASSBUTTON";
  16306. IfcAlarmTypeEnum.LIGHT = "LIGHT";
  16307. IfcAlarmTypeEnum.MANUALPULLBOX = "MANUALPULLBOX";
  16308. IfcAlarmTypeEnum.SIREN = "SIREN";
  16309. IfcAlarmTypeEnum.WHISTLE = "WHISTLE";
  16310. IfcAlarmTypeEnum.USERDEFINED = "USERDEFINED";
  16311. IfcAlarmTypeEnum.NOTDEFINED = "NOTDEFINED";
  16312. var IfcAlignmentTypeEnum = class {
  16313. constructor(v) {
  16314. this.value = v;
  16315. }
  16316. };
  16317. IfcAlignmentTypeEnum.USERDEFINED = "USERDEFINED";
  16318. IfcAlignmentTypeEnum.NOTDEFINED = "NOTDEFINED";
  16319. var IfcAnalysisModelTypeEnum = class {
  16320. constructor(v) {
  16321. this.value = v;
  16322. }
  16323. };
  16324. IfcAnalysisModelTypeEnum.IN_PLANE_LOADING_2D = "IN_PLANE_LOADING_2D";
  16325. IfcAnalysisModelTypeEnum.OUT_PLANE_LOADING_2D = "OUT_PLANE_LOADING_2D";
  16326. IfcAnalysisModelTypeEnum.LOADING_3D = "LOADING_3D";
  16327. IfcAnalysisModelTypeEnum.USERDEFINED = "USERDEFINED";
  16328. IfcAnalysisModelTypeEnum.NOTDEFINED = "NOTDEFINED";
  16329. var IfcAnalysisTheoryTypeEnum = class {
  16330. constructor(v) {
  16331. this.value = v;
  16332. }
  16333. };
  16334. IfcAnalysisTheoryTypeEnum.FIRST_ORDER_THEORY = "FIRST_ORDER_THEORY";
  16335. IfcAnalysisTheoryTypeEnum.SECOND_ORDER_THEORY = "SECOND_ORDER_THEORY";
  16336. IfcAnalysisTheoryTypeEnum.THIRD_ORDER_THEORY = "THIRD_ORDER_THEORY";
  16337. IfcAnalysisTheoryTypeEnum.FULL_NONLINEAR_THEORY = "FULL_NONLINEAR_THEORY";
  16338. IfcAnalysisTheoryTypeEnum.USERDEFINED = "USERDEFINED";
  16339. IfcAnalysisTheoryTypeEnum.NOTDEFINED = "NOTDEFINED";
  16340. var IfcArithmeticOperatorEnum = class {
  16341. constructor(v) {
  16342. this.value = v;
  16343. }
  16344. };
  16345. IfcArithmeticOperatorEnum.ADD = "ADD";
  16346. IfcArithmeticOperatorEnum.DIVIDE = "DIVIDE";
  16347. IfcArithmeticOperatorEnum.MULTIPLY = "MULTIPLY";
  16348. IfcArithmeticOperatorEnum.SUBTRACT = "SUBTRACT";
  16349. var IfcAssemblyPlaceEnum = class {
  16350. constructor(v) {
  16351. this.value = v;
  16352. }
  16353. };
  16354. IfcAssemblyPlaceEnum.SITE = "SITE";
  16355. IfcAssemblyPlaceEnum.FACTORY = "FACTORY";
  16356. IfcAssemblyPlaceEnum.NOTDEFINED = "NOTDEFINED";
  16357. var IfcAudioVisualApplianceTypeEnum = class {
  16358. constructor(v) {
  16359. this.value = v;
  16360. }
  16361. };
  16362. IfcAudioVisualApplianceTypeEnum.AMPLIFIER = "AMPLIFIER";
  16363. IfcAudioVisualApplianceTypeEnum.CAMERA = "CAMERA";
  16364. IfcAudioVisualApplianceTypeEnum.DISPLAY = "DISPLAY";
  16365. IfcAudioVisualApplianceTypeEnum.MICROPHONE = "MICROPHONE";
  16366. IfcAudioVisualApplianceTypeEnum.PLAYER = "PLAYER";
  16367. IfcAudioVisualApplianceTypeEnum.PROJECTOR = "PROJECTOR";
  16368. IfcAudioVisualApplianceTypeEnum.RECEIVER = "RECEIVER";
  16369. IfcAudioVisualApplianceTypeEnum.SPEAKER = "SPEAKER";
  16370. IfcAudioVisualApplianceTypeEnum.SWITCHER = "SWITCHER";
  16371. IfcAudioVisualApplianceTypeEnum.TELEPHONE = "TELEPHONE";
  16372. IfcAudioVisualApplianceTypeEnum.TUNER = "TUNER";
  16373. IfcAudioVisualApplianceTypeEnum.USERDEFINED = "USERDEFINED";
  16374. IfcAudioVisualApplianceTypeEnum.NOTDEFINED = "NOTDEFINED";
  16375. var IfcBSplineCurveForm = class {
  16376. constructor(v) {
  16377. this.value = v;
  16378. }
  16379. };
  16380. IfcBSplineCurveForm.POLYLINE_FORM = "POLYLINE_FORM";
  16381. IfcBSplineCurveForm.CIRCULAR_ARC = "CIRCULAR_ARC";
  16382. IfcBSplineCurveForm.ELLIPTIC_ARC = "ELLIPTIC_ARC";
  16383. IfcBSplineCurveForm.PARABOLIC_ARC = "PARABOLIC_ARC";
  16384. IfcBSplineCurveForm.HYPERBOLIC_ARC = "HYPERBOLIC_ARC";
  16385. IfcBSplineCurveForm.UNSPECIFIED = "UNSPECIFIED";
  16386. var IfcBSplineSurfaceForm = class {
  16387. constructor(v) {
  16388. this.value = v;
  16389. }
  16390. };
  16391. IfcBSplineSurfaceForm.PLANE_SURF = "PLANE_SURF";
  16392. IfcBSplineSurfaceForm.CYLINDRICAL_SURF = "CYLINDRICAL_SURF";
  16393. IfcBSplineSurfaceForm.CONICAL_SURF = "CONICAL_SURF";
  16394. IfcBSplineSurfaceForm.SPHERICAL_SURF = "SPHERICAL_SURF";
  16395. IfcBSplineSurfaceForm.TOROIDAL_SURF = "TOROIDAL_SURF";
  16396. IfcBSplineSurfaceForm.SURF_OF_REVOLUTION = "SURF_OF_REVOLUTION";
  16397. IfcBSplineSurfaceForm.RULED_SURF = "RULED_SURF";
  16398. IfcBSplineSurfaceForm.GENERALISED_CONE = "GENERALISED_CONE";
  16399. IfcBSplineSurfaceForm.QUADRIC_SURF = "QUADRIC_SURF";
  16400. IfcBSplineSurfaceForm.SURF_OF_LINEAR_EXTRUSION = "SURF_OF_LINEAR_EXTRUSION";
  16401. IfcBSplineSurfaceForm.UNSPECIFIED = "UNSPECIFIED";
  16402. var IfcBeamTypeEnum = class {
  16403. constructor(v) {
  16404. this.value = v;
  16405. }
  16406. };
  16407. IfcBeamTypeEnum.BEAM = "BEAM";
  16408. IfcBeamTypeEnum.JOIST = "JOIST";
  16409. IfcBeamTypeEnum.HOLLOWCORE = "HOLLOWCORE";
  16410. IfcBeamTypeEnum.LINTEL = "LINTEL";
  16411. IfcBeamTypeEnum.SPANDREL = "SPANDREL";
  16412. IfcBeamTypeEnum.T_BEAM = "T_BEAM";
  16413. IfcBeamTypeEnum.GIRDER_SEGMENT = "GIRDER_SEGMENT";
  16414. IfcBeamTypeEnum.DIAPHRAGM = "DIAPHRAGM";
  16415. IfcBeamTypeEnum.PIERCAP = "PIERCAP";
  16416. IfcBeamTypeEnum.HATSTONE = "HATSTONE";
  16417. IfcBeamTypeEnum.CORNICE = "CORNICE";
  16418. IfcBeamTypeEnum.EDGEBEAM = "EDGEBEAM";
  16419. IfcBeamTypeEnum.USERDEFINED = "USERDEFINED";
  16420. IfcBeamTypeEnum.NOTDEFINED = "NOTDEFINED";
  16421. var IfcBearingTypeDisplacementEnum = class {
  16422. constructor(v) {
  16423. this.value = v;
  16424. }
  16425. };
  16426. IfcBearingTypeDisplacementEnum.FIXED_MOVEMENT = "FIXED_MOVEMENT";
  16427. IfcBearingTypeDisplacementEnum.GUIDED_LONGITUDINAL = "GUIDED_LONGITUDINAL";
  16428. IfcBearingTypeDisplacementEnum.GUIDED_TRANSVERSAL = "GUIDED_TRANSVERSAL";
  16429. IfcBearingTypeDisplacementEnum.FREE_MOVEMENT = "FREE_MOVEMENT";
  16430. IfcBearingTypeDisplacementEnum.NOTDEFINED = "NOTDEFINED";
  16431. var IfcBearingTypeEnum = class {
  16432. constructor(v) {
  16433. this.value = v;
  16434. }
  16435. };
  16436. IfcBearingTypeEnum.CYLINDRICAL = "CYLINDRICAL";
  16437. IfcBearingTypeEnum.SPHERICAL = "SPHERICAL";
  16438. IfcBearingTypeEnum.ELASTOMERIC = "ELASTOMERIC";
  16439. IfcBearingTypeEnum.POT = "POT";
  16440. IfcBearingTypeEnum.GUIDE = "GUIDE";
  16441. IfcBearingTypeEnum.ROCKER = "ROCKER";
  16442. IfcBearingTypeEnum.ROLLER = "ROLLER";
  16443. IfcBearingTypeEnum.DISK = "DISK";
  16444. IfcBearingTypeEnum.USERDEFINED = "USERDEFINED";
  16445. IfcBearingTypeEnum.NOTDEFINED = "NOTDEFINED";
  16446. var IfcBenchmarkEnum = class {
  16447. constructor(v) {
  16448. this.value = v;
  16449. }
  16450. };
  16451. IfcBenchmarkEnum.GREATERTHAN = "GREATERTHAN";
  16452. IfcBenchmarkEnum.GREATERTHANOREQUALTO = "GREATERTHANOREQUALTO";
  16453. IfcBenchmarkEnum.LESSTHAN = "LESSTHAN";
  16454. IfcBenchmarkEnum.LESSTHANOREQUALTO = "LESSTHANOREQUALTO";
  16455. IfcBenchmarkEnum.EQUALTO = "EQUALTO";
  16456. IfcBenchmarkEnum.NOTEQUALTO = "NOTEQUALTO";
  16457. IfcBenchmarkEnum.INCLUDES = "INCLUDES";
  16458. IfcBenchmarkEnum.NOTINCLUDES = "NOTINCLUDES";
  16459. IfcBenchmarkEnum.INCLUDEDIN = "INCLUDEDIN";
  16460. IfcBenchmarkEnum.NOTINCLUDEDIN = "NOTINCLUDEDIN";
  16461. var IfcBoilerTypeEnum = class {
  16462. constructor(v) {
  16463. this.value = v;
  16464. }
  16465. };
  16466. IfcBoilerTypeEnum.WATER = "WATER";
  16467. IfcBoilerTypeEnum.STEAM = "STEAM";
  16468. IfcBoilerTypeEnum.USERDEFINED = "USERDEFINED";
  16469. IfcBoilerTypeEnum.NOTDEFINED = "NOTDEFINED";
  16470. var IfcBooleanOperator = class {
  16471. constructor(v) {
  16472. this.value = v;
  16473. }
  16474. };
  16475. IfcBooleanOperator.UNION = "UNION";
  16476. IfcBooleanOperator.INTERSECTION = "INTERSECTION";
  16477. IfcBooleanOperator.DIFFERENCE = "DIFFERENCE";
  16478. var IfcBridgePartTypeEnum = class {
  16479. constructor(v) {
  16480. this.value = v;
  16481. }
  16482. };
  16483. IfcBridgePartTypeEnum.ABUTMENT = "ABUTMENT";
  16484. IfcBridgePartTypeEnum.DECK = "DECK";
  16485. IfcBridgePartTypeEnum.DECK_SEGMENT = "DECK_SEGMENT";
  16486. IfcBridgePartTypeEnum.FOUNDATION = "FOUNDATION";
  16487. IfcBridgePartTypeEnum.PIER = "PIER";
  16488. IfcBridgePartTypeEnum.PIER_SEGMENT = "PIER_SEGMENT";
  16489. IfcBridgePartTypeEnum.PYLON = "PYLON";
  16490. IfcBridgePartTypeEnum.SUBSTRUCTURE = "SUBSTRUCTURE";
  16491. IfcBridgePartTypeEnum.SUPERSTRUCTURE = "SUPERSTRUCTURE";
  16492. IfcBridgePartTypeEnum.SURFACESTRUCTURE = "SURFACESTRUCTURE";
  16493. IfcBridgePartTypeEnum.USERDEFINED = "USERDEFINED";
  16494. IfcBridgePartTypeEnum.NOTDEFINED = "NOTDEFINED";
  16495. var IfcBridgeTypeEnum = class {
  16496. constructor(v) {
  16497. this.value = v;
  16498. }
  16499. };
  16500. IfcBridgeTypeEnum.ARCHED = "ARCHED";
  16501. IfcBridgeTypeEnum.CABLE_STAYED = "CABLE_STAYED";
  16502. IfcBridgeTypeEnum.CANTILEVER = "CANTILEVER";
  16503. IfcBridgeTypeEnum.CULVERT = "CULVERT";
  16504. IfcBridgeTypeEnum.FRAMEWORK = "FRAMEWORK";
  16505. IfcBridgeTypeEnum.GIRDER = "GIRDER";
  16506. IfcBridgeTypeEnum.SUSPENSION = "SUSPENSION";
  16507. IfcBridgeTypeEnum.TRUSS = "TRUSS";
  16508. IfcBridgeTypeEnum.USERDEFINED = "USERDEFINED";
  16509. IfcBridgeTypeEnum.NOTDEFINED = "NOTDEFINED";
  16510. var IfcBuildingElementPartTypeEnum = class {
  16511. constructor(v) {
  16512. this.value = v;
  16513. }
  16514. };
  16515. IfcBuildingElementPartTypeEnum.INSULATION = "INSULATION";
  16516. IfcBuildingElementPartTypeEnum.PRECASTPANEL = "PRECASTPANEL";
  16517. IfcBuildingElementPartTypeEnum.APRON = "APRON";
  16518. IfcBuildingElementPartTypeEnum.USERDEFINED = "USERDEFINED";
  16519. IfcBuildingElementPartTypeEnum.NOTDEFINED = "NOTDEFINED";
  16520. var IfcBuildingElementProxyTypeEnum = class {
  16521. constructor(v) {
  16522. this.value = v;
  16523. }
  16524. };
  16525. IfcBuildingElementProxyTypeEnum.COMPLEX = "COMPLEX";
  16526. IfcBuildingElementProxyTypeEnum.ELEMENT = "ELEMENT";
  16527. IfcBuildingElementProxyTypeEnum.PARTIAL = "PARTIAL";
  16528. IfcBuildingElementProxyTypeEnum.PROVISIONFORVOID = "PROVISIONFORVOID";
  16529. IfcBuildingElementProxyTypeEnum.PROVISIONFORSPACE = "PROVISIONFORSPACE";
  16530. IfcBuildingElementProxyTypeEnum.USERDEFINED = "USERDEFINED";
  16531. IfcBuildingElementProxyTypeEnum.NOTDEFINED = "NOTDEFINED";
  16532. var IfcBuildingSystemTypeEnum = class {
  16533. constructor(v) {
  16534. this.value = v;
  16535. }
  16536. };
  16537. IfcBuildingSystemTypeEnum.FENESTRATION = "FENESTRATION";
  16538. IfcBuildingSystemTypeEnum.FOUNDATION = "FOUNDATION";
  16539. IfcBuildingSystemTypeEnum.LOADBEARING = "LOADBEARING";
  16540. IfcBuildingSystemTypeEnum.OUTERSHELL = "OUTERSHELL";
  16541. IfcBuildingSystemTypeEnum.SHADING = "SHADING";
  16542. IfcBuildingSystemTypeEnum.TRANSPORT = "TRANSPORT";
  16543. IfcBuildingSystemTypeEnum.REINFORCING = "REINFORCING";
  16544. IfcBuildingSystemTypeEnum.PRESTRESSING = "PRESTRESSING";
  16545. IfcBuildingSystemTypeEnum.USERDEFINED = "USERDEFINED";
  16546. IfcBuildingSystemTypeEnum.NOTDEFINED = "NOTDEFINED";
  16547. var IfcBurnerTypeEnum = class {
  16548. constructor(v) {
  16549. this.value = v;
  16550. }
  16551. };
  16552. IfcBurnerTypeEnum.USERDEFINED = "USERDEFINED";
  16553. IfcBurnerTypeEnum.NOTDEFINED = "NOTDEFINED";
  16554. var IfcCableCarrierFittingTypeEnum = class {
  16555. constructor(v) {
  16556. this.value = v;
  16557. }
  16558. };
  16559. IfcCableCarrierFittingTypeEnum.BEND = "BEND";
  16560. IfcCableCarrierFittingTypeEnum.CROSS = "CROSS";
  16561. IfcCableCarrierFittingTypeEnum.REDUCER = "REDUCER";
  16562. IfcCableCarrierFittingTypeEnum.TEE = "TEE";
  16563. IfcCableCarrierFittingTypeEnum.USERDEFINED = "USERDEFINED";
  16564. IfcCableCarrierFittingTypeEnum.NOTDEFINED = "NOTDEFINED";
  16565. var IfcCableCarrierSegmentTypeEnum = class {
  16566. constructor(v) {
  16567. this.value = v;
  16568. }
  16569. };
  16570. IfcCableCarrierSegmentTypeEnum.CABLELADDERSEGMENT = "CABLELADDERSEGMENT";
  16571. IfcCableCarrierSegmentTypeEnum.CABLETRAYSEGMENT = "CABLETRAYSEGMENT";
  16572. IfcCableCarrierSegmentTypeEnum.CABLETRUNKINGSEGMENT = "CABLETRUNKINGSEGMENT";
  16573. IfcCableCarrierSegmentTypeEnum.CONDUITSEGMENT = "CONDUITSEGMENT";
  16574. IfcCableCarrierSegmentTypeEnum.USERDEFINED = "USERDEFINED";
  16575. IfcCableCarrierSegmentTypeEnum.NOTDEFINED = "NOTDEFINED";
  16576. var IfcCableFittingTypeEnum = class {
  16577. constructor(v) {
  16578. this.value = v;
  16579. }
  16580. };
  16581. IfcCableFittingTypeEnum.CONNECTOR = "CONNECTOR";
  16582. IfcCableFittingTypeEnum.ENTRY = "ENTRY";
  16583. IfcCableFittingTypeEnum.EXIT = "EXIT";
  16584. IfcCableFittingTypeEnum.JUNCTION = "JUNCTION";
  16585. IfcCableFittingTypeEnum.TRANSITION = "TRANSITION";
  16586. IfcCableFittingTypeEnum.USERDEFINED = "USERDEFINED";
  16587. IfcCableFittingTypeEnum.NOTDEFINED = "NOTDEFINED";
  16588. var IfcCableSegmentTypeEnum = class {
  16589. constructor(v) {
  16590. this.value = v;
  16591. }
  16592. };
  16593. IfcCableSegmentTypeEnum.BUSBARSEGMENT = "BUSBARSEGMENT";
  16594. IfcCableSegmentTypeEnum.CABLESEGMENT = "CABLESEGMENT";
  16595. IfcCableSegmentTypeEnum.CONDUCTORSEGMENT = "CONDUCTORSEGMENT";
  16596. IfcCableSegmentTypeEnum.CORESEGMENT = "CORESEGMENT";
  16597. IfcCableSegmentTypeEnum.USERDEFINED = "USERDEFINED";
  16598. IfcCableSegmentTypeEnum.NOTDEFINED = "NOTDEFINED";
  16599. var IfcCaissonFoundationTypeEnum = class {
  16600. constructor(v) {
  16601. this.value = v;
  16602. }
  16603. };
  16604. IfcCaissonFoundationTypeEnum.WELL = "WELL";
  16605. IfcCaissonFoundationTypeEnum.CAISSON = "CAISSON";
  16606. IfcCaissonFoundationTypeEnum.USERDEFINED = "USERDEFINED";
  16607. IfcCaissonFoundationTypeEnum.NOTDEFINED = "NOTDEFINED";
  16608. var IfcChangeActionEnum = class {
  16609. constructor(v) {
  16610. this.value = v;
  16611. }
  16612. };
  16613. IfcChangeActionEnum.NOCHANGE = "NOCHANGE";
  16614. IfcChangeActionEnum.MODIFIED = "MODIFIED";
  16615. IfcChangeActionEnum.ADDED = "ADDED";
  16616. IfcChangeActionEnum.DELETED = "DELETED";
  16617. IfcChangeActionEnum.NOTDEFINED = "NOTDEFINED";
  16618. var IfcChillerTypeEnum = class {
  16619. constructor(v) {
  16620. this.value = v;
  16621. }
  16622. };
  16623. IfcChillerTypeEnum.AIRCOOLED = "AIRCOOLED";
  16624. IfcChillerTypeEnum.WATERCOOLED = "WATERCOOLED";
  16625. IfcChillerTypeEnum.HEATRECOVERY = "HEATRECOVERY";
  16626. IfcChillerTypeEnum.USERDEFINED = "USERDEFINED";
  16627. IfcChillerTypeEnum.NOTDEFINED = "NOTDEFINED";
  16628. var IfcChimneyTypeEnum = class {
  16629. constructor(v) {
  16630. this.value = v;
  16631. }
  16632. };
  16633. IfcChimneyTypeEnum.USERDEFINED = "USERDEFINED";
  16634. IfcChimneyTypeEnum.NOTDEFINED = "NOTDEFINED";
  16635. var IfcCoilTypeEnum = class {
  16636. constructor(v) {
  16637. this.value = v;
  16638. }
  16639. };
  16640. IfcCoilTypeEnum.DXCOOLINGCOIL = "DXCOOLINGCOIL";
  16641. IfcCoilTypeEnum.ELECTRICHEATINGCOIL = "ELECTRICHEATINGCOIL";
  16642. IfcCoilTypeEnum.GASHEATINGCOIL = "GASHEATINGCOIL";
  16643. IfcCoilTypeEnum.HYDRONICCOIL = "HYDRONICCOIL";
  16644. IfcCoilTypeEnum.STEAMHEATINGCOIL = "STEAMHEATINGCOIL";
  16645. IfcCoilTypeEnum.WATERCOOLINGCOIL = "WATERCOOLINGCOIL";
  16646. IfcCoilTypeEnum.WATERHEATINGCOIL = "WATERHEATINGCOIL";
  16647. IfcCoilTypeEnum.USERDEFINED = "USERDEFINED";
  16648. IfcCoilTypeEnum.NOTDEFINED = "NOTDEFINED";
  16649. var IfcColumnTypeEnum = class {
  16650. constructor(v) {
  16651. this.value = v;
  16652. }
  16653. };
  16654. IfcColumnTypeEnum.COLUMN = "COLUMN";
  16655. IfcColumnTypeEnum.PILASTER = "PILASTER";
  16656. IfcColumnTypeEnum.PIERSTEM = "PIERSTEM";
  16657. IfcColumnTypeEnum.PIERSTEM_SEGMENT = "PIERSTEM_SEGMENT";
  16658. IfcColumnTypeEnum.STANDCOLUMN = "STANDCOLUMN";
  16659. IfcColumnTypeEnum.USERDEFINED = "USERDEFINED";
  16660. IfcColumnTypeEnum.NOTDEFINED = "NOTDEFINED";
  16661. var IfcCommunicationsApplianceTypeEnum = class {
  16662. constructor(v) {
  16663. this.value = v;
  16664. }
  16665. };
  16666. IfcCommunicationsApplianceTypeEnum.ANTENNA = "ANTENNA";
  16667. IfcCommunicationsApplianceTypeEnum.COMPUTER = "COMPUTER";
  16668. IfcCommunicationsApplianceTypeEnum.FAX = "FAX";
  16669. IfcCommunicationsApplianceTypeEnum.GATEWAY = "GATEWAY";
  16670. IfcCommunicationsApplianceTypeEnum.MODEM = "MODEM";
  16671. IfcCommunicationsApplianceTypeEnum.NETWORKAPPLIANCE = "NETWORKAPPLIANCE";
  16672. IfcCommunicationsApplianceTypeEnum.NETWORKBRIDGE = "NETWORKBRIDGE";
  16673. IfcCommunicationsApplianceTypeEnum.NETWORKHUB = "NETWORKHUB";
  16674. IfcCommunicationsApplianceTypeEnum.PRINTER = "PRINTER";
  16675. IfcCommunicationsApplianceTypeEnum.REPEATER = "REPEATER";
  16676. IfcCommunicationsApplianceTypeEnum.ROUTER = "ROUTER";
  16677. IfcCommunicationsApplianceTypeEnum.SCANNER = "SCANNER";
  16678. IfcCommunicationsApplianceTypeEnum.USERDEFINED = "USERDEFINED";
  16679. IfcCommunicationsApplianceTypeEnum.NOTDEFINED = "NOTDEFINED";
  16680. var IfcComplexPropertyTemplateTypeEnum = class {
  16681. constructor(v) {
  16682. this.value = v;
  16683. }
  16684. };
  16685. IfcComplexPropertyTemplateTypeEnum.P_COMPLEX = "P_COMPLEX";
  16686. IfcComplexPropertyTemplateTypeEnum.Q_COMPLEX = "Q_COMPLEX";
  16687. var IfcCompressorTypeEnum = class {
  16688. constructor(v) {
  16689. this.value = v;
  16690. }
  16691. };
  16692. IfcCompressorTypeEnum.DYNAMIC = "DYNAMIC";
  16693. IfcCompressorTypeEnum.RECIPROCATING = "RECIPROCATING";
  16694. IfcCompressorTypeEnum.ROTARY = "ROTARY";
  16695. IfcCompressorTypeEnum.SCROLL = "SCROLL";
  16696. IfcCompressorTypeEnum.TROCHOIDAL = "TROCHOIDAL";
  16697. IfcCompressorTypeEnum.SINGLESTAGE = "SINGLESTAGE";
  16698. IfcCompressorTypeEnum.BOOSTER = "BOOSTER";
  16699. IfcCompressorTypeEnum.OPENTYPE = "OPENTYPE";
  16700. IfcCompressorTypeEnum.HERMETIC = "HERMETIC";
  16701. IfcCompressorTypeEnum.SEMIHERMETIC = "SEMIHERMETIC";
  16702. IfcCompressorTypeEnum.WELDEDSHELLHERMETIC = "WELDEDSHELLHERMETIC";
  16703. IfcCompressorTypeEnum.ROLLINGPISTON = "ROLLINGPISTON";
  16704. IfcCompressorTypeEnum.ROTARYVANE = "ROTARYVANE";
  16705. IfcCompressorTypeEnum.SINGLESCREW = "SINGLESCREW";
  16706. IfcCompressorTypeEnum.TWINSCREW = "TWINSCREW";
  16707. IfcCompressorTypeEnum.USERDEFINED = "USERDEFINED";
  16708. IfcCompressorTypeEnum.NOTDEFINED = "NOTDEFINED";
  16709. var IfcCondenserTypeEnum = class {
  16710. constructor(v) {
  16711. this.value = v;
  16712. }
  16713. };
  16714. IfcCondenserTypeEnum.AIRCOOLED = "AIRCOOLED";
  16715. IfcCondenserTypeEnum.EVAPORATIVECOOLED = "EVAPORATIVECOOLED";
  16716. IfcCondenserTypeEnum.WATERCOOLED = "WATERCOOLED";
  16717. IfcCondenserTypeEnum.WATERCOOLEDBRAZEDPLATE = "WATERCOOLEDBRAZEDPLATE";
  16718. IfcCondenserTypeEnum.WATERCOOLEDSHELLCOIL = "WATERCOOLEDSHELLCOIL";
  16719. IfcCondenserTypeEnum.WATERCOOLEDSHELLTUBE = "WATERCOOLEDSHELLTUBE";
  16720. IfcCondenserTypeEnum.WATERCOOLEDTUBEINTUBE = "WATERCOOLEDTUBEINTUBE";
  16721. IfcCondenserTypeEnum.USERDEFINED = "USERDEFINED";
  16722. IfcCondenserTypeEnum.NOTDEFINED = "NOTDEFINED";
  16723. var IfcConnectionTypeEnum = class {
  16724. constructor(v) {
  16725. this.value = v;
  16726. }
  16727. };
  16728. IfcConnectionTypeEnum.ATPATH = "ATPATH";
  16729. IfcConnectionTypeEnum.ATSTART = "ATSTART";
  16730. IfcConnectionTypeEnum.ATEND = "ATEND";
  16731. IfcConnectionTypeEnum.NOTDEFINED = "NOTDEFINED";
  16732. var IfcConstraintEnum = class {
  16733. constructor(v) {
  16734. this.value = v;
  16735. }
  16736. };
  16737. IfcConstraintEnum.HARD = "HARD";
  16738. IfcConstraintEnum.SOFT = "SOFT";
  16739. IfcConstraintEnum.ADVISORY = "ADVISORY";
  16740. IfcConstraintEnum.USERDEFINED = "USERDEFINED";
  16741. IfcConstraintEnum.NOTDEFINED = "NOTDEFINED";
  16742. var IfcConstructionEquipmentResourceTypeEnum = class {
  16743. constructor(v) {
  16744. this.value = v;
  16745. }
  16746. };
  16747. IfcConstructionEquipmentResourceTypeEnum.DEMOLISHING = "DEMOLISHING";
  16748. IfcConstructionEquipmentResourceTypeEnum.EARTHMOVING = "EARTHMOVING";
  16749. IfcConstructionEquipmentResourceTypeEnum.ERECTING = "ERECTING";
  16750. IfcConstructionEquipmentResourceTypeEnum.HEATING = "HEATING";
  16751. IfcConstructionEquipmentResourceTypeEnum.LIGHTING = "LIGHTING";
  16752. IfcConstructionEquipmentResourceTypeEnum.PAVING = "PAVING";
  16753. IfcConstructionEquipmentResourceTypeEnum.PUMPING = "PUMPING";
  16754. IfcConstructionEquipmentResourceTypeEnum.TRANSPORTING = "TRANSPORTING";
  16755. IfcConstructionEquipmentResourceTypeEnum.USERDEFINED = "USERDEFINED";
  16756. IfcConstructionEquipmentResourceTypeEnum.NOTDEFINED = "NOTDEFINED";
  16757. var IfcConstructionMaterialResourceTypeEnum = class {
  16758. constructor(v) {
  16759. this.value = v;
  16760. }
  16761. };
  16762. IfcConstructionMaterialResourceTypeEnum.AGGREGATES = "AGGREGATES";
  16763. IfcConstructionMaterialResourceTypeEnum.CONCRETE = "CONCRETE";
  16764. IfcConstructionMaterialResourceTypeEnum.DRYWALL = "DRYWALL";
  16765. IfcConstructionMaterialResourceTypeEnum.FUEL = "FUEL";
  16766. IfcConstructionMaterialResourceTypeEnum.GYPSUM = "GYPSUM";
  16767. IfcConstructionMaterialResourceTypeEnum.MASONRY = "MASONRY";
  16768. IfcConstructionMaterialResourceTypeEnum.METAL = "METAL";
  16769. IfcConstructionMaterialResourceTypeEnum.PLASTIC = "PLASTIC";
  16770. IfcConstructionMaterialResourceTypeEnum.WOOD = "WOOD";
  16771. IfcConstructionMaterialResourceTypeEnum.NOTDEFINED = "NOTDEFINED";
  16772. IfcConstructionMaterialResourceTypeEnum.USERDEFINED = "USERDEFINED";
  16773. var IfcConstructionProductResourceTypeEnum = class {
  16774. constructor(v) {
  16775. this.value = v;
  16776. }
  16777. };
  16778. IfcConstructionProductResourceTypeEnum.ASSEMBLY = "ASSEMBLY";
  16779. IfcConstructionProductResourceTypeEnum.FORMWORK = "FORMWORK";
  16780. IfcConstructionProductResourceTypeEnum.USERDEFINED = "USERDEFINED";
  16781. IfcConstructionProductResourceTypeEnum.NOTDEFINED = "NOTDEFINED";
  16782. var IfcControllerTypeEnum = class {
  16783. constructor(v) {
  16784. this.value = v;
  16785. }
  16786. };
  16787. IfcControllerTypeEnum.FLOATING = "FLOATING";
  16788. IfcControllerTypeEnum.PROGRAMMABLE = "PROGRAMMABLE";
  16789. IfcControllerTypeEnum.PROPORTIONAL = "PROPORTIONAL";
  16790. IfcControllerTypeEnum.MULTIPOSITION = "MULTIPOSITION";
  16791. IfcControllerTypeEnum.TWOPOSITION = "TWOPOSITION";
  16792. IfcControllerTypeEnum.USERDEFINED = "USERDEFINED";
  16793. IfcControllerTypeEnum.NOTDEFINED = "NOTDEFINED";
  16794. var IfcCooledBeamTypeEnum = class {
  16795. constructor(v) {
  16796. this.value = v;
  16797. }
  16798. };
  16799. IfcCooledBeamTypeEnum.ACTIVE = "ACTIVE";
  16800. IfcCooledBeamTypeEnum.PASSIVE = "PASSIVE";
  16801. IfcCooledBeamTypeEnum.USERDEFINED = "USERDEFINED";
  16802. IfcCooledBeamTypeEnum.NOTDEFINED = "NOTDEFINED";
  16803. var IfcCoolingTowerTypeEnum = class {
  16804. constructor(v) {
  16805. this.value = v;
  16806. }
  16807. };
  16808. IfcCoolingTowerTypeEnum.NATURALDRAFT = "NATURALDRAFT";
  16809. IfcCoolingTowerTypeEnum.MECHANICALINDUCEDDRAFT = "MECHANICALINDUCEDDRAFT";
  16810. IfcCoolingTowerTypeEnum.MECHANICALFORCEDDRAFT = "MECHANICALFORCEDDRAFT";
  16811. IfcCoolingTowerTypeEnum.USERDEFINED = "USERDEFINED";
  16812. IfcCoolingTowerTypeEnum.NOTDEFINED = "NOTDEFINED";
  16813. var IfcCostItemTypeEnum = class {
  16814. constructor(v) {
  16815. this.value = v;
  16816. }
  16817. };
  16818. IfcCostItemTypeEnum.USERDEFINED = "USERDEFINED";
  16819. IfcCostItemTypeEnum.NOTDEFINED = "NOTDEFINED";
  16820. var IfcCostScheduleTypeEnum = class {
  16821. constructor(v) {
  16822. this.value = v;
  16823. }
  16824. };
  16825. IfcCostScheduleTypeEnum.BUDGET = "BUDGET";
  16826. IfcCostScheduleTypeEnum.COSTPLAN = "COSTPLAN";
  16827. IfcCostScheduleTypeEnum.ESTIMATE = "ESTIMATE";
  16828. IfcCostScheduleTypeEnum.TENDER = "TENDER";
  16829. IfcCostScheduleTypeEnum.PRICEDBILLOFQUANTITIES = "PRICEDBILLOFQUANTITIES";
  16830. IfcCostScheduleTypeEnum.UNPRICEDBILLOFQUANTITIES = "UNPRICEDBILLOFQUANTITIES";
  16831. IfcCostScheduleTypeEnum.SCHEDULEOFRATES = "SCHEDULEOFRATES";
  16832. IfcCostScheduleTypeEnum.USERDEFINED = "USERDEFINED";
  16833. IfcCostScheduleTypeEnum.NOTDEFINED = "NOTDEFINED";
  16834. var IfcCoveringTypeEnum = class {
  16835. constructor(v) {
  16836. this.value = v;
  16837. }
  16838. };
  16839. IfcCoveringTypeEnum.CEILING = "CEILING";
  16840. IfcCoveringTypeEnum.FLOORING = "FLOORING";
  16841. IfcCoveringTypeEnum.CLADDING = "CLADDING";
  16842. IfcCoveringTypeEnum.ROOFING = "ROOFING";
  16843. IfcCoveringTypeEnum.MOLDING = "MOLDING";
  16844. IfcCoveringTypeEnum.SKIRTINGBOARD = "SKIRTINGBOARD";
  16845. IfcCoveringTypeEnum.INSULATION = "INSULATION";
  16846. IfcCoveringTypeEnum.MEMBRANE = "MEMBRANE";
  16847. IfcCoveringTypeEnum.SLEEVING = "SLEEVING";
  16848. IfcCoveringTypeEnum.WRAPPING = "WRAPPING";
  16849. IfcCoveringTypeEnum.COPING = "COPING";
  16850. IfcCoveringTypeEnum.USERDEFINED = "USERDEFINED";
  16851. IfcCoveringTypeEnum.NOTDEFINED = "NOTDEFINED";
  16852. var IfcCrewResourceTypeEnum = class {
  16853. constructor(v) {
  16854. this.value = v;
  16855. }
  16856. };
  16857. IfcCrewResourceTypeEnum.OFFICE = "OFFICE";
  16858. IfcCrewResourceTypeEnum.SITE = "SITE";
  16859. IfcCrewResourceTypeEnum.USERDEFINED = "USERDEFINED";
  16860. IfcCrewResourceTypeEnum.NOTDEFINED = "NOTDEFINED";
  16861. var IfcCurtainWallTypeEnum = class {
  16862. constructor(v) {
  16863. this.value = v;
  16864. }
  16865. };
  16866. IfcCurtainWallTypeEnum.USERDEFINED = "USERDEFINED";
  16867. IfcCurtainWallTypeEnum.NOTDEFINED = "NOTDEFINED";
  16868. var IfcCurveInterpolationEnum = class {
  16869. constructor(v) {
  16870. this.value = v;
  16871. }
  16872. };
  16873. IfcCurveInterpolationEnum.LINEAR = "LINEAR";
  16874. IfcCurveInterpolationEnum.LOG_LINEAR = "LOG_LINEAR";
  16875. IfcCurveInterpolationEnum.LOG_LOG = "LOG_LOG";
  16876. IfcCurveInterpolationEnum.NOTDEFINED = "NOTDEFINED";
  16877. var IfcDamperTypeEnum = class {
  16878. constructor(v) {
  16879. this.value = v;
  16880. }
  16881. };
  16882. IfcDamperTypeEnum.BACKDRAFTDAMPER = "BACKDRAFTDAMPER";
  16883. IfcDamperTypeEnum.BALANCINGDAMPER = "BALANCINGDAMPER";
  16884. IfcDamperTypeEnum.BLASTDAMPER = "BLASTDAMPER";
  16885. IfcDamperTypeEnum.CONTROLDAMPER = "CONTROLDAMPER";
  16886. IfcDamperTypeEnum.FIREDAMPER = "FIREDAMPER";
  16887. IfcDamperTypeEnum.FIRESMOKEDAMPER = "FIRESMOKEDAMPER";
  16888. IfcDamperTypeEnum.FUMEHOODEXHAUST = "FUMEHOODEXHAUST";
  16889. IfcDamperTypeEnum.GRAVITYDAMPER = "GRAVITYDAMPER";
  16890. IfcDamperTypeEnum.GRAVITYRELIEFDAMPER = "GRAVITYRELIEFDAMPER";
  16891. IfcDamperTypeEnum.RELIEFDAMPER = "RELIEFDAMPER";
  16892. IfcDamperTypeEnum.SMOKEDAMPER = "SMOKEDAMPER";
  16893. IfcDamperTypeEnum.USERDEFINED = "USERDEFINED";
  16894. IfcDamperTypeEnum.NOTDEFINED = "NOTDEFINED";
  16895. var IfcDataOriginEnum = class {
  16896. constructor(v) {
  16897. this.value = v;
  16898. }
  16899. };
  16900. IfcDataOriginEnum.MEASURED = "MEASURED";
  16901. IfcDataOriginEnum.PREDICTED = "PREDICTED";
  16902. IfcDataOriginEnum.SIMULATED = "SIMULATED";
  16903. IfcDataOriginEnum.USERDEFINED = "USERDEFINED";
  16904. IfcDataOriginEnum.NOTDEFINED = "NOTDEFINED";
  16905. var IfcDerivedUnitEnum = class {
  16906. constructor(v) {
  16907. this.value = v;
  16908. }
  16909. };
  16910. IfcDerivedUnitEnum.ANGULARVELOCITYUNIT = "ANGULARVELOCITYUNIT";
  16911. IfcDerivedUnitEnum.AREADENSITYUNIT = "AREADENSITYUNIT";
  16912. IfcDerivedUnitEnum.COMPOUNDPLANEANGLEUNIT = "COMPOUNDPLANEANGLEUNIT";
  16913. IfcDerivedUnitEnum.DYNAMICVISCOSITYUNIT = "DYNAMICVISCOSITYUNIT";
  16914. IfcDerivedUnitEnum.HEATFLUXDENSITYUNIT = "HEATFLUXDENSITYUNIT";
  16915. IfcDerivedUnitEnum.INTEGERCOUNTRATEUNIT = "INTEGERCOUNTRATEUNIT";
  16916. IfcDerivedUnitEnum.ISOTHERMALMOISTURECAPACITYUNIT = "ISOTHERMALMOISTURECAPACITYUNIT";
  16917. IfcDerivedUnitEnum.KINEMATICVISCOSITYUNIT = "KINEMATICVISCOSITYUNIT";
  16918. IfcDerivedUnitEnum.LINEARVELOCITYUNIT = "LINEARVELOCITYUNIT";
  16919. IfcDerivedUnitEnum.MASSDENSITYUNIT = "MASSDENSITYUNIT";
  16920. IfcDerivedUnitEnum.MASSFLOWRATEUNIT = "MASSFLOWRATEUNIT";
  16921. IfcDerivedUnitEnum.MOISTUREDIFFUSIVITYUNIT = "MOISTUREDIFFUSIVITYUNIT";
  16922. IfcDerivedUnitEnum.MOLECULARWEIGHTUNIT = "MOLECULARWEIGHTUNIT";
  16923. IfcDerivedUnitEnum.SPECIFICHEATCAPACITYUNIT = "SPECIFICHEATCAPACITYUNIT";
  16924. IfcDerivedUnitEnum.THERMALADMITTANCEUNIT = "THERMALADMITTANCEUNIT";
  16925. IfcDerivedUnitEnum.THERMALCONDUCTANCEUNIT = "THERMALCONDUCTANCEUNIT";
  16926. IfcDerivedUnitEnum.THERMALRESISTANCEUNIT = "THERMALRESISTANCEUNIT";
  16927. IfcDerivedUnitEnum.THERMALTRANSMITTANCEUNIT = "THERMALTRANSMITTANCEUNIT";
  16928. IfcDerivedUnitEnum.VAPORPERMEABILITYUNIT = "VAPORPERMEABILITYUNIT";
  16929. IfcDerivedUnitEnum.VOLUMETRICFLOWRATEUNIT = "VOLUMETRICFLOWRATEUNIT";
  16930. IfcDerivedUnitEnum.ROTATIONALFREQUENCYUNIT = "ROTATIONALFREQUENCYUNIT";
  16931. IfcDerivedUnitEnum.TORQUEUNIT = "TORQUEUNIT";
  16932. IfcDerivedUnitEnum.MOMENTOFINERTIAUNIT = "MOMENTOFINERTIAUNIT";
  16933. IfcDerivedUnitEnum.LINEARMOMENTUNIT = "LINEARMOMENTUNIT";
  16934. IfcDerivedUnitEnum.LINEARFORCEUNIT = "LINEARFORCEUNIT";
  16935. IfcDerivedUnitEnum.PLANARFORCEUNIT = "PLANARFORCEUNIT";
  16936. IfcDerivedUnitEnum.MODULUSOFELASTICITYUNIT = "MODULUSOFELASTICITYUNIT";
  16937. IfcDerivedUnitEnum.SHEARMODULUSUNIT = "SHEARMODULUSUNIT";
  16938. IfcDerivedUnitEnum.LINEARSTIFFNESSUNIT = "LINEARSTIFFNESSUNIT";
  16939. IfcDerivedUnitEnum.ROTATIONALSTIFFNESSUNIT = "ROTATIONALSTIFFNESSUNIT";
  16940. IfcDerivedUnitEnum.MODULUSOFSUBGRADEREACTIONUNIT = "MODULUSOFSUBGRADEREACTIONUNIT";
  16941. IfcDerivedUnitEnum.ACCELERATIONUNIT = "ACCELERATIONUNIT";
  16942. IfcDerivedUnitEnum.CURVATUREUNIT = "CURVATUREUNIT";
  16943. IfcDerivedUnitEnum.HEATINGVALUEUNIT = "HEATINGVALUEUNIT";
  16944. IfcDerivedUnitEnum.IONCONCENTRATIONUNIT = "IONCONCENTRATIONUNIT";
  16945. IfcDerivedUnitEnum.LUMINOUSINTENSITYDISTRIBUTIONUNIT = "LUMINOUSINTENSITYDISTRIBUTIONUNIT";
  16946. IfcDerivedUnitEnum.MASSPERLENGTHUNIT = "MASSPERLENGTHUNIT";
  16947. IfcDerivedUnitEnum.MODULUSOFLINEARSUBGRADEREACTIONUNIT = "MODULUSOFLINEARSUBGRADEREACTIONUNIT";
  16948. IfcDerivedUnitEnum.MODULUSOFROTATIONALSUBGRADEREACTIONUNIT = "MODULUSOFROTATIONALSUBGRADEREACTIONUNIT";
  16949. IfcDerivedUnitEnum.PHUNIT = "PHUNIT";
  16950. IfcDerivedUnitEnum.ROTATIONALMASSUNIT = "ROTATIONALMASSUNIT";
  16951. IfcDerivedUnitEnum.SECTIONAREAINTEGRALUNIT = "SECTIONAREAINTEGRALUNIT";
  16952. IfcDerivedUnitEnum.SECTIONMODULUSUNIT = "SECTIONMODULUSUNIT";
  16953. IfcDerivedUnitEnum.SOUNDPOWERLEVELUNIT = "SOUNDPOWERLEVELUNIT";
  16954. IfcDerivedUnitEnum.SOUNDPOWERUNIT = "SOUNDPOWERUNIT";
  16955. IfcDerivedUnitEnum.SOUNDPRESSURELEVELUNIT = "SOUNDPRESSURELEVELUNIT";
  16956. IfcDerivedUnitEnum.SOUNDPRESSUREUNIT = "SOUNDPRESSUREUNIT";
  16957. IfcDerivedUnitEnum.TEMPERATUREGRADIENTUNIT = "TEMPERATUREGRADIENTUNIT";
  16958. IfcDerivedUnitEnum.TEMPERATURERATEOFCHANGEUNIT = "TEMPERATURERATEOFCHANGEUNIT";
  16959. IfcDerivedUnitEnum.THERMALEXPANSIONCOEFFICIENTUNIT = "THERMALEXPANSIONCOEFFICIENTUNIT";
  16960. IfcDerivedUnitEnum.WARPINGCONSTANTUNIT = "WARPINGCONSTANTUNIT";
  16961. IfcDerivedUnitEnum.WARPINGMOMENTUNIT = "WARPINGMOMENTUNIT";
  16962. IfcDerivedUnitEnum.USERDEFINED = "USERDEFINED";
  16963. var IfcDirectionSenseEnum = class {
  16964. constructor(v) {
  16965. this.value = v;
  16966. }
  16967. };
  16968. IfcDirectionSenseEnum.POSITIVE = "POSITIVE";
  16969. IfcDirectionSenseEnum.NEGATIVE = "NEGATIVE";
  16970. var IfcDiscreteAccessoryTypeEnum = class {
  16971. constructor(v) {
  16972. this.value = v;
  16973. }
  16974. };
  16975. IfcDiscreteAccessoryTypeEnum.ANCHORPLATE = "ANCHORPLATE";
  16976. IfcDiscreteAccessoryTypeEnum.BRACKET = "BRACKET";
  16977. IfcDiscreteAccessoryTypeEnum.SHOE = "SHOE";
  16978. IfcDiscreteAccessoryTypeEnum.EXPANSION_JOINT_DEVICE = "EXPANSION_JOINT_DEVICE";
  16979. IfcDiscreteAccessoryTypeEnum.USERDEFINED = "USERDEFINED";
  16980. IfcDiscreteAccessoryTypeEnum.NOTDEFINED = "NOTDEFINED";
  16981. var IfcDistributionChamberElementTypeEnum = class {
  16982. constructor(v) {
  16983. this.value = v;
  16984. }
  16985. };
  16986. IfcDistributionChamberElementTypeEnum.FORMEDDUCT = "FORMEDDUCT";
  16987. IfcDistributionChamberElementTypeEnum.INSPECTIONCHAMBER = "INSPECTIONCHAMBER";
  16988. IfcDistributionChamberElementTypeEnum.INSPECTIONPIT = "INSPECTIONPIT";
  16989. IfcDistributionChamberElementTypeEnum.MANHOLE = "MANHOLE";
  16990. IfcDistributionChamberElementTypeEnum.METERCHAMBER = "METERCHAMBER";
  16991. IfcDistributionChamberElementTypeEnum.SUMP = "SUMP";
  16992. IfcDistributionChamberElementTypeEnum.TRENCH = "TRENCH";
  16993. IfcDistributionChamberElementTypeEnum.VALVECHAMBER = "VALVECHAMBER";
  16994. IfcDistributionChamberElementTypeEnum.USERDEFINED = "USERDEFINED";
  16995. IfcDistributionChamberElementTypeEnum.NOTDEFINED = "NOTDEFINED";
  16996. var IfcDistributionPortTypeEnum = class {
  16997. constructor(v) {
  16998. this.value = v;
  16999. }
  17000. };
  17001. IfcDistributionPortTypeEnum.CABLE = "CABLE";
  17002. IfcDistributionPortTypeEnum.CABLECARRIER = "CABLECARRIER";
  17003. IfcDistributionPortTypeEnum.DUCT = "DUCT";
  17004. IfcDistributionPortTypeEnum.PIPE = "PIPE";
  17005. IfcDistributionPortTypeEnum.USERDEFINED = "USERDEFINED";
  17006. IfcDistributionPortTypeEnum.NOTDEFINED = "NOTDEFINED";
  17007. var IfcDistributionSystemEnum = class {
  17008. constructor(v) {
  17009. this.value = v;
  17010. }
  17011. };
  17012. IfcDistributionSystemEnum.AIRCONDITIONING = "AIRCONDITIONING";
  17013. IfcDistributionSystemEnum.AUDIOVISUAL = "AUDIOVISUAL";
  17014. IfcDistributionSystemEnum.CHEMICAL = "CHEMICAL";
  17015. IfcDistributionSystemEnum.CHILLEDWATER = "CHILLEDWATER";
  17016. IfcDistributionSystemEnum.COMMUNICATION = "COMMUNICATION";
  17017. IfcDistributionSystemEnum.COMPRESSEDAIR = "COMPRESSEDAIR";
  17018. IfcDistributionSystemEnum.CONDENSERWATER = "CONDENSERWATER";
  17019. IfcDistributionSystemEnum.CONTROL = "CONTROL";
  17020. IfcDistributionSystemEnum.CONVEYING = "CONVEYING";
  17021. IfcDistributionSystemEnum.DATA = "DATA";
  17022. IfcDistributionSystemEnum.DISPOSAL = "DISPOSAL";
  17023. IfcDistributionSystemEnum.DOMESTICCOLDWATER = "DOMESTICCOLDWATER";
  17024. IfcDistributionSystemEnum.DOMESTICHOTWATER = "DOMESTICHOTWATER";
  17025. IfcDistributionSystemEnum.DRAINAGE = "DRAINAGE";
  17026. IfcDistributionSystemEnum.EARTHING = "EARTHING";
  17027. IfcDistributionSystemEnum.ELECTRICAL = "ELECTRICAL";
  17028. IfcDistributionSystemEnum.ELECTROACOUSTIC = "ELECTROACOUSTIC";
  17029. IfcDistributionSystemEnum.EXHAUST = "EXHAUST";
  17030. IfcDistributionSystemEnum.FIREPROTECTION = "FIREPROTECTION";
  17031. IfcDistributionSystemEnum.FUEL = "FUEL";
  17032. IfcDistributionSystemEnum.GAS = "GAS";
  17033. IfcDistributionSystemEnum.HAZARDOUS = "HAZARDOUS";
  17034. IfcDistributionSystemEnum.HEATING = "HEATING";
  17035. IfcDistributionSystemEnum.LIGHTING = "LIGHTING";
  17036. IfcDistributionSystemEnum.LIGHTNINGPROTECTION = "LIGHTNINGPROTECTION";
  17037. IfcDistributionSystemEnum.MUNICIPALSOLIDWASTE = "MUNICIPALSOLIDWASTE";
  17038. IfcDistributionSystemEnum.OIL = "OIL";
  17039. IfcDistributionSystemEnum.OPERATIONAL = "OPERATIONAL";
  17040. IfcDistributionSystemEnum.POWERGENERATION = "POWERGENERATION";
  17041. IfcDistributionSystemEnum.RAINWATER = "RAINWATER";
  17042. IfcDistributionSystemEnum.REFRIGERATION = "REFRIGERATION";
  17043. IfcDistributionSystemEnum.SECURITY = "SECURITY";
  17044. IfcDistributionSystemEnum.SEWAGE = "SEWAGE";
  17045. IfcDistributionSystemEnum.SIGNAL = "SIGNAL";
  17046. IfcDistributionSystemEnum.STORMWATER = "STORMWATER";
  17047. IfcDistributionSystemEnum.TELEPHONE = "TELEPHONE";
  17048. IfcDistributionSystemEnum.TV = "TV";
  17049. IfcDistributionSystemEnum.VACUUM = "VACUUM";
  17050. IfcDistributionSystemEnum.VENT = "VENT";
  17051. IfcDistributionSystemEnum.VENTILATION = "VENTILATION";
  17052. IfcDistributionSystemEnum.WASTEWATER = "WASTEWATER";
  17053. IfcDistributionSystemEnum.WATERSUPPLY = "WATERSUPPLY";
  17054. IfcDistributionSystemEnum.USERDEFINED = "USERDEFINED";
  17055. IfcDistributionSystemEnum.NOTDEFINED = "NOTDEFINED";
  17056. var IfcDocumentConfidentialityEnum = class {
  17057. constructor(v) {
  17058. this.value = v;
  17059. }
  17060. };
  17061. IfcDocumentConfidentialityEnum.PUBLIC = "PUBLIC";
  17062. IfcDocumentConfidentialityEnum.RESTRICTED = "RESTRICTED";
  17063. IfcDocumentConfidentialityEnum.CONFIDENTIAL = "CONFIDENTIAL";
  17064. IfcDocumentConfidentialityEnum.PERSONAL = "PERSONAL";
  17065. IfcDocumentConfidentialityEnum.USERDEFINED = "USERDEFINED";
  17066. IfcDocumentConfidentialityEnum.NOTDEFINED = "NOTDEFINED";
  17067. var IfcDocumentStatusEnum = class {
  17068. constructor(v) {
  17069. this.value = v;
  17070. }
  17071. };
  17072. IfcDocumentStatusEnum.DRAFT = "DRAFT";
  17073. IfcDocumentStatusEnum.FINALDRAFT = "FINALDRAFT";
  17074. IfcDocumentStatusEnum.FINAL = "FINAL";
  17075. IfcDocumentStatusEnum.REVISION = "REVISION";
  17076. IfcDocumentStatusEnum.NOTDEFINED = "NOTDEFINED";
  17077. var IfcDoorPanelOperationEnum = class {
  17078. constructor(v) {
  17079. this.value = v;
  17080. }
  17081. };
  17082. IfcDoorPanelOperationEnum.SWINGING = "SWINGING";
  17083. IfcDoorPanelOperationEnum.DOUBLE_ACTING = "DOUBLE_ACTING";
  17084. IfcDoorPanelOperationEnum.SLIDING = "SLIDING";
  17085. IfcDoorPanelOperationEnum.FOLDING = "FOLDING";
  17086. IfcDoorPanelOperationEnum.REVOLVING = "REVOLVING";
  17087. IfcDoorPanelOperationEnum.ROLLINGUP = "ROLLINGUP";
  17088. IfcDoorPanelOperationEnum.FIXEDPANEL = "FIXEDPANEL";
  17089. IfcDoorPanelOperationEnum.USERDEFINED = "USERDEFINED";
  17090. IfcDoorPanelOperationEnum.NOTDEFINED = "NOTDEFINED";
  17091. var IfcDoorPanelPositionEnum = class {
  17092. constructor(v) {
  17093. this.value = v;
  17094. }
  17095. };
  17096. IfcDoorPanelPositionEnum.LEFT = "LEFT";
  17097. IfcDoorPanelPositionEnum.MIDDLE = "MIDDLE";
  17098. IfcDoorPanelPositionEnum.RIGHT = "RIGHT";
  17099. IfcDoorPanelPositionEnum.NOTDEFINED = "NOTDEFINED";
  17100. var IfcDoorStyleConstructionEnum = class {
  17101. constructor(v) {
  17102. this.value = v;
  17103. }
  17104. };
  17105. IfcDoorStyleConstructionEnum.ALUMINIUM = "ALUMINIUM";
  17106. IfcDoorStyleConstructionEnum.HIGH_GRADE_STEEL = "HIGH_GRADE_STEEL";
  17107. IfcDoorStyleConstructionEnum.STEEL = "STEEL";
  17108. IfcDoorStyleConstructionEnum.WOOD = "WOOD";
  17109. IfcDoorStyleConstructionEnum.ALUMINIUM_WOOD = "ALUMINIUM_WOOD";
  17110. IfcDoorStyleConstructionEnum.ALUMINIUM_PLASTIC = "ALUMINIUM_PLASTIC";
  17111. IfcDoorStyleConstructionEnum.PLASTIC = "PLASTIC";
  17112. IfcDoorStyleConstructionEnum.USERDEFINED = "USERDEFINED";
  17113. IfcDoorStyleConstructionEnum.NOTDEFINED = "NOTDEFINED";
  17114. var IfcDoorStyleOperationEnum = class {
  17115. constructor(v) {
  17116. this.value = v;
  17117. }
  17118. };
  17119. IfcDoorStyleOperationEnum.SINGLE_SWING_LEFT = "SINGLE_SWING_LEFT";
  17120. IfcDoorStyleOperationEnum.SINGLE_SWING_RIGHT = "SINGLE_SWING_RIGHT";
  17121. IfcDoorStyleOperationEnum.DOUBLE_DOOR_SINGLE_SWING = "DOUBLE_DOOR_SINGLE_SWING";
  17122. IfcDoorStyleOperationEnum.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT = "DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT";
  17123. IfcDoorStyleOperationEnum.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT = "DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT";
  17124. IfcDoorStyleOperationEnum.DOUBLE_SWING_LEFT = "DOUBLE_SWING_LEFT";
  17125. IfcDoorStyleOperationEnum.DOUBLE_SWING_RIGHT = "DOUBLE_SWING_RIGHT";
  17126. IfcDoorStyleOperationEnum.DOUBLE_DOOR_DOUBLE_SWING = "DOUBLE_DOOR_DOUBLE_SWING";
  17127. IfcDoorStyleOperationEnum.SLIDING_TO_LEFT = "SLIDING_TO_LEFT";
  17128. IfcDoorStyleOperationEnum.SLIDING_TO_RIGHT = "SLIDING_TO_RIGHT";
  17129. IfcDoorStyleOperationEnum.DOUBLE_DOOR_SLIDING = "DOUBLE_DOOR_SLIDING";
  17130. IfcDoorStyleOperationEnum.FOLDING_TO_LEFT = "FOLDING_TO_LEFT";
  17131. IfcDoorStyleOperationEnum.FOLDING_TO_RIGHT = "FOLDING_TO_RIGHT";
  17132. IfcDoorStyleOperationEnum.DOUBLE_DOOR_FOLDING = "DOUBLE_DOOR_FOLDING";
  17133. IfcDoorStyleOperationEnum.REVOLVING = "REVOLVING";
  17134. IfcDoorStyleOperationEnum.ROLLINGUP = "ROLLINGUP";
  17135. IfcDoorStyleOperationEnum.USERDEFINED = "USERDEFINED";
  17136. IfcDoorStyleOperationEnum.NOTDEFINED = "NOTDEFINED";
  17137. var IfcDoorTypeEnum = class {
  17138. constructor(v) {
  17139. this.value = v;
  17140. }
  17141. };
  17142. IfcDoorTypeEnum.DOOR = "DOOR";
  17143. IfcDoorTypeEnum.GATE = "GATE";
  17144. IfcDoorTypeEnum.TRAPDOOR = "TRAPDOOR";
  17145. IfcDoorTypeEnum.USERDEFINED = "USERDEFINED";
  17146. IfcDoorTypeEnum.NOTDEFINED = "NOTDEFINED";
  17147. var IfcDoorTypeOperationEnum = class {
  17148. constructor(v) {
  17149. this.value = v;
  17150. }
  17151. };
  17152. IfcDoorTypeOperationEnum.SINGLE_SWING_LEFT = "SINGLE_SWING_LEFT";
  17153. IfcDoorTypeOperationEnum.SINGLE_SWING_RIGHT = "SINGLE_SWING_RIGHT";
  17154. IfcDoorTypeOperationEnum.DOUBLE_DOOR_SINGLE_SWING = "DOUBLE_DOOR_SINGLE_SWING";
  17155. IfcDoorTypeOperationEnum.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT = "DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT";
  17156. IfcDoorTypeOperationEnum.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT = "DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT";
  17157. IfcDoorTypeOperationEnum.DOUBLE_SWING_LEFT = "DOUBLE_SWING_LEFT";
  17158. IfcDoorTypeOperationEnum.DOUBLE_SWING_RIGHT = "DOUBLE_SWING_RIGHT";
  17159. IfcDoorTypeOperationEnum.DOUBLE_DOOR_DOUBLE_SWING = "DOUBLE_DOOR_DOUBLE_SWING";
  17160. IfcDoorTypeOperationEnum.SLIDING_TO_LEFT = "SLIDING_TO_LEFT";
  17161. IfcDoorTypeOperationEnum.SLIDING_TO_RIGHT = "SLIDING_TO_RIGHT";
  17162. IfcDoorTypeOperationEnum.DOUBLE_DOOR_SLIDING = "DOUBLE_DOOR_SLIDING";
  17163. IfcDoorTypeOperationEnum.FOLDING_TO_LEFT = "FOLDING_TO_LEFT";
  17164. IfcDoorTypeOperationEnum.FOLDING_TO_RIGHT = "FOLDING_TO_RIGHT";
  17165. IfcDoorTypeOperationEnum.DOUBLE_DOOR_FOLDING = "DOUBLE_DOOR_FOLDING";
  17166. IfcDoorTypeOperationEnum.REVOLVING = "REVOLVING";
  17167. IfcDoorTypeOperationEnum.ROLLINGUP = "ROLLINGUP";
  17168. IfcDoorTypeOperationEnum.SWING_FIXED_LEFT = "SWING_FIXED_LEFT";
  17169. IfcDoorTypeOperationEnum.SWING_FIXED_RIGHT = "SWING_FIXED_RIGHT";
  17170. IfcDoorTypeOperationEnum.USERDEFINED = "USERDEFINED";
  17171. IfcDoorTypeOperationEnum.NOTDEFINED = "NOTDEFINED";
  17172. var IfcDuctFittingTypeEnum = class {
  17173. constructor(v) {
  17174. this.value = v;
  17175. }
  17176. };
  17177. IfcDuctFittingTypeEnum.BEND = "BEND";
  17178. IfcDuctFittingTypeEnum.CONNECTOR = "CONNECTOR";
  17179. IfcDuctFittingTypeEnum.ENTRY = "ENTRY";
  17180. IfcDuctFittingTypeEnum.EXIT = "EXIT";
  17181. IfcDuctFittingTypeEnum.JUNCTION = "JUNCTION";
  17182. IfcDuctFittingTypeEnum.OBSTRUCTION = "OBSTRUCTION";
  17183. IfcDuctFittingTypeEnum.TRANSITION = "TRANSITION";
  17184. IfcDuctFittingTypeEnum.USERDEFINED = "USERDEFINED";
  17185. IfcDuctFittingTypeEnum.NOTDEFINED = "NOTDEFINED";
  17186. var IfcDuctSegmentTypeEnum = class {
  17187. constructor(v) {
  17188. this.value = v;
  17189. }
  17190. };
  17191. IfcDuctSegmentTypeEnum.RIGIDSEGMENT = "RIGIDSEGMENT";
  17192. IfcDuctSegmentTypeEnum.FLEXIBLESEGMENT = "FLEXIBLESEGMENT";
  17193. IfcDuctSegmentTypeEnum.USERDEFINED = "USERDEFINED";
  17194. IfcDuctSegmentTypeEnum.NOTDEFINED = "NOTDEFINED";
  17195. var IfcDuctSilencerTypeEnum = class {
  17196. constructor(v) {
  17197. this.value = v;
  17198. }
  17199. };
  17200. IfcDuctSilencerTypeEnum.FLATOVAL = "FLATOVAL";
  17201. IfcDuctSilencerTypeEnum.RECTANGULAR = "RECTANGULAR";
  17202. IfcDuctSilencerTypeEnum.ROUND = "ROUND";
  17203. IfcDuctSilencerTypeEnum.USERDEFINED = "USERDEFINED";
  17204. IfcDuctSilencerTypeEnum.NOTDEFINED = "NOTDEFINED";
  17205. var IfcElectricApplianceTypeEnum = class {
  17206. constructor(v) {
  17207. this.value = v;
  17208. }
  17209. };
  17210. IfcElectricApplianceTypeEnum.DISHWASHER = "DISHWASHER";
  17211. IfcElectricApplianceTypeEnum.ELECTRICCOOKER = "ELECTRICCOOKER";
  17212. IfcElectricApplianceTypeEnum.FREESTANDINGELECTRICHEATER = "FREESTANDINGELECTRICHEATER";
  17213. IfcElectricApplianceTypeEnum.FREESTANDINGFAN = "FREESTANDINGFAN";
  17214. IfcElectricApplianceTypeEnum.FREESTANDINGWATERHEATER = "FREESTANDINGWATERHEATER";
  17215. IfcElectricApplianceTypeEnum.FREESTANDINGWATERCOOLER = "FREESTANDINGWATERCOOLER";
  17216. IfcElectricApplianceTypeEnum.FREEZER = "FREEZER";
  17217. IfcElectricApplianceTypeEnum.FRIDGE_FREEZER = "FRIDGE_FREEZER";
  17218. IfcElectricApplianceTypeEnum.HANDDRYER = "HANDDRYER";
  17219. IfcElectricApplianceTypeEnum.KITCHENMACHINE = "KITCHENMACHINE";
  17220. IfcElectricApplianceTypeEnum.MICROWAVE = "MICROWAVE";
  17221. IfcElectricApplianceTypeEnum.PHOTOCOPIER = "PHOTOCOPIER";
  17222. IfcElectricApplianceTypeEnum.REFRIGERATOR = "REFRIGERATOR";
  17223. IfcElectricApplianceTypeEnum.TUMBLEDRYER = "TUMBLEDRYER";
  17224. IfcElectricApplianceTypeEnum.VENDINGMACHINE = "VENDINGMACHINE";
  17225. IfcElectricApplianceTypeEnum.WASHINGMACHINE = "WASHINGMACHINE";
  17226. IfcElectricApplianceTypeEnum.USERDEFINED = "USERDEFINED";
  17227. IfcElectricApplianceTypeEnum.NOTDEFINED = "NOTDEFINED";
  17228. var IfcElectricDistributionBoardTypeEnum = class {
  17229. constructor(v) {
  17230. this.value = v;
  17231. }
  17232. };
  17233. IfcElectricDistributionBoardTypeEnum.CONSUMERUNIT = "CONSUMERUNIT";
  17234. IfcElectricDistributionBoardTypeEnum.DISTRIBUTIONBOARD = "DISTRIBUTIONBOARD";
  17235. IfcElectricDistributionBoardTypeEnum.MOTORCONTROLCENTRE = "MOTORCONTROLCENTRE";
  17236. IfcElectricDistributionBoardTypeEnum.SWITCHBOARD = "SWITCHBOARD";
  17237. IfcElectricDistributionBoardTypeEnum.USERDEFINED = "USERDEFINED";
  17238. IfcElectricDistributionBoardTypeEnum.NOTDEFINED = "NOTDEFINED";
  17239. var IfcElectricFlowStorageDeviceTypeEnum = class {
  17240. constructor(v) {
  17241. this.value = v;
  17242. }
  17243. };
  17244. IfcElectricFlowStorageDeviceTypeEnum.BATTERY = "BATTERY";
  17245. IfcElectricFlowStorageDeviceTypeEnum.CAPACITORBANK = "CAPACITORBANK";
  17246. IfcElectricFlowStorageDeviceTypeEnum.HARMONICFILTER = "HARMONICFILTER";
  17247. IfcElectricFlowStorageDeviceTypeEnum.INDUCTORBANK = "INDUCTORBANK";
  17248. IfcElectricFlowStorageDeviceTypeEnum.UPS = "UPS";
  17249. IfcElectricFlowStorageDeviceTypeEnum.USERDEFINED = "USERDEFINED";
  17250. IfcElectricFlowStorageDeviceTypeEnum.NOTDEFINED = "NOTDEFINED";
  17251. var IfcElectricGeneratorTypeEnum = class {
  17252. constructor(v) {
  17253. this.value = v;
  17254. }
  17255. };
  17256. IfcElectricGeneratorTypeEnum.CHP = "CHP";
  17257. IfcElectricGeneratorTypeEnum.ENGINEGENERATOR = "ENGINEGENERATOR";
  17258. IfcElectricGeneratorTypeEnum.STANDALONE = "STANDALONE";
  17259. IfcElectricGeneratorTypeEnum.USERDEFINED = "USERDEFINED";
  17260. IfcElectricGeneratorTypeEnum.NOTDEFINED = "NOTDEFINED";
  17261. var IfcElectricMotorTypeEnum = class {
  17262. constructor(v) {
  17263. this.value = v;
  17264. }
  17265. };
  17266. IfcElectricMotorTypeEnum.DC = "DC";
  17267. IfcElectricMotorTypeEnum.INDUCTION = "INDUCTION";
  17268. IfcElectricMotorTypeEnum.POLYPHASE = "POLYPHASE";
  17269. IfcElectricMotorTypeEnum.RELUCTANCESYNCHRONOUS = "RELUCTANCESYNCHRONOUS";
  17270. IfcElectricMotorTypeEnum.SYNCHRONOUS = "SYNCHRONOUS";
  17271. IfcElectricMotorTypeEnum.USERDEFINED = "USERDEFINED";
  17272. IfcElectricMotorTypeEnum.NOTDEFINED = "NOTDEFINED";
  17273. var IfcElectricTimeControlTypeEnum = class {
  17274. constructor(v) {
  17275. this.value = v;
  17276. }
  17277. };
  17278. IfcElectricTimeControlTypeEnum.TIMECLOCK = "TIMECLOCK";
  17279. IfcElectricTimeControlTypeEnum.TIMEDELAY = "TIMEDELAY";
  17280. IfcElectricTimeControlTypeEnum.RELAY = "RELAY";
  17281. IfcElectricTimeControlTypeEnum.USERDEFINED = "USERDEFINED";
  17282. IfcElectricTimeControlTypeEnum.NOTDEFINED = "NOTDEFINED";
  17283. var IfcElementAssemblyTypeEnum = class {
  17284. constructor(v) {
  17285. this.value = v;
  17286. }
  17287. };
  17288. IfcElementAssemblyTypeEnum.ACCESSORY_ASSEMBLY = "ACCESSORY_ASSEMBLY";
  17289. IfcElementAssemblyTypeEnum.ARCH = "ARCH";
  17290. IfcElementAssemblyTypeEnum.BEAM_GRID = "BEAM_GRID";
  17291. IfcElementAssemblyTypeEnum.BRACED_FRAME = "BRACED_FRAME";
  17292. IfcElementAssemblyTypeEnum.GIRDER = "GIRDER";
  17293. IfcElementAssemblyTypeEnum.REINFORCEMENT_UNIT = "REINFORCEMENT_UNIT";
  17294. IfcElementAssemblyTypeEnum.RIGID_FRAME = "RIGID_FRAME";
  17295. IfcElementAssemblyTypeEnum.SLAB_FIELD = "SLAB_FIELD";
  17296. IfcElementAssemblyTypeEnum.TRUSS = "TRUSS";
  17297. IfcElementAssemblyTypeEnum.ABUTMENT = "ABUTMENT";
  17298. IfcElementAssemblyTypeEnum.PIER = "PIER";
  17299. IfcElementAssemblyTypeEnum.PYLON = "PYLON";
  17300. IfcElementAssemblyTypeEnum.CROSS_BRACING = "CROSS_BRACING";
  17301. IfcElementAssemblyTypeEnum.DECK = "DECK";
  17302. IfcElementAssemblyTypeEnum.USERDEFINED = "USERDEFINED";
  17303. IfcElementAssemblyTypeEnum.NOTDEFINED = "NOTDEFINED";
  17304. var IfcElementCompositionEnum = class {
  17305. constructor(v) {
  17306. this.value = v;
  17307. }
  17308. };
  17309. IfcElementCompositionEnum.COMPLEX = "COMPLEX";
  17310. IfcElementCompositionEnum.ELEMENT = "ELEMENT";
  17311. IfcElementCompositionEnum.PARTIAL = "PARTIAL";
  17312. var IfcEngineTypeEnum = class {
  17313. constructor(v) {
  17314. this.value = v;
  17315. }
  17316. };
  17317. IfcEngineTypeEnum.EXTERNALCOMBUSTION = "EXTERNALCOMBUSTION";
  17318. IfcEngineTypeEnum.INTERNALCOMBUSTION = "INTERNALCOMBUSTION";
  17319. IfcEngineTypeEnum.USERDEFINED = "USERDEFINED";
  17320. IfcEngineTypeEnum.NOTDEFINED = "NOTDEFINED";
  17321. var IfcEvaporativeCoolerTypeEnum = class {
  17322. constructor(v) {
  17323. this.value = v;
  17324. }
  17325. };
  17326. IfcEvaporativeCoolerTypeEnum.DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER = "DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER";
  17327. IfcEvaporativeCoolerTypeEnum.DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER = "DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER";
  17328. IfcEvaporativeCoolerTypeEnum.DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER = "DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER";
  17329. IfcEvaporativeCoolerTypeEnum.DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER = "DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER";
  17330. IfcEvaporativeCoolerTypeEnum.DIRECTEVAPORATIVEAIRWASHER = "DIRECTEVAPORATIVEAIRWASHER";
  17331. IfcEvaporativeCoolerTypeEnum.INDIRECTEVAPORATIVEPACKAGEAIRCOOLER = "INDIRECTEVAPORATIVEPACKAGEAIRCOOLER";
  17332. IfcEvaporativeCoolerTypeEnum.INDIRECTEVAPORATIVEWETCOIL = "INDIRECTEVAPORATIVEWETCOIL";
  17333. IfcEvaporativeCoolerTypeEnum.INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER = "INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER";
  17334. IfcEvaporativeCoolerTypeEnum.INDIRECTDIRECTCOMBINATION = "INDIRECTDIRECTCOMBINATION";
  17335. IfcEvaporativeCoolerTypeEnum.USERDEFINED = "USERDEFINED";
  17336. IfcEvaporativeCoolerTypeEnum.NOTDEFINED = "NOTDEFINED";
  17337. var IfcEvaporatorTypeEnum = class {
  17338. constructor(v) {
  17339. this.value = v;
  17340. }
  17341. };
  17342. IfcEvaporatorTypeEnum.DIRECTEXPANSION = "DIRECTEXPANSION";
  17343. IfcEvaporatorTypeEnum.DIRECTEXPANSIONSHELLANDTUBE = "DIRECTEXPANSIONSHELLANDTUBE";
  17344. IfcEvaporatorTypeEnum.DIRECTEXPANSIONTUBEINTUBE = "DIRECTEXPANSIONTUBEINTUBE";
  17345. IfcEvaporatorTypeEnum.DIRECTEXPANSIONBRAZEDPLATE = "DIRECTEXPANSIONBRAZEDPLATE";
  17346. IfcEvaporatorTypeEnum.FLOODEDSHELLANDTUBE = "FLOODEDSHELLANDTUBE";
  17347. IfcEvaporatorTypeEnum.SHELLANDCOIL = "SHELLANDCOIL";
  17348. IfcEvaporatorTypeEnum.USERDEFINED = "USERDEFINED";
  17349. IfcEvaporatorTypeEnum.NOTDEFINED = "NOTDEFINED";
  17350. var IfcEventTriggerTypeEnum = class {
  17351. constructor(v) {
  17352. this.value = v;
  17353. }
  17354. };
  17355. IfcEventTriggerTypeEnum.EVENTRULE = "EVENTRULE";
  17356. IfcEventTriggerTypeEnum.EVENTMESSAGE = "EVENTMESSAGE";
  17357. IfcEventTriggerTypeEnum.EVENTTIME = "EVENTTIME";
  17358. IfcEventTriggerTypeEnum.EVENTCOMPLEX = "EVENTCOMPLEX";
  17359. IfcEventTriggerTypeEnum.USERDEFINED = "USERDEFINED";
  17360. IfcEventTriggerTypeEnum.NOTDEFINED = "NOTDEFINED";
  17361. var IfcEventTypeEnum = class {
  17362. constructor(v) {
  17363. this.value = v;
  17364. }
  17365. };
  17366. IfcEventTypeEnum.STARTEVENT = "STARTEVENT";
  17367. IfcEventTypeEnum.ENDEVENT = "ENDEVENT";
  17368. IfcEventTypeEnum.INTERMEDIATEEVENT = "INTERMEDIATEEVENT";
  17369. IfcEventTypeEnum.USERDEFINED = "USERDEFINED";
  17370. IfcEventTypeEnum.NOTDEFINED = "NOTDEFINED";
  17371. var IfcExternalSpatialElementTypeEnum = class {
  17372. constructor(v) {
  17373. this.value = v;
  17374. }
  17375. };
  17376. IfcExternalSpatialElementTypeEnum.EXTERNAL = "EXTERNAL";
  17377. IfcExternalSpatialElementTypeEnum.EXTERNAL_EARTH = "EXTERNAL_EARTH";
  17378. IfcExternalSpatialElementTypeEnum.EXTERNAL_WATER = "EXTERNAL_WATER";
  17379. IfcExternalSpatialElementTypeEnum.EXTERNAL_FIRE = "EXTERNAL_FIRE";
  17380. IfcExternalSpatialElementTypeEnum.USERDEFINED = "USERDEFINED";
  17381. IfcExternalSpatialElementTypeEnum.NOTDEFINED = "NOTDEFINED";
  17382. var IfcFanTypeEnum = class {
  17383. constructor(v) {
  17384. this.value = v;
  17385. }
  17386. };
  17387. IfcFanTypeEnum.CENTRIFUGALFORWARDCURVED = "CENTRIFUGALFORWARDCURVED";
  17388. IfcFanTypeEnum.CENTRIFUGALRADIAL = "CENTRIFUGALRADIAL";
  17389. IfcFanTypeEnum.CENTRIFUGALBACKWARDINCLINEDCURVED = "CENTRIFUGALBACKWARDINCLINEDCURVED";
  17390. IfcFanTypeEnum.CENTRIFUGALAIRFOIL = "CENTRIFUGALAIRFOIL";
  17391. IfcFanTypeEnum.TUBEAXIAL = "TUBEAXIAL";
  17392. IfcFanTypeEnum.VANEAXIAL = "VANEAXIAL";
  17393. IfcFanTypeEnum.PROPELLORAXIAL = "PROPELLORAXIAL";
  17394. IfcFanTypeEnum.USERDEFINED = "USERDEFINED";
  17395. IfcFanTypeEnum.NOTDEFINED = "NOTDEFINED";
  17396. var IfcFastenerTypeEnum = class {
  17397. constructor(v) {
  17398. this.value = v;
  17399. }
  17400. };
  17401. IfcFastenerTypeEnum.GLUE = "GLUE";
  17402. IfcFastenerTypeEnum.MORTAR = "MORTAR";
  17403. IfcFastenerTypeEnum.WELD = "WELD";
  17404. IfcFastenerTypeEnum.USERDEFINED = "USERDEFINED";
  17405. IfcFastenerTypeEnum.NOTDEFINED = "NOTDEFINED";
  17406. var IfcFilterTypeEnum = class {
  17407. constructor(v) {
  17408. this.value = v;
  17409. }
  17410. };
  17411. IfcFilterTypeEnum.AIRPARTICLEFILTER = "AIRPARTICLEFILTER";
  17412. IfcFilterTypeEnum.COMPRESSEDAIRFILTER = "COMPRESSEDAIRFILTER";
  17413. IfcFilterTypeEnum.ODORFILTER = "ODORFILTER";
  17414. IfcFilterTypeEnum.OILFILTER = "OILFILTER";
  17415. IfcFilterTypeEnum.STRAINER = "STRAINER";
  17416. IfcFilterTypeEnum.WATERFILTER = "WATERFILTER";
  17417. IfcFilterTypeEnum.USERDEFINED = "USERDEFINED";
  17418. IfcFilterTypeEnum.NOTDEFINED = "NOTDEFINED";
  17419. var IfcFireSuppressionTerminalTypeEnum = class {
  17420. constructor(v) {
  17421. this.value = v;
  17422. }
  17423. };
  17424. IfcFireSuppressionTerminalTypeEnum.BREECHINGINLET = "BREECHINGINLET";
  17425. IfcFireSuppressionTerminalTypeEnum.FIREHYDRANT = "FIREHYDRANT";
  17426. IfcFireSuppressionTerminalTypeEnum.HOSEREEL = "HOSEREEL";
  17427. IfcFireSuppressionTerminalTypeEnum.SPRINKLER = "SPRINKLER";
  17428. IfcFireSuppressionTerminalTypeEnum.SPRINKLERDEFLECTOR = "SPRINKLERDEFLECTOR";
  17429. IfcFireSuppressionTerminalTypeEnum.USERDEFINED = "USERDEFINED";
  17430. IfcFireSuppressionTerminalTypeEnum.NOTDEFINED = "NOTDEFINED";
  17431. var IfcFlowDirectionEnum = class {
  17432. constructor(v) {
  17433. this.value = v;
  17434. }
  17435. };
  17436. IfcFlowDirectionEnum.SOURCE = "SOURCE";
  17437. IfcFlowDirectionEnum.SINK = "SINK";
  17438. IfcFlowDirectionEnum.SOURCEANDSINK = "SOURCEANDSINK";
  17439. IfcFlowDirectionEnum.NOTDEFINED = "NOTDEFINED";
  17440. var IfcFlowInstrumentTypeEnum = class {
  17441. constructor(v) {
  17442. this.value = v;
  17443. }
  17444. };
  17445. IfcFlowInstrumentTypeEnum.PRESSUREGAUGE = "PRESSUREGAUGE";
  17446. IfcFlowInstrumentTypeEnum.THERMOMETER = "THERMOMETER";
  17447. IfcFlowInstrumentTypeEnum.AMMETER = "AMMETER";
  17448. IfcFlowInstrumentTypeEnum.FREQUENCYMETER = "FREQUENCYMETER";
  17449. IfcFlowInstrumentTypeEnum.POWERFACTORMETER = "POWERFACTORMETER";
  17450. IfcFlowInstrumentTypeEnum.PHASEANGLEMETER = "PHASEANGLEMETER";
  17451. IfcFlowInstrumentTypeEnum.VOLTMETER_PEAK = "VOLTMETER_PEAK";
  17452. IfcFlowInstrumentTypeEnum.VOLTMETER_RMS = "VOLTMETER_RMS";
  17453. IfcFlowInstrumentTypeEnum.USERDEFINED = "USERDEFINED";
  17454. IfcFlowInstrumentTypeEnum.NOTDEFINED = "NOTDEFINED";
  17455. var IfcFlowMeterTypeEnum = class {
  17456. constructor(v) {
  17457. this.value = v;
  17458. }
  17459. };
  17460. IfcFlowMeterTypeEnum.ENERGYMETER = "ENERGYMETER";
  17461. IfcFlowMeterTypeEnum.GASMETER = "GASMETER";
  17462. IfcFlowMeterTypeEnum.OILMETER = "OILMETER";
  17463. IfcFlowMeterTypeEnum.WATERMETER = "WATERMETER";
  17464. IfcFlowMeterTypeEnum.USERDEFINED = "USERDEFINED";
  17465. IfcFlowMeterTypeEnum.NOTDEFINED = "NOTDEFINED";
  17466. var IfcFootingTypeEnum = class {
  17467. constructor(v) {
  17468. this.value = v;
  17469. }
  17470. };
  17471. IfcFootingTypeEnum.CAISSON_FOUNDATION = "CAISSON_FOUNDATION";
  17472. IfcFootingTypeEnum.FOOTING_BEAM = "FOOTING_BEAM";
  17473. IfcFootingTypeEnum.PAD_FOOTING = "PAD_FOOTING";
  17474. IfcFootingTypeEnum.PILE_CAP = "PILE_CAP";
  17475. IfcFootingTypeEnum.STRIP_FOOTING = "STRIP_FOOTING";
  17476. IfcFootingTypeEnum.USERDEFINED = "USERDEFINED";
  17477. IfcFootingTypeEnum.NOTDEFINED = "NOTDEFINED";
  17478. var IfcFurnitureTypeEnum = class {
  17479. constructor(v) {
  17480. this.value = v;
  17481. }
  17482. };
  17483. IfcFurnitureTypeEnum.CHAIR = "CHAIR";
  17484. IfcFurnitureTypeEnum.TABLE = "TABLE";
  17485. IfcFurnitureTypeEnum.DESK = "DESK";
  17486. IfcFurnitureTypeEnum.BED = "BED";
  17487. IfcFurnitureTypeEnum.FILECABINET = "FILECABINET";
  17488. IfcFurnitureTypeEnum.SHELF = "SHELF";
  17489. IfcFurnitureTypeEnum.SOFA = "SOFA";
  17490. IfcFurnitureTypeEnum.USERDEFINED = "USERDEFINED";
  17491. IfcFurnitureTypeEnum.NOTDEFINED = "NOTDEFINED";
  17492. var IfcGeographicElementTypeEnum = class {
  17493. constructor(v) {
  17494. this.value = v;
  17495. }
  17496. };
  17497. IfcGeographicElementTypeEnum.TERRAIN = "TERRAIN";
  17498. IfcGeographicElementTypeEnum.SOIL_BORING_POINT = "SOIL_BORING_POINT";
  17499. IfcGeographicElementTypeEnum.USERDEFINED = "USERDEFINED";
  17500. IfcGeographicElementTypeEnum.NOTDEFINED = "NOTDEFINED";
  17501. var IfcGeometricProjectionEnum = class {
  17502. constructor(v) {
  17503. this.value = v;
  17504. }
  17505. };
  17506. IfcGeometricProjectionEnum.GRAPH_VIEW = "GRAPH_VIEW";
  17507. IfcGeometricProjectionEnum.SKETCH_VIEW = "SKETCH_VIEW";
  17508. IfcGeometricProjectionEnum.MODEL_VIEW = "MODEL_VIEW";
  17509. IfcGeometricProjectionEnum.PLAN_VIEW = "PLAN_VIEW";
  17510. IfcGeometricProjectionEnum.REFLECTED_PLAN_VIEW = "REFLECTED_PLAN_VIEW";
  17511. IfcGeometricProjectionEnum.SECTION_VIEW = "SECTION_VIEW";
  17512. IfcGeometricProjectionEnum.ELEVATION_VIEW = "ELEVATION_VIEW";
  17513. IfcGeometricProjectionEnum.USERDEFINED = "USERDEFINED";
  17514. IfcGeometricProjectionEnum.NOTDEFINED = "NOTDEFINED";
  17515. var IfcGlobalOrLocalEnum = class {
  17516. constructor(v) {
  17517. this.value = v;
  17518. }
  17519. };
  17520. IfcGlobalOrLocalEnum.GLOBAL_COORDS = "GLOBAL_COORDS";
  17521. IfcGlobalOrLocalEnum.LOCAL_COORDS = "LOCAL_COORDS";
  17522. var IfcGridTypeEnum = class {
  17523. constructor(v) {
  17524. this.value = v;
  17525. }
  17526. };
  17527. IfcGridTypeEnum.RECTANGULAR = "RECTANGULAR";
  17528. IfcGridTypeEnum.RADIAL = "RADIAL";
  17529. IfcGridTypeEnum.TRIANGULAR = "TRIANGULAR";
  17530. IfcGridTypeEnum.IRREGULAR = "IRREGULAR";
  17531. IfcGridTypeEnum.USERDEFINED = "USERDEFINED";
  17532. IfcGridTypeEnum.NOTDEFINED = "NOTDEFINED";
  17533. var IfcHeatExchangerTypeEnum = class {
  17534. constructor(v) {
  17535. this.value = v;
  17536. }
  17537. };
  17538. IfcHeatExchangerTypeEnum.PLATE = "PLATE";
  17539. IfcHeatExchangerTypeEnum.SHELLANDTUBE = "SHELLANDTUBE";
  17540. IfcHeatExchangerTypeEnum.USERDEFINED = "USERDEFINED";
  17541. IfcHeatExchangerTypeEnum.NOTDEFINED = "NOTDEFINED";
  17542. var IfcHumidifierTypeEnum = class {
  17543. constructor(v) {
  17544. this.value = v;
  17545. }
  17546. };
  17547. IfcHumidifierTypeEnum.STEAMINJECTION = "STEAMINJECTION";
  17548. IfcHumidifierTypeEnum.ADIABATICAIRWASHER = "ADIABATICAIRWASHER";
  17549. IfcHumidifierTypeEnum.ADIABATICPAN = "ADIABATICPAN";
  17550. IfcHumidifierTypeEnum.ADIABATICWETTEDELEMENT = "ADIABATICWETTEDELEMENT";
  17551. IfcHumidifierTypeEnum.ADIABATICATOMIZING = "ADIABATICATOMIZING";
  17552. IfcHumidifierTypeEnum.ADIABATICULTRASONIC = "ADIABATICULTRASONIC";
  17553. IfcHumidifierTypeEnum.ADIABATICRIGIDMEDIA = "ADIABATICRIGIDMEDIA";
  17554. IfcHumidifierTypeEnum.ADIABATICCOMPRESSEDAIRNOZZLE = "ADIABATICCOMPRESSEDAIRNOZZLE";
  17555. IfcHumidifierTypeEnum.ASSISTEDELECTRIC = "ASSISTEDELECTRIC";
  17556. IfcHumidifierTypeEnum.ASSISTEDNATURALGAS = "ASSISTEDNATURALGAS";
  17557. IfcHumidifierTypeEnum.ASSISTEDPROPANE = "ASSISTEDPROPANE";
  17558. IfcHumidifierTypeEnum.ASSISTEDBUTANE = "ASSISTEDBUTANE";
  17559. IfcHumidifierTypeEnum.ASSISTEDSTEAM = "ASSISTEDSTEAM";
  17560. IfcHumidifierTypeEnum.USERDEFINED = "USERDEFINED";
  17561. IfcHumidifierTypeEnum.NOTDEFINED = "NOTDEFINED";
  17562. var IfcInterceptorTypeEnum = class {
  17563. constructor(v) {
  17564. this.value = v;
  17565. }
  17566. };
  17567. IfcInterceptorTypeEnum.CYCLONIC = "CYCLONIC";
  17568. IfcInterceptorTypeEnum.GREASE = "GREASE";
  17569. IfcInterceptorTypeEnum.OIL = "OIL";
  17570. IfcInterceptorTypeEnum.PETROL = "PETROL";
  17571. IfcInterceptorTypeEnum.USERDEFINED = "USERDEFINED";
  17572. IfcInterceptorTypeEnum.NOTDEFINED = "NOTDEFINED";
  17573. var IfcInternalOrExternalEnum = class {
  17574. constructor(v) {
  17575. this.value = v;
  17576. }
  17577. };
  17578. IfcInternalOrExternalEnum.INTERNAL = "INTERNAL";
  17579. IfcInternalOrExternalEnum.EXTERNAL = "EXTERNAL";
  17580. IfcInternalOrExternalEnum.EXTERNAL_EARTH = "EXTERNAL_EARTH";
  17581. IfcInternalOrExternalEnum.EXTERNAL_WATER = "EXTERNAL_WATER";
  17582. IfcInternalOrExternalEnum.EXTERNAL_FIRE = "EXTERNAL_FIRE";
  17583. IfcInternalOrExternalEnum.NOTDEFINED = "NOTDEFINED";
  17584. var IfcInventoryTypeEnum = class {
  17585. constructor(v) {
  17586. this.value = v;
  17587. }
  17588. };
  17589. IfcInventoryTypeEnum.ASSETINVENTORY = "ASSETINVENTORY";
  17590. IfcInventoryTypeEnum.SPACEINVENTORY = "SPACEINVENTORY";
  17591. IfcInventoryTypeEnum.FURNITUREINVENTORY = "FURNITUREINVENTORY";
  17592. IfcInventoryTypeEnum.USERDEFINED = "USERDEFINED";
  17593. IfcInventoryTypeEnum.NOTDEFINED = "NOTDEFINED";
  17594. var IfcJunctionBoxTypeEnum = class {
  17595. constructor(v) {
  17596. this.value = v;
  17597. }
  17598. };
  17599. IfcJunctionBoxTypeEnum.DATA = "DATA";
  17600. IfcJunctionBoxTypeEnum.POWER = "POWER";
  17601. IfcJunctionBoxTypeEnum.USERDEFINED = "USERDEFINED";
  17602. IfcJunctionBoxTypeEnum.NOTDEFINED = "NOTDEFINED";
  17603. var IfcKnotType = class {
  17604. constructor(v) {
  17605. this.value = v;
  17606. }
  17607. };
  17608. IfcKnotType.UNIFORM_KNOTS = "UNIFORM_KNOTS";
  17609. IfcKnotType.QUASI_UNIFORM_KNOTS = "QUASI_UNIFORM_KNOTS";
  17610. IfcKnotType.PIECEWISE_BEZIER_KNOTS = "PIECEWISE_BEZIER_KNOTS";
  17611. IfcKnotType.UNSPECIFIED = "UNSPECIFIED";
  17612. var IfcLaborResourceTypeEnum = class {
  17613. constructor(v) {
  17614. this.value = v;
  17615. }
  17616. };
  17617. IfcLaborResourceTypeEnum.ADMINISTRATION = "ADMINISTRATION";
  17618. IfcLaborResourceTypeEnum.CARPENTRY = "CARPENTRY";
  17619. IfcLaborResourceTypeEnum.CLEANING = "CLEANING";
  17620. IfcLaborResourceTypeEnum.CONCRETE = "CONCRETE";
  17621. IfcLaborResourceTypeEnum.DRYWALL = "DRYWALL";
  17622. IfcLaborResourceTypeEnum.ELECTRIC = "ELECTRIC";
  17623. IfcLaborResourceTypeEnum.FINISHING = "FINISHING";
  17624. IfcLaborResourceTypeEnum.FLOORING = "FLOORING";
  17625. IfcLaborResourceTypeEnum.GENERAL = "GENERAL";
  17626. IfcLaborResourceTypeEnum.HVAC = "HVAC";
  17627. IfcLaborResourceTypeEnum.LANDSCAPING = "LANDSCAPING";
  17628. IfcLaborResourceTypeEnum.MASONRY = "MASONRY";
  17629. IfcLaborResourceTypeEnum.PAINTING = "PAINTING";
  17630. IfcLaborResourceTypeEnum.PAVING = "PAVING";
  17631. IfcLaborResourceTypeEnum.PLUMBING = "PLUMBING";
  17632. IfcLaborResourceTypeEnum.ROOFING = "ROOFING";
  17633. IfcLaborResourceTypeEnum.SITEGRADING = "SITEGRADING";
  17634. IfcLaborResourceTypeEnum.STEELWORK = "STEELWORK";
  17635. IfcLaborResourceTypeEnum.SURVEYING = "SURVEYING";
  17636. IfcLaborResourceTypeEnum.USERDEFINED = "USERDEFINED";
  17637. IfcLaborResourceTypeEnum.NOTDEFINED = "NOTDEFINED";
  17638. var IfcLampTypeEnum = class {
  17639. constructor(v) {
  17640. this.value = v;
  17641. }
  17642. };
  17643. IfcLampTypeEnum.COMPACTFLUORESCENT = "COMPACTFLUORESCENT";
  17644. IfcLampTypeEnum.FLUORESCENT = "FLUORESCENT";
  17645. IfcLampTypeEnum.HALOGEN = "HALOGEN";
  17646. IfcLampTypeEnum.HIGHPRESSUREMERCURY = "HIGHPRESSUREMERCURY";
  17647. IfcLampTypeEnum.HIGHPRESSURESODIUM = "HIGHPRESSURESODIUM";
  17648. IfcLampTypeEnum.LED = "LED";
  17649. IfcLampTypeEnum.METALHALIDE = "METALHALIDE";
  17650. IfcLampTypeEnum.OLED = "OLED";
  17651. IfcLampTypeEnum.TUNGSTENFILAMENT = "TUNGSTENFILAMENT";
  17652. IfcLampTypeEnum.USERDEFINED = "USERDEFINED";
  17653. IfcLampTypeEnum.NOTDEFINED = "NOTDEFINED";
  17654. var IfcLayerSetDirectionEnum = class {
  17655. constructor(v) {
  17656. this.value = v;
  17657. }
  17658. };
  17659. IfcLayerSetDirectionEnum.AXIS1 = "AXIS1";
  17660. IfcLayerSetDirectionEnum.AXIS2 = "AXIS2";
  17661. IfcLayerSetDirectionEnum.AXIS3 = "AXIS3";
  17662. var IfcLightDistributionCurveEnum = class {
  17663. constructor(v) {
  17664. this.value = v;
  17665. }
  17666. };
  17667. IfcLightDistributionCurveEnum.TYPE_A = "TYPE_A";
  17668. IfcLightDistributionCurveEnum.TYPE_B = "TYPE_B";
  17669. IfcLightDistributionCurveEnum.TYPE_C = "TYPE_C";
  17670. IfcLightDistributionCurveEnum.NOTDEFINED = "NOTDEFINED";
  17671. var IfcLightEmissionSourceEnum = class {
  17672. constructor(v) {
  17673. this.value = v;
  17674. }
  17675. };
  17676. IfcLightEmissionSourceEnum.COMPACTFLUORESCENT = "COMPACTFLUORESCENT";
  17677. IfcLightEmissionSourceEnum.FLUORESCENT = "FLUORESCENT";
  17678. IfcLightEmissionSourceEnum.HIGHPRESSUREMERCURY = "HIGHPRESSUREMERCURY";
  17679. IfcLightEmissionSourceEnum.HIGHPRESSURESODIUM = "HIGHPRESSURESODIUM";
  17680. IfcLightEmissionSourceEnum.LIGHTEMITTINGDIODE = "LIGHTEMITTINGDIODE";
  17681. IfcLightEmissionSourceEnum.LOWPRESSURESODIUM = "LOWPRESSURESODIUM";
  17682. IfcLightEmissionSourceEnum.LOWVOLTAGEHALOGEN = "LOWVOLTAGEHALOGEN";
  17683. IfcLightEmissionSourceEnum.MAINVOLTAGEHALOGEN = "MAINVOLTAGEHALOGEN";
  17684. IfcLightEmissionSourceEnum.METALHALIDE = "METALHALIDE";
  17685. IfcLightEmissionSourceEnum.TUNGSTENFILAMENT = "TUNGSTENFILAMENT";
  17686. IfcLightEmissionSourceEnum.NOTDEFINED = "NOTDEFINED";
  17687. var IfcLightFixtureTypeEnum = class {
  17688. constructor(v) {
  17689. this.value = v;
  17690. }
  17691. };
  17692. IfcLightFixtureTypeEnum.POINTSOURCE = "POINTSOURCE";
  17693. IfcLightFixtureTypeEnum.DIRECTIONSOURCE = "DIRECTIONSOURCE";
  17694. IfcLightFixtureTypeEnum.SECURITYLIGHTING = "SECURITYLIGHTING";
  17695. IfcLightFixtureTypeEnum.USERDEFINED = "USERDEFINED";
  17696. IfcLightFixtureTypeEnum.NOTDEFINED = "NOTDEFINED";
  17697. var IfcLoadGroupTypeEnum = class {
  17698. constructor(v) {
  17699. this.value = v;
  17700. }
  17701. };
  17702. IfcLoadGroupTypeEnum.LOAD_GROUP = "LOAD_GROUP";
  17703. IfcLoadGroupTypeEnum.LOAD_CASE = "LOAD_CASE";
  17704. IfcLoadGroupTypeEnum.LOAD_COMBINATION = "LOAD_COMBINATION";
  17705. IfcLoadGroupTypeEnum.USERDEFINED = "USERDEFINED";
  17706. IfcLoadGroupTypeEnum.NOTDEFINED = "NOTDEFINED";
  17707. var IfcLogicalOperatorEnum = class {
  17708. constructor(v) {
  17709. this.value = v;
  17710. }
  17711. };
  17712. IfcLogicalOperatorEnum.LOGICALAND = "LOGICALAND";
  17713. IfcLogicalOperatorEnum.LOGICALOR = "LOGICALOR";
  17714. IfcLogicalOperatorEnum.LOGICALXOR = "LOGICALXOR";
  17715. IfcLogicalOperatorEnum.LOGICALNOTAND = "LOGICALNOTAND";
  17716. IfcLogicalOperatorEnum.LOGICALNOTOR = "LOGICALNOTOR";
  17717. var IfcMechanicalFastenerTypeEnum = class {
  17718. constructor(v) {
  17719. this.value = v;
  17720. }
  17721. };
  17722. IfcMechanicalFastenerTypeEnum.ANCHORBOLT = "ANCHORBOLT";
  17723. IfcMechanicalFastenerTypeEnum.BOLT = "BOLT";
  17724. IfcMechanicalFastenerTypeEnum.DOWEL = "DOWEL";
  17725. IfcMechanicalFastenerTypeEnum.NAIL = "NAIL";
  17726. IfcMechanicalFastenerTypeEnum.NAILPLATE = "NAILPLATE";
  17727. IfcMechanicalFastenerTypeEnum.RIVET = "RIVET";
  17728. IfcMechanicalFastenerTypeEnum.SCREW = "SCREW";
  17729. IfcMechanicalFastenerTypeEnum.SHEARCONNECTOR = "SHEARCONNECTOR";
  17730. IfcMechanicalFastenerTypeEnum.STAPLE = "STAPLE";
  17731. IfcMechanicalFastenerTypeEnum.STUDSHEARCONNECTOR = "STUDSHEARCONNECTOR";
  17732. IfcMechanicalFastenerTypeEnum.COUPLER = "COUPLER";
  17733. IfcMechanicalFastenerTypeEnum.USERDEFINED = "USERDEFINED";
  17734. IfcMechanicalFastenerTypeEnum.NOTDEFINED = "NOTDEFINED";
  17735. var IfcMedicalDeviceTypeEnum = class {
  17736. constructor(v) {
  17737. this.value = v;
  17738. }
  17739. };
  17740. IfcMedicalDeviceTypeEnum.AIRSTATION = "AIRSTATION";
  17741. IfcMedicalDeviceTypeEnum.FEEDAIRUNIT = "FEEDAIRUNIT";
  17742. IfcMedicalDeviceTypeEnum.OXYGENGENERATOR = "OXYGENGENERATOR";
  17743. IfcMedicalDeviceTypeEnum.OXYGENPLANT = "OXYGENPLANT";
  17744. IfcMedicalDeviceTypeEnum.VACUUMSTATION = "VACUUMSTATION";
  17745. IfcMedicalDeviceTypeEnum.USERDEFINED = "USERDEFINED";
  17746. IfcMedicalDeviceTypeEnum.NOTDEFINED = "NOTDEFINED";
  17747. var IfcMemberTypeEnum = class {
  17748. constructor(v) {
  17749. this.value = v;
  17750. }
  17751. };
  17752. IfcMemberTypeEnum.BRACE = "BRACE";
  17753. IfcMemberTypeEnum.CHORD = "CHORD";
  17754. IfcMemberTypeEnum.COLLAR = "COLLAR";
  17755. IfcMemberTypeEnum.MEMBER = "MEMBER";
  17756. IfcMemberTypeEnum.MULLION = "MULLION";
  17757. IfcMemberTypeEnum.PLATE = "PLATE";
  17758. IfcMemberTypeEnum.POST = "POST";
  17759. IfcMemberTypeEnum.PURLIN = "PURLIN";
  17760. IfcMemberTypeEnum.RAFTER = "RAFTER";
  17761. IfcMemberTypeEnum.STRINGER = "STRINGER";
  17762. IfcMemberTypeEnum.STRUT = "STRUT";
  17763. IfcMemberTypeEnum.STUD = "STUD";
  17764. IfcMemberTypeEnum.STIFFENING_RIB = "STIFFENING_RIB";
  17765. IfcMemberTypeEnum.ARCH_SEGMENT = "ARCH_SEGMENT";
  17766. IfcMemberTypeEnum.SUSPENSION_CABLE = "SUSPENSION_CABLE";
  17767. IfcMemberTypeEnum.SUSPENDER = "SUSPENDER";
  17768. IfcMemberTypeEnum.STAY_CABLE = "STAY_CABLE";
  17769. IfcMemberTypeEnum.USERDEFINED = "USERDEFINED";
  17770. IfcMemberTypeEnum.NOTDEFINED = "NOTDEFINED";
  17771. var IfcMotorConnectionTypeEnum = class {
  17772. constructor(v) {
  17773. this.value = v;
  17774. }
  17775. };
  17776. IfcMotorConnectionTypeEnum.BELTDRIVE = "BELTDRIVE";
  17777. IfcMotorConnectionTypeEnum.COUPLING = "COUPLING";
  17778. IfcMotorConnectionTypeEnum.DIRECTDRIVE = "DIRECTDRIVE";
  17779. IfcMotorConnectionTypeEnum.USERDEFINED = "USERDEFINED";
  17780. IfcMotorConnectionTypeEnum.NOTDEFINED = "NOTDEFINED";
  17781. var IfcNullStyle = class {
  17782. constructor(v) {
  17783. this.value = v;
  17784. }
  17785. };
  17786. IfcNullStyle.NULL = "NULL";
  17787. var IfcObjectTypeEnum = class {
  17788. constructor(v) {
  17789. this.value = v;
  17790. }
  17791. };
  17792. IfcObjectTypeEnum.PRODUCT = "PRODUCT";
  17793. IfcObjectTypeEnum.PROCESS = "PROCESS";
  17794. IfcObjectTypeEnum.CONTROL = "CONTROL";
  17795. IfcObjectTypeEnum.RESOURCE = "RESOURCE";
  17796. IfcObjectTypeEnum.ACTOR = "ACTOR";
  17797. IfcObjectTypeEnum.GROUP = "GROUP";
  17798. IfcObjectTypeEnum.PROJECT = "PROJECT";
  17799. IfcObjectTypeEnum.NOTDEFINED = "NOTDEFINED";
  17800. var IfcObjectiveEnum = class {
  17801. constructor(v) {
  17802. this.value = v;
  17803. }
  17804. };
  17805. IfcObjectiveEnum.CODECOMPLIANCE = "CODECOMPLIANCE";
  17806. IfcObjectiveEnum.CODEWAIVER = "CODEWAIVER";
  17807. IfcObjectiveEnum.DESIGNINTENT = "DESIGNINTENT";
  17808. IfcObjectiveEnum.EXTERNAL = "EXTERNAL";
  17809. IfcObjectiveEnum.HEALTHANDSAFETY = "HEALTHANDSAFETY";
  17810. IfcObjectiveEnum.MERGECONFLICT = "MERGECONFLICT";
  17811. IfcObjectiveEnum.MODELVIEW = "MODELVIEW";
  17812. IfcObjectiveEnum.PARAMETER = "PARAMETER";
  17813. IfcObjectiveEnum.REQUIREMENT = "REQUIREMENT";
  17814. IfcObjectiveEnum.SPECIFICATION = "SPECIFICATION";
  17815. IfcObjectiveEnum.TRIGGERCONDITION = "TRIGGERCONDITION";
  17816. IfcObjectiveEnum.USERDEFINED = "USERDEFINED";
  17817. IfcObjectiveEnum.NOTDEFINED = "NOTDEFINED";
  17818. var IfcOccupantTypeEnum = class {
  17819. constructor(v) {
  17820. this.value = v;
  17821. }
  17822. };
  17823. IfcOccupantTypeEnum.ASSIGNEE = "ASSIGNEE";
  17824. IfcOccupantTypeEnum.ASSIGNOR = "ASSIGNOR";
  17825. IfcOccupantTypeEnum.LESSEE = "LESSEE";
  17826. IfcOccupantTypeEnum.LESSOR = "LESSOR";
  17827. IfcOccupantTypeEnum.LETTINGAGENT = "LETTINGAGENT";
  17828. IfcOccupantTypeEnum.OWNER = "OWNER";
  17829. IfcOccupantTypeEnum.TENANT = "TENANT";
  17830. IfcOccupantTypeEnum.USERDEFINED = "USERDEFINED";
  17831. IfcOccupantTypeEnum.NOTDEFINED = "NOTDEFINED";
  17832. var IfcOpeningElementTypeEnum = class {
  17833. constructor(v) {
  17834. this.value = v;
  17835. }
  17836. };
  17837. IfcOpeningElementTypeEnum.OPENING = "OPENING";
  17838. IfcOpeningElementTypeEnum.RECESS = "RECESS";
  17839. IfcOpeningElementTypeEnum.USERDEFINED = "USERDEFINED";
  17840. IfcOpeningElementTypeEnum.NOTDEFINED = "NOTDEFINED";
  17841. var IfcOutletTypeEnum = class {
  17842. constructor(v) {
  17843. this.value = v;
  17844. }
  17845. };
  17846. IfcOutletTypeEnum.AUDIOVISUALOUTLET = "AUDIOVISUALOUTLET";
  17847. IfcOutletTypeEnum.COMMUNICATIONSOUTLET = "COMMUNICATIONSOUTLET";
  17848. IfcOutletTypeEnum.POWEROUTLET = "POWEROUTLET";
  17849. IfcOutletTypeEnum.DATAOUTLET = "DATAOUTLET";
  17850. IfcOutletTypeEnum.TELEPHONEOUTLET = "TELEPHONEOUTLET";
  17851. IfcOutletTypeEnum.USERDEFINED = "USERDEFINED";
  17852. IfcOutletTypeEnum.NOTDEFINED = "NOTDEFINED";
  17853. var IfcPerformanceHistoryTypeEnum = class {
  17854. constructor(v) {
  17855. this.value = v;
  17856. }
  17857. };
  17858. IfcPerformanceHistoryTypeEnum.USERDEFINED = "USERDEFINED";
  17859. IfcPerformanceHistoryTypeEnum.NOTDEFINED = "NOTDEFINED";
  17860. var IfcPermeableCoveringOperationEnum = class {
  17861. constructor(v) {
  17862. this.value = v;
  17863. }
  17864. };
  17865. IfcPermeableCoveringOperationEnum.GRILL = "GRILL";
  17866. IfcPermeableCoveringOperationEnum.LOUVER = "LOUVER";
  17867. IfcPermeableCoveringOperationEnum.SCREEN = "SCREEN";
  17868. IfcPermeableCoveringOperationEnum.USERDEFINED = "USERDEFINED";
  17869. IfcPermeableCoveringOperationEnum.NOTDEFINED = "NOTDEFINED";
  17870. var IfcPermitTypeEnum = class {
  17871. constructor(v) {
  17872. this.value = v;
  17873. }
  17874. };
  17875. IfcPermitTypeEnum.ACCESS = "ACCESS";
  17876. IfcPermitTypeEnum.BUILDING = "BUILDING";
  17877. IfcPermitTypeEnum.WORK = "WORK";
  17878. IfcPermitTypeEnum.USERDEFINED = "USERDEFINED";
  17879. IfcPermitTypeEnum.NOTDEFINED = "NOTDEFINED";
  17880. var IfcPhysicalOrVirtualEnum = class {
  17881. constructor(v) {
  17882. this.value = v;
  17883. }
  17884. };
  17885. IfcPhysicalOrVirtualEnum.PHYSICAL = "PHYSICAL";
  17886. IfcPhysicalOrVirtualEnum.VIRTUAL = "VIRTUAL";
  17887. IfcPhysicalOrVirtualEnum.NOTDEFINED = "NOTDEFINED";
  17888. var IfcPileConstructionEnum = class {
  17889. constructor(v) {
  17890. this.value = v;
  17891. }
  17892. };
  17893. IfcPileConstructionEnum.CAST_IN_PLACE = "CAST_IN_PLACE";
  17894. IfcPileConstructionEnum.COMPOSITE = "COMPOSITE";
  17895. IfcPileConstructionEnum.PRECAST_CONCRETE = "PRECAST_CONCRETE";
  17896. IfcPileConstructionEnum.PREFAB_STEEL = "PREFAB_STEEL";
  17897. IfcPileConstructionEnum.USERDEFINED = "USERDEFINED";
  17898. IfcPileConstructionEnum.NOTDEFINED = "NOTDEFINED";
  17899. var IfcPileTypeEnum = class {
  17900. constructor(v) {
  17901. this.value = v;
  17902. }
  17903. };
  17904. IfcPileTypeEnum.BORED = "BORED";
  17905. IfcPileTypeEnum.DRIVEN = "DRIVEN";
  17906. IfcPileTypeEnum.JETGROUTING = "JETGROUTING";
  17907. IfcPileTypeEnum.COHESION = "COHESION";
  17908. IfcPileTypeEnum.FRICTION = "FRICTION";
  17909. IfcPileTypeEnum.SUPPORT = "SUPPORT";
  17910. IfcPileTypeEnum.USERDEFINED = "USERDEFINED";
  17911. IfcPileTypeEnum.NOTDEFINED = "NOTDEFINED";
  17912. var IfcPipeFittingTypeEnum = class {
  17913. constructor(v) {
  17914. this.value = v;
  17915. }
  17916. };
  17917. IfcPipeFittingTypeEnum.BEND = "BEND";
  17918. IfcPipeFittingTypeEnum.CONNECTOR = "CONNECTOR";
  17919. IfcPipeFittingTypeEnum.ENTRY = "ENTRY";
  17920. IfcPipeFittingTypeEnum.EXIT = "EXIT";
  17921. IfcPipeFittingTypeEnum.JUNCTION = "JUNCTION";
  17922. IfcPipeFittingTypeEnum.OBSTRUCTION = "OBSTRUCTION";
  17923. IfcPipeFittingTypeEnum.TRANSITION = "TRANSITION";
  17924. IfcPipeFittingTypeEnum.USERDEFINED = "USERDEFINED";
  17925. IfcPipeFittingTypeEnum.NOTDEFINED = "NOTDEFINED";
  17926. var IfcPipeSegmentTypeEnum = class {
  17927. constructor(v) {
  17928. this.value = v;
  17929. }
  17930. };
  17931. IfcPipeSegmentTypeEnum.CULVERT = "CULVERT";
  17932. IfcPipeSegmentTypeEnum.FLEXIBLESEGMENT = "FLEXIBLESEGMENT";
  17933. IfcPipeSegmentTypeEnum.RIGIDSEGMENT = "RIGIDSEGMENT";
  17934. IfcPipeSegmentTypeEnum.GUTTER = "GUTTER";
  17935. IfcPipeSegmentTypeEnum.SPOOL = "SPOOL";
  17936. IfcPipeSegmentTypeEnum.USERDEFINED = "USERDEFINED";
  17937. IfcPipeSegmentTypeEnum.NOTDEFINED = "NOTDEFINED";
  17938. var IfcPlateTypeEnum = class {
  17939. constructor(v) {
  17940. this.value = v;
  17941. }
  17942. };
  17943. IfcPlateTypeEnum.CURTAIN_PANEL = "CURTAIN_PANEL";
  17944. IfcPlateTypeEnum.SHEET = "SHEET";
  17945. IfcPlateTypeEnum.FLANGE_PLATE = "FLANGE_PLATE";
  17946. IfcPlateTypeEnum.WEB_PLATE = "WEB_PLATE";
  17947. IfcPlateTypeEnum.STIFFENER_PLATE = "STIFFENER_PLATE";
  17948. IfcPlateTypeEnum.GUSSET_PLATE = "GUSSET_PLATE";
  17949. IfcPlateTypeEnum.COVER_PLATE = "COVER_PLATE";
  17950. IfcPlateTypeEnum.SPLICE_PLATE = "SPLICE_PLATE";
  17951. IfcPlateTypeEnum.BASE_PLATE = "BASE_PLATE";
  17952. IfcPlateTypeEnum.USERDEFINED = "USERDEFINED";
  17953. IfcPlateTypeEnum.NOTDEFINED = "NOTDEFINED";
  17954. var IfcPreferredSurfaceCurveRepresentation = class {
  17955. constructor(v) {
  17956. this.value = v;
  17957. }
  17958. };
  17959. IfcPreferredSurfaceCurveRepresentation.CURVE3D = "CURVE3D";
  17960. IfcPreferredSurfaceCurveRepresentation.PCURVE_S1 = "PCURVE_S1";
  17961. IfcPreferredSurfaceCurveRepresentation.PCURVE_S2 = "PCURVE_S2";
  17962. var IfcProcedureTypeEnum = class {
  17963. constructor(v) {
  17964. this.value = v;
  17965. }
  17966. };
  17967. IfcProcedureTypeEnum.ADVICE_CAUTION = "ADVICE_CAUTION";
  17968. IfcProcedureTypeEnum.ADVICE_NOTE = "ADVICE_NOTE";
  17969. IfcProcedureTypeEnum.ADVICE_WARNING = "ADVICE_WARNING";
  17970. IfcProcedureTypeEnum.CALIBRATION = "CALIBRATION";
  17971. IfcProcedureTypeEnum.DIAGNOSTIC = "DIAGNOSTIC";
  17972. IfcProcedureTypeEnum.SHUTDOWN = "SHUTDOWN";
  17973. IfcProcedureTypeEnum.STARTUP = "STARTUP";
  17974. IfcProcedureTypeEnum.USERDEFINED = "USERDEFINED";
  17975. IfcProcedureTypeEnum.NOTDEFINED = "NOTDEFINED";
  17976. var IfcProfileTypeEnum = class {
  17977. constructor(v) {
  17978. this.value = v;
  17979. }
  17980. };
  17981. IfcProfileTypeEnum.CURVE = "CURVE";
  17982. IfcProfileTypeEnum.AREA = "AREA";
  17983. var IfcProjectOrderTypeEnum = class {
  17984. constructor(v) {
  17985. this.value = v;
  17986. }
  17987. };
  17988. IfcProjectOrderTypeEnum.CHANGEORDER = "CHANGEORDER";
  17989. IfcProjectOrderTypeEnum.MAINTENANCEWORKORDER = "MAINTENANCEWORKORDER";
  17990. IfcProjectOrderTypeEnum.MOVEORDER = "MOVEORDER";
  17991. IfcProjectOrderTypeEnum.PURCHASEORDER = "PURCHASEORDER";
  17992. IfcProjectOrderTypeEnum.WORKORDER = "WORKORDER";
  17993. IfcProjectOrderTypeEnum.USERDEFINED = "USERDEFINED";
  17994. IfcProjectOrderTypeEnum.NOTDEFINED = "NOTDEFINED";
  17995. var IfcProjectedOrTrueLengthEnum = class {
  17996. constructor(v) {
  17997. this.value = v;
  17998. }
  17999. };
  18000. IfcProjectedOrTrueLengthEnum.PROJECTED_LENGTH = "PROJECTED_LENGTH";
  18001. IfcProjectedOrTrueLengthEnum.TRUE_LENGTH = "TRUE_LENGTH";
  18002. var IfcProjectionElementTypeEnum = class {
  18003. constructor(v) {
  18004. this.value = v;
  18005. }
  18006. };
  18007. IfcProjectionElementTypeEnum.BLISTER = "BLISTER";
  18008. IfcProjectionElementTypeEnum.DEVIATOR = "DEVIATOR";
  18009. IfcProjectionElementTypeEnum.USERDEFINED = "USERDEFINED";
  18010. IfcProjectionElementTypeEnum.NOTDEFINED = "NOTDEFINED";
  18011. var IfcPropertySetTemplateTypeEnum = class {
  18012. constructor(v) {
  18013. this.value = v;
  18014. }
  18015. };
  18016. IfcPropertySetTemplateTypeEnum.PSET_TYPEDRIVENONLY = "PSET_TYPEDRIVENONLY";
  18017. IfcPropertySetTemplateTypeEnum.PSET_TYPEDRIVENOVERRIDE = "PSET_TYPEDRIVENOVERRIDE";
  18018. IfcPropertySetTemplateTypeEnum.PSET_OCCURRENCEDRIVEN = "PSET_OCCURRENCEDRIVEN";
  18019. IfcPropertySetTemplateTypeEnum.PSET_PERFORMANCEDRIVEN = "PSET_PERFORMANCEDRIVEN";
  18020. IfcPropertySetTemplateTypeEnum.QTO_TYPEDRIVENONLY = "QTO_TYPEDRIVENONLY";
  18021. IfcPropertySetTemplateTypeEnum.QTO_TYPEDRIVENOVERRIDE = "QTO_TYPEDRIVENOVERRIDE";
  18022. IfcPropertySetTemplateTypeEnum.QTO_OCCURRENCEDRIVEN = "QTO_OCCURRENCEDRIVEN";
  18023. IfcPropertySetTemplateTypeEnum.NOTDEFINED = "NOTDEFINED";
  18024. var IfcProtectiveDeviceTrippingUnitTypeEnum = class {
  18025. constructor(v) {
  18026. this.value = v;
  18027. }
  18028. };
  18029. IfcProtectiveDeviceTrippingUnitTypeEnum.ELECTRONIC = "ELECTRONIC";
  18030. IfcProtectiveDeviceTrippingUnitTypeEnum.ELECTROMAGNETIC = "ELECTROMAGNETIC";
  18031. IfcProtectiveDeviceTrippingUnitTypeEnum.RESIDUALCURRENT = "RESIDUALCURRENT";
  18032. IfcProtectiveDeviceTrippingUnitTypeEnum.THERMAL = "THERMAL";
  18033. IfcProtectiveDeviceTrippingUnitTypeEnum.USERDEFINED = "USERDEFINED";
  18034. IfcProtectiveDeviceTrippingUnitTypeEnum.NOTDEFINED = "NOTDEFINED";
  18035. var IfcProtectiveDeviceTypeEnum = class {
  18036. constructor(v) {
  18037. this.value = v;
  18038. }
  18039. };
  18040. IfcProtectiveDeviceTypeEnum.CIRCUITBREAKER = "CIRCUITBREAKER";
  18041. IfcProtectiveDeviceTypeEnum.EARTHLEAKAGECIRCUITBREAKER = "EARTHLEAKAGECIRCUITBREAKER";
  18042. IfcProtectiveDeviceTypeEnum.EARTHINGSWITCH = "EARTHINGSWITCH";
  18043. IfcProtectiveDeviceTypeEnum.FUSEDISCONNECTOR = "FUSEDISCONNECTOR";
  18044. IfcProtectiveDeviceTypeEnum.RESIDUALCURRENTCIRCUITBREAKER = "RESIDUALCURRENTCIRCUITBREAKER";
  18045. IfcProtectiveDeviceTypeEnum.RESIDUALCURRENTSWITCH = "RESIDUALCURRENTSWITCH";
  18046. IfcProtectiveDeviceTypeEnum.VARISTOR = "VARISTOR";
  18047. IfcProtectiveDeviceTypeEnum.USERDEFINED = "USERDEFINED";
  18048. IfcProtectiveDeviceTypeEnum.NOTDEFINED = "NOTDEFINED";
  18049. var IfcPumpTypeEnum = class {
  18050. constructor(v) {
  18051. this.value = v;
  18052. }
  18053. };
  18054. IfcPumpTypeEnum.CIRCULATOR = "CIRCULATOR";
  18055. IfcPumpTypeEnum.ENDSUCTION = "ENDSUCTION";
  18056. IfcPumpTypeEnum.SPLITCASE = "SPLITCASE";
  18057. IfcPumpTypeEnum.SUBMERSIBLEPUMP = "SUBMERSIBLEPUMP";
  18058. IfcPumpTypeEnum.SUMPPUMP = "SUMPPUMP";
  18059. IfcPumpTypeEnum.VERTICALINLINE = "VERTICALINLINE";
  18060. IfcPumpTypeEnum.VERTICALTURBINE = "VERTICALTURBINE";
  18061. IfcPumpTypeEnum.USERDEFINED = "USERDEFINED";
  18062. IfcPumpTypeEnum.NOTDEFINED = "NOTDEFINED";
  18063. var IfcRailingTypeEnum = class {
  18064. constructor(v) {
  18065. this.value = v;
  18066. }
  18067. };
  18068. IfcRailingTypeEnum.HANDRAIL = "HANDRAIL";
  18069. IfcRailingTypeEnum.GUARDRAIL = "GUARDRAIL";
  18070. IfcRailingTypeEnum.BALUSTRADE = "BALUSTRADE";
  18071. IfcRailingTypeEnum.USERDEFINED = "USERDEFINED";
  18072. IfcRailingTypeEnum.NOTDEFINED = "NOTDEFINED";
  18073. var IfcRampFlightTypeEnum = class {
  18074. constructor(v) {
  18075. this.value = v;
  18076. }
  18077. };
  18078. IfcRampFlightTypeEnum.STRAIGHT = "STRAIGHT";
  18079. IfcRampFlightTypeEnum.SPIRAL = "SPIRAL";
  18080. IfcRampFlightTypeEnum.USERDEFINED = "USERDEFINED";
  18081. IfcRampFlightTypeEnum.NOTDEFINED = "NOTDEFINED";
  18082. var IfcRampTypeEnum = class {
  18083. constructor(v) {
  18084. this.value = v;
  18085. }
  18086. };
  18087. IfcRampTypeEnum.STRAIGHT_RUN_RAMP = "STRAIGHT_RUN_RAMP";
  18088. IfcRampTypeEnum.TWO_STRAIGHT_RUN_RAMP = "TWO_STRAIGHT_RUN_RAMP";
  18089. IfcRampTypeEnum.QUARTER_TURN_RAMP = "QUARTER_TURN_RAMP";
  18090. IfcRampTypeEnum.TWO_QUARTER_TURN_RAMP = "TWO_QUARTER_TURN_RAMP";
  18091. IfcRampTypeEnum.HALF_TURN_RAMP = "HALF_TURN_RAMP";
  18092. IfcRampTypeEnum.SPIRAL_RAMP = "SPIRAL_RAMP";
  18093. IfcRampTypeEnum.USERDEFINED = "USERDEFINED";
  18094. IfcRampTypeEnum.NOTDEFINED = "NOTDEFINED";
  18095. var IfcRecurrenceTypeEnum = class {
  18096. constructor(v) {
  18097. this.value = v;
  18098. }
  18099. };
  18100. IfcRecurrenceTypeEnum.DAILY = "DAILY";
  18101. IfcRecurrenceTypeEnum.WEEKLY = "WEEKLY";
  18102. IfcRecurrenceTypeEnum.MONTHLY_BY_DAY_OF_MONTH = "MONTHLY_BY_DAY_OF_MONTH";
  18103. IfcRecurrenceTypeEnum.MONTHLY_BY_POSITION = "MONTHLY_BY_POSITION";
  18104. IfcRecurrenceTypeEnum.BY_DAY_COUNT = "BY_DAY_COUNT";
  18105. IfcRecurrenceTypeEnum.BY_WEEKDAY_COUNT = "BY_WEEKDAY_COUNT";
  18106. IfcRecurrenceTypeEnum.YEARLY_BY_DAY_OF_MONTH = "YEARLY_BY_DAY_OF_MONTH";
  18107. IfcRecurrenceTypeEnum.YEARLY_BY_POSITION = "YEARLY_BY_POSITION";
  18108. var IfcReferentTypeEnum = class {
  18109. constructor(v) {
  18110. this.value = v;
  18111. }
  18112. };
  18113. IfcReferentTypeEnum.KILOPOINT = "KILOPOINT";
  18114. IfcReferentTypeEnum.MILEPOINT = "MILEPOINT";
  18115. IfcReferentTypeEnum.STATION = "STATION";
  18116. IfcReferentTypeEnum.USERDEFINED = "USERDEFINED";
  18117. IfcReferentTypeEnum.NOTDEFINED = "NOTDEFINED";
  18118. var IfcReflectanceMethodEnum = class {
  18119. constructor(v) {
  18120. this.value = v;
  18121. }
  18122. };
  18123. IfcReflectanceMethodEnum.BLINN = "BLINN";
  18124. IfcReflectanceMethodEnum.FLAT = "FLAT";
  18125. IfcReflectanceMethodEnum.GLASS = "GLASS";
  18126. IfcReflectanceMethodEnum.MATT = "MATT";
  18127. IfcReflectanceMethodEnum.METAL = "METAL";
  18128. IfcReflectanceMethodEnum.MIRROR = "MIRROR";
  18129. IfcReflectanceMethodEnum.PHONG = "PHONG";
  18130. IfcReflectanceMethodEnum.PLASTIC = "PLASTIC";
  18131. IfcReflectanceMethodEnum.STRAUSS = "STRAUSS";
  18132. IfcReflectanceMethodEnum.NOTDEFINED = "NOTDEFINED";
  18133. var IfcReinforcingBarRoleEnum = class {
  18134. constructor(v) {
  18135. this.value = v;
  18136. }
  18137. };
  18138. IfcReinforcingBarRoleEnum.MAIN = "MAIN";
  18139. IfcReinforcingBarRoleEnum.SHEAR = "SHEAR";
  18140. IfcReinforcingBarRoleEnum.LIGATURE = "LIGATURE";
  18141. IfcReinforcingBarRoleEnum.STUD = "STUD";
  18142. IfcReinforcingBarRoleEnum.PUNCHING = "PUNCHING";
  18143. IfcReinforcingBarRoleEnum.EDGE = "EDGE";
  18144. IfcReinforcingBarRoleEnum.RING = "RING";
  18145. IfcReinforcingBarRoleEnum.ANCHORING = "ANCHORING";
  18146. IfcReinforcingBarRoleEnum.USERDEFINED = "USERDEFINED";
  18147. IfcReinforcingBarRoleEnum.NOTDEFINED = "NOTDEFINED";
  18148. var IfcReinforcingBarSurfaceEnum = class {
  18149. constructor(v) {
  18150. this.value = v;
  18151. }
  18152. };
  18153. IfcReinforcingBarSurfaceEnum.PLAIN = "PLAIN";
  18154. IfcReinforcingBarSurfaceEnum.TEXTURED = "TEXTURED";
  18155. var IfcReinforcingBarTypeEnum = class {
  18156. constructor(v) {
  18157. this.value = v;
  18158. }
  18159. };
  18160. IfcReinforcingBarTypeEnum.ANCHORING = "ANCHORING";
  18161. IfcReinforcingBarTypeEnum.EDGE = "EDGE";
  18162. IfcReinforcingBarTypeEnum.LIGATURE = "LIGATURE";
  18163. IfcReinforcingBarTypeEnum.MAIN = "MAIN";
  18164. IfcReinforcingBarTypeEnum.PUNCHING = "PUNCHING";
  18165. IfcReinforcingBarTypeEnum.RING = "RING";
  18166. IfcReinforcingBarTypeEnum.SHEAR = "SHEAR";
  18167. IfcReinforcingBarTypeEnum.STUD = "STUD";
  18168. IfcReinforcingBarTypeEnum.SPACEBAR = "SPACEBAR";
  18169. IfcReinforcingBarTypeEnum.USERDEFINED = "USERDEFINED";
  18170. IfcReinforcingBarTypeEnum.NOTDEFINED = "NOTDEFINED";
  18171. var IfcReinforcingMeshTypeEnum = class {
  18172. constructor(v) {
  18173. this.value = v;
  18174. }
  18175. };
  18176. IfcReinforcingMeshTypeEnum.USERDEFINED = "USERDEFINED";
  18177. IfcReinforcingMeshTypeEnum.NOTDEFINED = "NOTDEFINED";
  18178. var IfcRoleEnum = class {
  18179. constructor(v) {
  18180. this.value = v;
  18181. }
  18182. };
  18183. IfcRoleEnum.SUPPLIER = "SUPPLIER";
  18184. IfcRoleEnum.MANUFACTURER = "MANUFACTURER";
  18185. IfcRoleEnum.CONTRACTOR = "CONTRACTOR";
  18186. IfcRoleEnum.SUBCONTRACTOR = "SUBCONTRACTOR";
  18187. IfcRoleEnum.ARCHITECT = "ARCHITECT";
  18188. IfcRoleEnum.STRUCTURALENGINEER = "STRUCTURALENGINEER";
  18189. IfcRoleEnum.COSTENGINEER = "COSTENGINEER";
  18190. IfcRoleEnum.CLIENT = "CLIENT";
  18191. IfcRoleEnum.BUILDINGOWNER = "BUILDINGOWNER";
  18192. IfcRoleEnum.BUILDINGOPERATOR = "BUILDINGOPERATOR";
  18193. IfcRoleEnum.MECHANICALENGINEER = "MECHANICALENGINEER";
  18194. IfcRoleEnum.ELECTRICALENGINEER = "ELECTRICALENGINEER";
  18195. IfcRoleEnum.PROJECTMANAGER = "PROJECTMANAGER";
  18196. IfcRoleEnum.FACILITIESMANAGER = "FACILITIESMANAGER";
  18197. IfcRoleEnum.CIVILENGINEER = "CIVILENGINEER";
  18198. IfcRoleEnum.COMMISSIONINGENGINEER = "COMMISSIONINGENGINEER";
  18199. IfcRoleEnum.ENGINEER = "ENGINEER";
  18200. IfcRoleEnum.OWNER = "OWNER";
  18201. IfcRoleEnum.CONSULTANT = "CONSULTANT";
  18202. IfcRoleEnum.CONSTRUCTIONMANAGER = "CONSTRUCTIONMANAGER";
  18203. IfcRoleEnum.FIELDCONSTRUCTIONMANAGER = "FIELDCONSTRUCTIONMANAGER";
  18204. IfcRoleEnum.RESELLER = "RESELLER";
  18205. IfcRoleEnum.USERDEFINED = "USERDEFINED";
  18206. var IfcRoofTypeEnum = class {
  18207. constructor(v) {
  18208. this.value = v;
  18209. }
  18210. };
  18211. IfcRoofTypeEnum.FLAT_ROOF = "FLAT_ROOF";
  18212. IfcRoofTypeEnum.SHED_ROOF = "SHED_ROOF";
  18213. IfcRoofTypeEnum.GABLE_ROOF = "GABLE_ROOF";
  18214. IfcRoofTypeEnum.HIP_ROOF = "HIP_ROOF";
  18215. IfcRoofTypeEnum.HIPPED_GABLE_ROOF = "HIPPED_GABLE_ROOF";
  18216. IfcRoofTypeEnum.GAMBREL_ROOF = "GAMBREL_ROOF";
  18217. IfcRoofTypeEnum.MANSARD_ROOF = "MANSARD_ROOF";
  18218. IfcRoofTypeEnum.BARREL_ROOF = "BARREL_ROOF";
  18219. IfcRoofTypeEnum.RAINBOW_ROOF = "RAINBOW_ROOF";
  18220. IfcRoofTypeEnum.BUTTERFLY_ROOF = "BUTTERFLY_ROOF";
  18221. IfcRoofTypeEnum.PAVILION_ROOF = "PAVILION_ROOF";
  18222. IfcRoofTypeEnum.DOME_ROOF = "DOME_ROOF";
  18223. IfcRoofTypeEnum.FREEFORM = "FREEFORM";
  18224. IfcRoofTypeEnum.USERDEFINED = "USERDEFINED";
  18225. IfcRoofTypeEnum.NOTDEFINED = "NOTDEFINED";
  18226. var IfcSIPrefix = class {
  18227. constructor(v) {
  18228. this.value = v;
  18229. }
  18230. };
  18231. IfcSIPrefix.EXA = "EXA";
  18232. IfcSIPrefix.PETA = "PETA";
  18233. IfcSIPrefix.TERA = "TERA";
  18234. IfcSIPrefix.GIGA = "GIGA";
  18235. IfcSIPrefix.MEGA = "MEGA";
  18236. IfcSIPrefix.KILO = "KILO";
  18237. IfcSIPrefix.HECTO = "HECTO";
  18238. IfcSIPrefix.DECA = "DECA";
  18239. IfcSIPrefix.DECI = "DECI";
  18240. IfcSIPrefix.CENTI = "CENTI";
  18241. IfcSIPrefix.MILLI = "MILLI";
  18242. IfcSIPrefix.MICRO = "MICRO";
  18243. IfcSIPrefix.NANO = "NANO";
  18244. IfcSIPrefix.PICO = "PICO";
  18245. IfcSIPrefix.FEMTO = "FEMTO";
  18246. IfcSIPrefix.ATTO = "ATTO";
  18247. var IfcSIUnitName = class {
  18248. constructor(v) {
  18249. this.value = v;
  18250. }
  18251. };
  18252. IfcSIUnitName.AMPERE = "AMPERE";
  18253. IfcSIUnitName.BECQUEREL = "BECQUEREL";
  18254. IfcSIUnitName.CANDELA = "CANDELA";
  18255. IfcSIUnitName.COULOMB = "COULOMB";
  18256. IfcSIUnitName.CUBIC_METRE = "CUBIC_METRE";
  18257. IfcSIUnitName.DEGREE_CELSIUS = "DEGREE_CELSIUS";
  18258. IfcSIUnitName.FARAD = "FARAD";
  18259. IfcSIUnitName.GRAM = "GRAM";
  18260. IfcSIUnitName.GRAY = "GRAY";
  18261. IfcSIUnitName.HENRY = "HENRY";
  18262. IfcSIUnitName.HERTZ = "HERTZ";
  18263. IfcSIUnitName.JOULE = "JOULE";
  18264. IfcSIUnitName.KELVIN = "KELVIN";
  18265. IfcSIUnitName.LUMEN = "LUMEN";
  18266. IfcSIUnitName.LUX = "LUX";
  18267. IfcSIUnitName.METRE = "METRE";
  18268. IfcSIUnitName.MOLE = "MOLE";
  18269. IfcSIUnitName.NEWTON = "NEWTON";
  18270. IfcSIUnitName.OHM = "OHM";
  18271. IfcSIUnitName.PASCAL = "PASCAL";
  18272. IfcSIUnitName.RADIAN = "RADIAN";
  18273. IfcSIUnitName.SECOND = "SECOND";
  18274. IfcSIUnitName.SIEMENS = "SIEMENS";
  18275. IfcSIUnitName.SIEVERT = "SIEVERT";
  18276. IfcSIUnitName.SQUARE_METRE = "SQUARE_METRE";
  18277. IfcSIUnitName.STERADIAN = "STERADIAN";
  18278. IfcSIUnitName.TESLA = "TESLA";
  18279. IfcSIUnitName.VOLT = "VOLT";
  18280. IfcSIUnitName.WATT = "WATT";
  18281. IfcSIUnitName.WEBER = "WEBER";
  18282. var IfcSanitaryTerminalTypeEnum = class {
  18283. constructor(v) {
  18284. this.value = v;
  18285. }
  18286. };
  18287. IfcSanitaryTerminalTypeEnum.BATH = "BATH";
  18288. IfcSanitaryTerminalTypeEnum.BIDET = "BIDET";
  18289. IfcSanitaryTerminalTypeEnum.CISTERN = "CISTERN";
  18290. IfcSanitaryTerminalTypeEnum.SHOWER = "SHOWER";
  18291. IfcSanitaryTerminalTypeEnum.SINK = "SINK";
  18292. IfcSanitaryTerminalTypeEnum.SANITARYFOUNTAIN = "SANITARYFOUNTAIN";
  18293. IfcSanitaryTerminalTypeEnum.TOILETPAN = "TOILETPAN";
  18294. IfcSanitaryTerminalTypeEnum.URINAL = "URINAL";
  18295. IfcSanitaryTerminalTypeEnum.WASHHANDBASIN = "WASHHANDBASIN";
  18296. IfcSanitaryTerminalTypeEnum.WCSEAT = "WCSEAT";
  18297. IfcSanitaryTerminalTypeEnum.USERDEFINED = "USERDEFINED";
  18298. IfcSanitaryTerminalTypeEnum.NOTDEFINED = "NOTDEFINED";
  18299. var IfcSectionTypeEnum = class {
  18300. constructor(v) {
  18301. this.value = v;
  18302. }
  18303. };
  18304. IfcSectionTypeEnum.UNIFORM = "UNIFORM";
  18305. IfcSectionTypeEnum.TAPERED = "TAPERED";
  18306. var IfcSensorTypeEnum = class {
  18307. constructor(v) {
  18308. this.value = v;
  18309. }
  18310. };
  18311. IfcSensorTypeEnum.COSENSOR = "COSENSOR";
  18312. IfcSensorTypeEnum.CO2SENSOR = "CO2SENSOR";
  18313. IfcSensorTypeEnum.CONDUCTANCESENSOR = "CONDUCTANCESENSOR";
  18314. IfcSensorTypeEnum.CONTACTSENSOR = "CONTACTSENSOR";
  18315. IfcSensorTypeEnum.FIRESENSOR = "FIRESENSOR";
  18316. IfcSensorTypeEnum.FLOWSENSOR = "FLOWSENSOR";
  18317. IfcSensorTypeEnum.FROSTSENSOR = "FROSTSENSOR";
  18318. IfcSensorTypeEnum.GASSENSOR = "GASSENSOR";
  18319. IfcSensorTypeEnum.HEATSENSOR = "HEATSENSOR";
  18320. IfcSensorTypeEnum.HUMIDITYSENSOR = "HUMIDITYSENSOR";
  18321. IfcSensorTypeEnum.IDENTIFIERSENSOR = "IDENTIFIERSENSOR";
  18322. IfcSensorTypeEnum.IONCONCENTRATIONSENSOR = "IONCONCENTRATIONSENSOR";
  18323. IfcSensorTypeEnum.LEVELSENSOR = "LEVELSENSOR";
  18324. IfcSensorTypeEnum.LIGHTSENSOR = "LIGHTSENSOR";
  18325. IfcSensorTypeEnum.MOISTURESENSOR = "MOISTURESENSOR";
  18326. IfcSensorTypeEnum.MOVEMENTSENSOR = "MOVEMENTSENSOR";
  18327. IfcSensorTypeEnum.PHSENSOR = "PHSENSOR";
  18328. IfcSensorTypeEnum.PRESSURESENSOR = "PRESSURESENSOR";
  18329. IfcSensorTypeEnum.RADIATIONSENSOR = "RADIATIONSENSOR";
  18330. IfcSensorTypeEnum.RADIOACTIVITYSENSOR = "RADIOACTIVITYSENSOR";
  18331. IfcSensorTypeEnum.SMOKESENSOR = "SMOKESENSOR";
  18332. IfcSensorTypeEnum.SOUNDSENSOR = "SOUNDSENSOR";
  18333. IfcSensorTypeEnum.TEMPERATURESENSOR = "TEMPERATURESENSOR";
  18334. IfcSensorTypeEnum.WINDSENSOR = "WINDSENSOR";
  18335. IfcSensorTypeEnum.USERDEFINED = "USERDEFINED";
  18336. IfcSensorTypeEnum.NOTDEFINED = "NOTDEFINED";
  18337. var IfcSequenceEnum = class {
  18338. constructor(v) {
  18339. this.value = v;
  18340. }
  18341. };
  18342. IfcSequenceEnum.START_START = "START_START";
  18343. IfcSequenceEnum.START_FINISH = "START_FINISH";
  18344. IfcSequenceEnum.FINISH_START = "FINISH_START";
  18345. IfcSequenceEnum.FINISH_FINISH = "FINISH_FINISH";
  18346. IfcSequenceEnum.USERDEFINED = "USERDEFINED";
  18347. IfcSequenceEnum.NOTDEFINED = "NOTDEFINED";
  18348. var IfcShadingDeviceTypeEnum = class {
  18349. constructor(v) {
  18350. this.value = v;
  18351. }
  18352. };
  18353. IfcShadingDeviceTypeEnum.JALOUSIE = "JALOUSIE";
  18354. IfcShadingDeviceTypeEnum.SHUTTER = "SHUTTER";
  18355. IfcShadingDeviceTypeEnum.AWNING = "AWNING";
  18356. IfcShadingDeviceTypeEnum.USERDEFINED = "USERDEFINED";
  18357. IfcShadingDeviceTypeEnum.NOTDEFINED = "NOTDEFINED";
  18358. var IfcSimplePropertyTemplateTypeEnum = class {
  18359. constructor(v) {
  18360. this.value = v;
  18361. }
  18362. };
  18363. IfcSimplePropertyTemplateTypeEnum.P_SINGLEVALUE = "P_SINGLEVALUE";
  18364. IfcSimplePropertyTemplateTypeEnum.P_ENUMERATEDVALUE = "P_ENUMERATEDVALUE";
  18365. IfcSimplePropertyTemplateTypeEnum.P_BOUNDEDVALUE = "P_BOUNDEDVALUE";
  18366. IfcSimplePropertyTemplateTypeEnum.P_LISTVALUE = "P_LISTVALUE";
  18367. IfcSimplePropertyTemplateTypeEnum.P_TABLEVALUE = "P_TABLEVALUE";
  18368. IfcSimplePropertyTemplateTypeEnum.P_REFERENCEVALUE = "P_REFERENCEVALUE";
  18369. IfcSimplePropertyTemplateTypeEnum.Q_LENGTH = "Q_LENGTH";
  18370. IfcSimplePropertyTemplateTypeEnum.Q_AREA = "Q_AREA";
  18371. IfcSimplePropertyTemplateTypeEnum.Q_VOLUME = "Q_VOLUME";
  18372. IfcSimplePropertyTemplateTypeEnum.Q_COUNT = "Q_COUNT";
  18373. IfcSimplePropertyTemplateTypeEnum.Q_WEIGHT = "Q_WEIGHT";
  18374. IfcSimplePropertyTemplateTypeEnum.Q_TIME = "Q_TIME";
  18375. var IfcSlabTypeEnum = class {
  18376. constructor(v) {
  18377. this.value = v;
  18378. }
  18379. };
  18380. IfcSlabTypeEnum.FLOOR = "FLOOR";
  18381. IfcSlabTypeEnum.ROOF = "ROOF";
  18382. IfcSlabTypeEnum.LANDING = "LANDING";
  18383. IfcSlabTypeEnum.BASESLAB = "BASESLAB";
  18384. IfcSlabTypeEnum.APPROACH_SLAB = "APPROACH_SLAB";
  18385. IfcSlabTypeEnum.PAVING = "PAVING";
  18386. IfcSlabTypeEnum.WEARING = "WEARING";
  18387. IfcSlabTypeEnum.SIDEWALK = "SIDEWALK";
  18388. IfcSlabTypeEnum.USERDEFINED = "USERDEFINED";
  18389. IfcSlabTypeEnum.NOTDEFINED = "NOTDEFINED";
  18390. var IfcSolarDeviceTypeEnum = class {
  18391. constructor(v) {
  18392. this.value = v;
  18393. }
  18394. };
  18395. IfcSolarDeviceTypeEnum.SOLARCOLLECTOR = "SOLARCOLLECTOR";
  18396. IfcSolarDeviceTypeEnum.SOLARPANEL = "SOLARPANEL";
  18397. IfcSolarDeviceTypeEnum.USERDEFINED = "USERDEFINED";
  18398. IfcSolarDeviceTypeEnum.NOTDEFINED = "NOTDEFINED";
  18399. var IfcSpaceHeaterTypeEnum = class {
  18400. constructor(v) {
  18401. this.value = v;
  18402. }
  18403. };
  18404. IfcSpaceHeaterTypeEnum.CONVECTOR = "CONVECTOR";
  18405. IfcSpaceHeaterTypeEnum.RADIATOR = "RADIATOR";
  18406. IfcSpaceHeaterTypeEnum.USERDEFINED = "USERDEFINED";
  18407. IfcSpaceHeaterTypeEnum.NOTDEFINED = "NOTDEFINED";
  18408. var IfcSpaceTypeEnum = class {
  18409. constructor(v) {
  18410. this.value = v;
  18411. }
  18412. };
  18413. IfcSpaceTypeEnum.SPACE = "SPACE";
  18414. IfcSpaceTypeEnum.PARKING = "PARKING";
  18415. IfcSpaceTypeEnum.GFA = "GFA";
  18416. IfcSpaceTypeEnum.INTERNAL = "INTERNAL";
  18417. IfcSpaceTypeEnum.EXTERNAL = "EXTERNAL";
  18418. IfcSpaceTypeEnum.USERDEFINED = "USERDEFINED";
  18419. IfcSpaceTypeEnum.NOTDEFINED = "NOTDEFINED";
  18420. var IfcSpatialZoneTypeEnum = class {
  18421. constructor(v) {
  18422. this.value = v;
  18423. }
  18424. };
  18425. IfcSpatialZoneTypeEnum.CONSTRUCTION = "CONSTRUCTION";
  18426. IfcSpatialZoneTypeEnum.FIRESAFETY = "FIRESAFETY";
  18427. IfcSpatialZoneTypeEnum.LIGHTING = "LIGHTING";
  18428. IfcSpatialZoneTypeEnum.OCCUPANCY = "OCCUPANCY";
  18429. IfcSpatialZoneTypeEnum.SECURITY = "SECURITY";
  18430. IfcSpatialZoneTypeEnum.THERMAL = "THERMAL";
  18431. IfcSpatialZoneTypeEnum.TRANSPORT = "TRANSPORT";
  18432. IfcSpatialZoneTypeEnum.VENTILATION = "VENTILATION";
  18433. IfcSpatialZoneTypeEnum.USERDEFINED = "USERDEFINED";
  18434. IfcSpatialZoneTypeEnum.NOTDEFINED = "NOTDEFINED";
  18435. var IfcStackTerminalTypeEnum = class {
  18436. constructor(v) {
  18437. this.value = v;
  18438. }
  18439. };
  18440. IfcStackTerminalTypeEnum.BIRDCAGE = "BIRDCAGE";
  18441. IfcStackTerminalTypeEnum.COWL = "COWL";
  18442. IfcStackTerminalTypeEnum.RAINWATERHOPPER = "RAINWATERHOPPER";
  18443. IfcStackTerminalTypeEnum.USERDEFINED = "USERDEFINED";
  18444. IfcStackTerminalTypeEnum.NOTDEFINED = "NOTDEFINED";
  18445. var IfcStairFlightTypeEnum = class {
  18446. constructor(v) {
  18447. this.value = v;
  18448. }
  18449. };
  18450. IfcStairFlightTypeEnum.STRAIGHT = "STRAIGHT";
  18451. IfcStairFlightTypeEnum.WINDER = "WINDER";
  18452. IfcStairFlightTypeEnum.SPIRAL = "SPIRAL";
  18453. IfcStairFlightTypeEnum.CURVED = "CURVED";
  18454. IfcStairFlightTypeEnum.FREEFORM = "FREEFORM";
  18455. IfcStairFlightTypeEnum.USERDEFINED = "USERDEFINED";
  18456. IfcStairFlightTypeEnum.NOTDEFINED = "NOTDEFINED";
  18457. var IfcStairTypeEnum = class {
  18458. constructor(v) {
  18459. this.value = v;
  18460. }
  18461. };
  18462. IfcStairTypeEnum.STRAIGHT_RUN_STAIR = "STRAIGHT_RUN_STAIR";
  18463. IfcStairTypeEnum.TWO_STRAIGHT_RUN_STAIR = "TWO_STRAIGHT_RUN_STAIR";
  18464. IfcStairTypeEnum.QUARTER_WINDING_STAIR = "QUARTER_WINDING_STAIR";
  18465. IfcStairTypeEnum.QUARTER_TURN_STAIR = "QUARTER_TURN_STAIR";
  18466. IfcStairTypeEnum.HALF_WINDING_STAIR = "HALF_WINDING_STAIR";
  18467. IfcStairTypeEnum.HALF_TURN_STAIR = "HALF_TURN_STAIR";
  18468. IfcStairTypeEnum.TWO_QUARTER_WINDING_STAIR = "TWO_QUARTER_WINDING_STAIR";
  18469. IfcStairTypeEnum.TWO_QUARTER_TURN_STAIR = "TWO_QUARTER_TURN_STAIR";
  18470. IfcStairTypeEnum.THREE_QUARTER_WINDING_STAIR = "THREE_QUARTER_WINDING_STAIR";
  18471. IfcStairTypeEnum.THREE_QUARTER_TURN_STAIR = "THREE_QUARTER_TURN_STAIR";
  18472. IfcStairTypeEnum.SPIRAL_STAIR = "SPIRAL_STAIR";
  18473. IfcStairTypeEnum.DOUBLE_RETURN_STAIR = "DOUBLE_RETURN_STAIR";
  18474. IfcStairTypeEnum.CURVED_RUN_STAIR = "CURVED_RUN_STAIR";
  18475. IfcStairTypeEnum.TWO_CURVED_RUN_STAIR = "TWO_CURVED_RUN_STAIR";
  18476. IfcStairTypeEnum.USERDEFINED = "USERDEFINED";
  18477. IfcStairTypeEnum.NOTDEFINED = "NOTDEFINED";
  18478. var IfcStateEnum = class {
  18479. constructor(v) {
  18480. this.value = v;
  18481. }
  18482. };
  18483. IfcStateEnum.READWRITE = "READWRITE";
  18484. IfcStateEnum.READONLY = "READONLY";
  18485. IfcStateEnum.LOCKED = "LOCKED";
  18486. IfcStateEnum.READWRITELOCKED = "READWRITELOCKED";
  18487. IfcStateEnum.READONLYLOCKED = "READONLYLOCKED";
  18488. var IfcStructuralCurveActivityTypeEnum = class {
  18489. constructor(v) {
  18490. this.value = v;
  18491. }
  18492. };
  18493. IfcStructuralCurveActivityTypeEnum.CONST = "CONST";
  18494. IfcStructuralCurveActivityTypeEnum.LINEAR = "LINEAR";
  18495. IfcStructuralCurveActivityTypeEnum.POLYGONAL = "POLYGONAL";
  18496. IfcStructuralCurveActivityTypeEnum.EQUIDISTANT = "EQUIDISTANT";
  18497. IfcStructuralCurveActivityTypeEnum.SINUS = "SINUS";
  18498. IfcStructuralCurveActivityTypeEnum.PARABOLA = "PARABOLA";
  18499. IfcStructuralCurveActivityTypeEnum.DISCRETE = "DISCRETE";
  18500. IfcStructuralCurveActivityTypeEnum.USERDEFINED = "USERDEFINED";
  18501. IfcStructuralCurveActivityTypeEnum.NOTDEFINED = "NOTDEFINED";
  18502. var IfcStructuralCurveMemberTypeEnum = class {
  18503. constructor(v) {
  18504. this.value = v;
  18505. }
  18506. };
  18507. IfcStructuralCurveMemberTypeEnum.RIGID_JOINED_MEMBER = "RIGID_JOINED_MEMBER";
  18508. IfcStructuralCurveMemberTypeEnum.PIN_JOINED_MEMBER = "PIN_JOINED_MEMBER";
  18509. IfcStructuralCurveMemberTypeEnum.CABLE = "CABLE";
  18510. IfcStructuralCurveMemberTypeEnum.TENSION_MEMBER = "TENSION_MEMBER";
  18511. IfcStructuralCurveMemberTypeEnum.COMPRESSION_MEMBER = "COMPRESSION_MEMBER";
  18512. IfcStructuralCurveMemberTypeEnum.USERDEFINED = "USERDEFINED";
  18513. IfcStructuralCurveMemberTypeEnum.NOTDEFINED = "NOTDEFINED";
  18514. var IfcStructuralSurfaceActivityTypeEnum = class {
  18515. constructor(v) {
  18516. this.value = v;
  18517. }
  18518. };
  18519. IfcStructuralSurfaceActivityTypeEnum.CONST = "CONST";
  18520. IfcStructuralSurfaceActivityTypeEnum.BILINEAR = "BILINEAR";
  18521. IfcStructuralSurfaceActivityTypeEnum.DISCRETE = "DISCRETE";
  18522. IfcStructuralSurfaceActivityTypeEnum.ISOCONTOUR = "ISOCONTOUR";
  18523. IfcStructuralSurfaceActivityTypeEnum.USERDEFINED = "USERDEFINED";
  18524. IfcStructuralSurfaceActivityTypeEnum.NOTDEFINED = "NOTDEFINED";
  18525. var IfcStructuralSurfaceMemberTypeEnum = class {
  18526. constructor(v) {
  18527. this.value = v;
  18528. }
  18529. };
  18530. IfcStructuralSurfaceMemberTypeEnum.BENDING_ELEMENT = "BENDING_ELEMENT";
  18531. IfcStructuralSurfaceMemberTypeEnum.MEMBRANE_ELEMENT = "MEMBRANE_ELEMENT";
  18532. IfcStructuralSurfaceMemberTypeEnum.SHELL = "SHELL";
  18533. IfcStructuralSurfaceMemberTypeEnum.USERDEFINED = "USERDEFINED";
  18534. IfcStructuralSurfaceMemberTypeEnum.NOTDEFINED = "NOTDEFINED";
  18535. var IfcSubContractResourceTypeEnum = class {
  18536. constructor(v) {
  18537. this.value = v;
  18538. }
  18539. };
  18540. IfcSubContractResourceTypeEnum.PURCHASE = "PURCHASE";
  18541. IfcSubContractResourceTypeEnum.WORK = "WORK";
  18542. IfcSubContractResourceTypeEnum.USERDEFINED = "USERDEFINED";
  18543. IfcSubContractResourceTypeEnum.NOTDEFINED = "NOTDEFINED";
  18544. var IfcSurfaceFeatureTypeEnum = class {
  18545. constructor(v) {
  18546. this.value = v;
  18547. }
  18548. };
  18549. IfcSurfaceFeatureTypeEnum.MARK = "MARK";
  18550. IfcSurfaceFeatureTypeEnum.TAG = "TAG";
  18551. IfcSurfaceFeatureTypeEnum.TREATMENT = "TREATMENT";
  18552. IfcSurfaceFeatureTypeEnum.DEFECT = "DEFECT";
  18553. IfcSurfaceFeatureTypeEnum.USERDEFINED = "USERDEFINED";
  18554. IfcSurfaceFeatureTypeEnum.NOTDEFINED = "NOTDEFINED";
  18555. var IfcSurfaceSide = class {
  18556. constructor(v) {
  18557. this.value = v;
  18558. }
  18559. };
  18560. IfcSurfaceSide.POSITIVE = "POSITIVE";
  18561. IfcSurfaceSide.NEGATIVE = "NEGATIVE";
  18562. IfcSurfaceSide.BOTH = "BOTH";
  18563. var IfcSwitchingDeviceTypeEnum = class {
  18564. constructor(v) {
  18565. this.value = v;
  18566. }
  18567. };
  18568. IfcSwitchingDeviceTypeEnum.CONTACTOR = "CONTACTOR";
  18569. IfcSwitchingDeviceTypeEnum.DIMMERSWITCH = "DIMMERSWITCH";
  18570. IfcSwitchingDeviceTypeEnum.EMERGENCYSTOP = "EMERGENCYSTOP";
  18571. IfcSwitchingDeviceTypeEnum.KEYPAD = "KEYPAD";
  18572. IfcSwitchingDeviceTypeEnum.MOMENTARYSWITCH = "MOMENTARYSWITCH";
  18573. IfcSwitchingDeviceTypeEnum.SELECTORSWITCH = "SELECTORSWITCH";
  18574. IfcSwitchingDeviceTypeEnum.STARTER = "STARTER";
  18575. IfcSwitchingDeviceTypeEnum.SWITCHDISCONNECTOR = "SWITCHDISCONNECTOR";
  18576. IfcSwitchingDeviceTypeEnum.TOGGLESWITCH = "TOGGLESWITCH";
  18577. IfcSwitchingDeviceTypeEnum.USERDEFINED = "USERDEFINED";
  18578. IfcSwitchingDeviceTypeEnum.NOTDEFINED = "NOTDEFINED";
  18579. var IfcSystemFurnitureElementTypeEnum = class {
  18580. constructor(v) {
  18581. this.value = v;
  18582. }
  18583. };
  18584. IfcSystemFurnitureElementTypeEnum.PANEL = "PANEL";
  18585. IfcSystemFurnitureElementTypeEnum.WORKSURFACE = "WORKSURFACE";
  18586. IfcSystemFurnitureElementTypeEnum.USERDEFINED = "USERDEFINED";
  18587. IfcSystemFurnitureElementTypeEnum.NOTDEFINED = "NOTDEFINED";
  18588. var IfcTankTypeEnum = class {
  18589. constructor(v) {
  18590. this.value = v;
  18591. }
  18592. };
  18593. IfcTankTypeEnum.BASIN = "BASIN";
  18594. IfcTankTypeEnum.BREAKPRESSURE = "BREAKPRESSURE";
  18595. IfcTankTypeEnum.EXPANSION = "EXPANSION";
  18596. IfcTankTypeEnum.FEEDANDEXPANSION = "FEEDANDEXPANSION";
  18597. IfcTankTypeEnum.PRESSUREVESSEL = "PRESSUREVESSEL";
  18598. IfcTankTypeEnum.STORAGE = "STORAGE";
  18599. IfcTankTypeEnum.VESSEL = "VESSEL";
  18600. IfcTankTypeEnum.USERDEFINED = "USERDEFINED";
  18601. IfcTankTypeEnum.NOTDEFINED = "NOTDEFINED";
  18602. var IfcTaskDurationEnum = class {
  18603. constructor(v) {
  18604. this.value = v;
  18605. }
  18606. };
  18607. IfcTaskDurationEnum.ELAPSEDTIME = "ELAPSEDTIME";
  18608. IfcTaskDurationEnum.WORKTIME = "WORKTIME";
  18609. IfcTaskDurationEnum.NOTDEFINED = "NOTDEFINED";
  18610. var IfcTaskTypeEnum = class {
  18611. constructor(v) {
  18612. this.value = v;
  18613. }
  18614. };
  18615. IfcTaskTypeEnum.ATTENDANCE = "ATTENDANCE";
  18616. IfcTaskTypeEnum.CONSTRUCTION = "CONSTRUCTION";
  18617. IfcTaskTypeEnum.DEMOLITION = "DEMOLITION";
  18618. IfcTaskTypeEnum.DISMANTLE = "DISMANTLE";
  18619. IfcTaskTypeEnum.DISPOSAL = "DISPOSAL";
  18620. IfcTaskTypeEnum.INSTALLATION = "INSTALLATION";
  18621. IfcTaskTypeEnum.LOGISTIC = "LOGISTIC";
  18622. IfcTaskTypeEnum.MAINTENANCE = "MAINTENANCE";
  18623. IfcTaskTypeEnum.MOVE = "MOVE";
  18624. IfcTaskTypeEnum.OPERATION = "OPERATION";
  18625. IfcTaskTypeEnum.REMOVAL = "REMOVAL";
  18626. IfcTaskTypeEnum.RENOVATION = "RENOVATION";
  18627. IfcTaskTypeEnum.USERDEFINED = "USERDEFINED";
  18628. IfcTaskTypeEnum.NOTDEFINED = "NOTDEFINED";
  18629. var IfcTendonAnchorTypeEnum = class {
  18630. constructor(v) {
  18631. this.value = v;
  18632. }
  18633. };
  18634. IfcTendonAnchorTypeEnum.COUPLER = "COUPLER";
  18635. IfcTendonAnchorTypeEnum.FIXED_END = "FIXED_END";
  18636. IfcTendonAnchorTypeEnum.TENSIONING_END = "TENSIONING_END";
  18637. IfcTendonAnchorTypeEnum.USERDEFINED = "USERDEFINED";
  18638. IfcTendonAnchorTypeEnum.NOTDEFINED = "NOTDEFINED";
  18639. var IfcTendonConduitTypeEnum = class {
  18640. constructor(v) {
  18641. this.value = v;
  18642. }
  18643. };
  18644. IfcTendonConduitTypeEnum.DUCT = "DUCT";
  18645. IfcTendonConduitTypeEnum.COUPLER = "COUPLER";
  18646. IfcTendonConduitTypeEnum.GROUTING_DUCT = "GROUTING_DUCT";
  18647. IfcTendonConduitTypeEnum.TRUMPET = "TRUMPET";
  18648. IfcTendonConduitTypeEnum.DIABOLO = "DIABOLO";
  18649. IfcTendonConduitTypeEnum.USERDEFINED = "USERDEFINED";
  18650. IfcTendonConduitTypeEnum.NOTDEFINED = "NOTDEFINED";
  18651. var IfcTendonTypeEnum = class {
  18652. constructor(v) {
  18653. this.value = v;
  18654. }
  18655. };
  18656. IfcTendonTypeEnum.BAR = "BAR";
  18657. IfcTendonTypeEnum.COATED = "COATED";
  18658. IfcTendonTypeEnum.STRAND = "STRAND";
  18659. IfcTendonTypeEnum.WIRE = "WIRE";
  18660. IfcTendonTypeEnum.USERDEFINED = "USERDEFINED";
  18661. IfcTendonTypeEnum.NOTDEFINED = "NOTDEFINED";
  18662. var IfcTextPath = class {
  18663. constructor(v) {
  18664. this.value = v;
  18665. }
  18666. };
  18667. IfcTextPath.LEFT = "LEFT";
  18668. IfcTextPath.RIGHT = "RIGHT";
  18669. IfcTextPath.UP = "UP";
  18670. IfcTextPath.DOWN = "DOWN";
  18671. var IfcTimeSeriesDataTypeEnum = class {
  18672. constructor(v) {
  18673. this.value = v;
  18674. }
  18675. };
  18676. IfcTimeSeriesDataTypeEnum.CONTINUOUS = "CONTINUOUS";
  18677. IfcTimeSeriesDataTypeEnum.DISCRETE = "DISCRETE";
  18678. IfcTimeSeriesDataTypeEnum.DISCRETEBINARY = "DISCRETEBINARY";
  18679. IfcTimeSeriesDataTypeEnum.PIECEWISEBINARY = "PIECEWISEBINARY";
  18680. IfcTimeSeriesDataTypeEnum.PIECEWISECONSTANT = "PIECEWISECONSTANT";
  18681. IfcTimeSeriesDataTypeEnum.PIECEWISECONTINUOUS = "PIECEWISECONTINUOUS";
  18682. IfcTimeSeriesDataTypeEnum.NOTDEFINED = "NOTDEFINED";
  18683. var IfcTransformerTypeEnum = class {
  18684. constructor(v) {
  18685. this.value = v;
  18686. }
  18687. };
  18688. IfcTransformerTypeEnum.CURRENT = "CURRENT";
  18689. IfcTransformerTypeEnum.FREQUENCY = "FREQUENCY";
  18690. IfcTransformerTypeEnum.INVERTER = "INVERTER";
  18691. IfcTransformerTypeEnum.RECTIFIER = "RECTIFIER";
  18692. IfcTransformerTypeEnum.VOLTAGE = "VOLTAGE";
  18693. IfcTransformerTypeEnum.USERDEFINED = "USERDEFINED";
  18694. IfcTransformerTypeEnum.NOTDEFINED = "NOTDEFINED";
  18695. var IfcTransitionCode = class {
  18696. constructor(v) {
  18697. this.value = v;
  18698. }
  18699. };
  18700. IfcTransitionCode.DISCONTINUOUS = "DISCONTINUOUS";
  18701. IfcTransitionCode.CONTINUOUS = "CONTINUOUS";
  18702. IfcTransitionCode.CONTSAMEGRADIENT = "CONTSAMEGRADIENT";
  18703. IfcTransitionCode.CONTSAMEGRADIENTSAMECURVATURE = "CONTSAMEGRADIENTSAMECURVATURE";
  18704. var IfcTransitionCurveType = class {
  18705. constructor(v) {
  18706. this.value = v;
  18707. }
  18708. };
  18709. IfcTransitionCurveType.BIQUADRATICPARABOLA = "BIQUADRATICPARABOLA";
  18710. IfcTransitionCurveType.BLOSSCURVE = "BLOSSCURVE";
  18711. IfcTransitionCurveType.CLOTHOIDCURVE = "CLOTHOIDCURVE";
  18712. IfcTransitionCurveType.COSINECURVE = "COSINECURVE";
  18713. IfcTransitionCurveType.CUBICPARABOLA = "CUBICPARABOLA";
  18714. IfcTransitionCurveType.SINECURVE = "SINECURVE";
  18715. var IfcTransportElementTypeEnum = class {
  18716. constructor(v) {
  18717. this.value = v;
  18718. }
  18719. };
  18720. IfcTransportElementTypeEnum.ELEVATOR = "ELEVATOR";
  18721. IfcTransportElementTypeEnum.ESCALATOR = "ESCALATOR";
  18722. IfcTransportElementTypeEnum.MOVINGWALKWAY = "MOVINGWALKWAY";
  18723. IfcTransportElementTypeEnum.CRANEWAY = "CRANEWAY";
  18724. IfcTransportElementTypeEnum.LIFTINGGEAR = "LIFTINGGEAR";
  18725. IfcTransportElementTypeEnum.USERDEFINED = "USERDEFINED";
  18726. IfcTransportElementTypeEnum.NOTDEFINED = "NOTDEFINED";
  18727. var IfcTrimmingPreference = class {
  18728. constructor(v) {
  18729. this.value = v;
  18730. }
  18731. };
  18732. IfcTrimmingPreference.CARTESIAN = "CARTESIAN";
  18733. IfcTrimmingPreference.PARAMETER = "PARAMETER";
  18734. IfcTrimmingPreference.UNSPECIFIED = "UNSPECIFIED";
  18735. var IfcTubeBundleTypeEnum = class {
  18736. constructor(v) {
  18737. this.value = v;
  18738. }
  18739. };
  18740. IfcTubeBundleTypeEnum.FINNED = "FINNED";
  18741. IfcTubeBundleTypeEnum.USERDEFINED = "USERDEFINED";
  18742. IfcTubeBundleTypeEnum.NOTDEFINED = "NOTDEFINED";
  18743. var IfcUnitEnum = class {
  18744. constructor(v) {
  18745. this.value = v;
  18746. }
  18747. };
  18748. IfcUnitEnum.ABSORBEDDOSEUNIT = "ABSORBEDDOSEUNIT";
  18749. IfcUnitEnum.AMOUNTOFSUBSTANCEUNIT = "AMOUNTOFSUBSTANCEUNIT";
  18750. IfcUnitEnum.AREAUNIT = "AREAUNIT";
  18751. IfcUnitEnum.DOSEEQUIVALENTUNIT = "DOSEEQUIVALENTUNIT";
  18752. IfcUnitEnum.ELECTRICCAPACITANCEUNIT = "ELECTRICCAPACITANCEUNIT";
  18753. IfcUnitEnum.ELECTRICCHARGEUNIT = "ELECTRICCHARGEUNIT";
  18754. IfcUnitEnum.ELECTRICCONDUCTANCEUNIT = "ELECTRICCONDUCTANCEUNIT";
  18755. IfcUnitEnum.ELECTRICCURRENTUNIT = "ELECTRICCURRENTUNIT";
  18756. IfcUnitEnum.ELECTRICRESISTANCEUNIT = "ELECTRICRESISTANCEUNIT";
  18757. IfcUnitEnum.ELECTRICVOLTAGEUNIT = "ELECTRICVOLTAGEUNIT";
  18758. IfcUnitEnum.ENERGYUNIT = "ENERGYUNIT";
  18759. IfcUnitEnum.FORCEUNIT = "FORCEUNIT";
  18760. IfcUnitEnum.FREQUENCYUNIT = "FREQUENCYUNIT";
  18761. IfcUnitEnum.ILLUMINANCEUNIT = "ILLUMINANCEUNIT";
  18762. IfcUnitEnum.INDUCTANCEUNIT = "INDUCTANCEUNIT";
  18763. IfcUnitEnum.LENGTHUNIT = "LENGTHUNIT";
  18764. IfcUnitEnum.LUMINOUSFLUXUNIT = "LUMINOUSFLUXUNIT";
  18765. IfcUnitEnum.LUMINOUSINTENSITYUNIT = "LUMINOUSINTENSITYUNIT";
  18766. IfcUnitEnum.MAGNETICFLUXDENSITYUNIT = "MAGNETICFLUXDENSITYUNIT";
  18767. IfcUnitEnum.MAGNETICFLUXUNIT = "MAGNETICFLUXUNIT";
  18768. IfcUnitEnum.MASSUNIT = "MASSUNIT";
  18769. IfcUnitEnum.PLANEANGLEUNIT = "PLANEANGLEUNIT";
  18770. IfcUnitEnum.POWERUNIT = "POWERUNIT";
  18771. IfcUnitEnum.PRESSUREUNIT = "PRESSUREUNIT";
  18772. IfcUnitEnum.RADIOACTIVITYUNIT = "RADIOACTIVITYUNIT";
  18773. IfcUnitEnum.SOLIDANGLEUNIT = "SOLIDANGLEUNIT";
  18774. IfcUnitEnum.THERMODYNAMICTEMPERATUREUNIT = "THERMODYNAMICTEMPERATUREUNIT";
  18775. IfcUnitEnum.TIMEUNIT = "TIMEUNIT";
  18776. IfcUnitEnum.VOLUMEUNIT = "VOLUMEUNIT";
  18777. IfcUnitEnum.USERDEFINED = "USERDEFINED";
  18778. var IfcUnitaryControlElementTypeEnum = class {
  18779. constructor(v) {
  18780. this.value = v;
  18781. }
  18782. };
  18783. IfcUnitaryControlElementTypeEnum.ALARMPANEL = "ALARMPANEL";
  18784. IfcUnitaryControlElementTypeEnum.CONTROLPANEL = "CONTROLPANEL";
  18785. IfcUnitaryControlElementTypeEnum.GASDETECTIONPANEL = "GASDETECTIONPANEL";
  18786. IfcUnitaryControlElementTypeEnum.INDICATORPANEL = "INDICATORPANEL";
  18787. IfcUnitaryControlElementTypeEnum.MIMICPANEL = "MIMICPANEL";
  18788. IfcUnitaryControlElementTypeEnum.HUMIDISTAT = "HUMIDISTAT";
  18789. IfcUnitaryControlElementTypeEnum.THERMOSTAT = "THERMOSTAT";
  18790. IfcUnitaryControlElementTypeEnum.WEATHERSTATION = "WEATHERSTATION";
  18791. IfcUnitaryControlElementTypeEnum.USERDEFINED = "USERDEFINED";
  18792. IfcUnitaryControlElementTypeEnum.NOTDEFINED = "NOTDEFINED";
  18793. var IfcUnitaryEquipmentTypeEnum = class {
  18794. constructor(v) {
  18795. this.value = v;
  18796. }
  18797. };
  18798. IfcUnitaryEquipmentTypeEnum.AIRHANDLER = "AIRHANDLER";
  18799. IfcUnitaryEquipmentTypeEnum.AIRCONDITIONINGUNIT = "AIRCONDITIONINGUNIT";
  18800. IfcUnitaryEquipmentTypeEnum.DEHUMIDIFIER = "DEHUMIDIFIER";
  18801. IfcUnitaryEquipmentTypeEnum.SPLITSYSTEM = "SPLITSYSTEM";
  18802. IfcUnitaryEquipmentTypeEnum.ROOFTOPUNIT = "ROOFTOPUNIT";
  18803. IfcUnitaryEquipmentTypeEnum.USERDEFINED = "USERDEFINED";
  18804. IfcUnitaryEquipmentTypeEnum.NOTDEFINED = "NOTDEFINED";
  18805. var IfcValveTypeEnum = class {
  18806. constructor(v) {
  18807. this.value = v;
  18808. }
  18809. };
  18810. IfcValveTypeEnum.AIRRELEASE = "AIRRELEASE";
  18811. IfcValveTypeEnum.ANTIVACUUM = "ANTIVACUUM";
  18812. IfcValveTypeEnum.CHANGEOVER = "CHANGEOVER";
  18813. IfcValveTypeEnum.CHECK = "CHECK";
  18814. IfcValveTypeEnum.COMMISSIONING = "COMMISSIONING";
  18815. IfcValveTypeEnum.DIVERTING = "DIVERTING";
  18816. IfcValveTypeEnum.DRAWOFFCOCK = "DRAWOFFCOCK";
  18817. IfcValveTypeEnum.DOUBLECHECK = "DOUBLECHECK";
  18818. IfcValveTypeEnum.DOUBLEREGULATING = "DOUBLEREGULATING";
  18819. IfcValveTypeEnum.FAUCET = "FAUCET";
  18820. IfcValveTypeEnum.FLUSHING = "FLUSHING";
  18821. IfcValveTypeEnum.GASCOCK = "GASCOCK";
  18822. IfcValveTypeEnum.GASTAP = "GASTAP";
  18823. IfcValveTypeEnum.ISOLATING = "ISOLATING";
  18824. IfcValveTypeEnum.MIXING = "MIXING";
  18825. IfcValveTypeEnum.PRESSUREREDUCING = "PRESSUREREDUCING";
  18826. IfcValveTypeEnum.PRESSURERELIEF = "PRESSURERELIEF";
  18827. IfcValveTypeEnum.REGULATING = "REGULATING";
  18828. IfcValveTypeEnum.SAFETYCUTOFF = "SAFETYCUTOFF";
  18829. IfcValveTypeEnum.STEAMTRAP = "STEAMTRAP";
  18830. IfcValveTypeEnum.STOPCOCK = "STOPCOCK";
  18831. IfcValveTypeEnum.USERDEFINED = "USERDEFINED";
  18832. IfcValveTypeEnum.NOTDEFINED = "NOTDEFINED";
  18833. var IfcVibrationDamperTypeEnum = class {
  18834. constructor(v) {
  18835. this.value = v;
  18836. }
  18837. };
  18838. IfcVibrationDamperTypeEnum.BENDING_YIELD = "BENDING_YIELD";
  18839. IfcVibrationDamperTypeEnum.SHEAR_YIELD = "SHEAR_YIELD";
  18840. IfcVibrationDamperTypeEnum.AXIAL_YIELD = "AXIAL_YIELD";
  18841. IfcVibrationDamperTypeEnum.FRICTION = "FRICTION";
  18842. IfcVibrationDamperTypeEnum.VISCOUS = "VISCOUS";
  18843. IfcVibrationDamperTypeEnum.RUBBER = "RUBBER";
  18844. IfcVibrationDamperTypeEnum.USERDEFINED = "USERDEFINED";
  18845. IfcVibrationDamperTypeEnum.NOTDEFINED = "NOTDEFINED";
  18846. var IfcVibrationIsolatorTypeEnum = class {
  18847. constructor(v) {
  18848. this.value = v;
  18849. }
  18850. };
  18851. IfcVibrationIsolatorTypeEnum.COMPRESSION = "COMPRESSION";
  18852. IfcVibrationIsolatorTypeEnum.SPRING = "SPRING";
  18853. IfcVibrationIsolatorTypeEnum.BASE = "BASE";
  18854. IfcVibrationIsolatorTypeEnum.USERDEFINED = "USERDEFINED";
  18855. IfcVibrationIsolatorTypeEnum.NOTDEFINED = "NOTDEFINED";
  18856. var IfcVoidingFeatureTypeEnum = class {
  18857. constructor(v) {
  18858. this.value = v;
  18859. }
  18860. };
  18861. IfcVoidingFeatureTypeEnum.CUTOUT = "CUTOUT";
  18862. IfcVoidingFeatureTypeEnum.NOTCH = "NOTCH";
  18863. IfcVoidingFeatureTypeEnum.HOLE = "HOLE";
  18864. IfcVoidingFeatureTypeEnum.MITER = "MITER";
  18865. IfcVoidingFeatureTypeEnum.CHAMFER = "CHAMFER";
  18866. IfcVoidingFeatureTypeEnum.EDGE = "EDGE";
  18867. IfcVoidingFeatureTypeEnum.USERDEFINED = "USERDEFINED";
  18868. IfcVoidingFeatureTypeEnum.NOTDEFINED = "NOTDEFINED";
  18869. var IfcWallTypeEnum = class {
  18870. constructor(v) {
  18871. this.value = v;
  18872. }
  18873. };
  18874. IfcWallTypeEnum.MOVABLE = "MOVABLE";
  18875. IfcWallTypeEnum.PARAPET = "PARAPET";
  18876. IfcWallTypeEnum.PARTITIONING = "PARTITIONING";
  18877. IfcWallTypeEnum.PLUMBINGWALL = "PLUMBINGWALL";
  18878. IfcWallTypeEnum.SHEAR = "SHEAR";
  18879. IfcWallTypeEnum.SOLIDWALL = "SOLIDWALL";
  18880. IfcWallTypeEnum.STANDARD = "STANDARD";
  18881. IfcWallTypeEnum.POLYGONAL = "POLYGONAL";
  18882. IfcWallTypeEnum.ELEMENTEDWALL = "ELEMENTEDWALL";
  18883. IfcWallTypeEnum.RETAININGWALL = "RETAININGWALL";
  18884. IfcWallTypeEnum.USERDEFINED = "USERDEFINED";
  18885. IfcWallTypeEnum.NOTDEFINED = "NOTDEFINED";
  18886. var IfcWasteTerminalTypeEnum = class {
  18887. constructor(v) {
  18888. this.value = v;
  18889. }
  18890. };
  18891. IfcWasteTerminalTypeEnum.FLOORTRAP = "FLOORTRAP";
  18892. IfcWasteTerminalTypeEnum.FLOORWASTE = "FLOORWASTE";
  18893. IfcWasteTerminalTypeEnum.GULLYSUMP = "GULLYSUMP";
  18894. IfcWasteTerminalTypeEnum.GULLYTRAP = "GULLYTRAP";
  18895. IfcWasteTerminalTypeEnum.ROOFDRAIN = "ROOFDRAIN";
  18896. IfcWasteTerminalTypeEnum.WASTEDISPOSALUNIT = "WASTEDISPOSALUNIT";
  18897. IfcWasteTerminalTypeEnum.WASTETRAP = "WASTETRAP";
  18898. IfcWasteTerminalTypeEnum.USERDEFINED = "USERDEFINED";
  18899. IfcWasteTerminalTypeEnum.NOTDEFINED = "NOTDEFINED";
  18900. var IfcWindowPanelOperationEnum = class {
  18901. constructor(v) {
  18902. this.value = v;
  18903. }
  18904. };
  18905. IfcWindowPanelOperationEnum.SIDEHUNGRIGHTHAND = "SIDEHUNGRIGHTHAND";
  18906. IfcWindowPanelOperationEnum.SIDEHUNGLEFTHAND = "SIDEHUNGLEFTHAND";
  18907. IfcWindowPanelOperationEnum.TILTANDTURNRIGHTHAND = "TILTANDTURNRIGHTHAND";
  18908. IfcWindowPanelOperationEnum.TILTANDTURNLEFTHAND = "TILTANDTURNLEFTHAND";
  18909. IfcWindowPanelOperationEnum.TOPHUNG = "TOPHUNG";
  18910. IfcWindowPanelOperationEnum.BOTTOMHUNG = "BOTTOMHUNG";
  18911. IfcWindowPanelOperationEnum.PIVOTHORIZONTAL = "PIVOTHORIZONTAL";
  18912. IfcWindowPanelOperationEnum.PIVOTVERTICAL = "PIVOTVERTICAL";
  18913. IfcWindowPanelOperationEnum.SLIDINGHORIZONTAL = "SLIDINGHORIZONTAL";
  18914. IfcWindowPanelOperationEnum.SLIDINGVERTICAL = "SLIDINGVERTICAL";
  18915. IfcWindowPanelOperationEnum.REMOVABLECASEMENT = "REMOVABLECASEMENT";
  18916. IfcWindowPanelOperationEnum.FIXEDCASEMENT = "FIXEDCASEMENT";
  18917. IfcWindowPanelOperationEnum.OTHEROPERATION = "OTHEROPERATION";
  18918. IfcWindowPanelOperationEnum.NOTDEFINED = "NOTDEFINED";
  18919. var IfcWindowPanelPositionEnum = class {
  18920. constructor(v) {
  18921. this.value = v;
  18922. }
  18923. };
  18924. IfcWindowPanelPositionEnum.LEFT = "LEFT";
  18925. IfcWindowPanelPositionEnum.MIDDLE = "MIDDLE";
  18926. IfcWindowPanelPositionEnum.RIGHT = "RIGHT";
  18927. IfcWindowPanelPositionEnum.BOTTOM = "BOTTOM";
  18928. IfcWindowPanelPositionEnum.TOP = "TOP";
  18929. IfcWindowPanelPositionEnum.NOTDEFINED = "NOTDEFINED";
  18930. var IfcWindowStyleConstructionEnum = class {
  18931. constructor(v) {
  18932. this.value = v;
  18933. }
  18934. };
  18935. IfcWindowStyleConstructionEnum.ALUMINIUM = "ALUMINIUM";
  18936. IfcWindowStyleConstructionEnum.HIGH_GRADE_STEEL = "HIGH_GRADE_STEEL";
  18937. IfcWindowStyleConstructionEnum.STEEL = "STEEL";
  18938. IfcWindowStyleConstructionEnum.WOOD = "WOOD";
  18939. IfcWindowStyleConstructionEnum.ALUMINIUM_WOOD = "ALUMINIUM_WOOD";
  18940. IfcWindowStyleConstructionEnum.PLASTIC = "PLASTIC";
  18941. IfcWindowStyleConstructionEnum.OTHER_CONSTRUCTION = "OTHER_CONSTRUCTION";
  18942. IfcWindowStyleConstructionEnum.NOTDEFINED = "NOTDEFINED";
  18943. var IfcWindowStyleOperationEnum = class {
  18944. constructor(v) {
  18945. this.value = v;
  18946. }
  18947. };
  18948. IfcWindowStyleOperationEnum.SINGLE_PANEL = "SINGLE_PANEL";
  18949. IfcWindowStyleOperationEnum.DOUBLE_PANEL_VERTICAL = "DOUBLE_PANEL_VERTICAL";
  18950. IfcWindowStyleOperationEnum.DOUBLE_PANEL_HORIZONTAL = "DOUBLE_PANEL_HORIZONTAL";
  18951. IfcWindowStyleOperationEnum.TRIPLE_PANEL_VERTICAL = "TRIPLE_PANEL_VERTICAL";
  18952. IfcWindowStyleOperationEnum.TRIPLE_PANEL_BOTTOM = "TRIPLE_PANEL_BOTTOM";
  18953. IfcWindowStyleOperationEnum.TRIPLE_PANEL_TOP = "TRIPLE_PANEL_TOP";
  18954. IfcWindowStyleOperationEnum.TRIPLE_PANEL_LEFT = "TRIPLE_PANEL_LEFT";
  18955. IfcWindowStyleOperationEnum.TRIPLE_PANEL_RIGHT = "TRIPLE_PANEL_RIGHT";
  18956. IfcWindowStyleOperationEnum.TRIPLE_PANEL_HORIZONTAL = "TRIPLE_PANEL_HORIZONTAL";
  18957. IfcWindowStyleOperationEnum.USERDEFINED = "USERDEFINED";
  18958. IfcWindowStyleOperationEnum.NOTDEFINED = "NOTDEFINED";
  18959. var IfcWindowTypeEnum = class {
  18960. constructor(v) {
  18961. this.value = v;
  18962. }
  18963. };
  18964. IfcWindowTypeEnum.WINDOW = "WINDOW";
  18965. IfcWindowTypeEnum.SKYLIGHT = "SKYLIGHT";
  18966. IfcWindowTypeEnum.LIGHTDOME = "LIGHTDOME";
  18967. IfcWindowTypeEnum.USERDEFINED = "USERDEFINED";
  18968. IfcWindowTypeEnum.NOTDEFINED = "NOTDEFINED";
  18969. var IfcWindowTypePartitioningEnum = class {
  18970. constructor(v) {
  18971. this.value = v;
  18972. }
  18973. };
  18974. IfcWindowTypePartitioningEnum.SINGLE_PANEL = "SINGLE_PANEL";
  18975. IfcWindowTypePartitioningEnum.DOUBLE_PANEL_VERTICAL = "DOUBLE_PANEL_VERTICAL";
  18976. IfcWindowTypePartitioningEnum.DOUBLE_PANEL_HORIZONTAL = "DOUBLE_PANEL_HORIZONTAL";
  18977. IfcWindowTypePartitioningEnum.TRIPLE_PANEL_VERTICAL = "TRIPLE_PANEL_VERTICAL";
  18978. IfcWindowTypePartitioningEnum.TRIPLE_PANEL_BOTTOM = "TRIPLE_PANEL_BOTTOM";
  18979. IfcWindowTypePartitioningEnum.TRIPLE_PANEL_TOP = "TRIPLE_PANEL_TOP";
  18980. IfcWindowTypePartitioningEnum.TRIPLE_PANEL_LEFT = "TRIPLE_PANEL_LEFT";
  18981. IfcWindowTypePartitioningEnum.TRIPLE_PANEL_RIGHT = "TRIPLE_PANEL_RIGHT";
  18982. IfcWindowTypePartitioningEnum.TRIPLE_PANEL_HORIZONTAL = "TRIPLE_PANEL_HORIZONTAL";
  18983. IfcWindowTypePartitioningEnum.USERDEFINED = "USERDEFINED";
  18984. IfcWindowTypePartitioningEnum.NOTDEFINED = "NOTDEFINED";
  18985. var IfcWorkCalendarTypeEnum = class {
  18986. constructor(v) {
  18987. this.value = v;
  18988. }
  18989. };
  18990. IfcWorkCalendarTypeEnum.FIRSTSHIFT = "FIRSTSHIFT";
  18991. IfcWorkCalendarTypeEnum.SECONDSHIFT = "SECONDSHIFT";
  18992. IfcWorkCalendarTypeEnum.THIRDSHIFT = "THIRDSHIFT";
  18993. IfcWorkCalendarTypeEnum.USERDEFINED = "USERDEFINED";
  18994. IfcWorkCalendarTypeEnum.NOTDEFINED = "NOTDEFINED";
  18995. var IfcWorkPlanTypeEnum = class {
  18996. constructor(v) {
  18997. this.value = v;
  18998. }
  18999. };
  19000. IfcWorkPlanTypeEnum.ACTUAL = "ACTUAL";
  19001. IfcWorkPlanTypeEnum.BASELINE = "BASELINE";
  19002. IfcWorkPlanTypeEnum.PLANNED = "PLANNED";
  19003. IfcWorkPlanTypeEnum.USERDEFINED = "USERDEFINED";
  19004. IfcWorkPlanTypeEnum.NOTDEFINED = "NOTDEFINED";
  19005. var IfcWorkScheduleTypeEnum = class {
  19006. constructor(v) {
  19007. this.value = v;
  19008. }
  19009. };
  19010. IfcWorkScheduleTypeEnum.ACTUAL = "ACTUAL";
  19011. IfcWorkScheduleTypeEnum.BASELINE = "BASELINE";
  19012. IfcWorkScheduleTypeEnum.PLANNED = "PLANNED";
  19013. IfcWorkScheduleTypeEnum.USERDEFINED = "USERDEFINED";
  19014. IfcWorkScheduleTypeEnum.NOTDEFINED = "NOTDEFINED";
  19015. var IfcActionRequest = class {
  19016. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, Status, LongDescription) {
  19017. this.expressID = expressID;
  19018. this.type = type;
  19019. this.GlobalId = GlobalId;
  19020. this.OwnerHistory = OwnerHistory;
  19021. this.Name = Name;
  19022. this.Description = Description;
  19023. this.ObjectType = ObjectType;
  19024. this.Identification = Identification;
  19025. this.PredefinedType = PredefinedType;
  19026. this.Status = Status;
  19027. this.LongDescription = LongDescription;
  19028. }
  19029. static FromTape(expressID, type, tape) {
  19030. let ptr = 0;
  19031. let GlobalId = tape[ptr++];
  19032. let OwnerHistory = tape[ptr++];
  19033. let Name = tape[ptr++];
  19034. let Description = tape[ptr++];
  19035. let ObjectType = tape[ptr++];
  19036. let Identification = tape[ptr++];
  19037. let PredefinedType = tape[ptr++];
  19038. let Status = tape[ptr++];
  19039. let LongDescription = tape[ptr++];
  19040. return new IfcActionRequest(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, Status, LongDescription);
  19041. }
  19042. ToTape() {
  19043. let args = [];
  19044. args.push(this.GlobalId);
  19045. ;
  19046. args.push(this.OwnerHistory);
  19047. ;
  19048. args.push(this.Name);
  19049. ;
  19050. args.push(this.Description);
  19051. ;
  19052. args.push(this.ObjectType);
  19053. ;
  19054. args.push(this.Identification);
  19055. ;
  19056. args.push(this.PredefinedType);
  19057. ;
  19058. args.push(this.Status);
  19059. ;
  19060. args.push(this.LongDescription);
  19061. ;
  19062. return args;
  19063. }
  19064. };
  19065. var IfcActor = class {
  19066. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, TheActor) {
  19067. this.expressID = expressID;
  19068. this.type = type;
  19069. this.GlobalId = GlobalId;
  19070. this.OwnerHistory = OwnerHistory;
  19071. this.Name = Name;
  19072. this.Description = Description;
  19073. this.ObjectType = ObjectType;
  19074. this.TheActor = TheActor;
  19075. }
  19076. static FromTape(expressID, type, tape) {
  19077. let ptr = 0;
  19078. let GlobalId = tape[ptr++];
  19079. let OwnerHistory = tape[ptr++];
  19080. let Name = tape[ptr++];
  19081. let Description = tape[ptr++];
  19082. let ObjectType = tape[ptr++];
  19083. let TheActor = tape[ptr++];
  19084. return new IfcActor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, TheActor);
  19085. }
  19086. ToTape() {
  19087. let args = [];
  19088. args.push(this.GlobalId);
  19089. ;
  19090. args.push(this.OwnerHistory);
  19091. ;
  19092. args.push(this.Name);
  19093. ;
  19094. args.push(this.Description);
  19095. ;
  19096. args.push(this.ObjectType);
  19097. ;
  19098. args.push(this.TheActor);
  19099. ;
  19100. return args;
  19101. }
  19102. };
  19103. var IfcActorRole = class {
  19104. constructor(expressID, type, Role, UserDefinedRole, Description) {
  19105. this.expressID = expressID;
  19106. this.type = type;
  19107. this.Role = Role;
  19108. this.UserDefinedRole = UserDefinedRole;
  19109. this.Description = Description;
  19110. }
  19111. static FromTape(expressID, type, tape) {
  19112. let ptr = 0;
  19113. let Role = tape[ptr++];
  19114. let UserDefinedRole = tape[ptr++];
  19115. let Description = tape[ptr++];
  19116. return new IfcActorRole(expressID, type, Role, UserDefinedRole, Description);
  19117. }
  19118. ToTape() {
  19119. let args = [];
  19120. args.push(this.Role);
  19121. ;
  19122. args.push(this.UserDefinedRole);
  19123. ;
  19124. args.push(this.Description);
  19125. ;
  19126. return args;
  19127. }
  19128. };
  19129. var IfcActuator = class {
  19130. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  19131. this.expressID = expressID;
  19132. this.type = type;
  19133. this.GlobalId = GlobalId;
  19134. this.OwnerHistory = OwnerHistory;
  19135. this.Name = Name;
  19136. this.Description = Description;
  19137. this.ObjectType = ObjectType;
  19138. this.ObjectPlacement = ObjectPlacement;
  19139. this.Representation = Representation;
  19140. this.Tag = Tag;
  19141. this.PredefinedType = PredefinedType;
  19142. }
  19143. static FromTape(expressID, type, tape) {
  19144. let ptr = 0;
  19145. let GlobalId = tape[ptr++];
  19146. let OwnerHistory = tape[ptr++];
  19147. let Name = tape[ptr++];
  19148. let Description = tape[ptr++];
  19149. let ObjectType = tape[ptr++];
  19150. let ObjectPlacement = tape[ptr++];
  19151. let Representation = tape[ptr++];
  19152. let Tag = tape[ptr++];
  19153. let PredefinedType = tape[ptr++];
  19154. return new IfcActuator(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  19155. }
  19156. ToTape() {
  19157. let args = [];
  19158. args.push(this.GlobalId);
  19159. ;
  19160. args.push(this.OwnerHistory);
  19161. ;
  19162. args.push(this.Name);
  19163. ;
  19164. args.push(this.Description);
  19165. ;
  19166. args.push(this.ObjectType);
  19167. ;
  19168. args.push(this.ObjectPlacement);
  19169. ;
  19170. args.push(this.Representation);
  19171. ;
  19172. args.push(this.Tag);
  19173. ;
  19174. args.push(this.PredefinedType);
  19175. ;
  19176. return args;
  19177. }
  19178. };
  19179. var IfcActuatorType = class {
  19180. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  19181. this.expressID = expressID;
  19182. this.type = type;
  19183. this.GlobalId = GlobalId;
  19184. this.OwnerHistory = OwnerHistory;
  19185. this.Name = Name;
  19186. this.Description = Description;
  19187. this.ApplicableOccurrence = ApplicableOccurrence;
  19188. this.HasPropertySets = HasPropertySets;
  19189. this.RepresentationMaps = RepresentationMaps;
  19190. this.Tag = Tag;
  19191. this.ElementType = ElementType;
  19192. this.PredefinedType = PredefinedType;
  19193. }
  19194. static FromTape(expressID, type, tape) {
  19195. let ptr = 0;
  19196. let GlobalId = tape[ptr++];
  19197. let OwnerHistory = tape[ptr++];
  19198. let Name = tape[ptr++];
  19199. let Description = tape[ptr++];
  19200. let ApplicableOccurrence = tape[ptr++];
  19201. let HasPropertySets = tape[ptr++];
  19202. let RepresentationMaps = tape[ptr++];
  19203. let Tag = tape[ptr++];
  19204. let ElementType = tape[ptr++];
  19205. let PredefinedType = tape[ptr++];
  19206. return new IfcActuatorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  19207. }
  19208. ToTape() {
  19209. let args = [];
  19210. args.push(this.GlobalId);
  19211. ;
  19212. args.push(this.OwnerHistory);
  19213. ;
  19214. args.push(this.Name);
  19215. ;
  19216. args.push(this.Description);
  19217. ;
  19218. args.push(this.ApplicableOccurrence);
  19219. ;
  19220. args.push(this.HasPropertySets);
  19221. ;
  19222. args.push(this.RepresentationMaps);
  19223. ;
  19224. args.push(this.Tag);
  19225. ;
  19226. args.push(this.ElementType);
  19227. ;
  19228. args.push(this.PredefinedType);
  19229. ;
  19230. return args;
  19231. }
  19232. };
  19233. var IfcAddress = class {
  19234. constructor(expressID, type, Purpose, Description, UserDefinedPurpose) {
  19235. this.expressID = expressID;
  19236. this.type = type;
  19237. this.Purpose = Purpose;
  19238. this.Description = Description;
  19239. this.UserDefinedPurpose = UserDefinedPurpose;
  19240. }
  19241. static FromTape(expressID, type, tape) {
  19242. let ptr = 0;
  19243. let Purpose = tape[ptr++];
  19244. let Description = tape[ptr++];
  19245. let UserDefinedPurpose = tape[ptr++];
  19246. return new IfcAddress(expressID, type, Purpose, Description, UserDefinedPurpose);
  19247. }
  19248. ToTape() {
  19249. let args = [];
  19250. args.push(this.Purpose);
  19251. ;
  19252. args.push(this.Description);
  19253. ;
  19254. args.push(this.UserDefinedPurpose);
  19255. ;
  19256. return args;
  19257. }
  19258. };
  19259. var IfcAdvancedBrep = class {
  19260. constructor(expressID, type, Outer) {
  19261. this.expressID = expressID;
  19262. this.type = type;
  19263. this.Outer = Outer;
  19264. }
  19265. static FromTape(expressID, type, tape) {
  19266. let ptr = 0;
  19267. let Outer = tape[ptr++];
  19268. return new IfcAdvancedBrep(expressID, type, Outer);
  19269. }
  19270. ToTape() {
  19271. let args = [];
  19272. args.push(this.Outer);
  19273. ;
  19274. return args;
  19275. }
  19276. };
  19277. var IfcAdvancedBrepWithVoids = class {
  19278. constructor(expressID, type, Outer, Voids) {
  19279. this.expressID = expressID;
  19280. this.type = type;
  19281. this.Outer = Outer;
  19282. this.Voids = Voids;
  19283. }
  19284. static FromTape(expressID, type, tape) {
  19285. let ptr = 0;
  19286. let Outer = tape[ptr++];
  19287. let Voids = tape[ptr++];
  19288. return new IfcAdvancedBrepWithVoids(expressID, type, Outer, Voids);
  19289. }
  19290. ToTape() {
  19291. let args = [];
  19292. args.push(this.Outer);
  19293. ;
  19294. args.push(this.Voids);
  19295. ;
  19296. return args;
  19297. }
  19298. };
  19299. var IfcAdvancedFace = class {
  19300. constructor(expressID, type, Bounds, FaceSurface, SameSense) {
  19301. this.expressID = expressID;
  19302. this.type = type;
  19303. this.Bounds = Bounds;
  19304. this.FaceSurface = FaceSurface;
  19305. this.SameSense = SameSense;
  19306. }
  19307. static FromTape(expressID, type, tape) {
  19308. let ptr = 0;
  19309. let Bounds = tape[ptr++];
  19310. let FaceSurface = tape[ptr++];
  19311. let SameSense = tape[ptr++];
  19312. return new IfcAdvancedFace(expressID, type, Bounds, FaceSurface, SameSense);
  19313. }
  19314. ToTape() {
  19315. let args = [];
  19316. args.push(this.Bounds);
  19317. ;
  19318. args.push(this.FaceSurface);
  19319. ;
  19320. args.push(this.SameSense);
  19321. ;
  19322. return args;
  19323. }
  19324. };
  19325. var IfcAirTerminal = class {
  19326. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  19327. this.expressID = expressID;
  19328. this.type = type;
  19329. this.GlobalId = GlobalId;
  19330. this.OwnerHistory = OwnerHistory;
  19331. this.Name = Name;
  19332. this.Description = Description;
  19333. this.ObjectType = ObjectType;
  19334. this.ObjectPlacement = ObjectPlacement;
  19335. this.Representation = Representation;
  19336. this.Tag = Tag;
  19337. this.PredefinedType = PredefinedType;
  19338. }
  19339. static FromTape(expressID, type, tape) {
  19340. let ptr = 0;
  19341. let GlobalId = tape[ptr++];
  19342. let OwnerHistory = tape[ptr++];
  19343. let Name = tape[ptr++];
  19344. let Description = tape[ptr++];
  19345. let ObjectType = tape[ptr++];
  19346. let ObjectPlacement = tape[ptr++];
  19347. let Representation = tape[ptr++];
  19348. let Tag = tape[ptr++];
  19349. let PredefinedType = tape[ptr++];
  19350. return new IfcAirTerminal(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  19351. }
  19352. ToTape() {
  19353. let args = [];
  19354. args.push(this.GlobalId);
  19355. ;
  19356. args.push(this.OwnerHistory);
  19357. ;
  19358. args.push(this.Name);
  19359. ;
  19360. args.push(this.Description);
  19361. ;
  19362. args.push(this.ObjectType);
  19363. ;
  19364. args.push(this.ObjectPlacement);
  19365. ;
  19366. args.push(this.Representation);
  19367. ;
  19368. args.push(this.Tag);
  19369. ;
  19370. args.push(this.PredefinedType);
  19371. ;
  19372. return args;
  19373. }
  19374. };
  19375. var IfcAirTerminalBox = class {
  19376. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  19377. this.expressID = expressID;
  19378. this.type = type;
  19379. this.GlobalId = GlobalId;
  19380. this.OwnerHistory = OwnerHistory;
  19381. this.Name = Name;
  19382. this.Description = Description;
  19383. this.ObjectType = ObjectType;
  19384. this.ObjectPlacement = ObjectPlacement;
  19385. this.Representation = Representation;
  19386. this.Tag = Tag;
  19387. this.PredefinedType = PredefinedType;
  19388. }
  19389. static FromTape(expressID, type, tape) {
  19390. let ptr = 0;
  19391. let GlobalId = tape[ptr++];
  19392. let OwnerHistory = tape[ptr++];
  19393. let Name = tape[ptr++];
  19394. let Description = tape[ptr++];
  19395. let ObjectType = tape[ptr++];
  19396. let ObjectPlacement = tape[ptr++];
  19397. let Representation = tape[ptr++];
  19398. let Tag = tape[ptr++];
  19399. let PredefinedType = tape[ptr++];
  19400. return new IfcAirTerminalBox(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  19401. }
  19402. ToTape() {
  19403. let args = [];
  19404. args.push(this.GlobalId);
  19405. ;
  19406. args.push(this.OwnerHistory);
  19407. ;
  19408. args.push(this.Name);
  19409. ;
  19410. args.push(this.Description);
  19411. ;
  19412. args.push(this.ObjectType);
  19413. ;
  19414. args.push(this.ObjectPlacement);
  19415. ;
  19416. args.push(this.Representation);
  19417. ;
  19418. args.push(this.Tag);
  19419. ;
  19420. args.push(this.PredefinedType);
  19421. ;
  19422. return args;
  19423. }
  19424. };
  19425. var IfcAirTerminalBoxType = class {
  19426. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  19427. this.expressID = expressID;
  19428. this.type = type;
  19429. this.GlobalId = GlobalId;
  19430. this.OwnerHistory = OwnerHistory;
  19431. this.Name = Name;
  19432. this.Description = Description;
  19433. this.ApplicableOccurrence = ApplicableOccurrence;
  19434. this.HasPropertySets = HasPropertySets;
  19435. this.RepresentationMaps = RepresentationMaps;
  19436. this.Tag = Tag;
  19437. this.ElementType = ElementType;
  19438. this.PredefinedType = PredefinedType;
  19439. }
  19440. static FromTape(expressID, type, tape) {
  19441. let ptr = 0;
  19442. let GlobalId = tape[ptr++];
  19443. let OwnerHistory = tape[ptr++];
  19444. let Name = tape[ptr++];
  19445. let Description = tape[ptr++];
  19446. let ApplicableOccurrence = tape[ptr++];
  19447. let HasPropertySets = tape[ptr++];
  19448. let RepresentationMaps = tape[ptr++];
  19449. let Tag = tape[ptr++];
  19450. let ElementType = tape[ptr++];
  19451. let PredefinedType = tape[ptr++];
  19452. return new IfcAirTerminalBoxType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  19453. }
  19454. ToTape() {
  19455. let args = [];
  19456. args.push(this.GlobalId);
  19457. ;
  19458. args.push(this.OwnerHistory);
  19459. ;
  19460. args.push(this.Name);
  19461. ;
  19462. args.push(this.Description);
  19463. ;
  19464. args.push(this.ApplicableOccurrence);
  19465. ;
  19466. args.push(this.HasPropertySets);
  19467. ;
  19468. args.push(this.RepresentationMaps);
  19469. ;
  19470. args.push(this.Tag);
  19471. ;
  19472. args.push(this.ElementType);
  19473. ;
  19474. args.push(this.PredefinedType);
  19475. ;
  19476. return args;
  19477. }
  19478. };
  19479. var IfcAirTerminalType = class {
  19480. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  19481. this.expressID = expressID;
  19482. this.type = type;
  19483. this.GlobalId = GlobalId;
  19484. this.OwnerHistory = OwnerHistory;
  19485. this.Name = Name;
  19486. this.Description = Description;
  19487. this.ApplicableOccurrence = ApplicableOccurrence;
  19488. this.HasPropertySets = HasPropertySets;
  19489. this.RepresentationMaps = RepresentationMaps;
  19490. this.Tag = Tag;
  19491. this.ElementType = ElementType;
  19492. this.PredefinedType = PredefinedType;
  19493. }
  19494. static FromTape(expressID, type, tape) {
  19495. let ptr = 0;
  19496. let GlobalId = tape[ptr++];
  19497. let OwnerHistory = tape[ptr++];
  19498. let Name = tape[ptr++];
  19499. let Description = tape[ptr++];
  19500. let ApplicableOccurrence = tape[ptr++];
  19501. let HasPropertySets = tape[ptr++];
  19502. let RepresentationMaps = tape[ptr++];
  19503. let Tag = tape[ptr++];
  19504. let ElementType = tape[ptr++];
  19505. let PredefinedType = tape[ptr++];
  19506. return new IfcAirTerminalType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  19507. }
  19508. ToTape() {
  19509. let args = [];
  19510. args.push(this.GlobalId);
  19511. ;
  19512. args.push(this.OwnerHistory);
  19513. ;
  19514. args.push(this.Name);
  19515. ;
  19516. args.push(this.Description);
  19517. ;
  19518. args.push(this.ApplicableOccurrence);
  19519. ;
  19520. args.push(this.HasPropertySets);
  19521. ;
  19522. args.push(this.RepresentationMaps);
  19523. ;
  19524. args.push(this.Tag);
  19525. ;
  19526. args.push(this.ElementType);
  19527. ;
  19528. args.push(this.PredefinedType);
  19529. ;
  19530. return args;
  19531. }
  19532. };
  19533. var IfcAirToAirHeatRecovery = class {
  19534. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  19535. this.expressID = expressID;
  19536. this.type = type;
  19537. this.GlobalId = GlobalId;
  19538. this.OwnerHistory = OwnerHistory;
  19539. this.Name = Name;
  19540. this.Description = Description;
  19541. this.ObjectType = ObjectType;
  19542. this.ObjectPlacement = ObjectPlacement;
  19543. this.Representation = Representation;
  19544. this.Tag = Tag;
  19545. this.PredefinedType = PredefinedType;
  19546. }
  19547. static FromTape(expressID, type, tape) {
  19548. let ptr = 0;
  19549. let GlobalId = tape[ptr++];
  19550. let OwnerHistory = tape[ptr++];
  19551. let Name = tape[ptr++];
  19552. let Description = tape[ptr++];
  19553. let ObjectType = tape[ptr++];
  19554. let ObjectPlacement = tape[ptr++];
  19555. let Representation = tape[ptr++];
  19556. let Tag = tape[ptr++];
  19557. let PredefinedType = tape[ptr++];
  19558. return new IfcAirToAirHeatRecovery(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  19559. }
  19560. ToTape() {
  19561. let args = [];
  19562. args.push(this.GlobalId);
  19563. ;
  19564. args.push(this.OwnerHistory);
  19565. ;
  19566. args.push(this.Name);
  19567. ;
  19568. args.push(this.Description);
  19569. ;
  19570. args.push(this.ObjectType);
  19571. ;
  19572. args.push(this.ObjectPlacement);
  19573. ;
  19574. args.push(this.Representation);
  19575. ;
  19576. args.push(this.Tag);
  19577. ;
  19578. args.push(this.PredefinedType);
  19579. ;
  19580. return args;
  19581. }
  19582. };
  19583. var IfcAirToAirHeatRecoveryType = class {
  19584. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  19585. this.expressID = expressID;
  19586. this.type = type;
  19587. this.GlobalId = GlobalId;
  19588. this.OwnerHistory = OwnerHistory;
  19589. this.Name = Name;
  19590. this.Description = Description;
  19591. this.ApplicableOccurrence = ApplicableOccurrence;
  19592. this.HasPropertySets = HasPropertySets;
  19593. this.RepresentationMaps = RepresentationMaps;
  19594. this.Tag = Tag;
  19595. this.ElementType = ElementType;
  19596. this.PredefinedType = PredefinedType;
  19597. }
  19598. static FromTape(expressID, type, tape) {
  19599. let ptr = 0;
  19600. let GlobalId = tape[ptr++];
  19601. let OwnerHistory = tape[ptr++];
  19602. let Name = tape[ptr++];
  19603. let Description = tape[ptr++];
  19604. let ApplicableOccurrence = tape[ptr++];
  19605. let HasPropertySets = tape[ptr++];
  19606. let RepresentationMaps = tape[ptr++];
  19607. let Tag = tape[ptr++];
  19608. let ElementType = tape[ptr++];
  19609. let PredefinedType = tape[ptr++];
  19610. return new IfcAirToAirHeatRecoveryType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  19611. }
  19612. ToTape() {
  19613. let args = [];
  19614. args.push(this.GlobalId);
  19615. ;
  19616. args.push(this.OwnerHistory);
  19617. ;
  19618. args.push(this.Name);
  19619. ;
  19620. args.push(this.Description);
  19621. ;
  19622. args.push(this.ApplicableOccurrence);
  19623. ;
  19624. args.push(this.HasPropertySets);
  19625. ;
  19626. args.push(this.RepresentationMaps);
  19627. ;
  19628. args.push(this.Tag);
  19629. ;
  19630. args.push(this.ElementType);
  19631. ;
  19632. args.push(this.PredefinedType);
  19633. ;
  19634. return args;
  19635. }
  19636. };
  19637. var IfcAlarm = class {
  19638. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  19639. this.expressID = expressID;
  19640. this.type = type;
  19641. this.GlobalId = GlobalId;
  19642. this.OwnerHistory = OwnerHistory;
  19643. this.Name = Name;
  19644. this.Description = Description;
  19645. this.ObjectType = ObjectType;
  19646. this.ObjectPlacement = ObjectPlacement;
  19647. this.Representation = Representation;
  19648. this.Tag = Tag;
  19649. this.PredefinedType = PredefinedType;
  19650. }
  19651. static FromTape(expressID, type, tape) {
  19652. let ptr = 0;
  19653. let GlobalId = tape[ptr++];
  19654. let OwnerHistory = tape[ptr++];
  19655. let Name = tape[ptr++];
  19656. let Description = tape[ptr++];
  19657. let ObjectType = tape[ptr++];
  19658. let ObjectPlacement = tape[ptr++];
  19659. let Representation = tape[ptr++];
  19660. let Tag = tape[ptr++];
  19661. let PredefinedType = tape[ptr++];
  19662. return new IfcAlarm(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  19663. }
  19664. ToTape() {
  19665. let args = [];
  19666. args.push(this.GlobalId);
  19667. ;
  19668. args.push(this.OwnerHistory);
  19669. ;
  19670. args.push(this.Name);
  19671. ;
  19672. args.push(this.Description);
  19673. ;
  19674. args.push(this.ObjectType);
  19675. ;
  19676. args.push(this.ObjectPlacement);
  19677. ;
  19678. args.push(this.Representation);
  19679. ;
  19680. args.push(this.Tag);
  19681. ;
  19682. args.push(this.PredefinedType);
  19683. ;
  19684. return args;
  19685. }
  19686. };
  19687. var IfcAlarmType = class {
  19688. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  19689. this.expressID = expressID;
  19690. this.type = type;
  19691. this.GlobalId = GlobalId;
  19692. this.OwnerHistory = OwnerHistory;
  19693. this.Name = Name;
  19694. this.Description = Description;
  19695. this.ApplicableOccurrence = ApplicableOccurrence;
  19696. this.HasPropertySets = HasPropertySets;
  19697. this.RepresentationMaps = RepresentationMaps;
  19698. this.Tag = Tag;
  19699. this.ElementType = ElementType;
  19700. this.PredefinedType = PredefinedType;
  19701. }
  19702. static FromTape(expressID, type, tape) {
  19703. let ptr = 0;
  19704. let GlobalId = tape[ptr++];
  19705. let OwnerHistory = tape[ptr++];
  19706. let Name = tape[ptr++];
  19707. let Description = tape[ptr++];
  19708. let ApplicableOccurrence = tape[ptr++];
  19709. let HasPropertySets = tape[ptr++];
  19710. let RepresentationMaps = tape[ptr++];
  19711. let Tag = tape[ptr++];
  19712. let ElementType = tape[ptr++];
  19713. let PredefinedType = tape[ptr++];
  19714. return new IfcAlarmType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  19715. }
  19716. ToTape() {
  19717. let args = [];
  19718. args.push(this.GlobalId);
  19719. ;
  19720. args.push(this.OwnerHistory);
  19721. ;
  19722. args.push(this.Name);
  19723. ;
  19724. args.push(this.Description);
  19725. ;
  19726. args.push(this.ApplicableOccurrence);
  19727. ;
  19728. args.push(this.HasPropertySets);
  19729. ;
  19730. args.push(this.RepresentationMaps);
  19731. ;
  19732. args.push(this.Tag);
  19733. ;
  19734. args.push(this.ElementType);
  19735. ;
  19736. args.push(this.PredefinedType);
  19737. ;
  19738. return args;
  19739. }
  19740. };
  19741. var IfcAlignment = class {
  19742. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Axis, PredefinedType) {
  19743. this.expressID = expressID;
  19744. this.type = type;
  19745. this.GlobalId = GlobalId;
  19746. this.OwnerHistory = OwnerHistory;
  19747. this.Name = Name;
  19748. this.Description = Description;
  19749. this.ObjectType = ObjectType;
  19750. this.ObjectPlacement = ObjectPlacement;
  19751. this.Representation = Representation;
  19752. this.Axis = Axis;
  19753. this.PredefinedType = PredefinedType;
  19754. }
  19755. static FromTape(expressID, type, tape) {
  19756. let ptr = 0;
  19757. let GlobalId = tape[ptr++];
  19758. let OwnerHistory = tape[ptr++];
  19759. let Name = tape[ptr++];
  19760. let Description = tape[ptr++];
  19761. let ObjectType = tape[ptr++];
  19762. let ObjectPlacement = tape[ptr++];
  19763. let Representation = tape[ptr++];
  19764. let Axis = tape[ptr++];
  19765. let PredefinedType = tape[ptr++];
  19766. return new IfcAlignment(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Axis, PredefinedType);
  19767. }
  19768. ToTape() {
  19769. let args = [];
  19770. args.push(this.GlobalId);
  19771. ;
  19772. args.push(this.OwnerHistory);
  19773. ;
  19774. args.push(this.Name);
  19775. ;
  19776. args.push(this.Description);
  19777. ;
  19778. args.push(this.ObjectType);
  19779. ;
  19780. args.push(this.ObjectPlacement);
  19781. ;
  19782. args.push(this.Representation);
  19783. ;
  19784. args.push(this.Axis);
  19785. ;
  19786. args.push(this.PredefinedType);
  19787. ;
  19788. return args;
  19789. }
  19790. };
  19791. var IfcAlignment2DHorizontal = class {
  19792. constructor(expressID, type, StartDistAlong, Segments) {
  19793. this.expressID = expressID;
  19794. this.type = type;
  19795. this.StartDistAlong = StartDistAlong;
  19796. this.Segments = Segments;
  19797. }
  19798. static FromTape(expressID, type, tape) {
  19799. let ptr = 0;
  19800. let StartDistAlong = tape[ptr++];
  19801. let Segments = tape[ptr++];
  19802. return new IfcAlignment2DHorizontal(expressID, type, StartDistAlong, Segments);
  19803. }
  19804. ToTape() {
  19805. let args = [];
  19806. args.push(this.StartDistAlong);
  19807. ;
  19808. args.push(this.Segments);
  19809. ;
  19810. return args;
  19811. }
  19812. };
  19813. var IfcAlignment2DHorizontalSegment = class {
  19814. constructor(expressID, type, TangentialContinuity, StartTag, EndTag, CurveGeometry) {
  19815. this.expressID = expressID;
  19816. this.type = type;
  19817. this.TangentialContinuity = TangentialContinuity;
  19818. this.StartTag = StartTag;
  19819. this.EndTag = EndTag;
  19820. this.CurveGeometry = CurveGeometry;
  19821. }
  19822. static FromTape(expressID, type, tape) {
  19823. let ptr = 0;
  19824. let TangentialContinuity = tape[ptr++];
  19825. let StartTag = tape[ptr++];
  19826. let EndTag = tape[ptr++];
  19827. let CurveGeometry = tape[ptr++];
  19828. return new IfcAlignment2DHorizontalSegment(expressID, type, TangentialContinuity, StartTag, EndTag, CurveGeometry);
  19829. }
  19830. ToTape() {
  19831. let args = [];
  19832. args.push(this.TangentialContinuity);
  19833. ;
  19834. args.push(this.StartTag);
  19835. ;
  19836. args.push(this.EndTag);
  19837. ;
  19838. args.push(this.CurveGeometry);
  19839. ;
  19840. return args;
  19841. }
  19842. };
  19843. var IfcAlignment2DSegment = class {
  19844. constructor(expressID, type, TangentialContinuity, StartTag, EndTag) {
  19845. this.expressID = expressID;
  19846. this.type = type;
  19847. this.TangentialContinuity = TangentialContinuity;
  19848. this.StartTag = StartTag;
  19849. this.EndTag = EndTag;
  19850. }
  19851. static FromTape(expressID, type, tape) {
  19852. let ptr = 0;
  19853. let TangentialContinuity = tape[ptr++];
  19854. let StartTag = tape[ptr++];
  19855. let EndTag = tape[ptr++];
  19856. return new IfcAlignment2DSegment(expressID, type, TangentialContinuity, StartTag, EndTag);
  19857. }
  19858. ToTape() {
  19859. let args = [];
  19860. args.push(this.TangentialContinuity);
  19861. ;
  19862. args.push(this.StartTag);
  19863. ;
  19864. args.push(this.EndTag);
  19865. ;
  19866. return args;
  19867. }
  19868. };
  19869. var IfcAlignment2DVerSegCircularArc = class {
  19870. constructor(expressID, type, TangentialContinuity, StartTag, EndTag, StartDistAlong, HorizontalLength, StartHeight, StartGradient, Radius, IsConvex) {
  19871. this.expressID = expressID;
  19872. this.type = type;
  19873. this.TangentialContinuity = TangentialContinuity;
  19874. this.StartTag = StartTag;
  19875. this.EndTag = EndTag;
  19876. this.StartDistAlong = StartDistAlong;
  19877. this.HorizontalLength = HorizontalLength;
  19878. this.StartHeight = StartHeight;
  19879. this.StartGradient = StartGradient;
  19880. this.Radius = Radius;
  19881. this.IsConvex = IsConvex;
  19882. }
  19883. static FromTape(expressID, type, tape) {
  19884. let ptr = 0;
  19885. let TangentialContinuity = tape[ptr++];
  19886. let StartTag = tape[ptr++];
  19887. let EndTag = tape[ptr++];
  19888. let StartDistAlong = tape[ptr++];
  19889. let HorizontalLength = tape[ptr++];
  19890. let StartHeight = tape[ptr++];
  19891. let StartGradient = tape[ptr++];
  19892. let Radius = tape[ptr++];
  19893. let IsConvex = tape[ptr++];
  19894. return new IfcAlignment2DVerSegCircularArc(expressID, type, TangentialContinuity, StartTag, EndTag, StartDistAlong, HorizontalLength, StartHeight, StartGradient, Radius, IsConvex);
  19895. }
  19896. ToTape() {
  19897. let args = [];
  19898. args.push(this.TangentialContinuity);
  19899. ;
  19900. args.push(this.StartTag);
  19901. ;
  19902. args.push(this.EndTag);
  19903. ;
  19904. args.push(this.StartDistAlong);
  19905. ;
  19906. args.push(this.HorizontalLength);
  19907. ;
  19908. args.push(this.StartHeight);
  19909. ;
  19910. args.push(this.StartGradient);
  19911. ;
  19912. args.push(this.Radius);
  19913. ;
  19914. args.push(this.IsConvex);
  19915. ;
  19916. return args;
  19917. }
  19918. };
  19919. var IfcAlignment2DVerSegLine = class {
  19920. constructor(expressID, type, TangentialContinuity, StartTag, EndTag, StartDistAlong, HorizontalLength, StartHeight, StartGradient) {
  19921. this.expressID = expressID;
  19922. this.type = type;
  19923. this.TangentialContinuity = TangentialContinuity;
  19924. this.StartTag = StartTag;
  19925. this.EndTag = EndTag;
  19926. this.StartDistAlong = StartDistAlong;
  19927. this.HorizontalLength = HorizontalLength;
  19928. this.StartHeight = StartHeight;
  19929. this.StartGradient = StartGradient;
  19930. }
  19931. static FromTape(expressID, type, tape) {
  19932. let ptr = 0;
  19933. let TangentialContinuity = tape[ptr++];
  19934. let StartTag = tape[ptr++];
  19935. let EndTag = tape[ptr++];
  19936. let StartDistAlong = tape[ptr++];
  19937. let HorizontalLength = tape[ptr++];
  19938. let StartHeight = tape[ptr++];
  19939. let StartGradient = tape[ptr++];
  19940. return new IfcAlignment2DVerSegLine(expressID, type, TangentialContinuity, StartTag, EndTag, StartDistAlong, HorizontalLength, StartHeight, StartGradient);
  19941. }
  19942. ToTape() {
  19943. let args = [];
  19944. args.push(this.TangentialContinuity);
  19945. ;
  19946. args.push(this.StartTag);
  19947. ;
  19948. args.push(this.EndTag);
  19949. ;
  19950. args.push(this.StartDistAlong);
  19951. ;
  19952. args.push(this.HorizontalLength);
  19953. ;
  19954. args.push(this.StartHeight);
  19955. ;
  19956. args.push(this.StartGradient);
  19957. ;
  19958. return args;
  19959. }
  19960. };
  19961. var IfcAlignment2DVerSegParabolicArc = class {
  19962. constructor(expressID, type, TangentialContinuity, StartTag, EndTag, StartDistAlong, HorizontalLength, StartHeight, StartGradient, ParabolaConstant, IsConvex) {
  19963. this.expressID = expressID;
  19964. this.type = type;
  19965. this.TangentialContinuity = TangentialContinuity;
  19966. this.StartTag = StartTag;
  19967. this.EndTag = EndTag;
  19968. this.StartDistAlong = StartDistAlong;
  19969. this.HorizontalLength = HorizontalLength;
  19970. this.StartHeight = StartHeight;
  19971. this.StartGradient = StartGradient;
  19972. this.ParabolaConstant = ParabolaConstant;
  19973. this.IsConvex = IsConvex;
  19974. }
  19975. static FromTape(expressID, type, tape) {
  19976. let ptr = 0;
  19977. let TangentialContinuity = tape[ptr++];
  19978. let StartTag = tape[ptr++];
  19979. let EndTag = tape[ptr++];
  19980. let StartDistAlong = tape[ptr++];
  19981. let HorizontalLength = tape[ptr++];
  19982. let StartHeight = tape[ptr++];
  19983. let StartGradient = tape[ptr++];
  19984. let ParabolaConstant = tape[ptr++];
  19985. let IsConvex = tape[ptr++];
  19986. return new IfcAlignment2DVerSegParabolicArc(expressID, type, TangentialContinuity, StartTag, EndTag, StartDistAlong, HorizontalLength, StartHeight, StartGradient, ParabolaConstant, IsConvex);
  19987. }
  19988. ToTape() {
  19989. let args = [];
  19990. args.push(this.TangentialContinuity);
  19991. ;
  19992. args.push(this.StartTag);
  19993. ;
  19994. args.push(this.EndTag);
  19995. ;
  19996. args.push(this.StartDistAlong);
  19997. ;
  19998. args.push(this.HorizontalLength);
  19999. ;
  20000. args.push(this.StartHeight);
  20001. ;
  20002. args.push(this.StartGradient);
  20003. ;
  20004. args.push(this.ParabolaConstant);
  20005. ;
  20006. args.push(this.IsConvex);
  20007. ;
  20008. return args;
  20009. }
  20010. };
  20011. var IfcAlignment2DVertical = class {
  20012. constructor(expressID, type, Segments) {
  20013. this.expressID = expressID;
  20014. this.type = type;
  20015. this.Segments = Segments;
  20016. }
  20017. static FromTape(expressID, type, tape) {
  20018. let ptr = 0;
  20019. let Segments = tape[ptr++];
  20020. return new IfcAlignment2DVertical(expressID, type, Segments);
  20021. }
  20022. ToTape() {
  20023. let args = [];
  20024. args.push(this.Segments);
  20025. ;
  20026. return args;
  20027. }
  20028. };
  20029. var IfcAlignment2DVerticalSegment = class {
  20030. constructor(expressID, type, TangentialContinuity, StartTag, EndTag, StartDistAlong, HorizontalLength, StartHeight, StartGradient) {
  20031. this.expressID = expressID;
  20032. this.type = type;
  20033. this.TangentialContinuity = TangentialContinuity;
  20034. this.StartTag = StartTag;
  20035. this.EndTag = EndTag;
  20036. this.StartDistAlong = StartDistAlong;
  20037. this.HorizontalLength = HorizontalLength;
  20038. this.StartHeight = StartHeight;
  20039. this.StartGradient = StartGradient;
  20040. }
  20041. static FromTape(expressID, type, tape) {
  20042. let ptr = 0;
  20043. let TangentialContinuity = tape[ptr++];
  20044. let StartTag = tape[ptr++];
  20045. let EndTag = tape[ptr++];
  20046. let StartDistAlong = tape[ptr++];
  20047. let HorizontalLength = tape[ptr++];
  20048. let StartHeight = tape[ptr++];
  20049. let StartGradient = tape[ptr++];
  20050. return new IfcAlignment2DVerticalSegment(expressID, type, TangentialContinuity, StartTag, EndTag, StartDistAlong, HorizontalLength, StartHeight, StartGradient);
  20051. }
  20052. ToTape() {
  20053. let args = [];
  20054. args.push(this.TangentialContinuity);
  20055. ;
  20056. args.push(this.StartTag);
  20057. ;
  20058. args.push(this.EndTag);
  20059. ;
  20060. args.push(this.StartDistAlong);
  20061. ;
  20062. args.push(this.HorizontalLength);
  20063. ;
  20064. args.push(this.StartHeight);
  20065. ;
  20066. args.push(this.StartGradient);
  20067. ;
  20068. return args;
  20069. }
  20070. };
  20071. var IfcAlignmentCurve = class {
  20072. constructor(expressID, type, Horizontal, Vertical, Tag) {
  20073. this.expressID = expressID;
  20074. this.type = type;
  20075. this.Horizontal = Horizontal;
  20076. this.Vertical = Vertical;
  20077. this.Tag = Tag;
  20078. }
  20079. static FromTape(expressID, type, tape) {
  20080. let ptr = 0;
  20081. let Horizontal = tape[ptr++];
  20082. let Vertical = tape[ptr++];
  20083. let Tag = tape[ptr++];
  20084. return new IfcAlignmentCurve(expressID, type, Horizontal, Vertical, Tag);
  20085. }
  20086. ToTape() {
  20087. let args = [];
  20088. args.push(this.Horizontal);
  20089. ;
  20090. args.push(this.Vertical);
  20091. ;
  20092. args.push(this.Tag);
  20093. ;
  20094. return args;
  20095. }
  20096. };
  20097. var IfcAnnotation = class {
  20098. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation) {
  20099. this.expressID = expressID;
  20100. this.type = type;
  20101. this.GlobalId = GlobalId;
  20102. this.OwnerHistory = OwnerHistory;
  20103. this.Name = Name;
  20104. this.Description = Description;
  20105. this.ObjectType = ObjectType;
  20106. this.ObjectPlacement = ObjectPlacement;
  20107. this.Representation = Representation;
  20108. }
  20109. static FromTape(expressID, type, tape) {
  20110. let ptr = 0;
  20111. let GlobalId = tape[ptr++];
  20112. let OwnerHistory = tape[ptr++];
  20113. let Name = tape[ptr++];
  20114. let Description = tape[ptr++];
  20115. let ObjectType = tape[ptr++];
  20116. let ObjectPlacement = tape[ptr++];
  20117. let Representation = tape[ptr++];
  20118. return new IfcAnnotation(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation);
  20119. }
  20120. ToTape() {
  20121. let args = [];
  20122. args.push(this.GlobalId);
  20123. ;
  20124. args.push(this.OwnerHistory);
  20125. ;
  20126. args.push(this.Name);
  20127. ;
  20128. args.push(this.Description);
  20129. ;
  20130. args.push(this.ObjectType);
  20131. ;
  20132. args.push(this.ObjectPlacement);
  20133. ;
  20134. args.push(this.Representation);
  20135. ;
  20136. return args;
  20137. }
  20138. };
  20139. var IfcAnnotationFillArea = class {
  20140. constructor(expressID, type, OuterBoundary, InnerBoundaries) {
  20141. this.expressID = expressID;
  20142. this.type = type;
  20143. this.OuterBoundary = OuterBoundary;
  20144. this.InnerBoundaries = InnerBoundaries;
  20145. }
  20146. static FromTape(expressID, type, tape) {
  20147. let ptr = 0;
  20148. let OuterBoundary = tape[ptr++];
  20149. let InnerBoundaries = tape[ptr++];
  20150. return new IfcAnnotationFillArea(expressID, type, OuterBoundary, InnerBoundaries);
  20151. }
  20152. ToTape() {
  20153. let args = [];
  20154. args.push(this.OuterBoundary);
  20155. ;
  20156. args.push(this.InnerBoundaries);
  20157. ;
  20158. return args;
  20159. }
  20160. };
  20161. var IfcApplication = class {
  20162. constructor(expressID, type, ApplicationDeveloper, Version, ApplicationFullName, ApplicationIdentifier) {
  20163. this.expressID = expressID;
  20164. this.type = type;
  20165. this.ApplicationDeveloper = ApplicationDeveloper;
  20166. this.Version = Version;
  20167. this.ApplicationFullName = ApplicationFullName;
  20168. this.ApplicationIdentifier = ApplicationIdentifier;
  20169. }
  20170. static FromTape(expressID, type, tape) {
  20171. let ptr = 0;
  20172. let ApplicationDeveloper = tape[ptr++];
  20173. let Version = tape[ptr++];
  20174. let ApplicationFullName = tape[ptr++];
  20175. let ApplicationIdentifier = tape[ptr++];
  20176. return new IfcApplication(expressID, type, ApplicationDeveloper, Version, ApplicationFullName, ApplicationIdentifier);
  20177. }
  20178. ToTape() {
  20179. let args = [];
  20180. args.push(this.ApplicationDeveloper);
  20181. ;
  20182. args.push(this.Version);
  20183. ;
  20184. args.push(this.ApplicationFullName);
  20185. ;
  20186. args.push(this.ApplicationIdentifier);
  20187. ;
  20188. return args;
  20189. }
  20190. };
  20191. var IfcAppliedValue = class {
  20192. constructor(expressID, type, Name, Description, AppliedValue, UnitBasis, ApplicableDate, FixedUntilDate, Category, Condition, ArithmeticOperator, Components) {
  20193. this.expressID = expressID;
  20194. this.type = type;
  20195. this.Name = Name;
  20196. this.Description = Description;
  20197. this.AppliedValue = AppliedValue;
  20198. this.UnitBasis = UnitBasis;
  20199. this.ApplicableDate = ApplicableDate;
  20200. this.FixedUntilDate = FixedUntilDate;
  20201. this.Category = Category;
  20202. this.Condition = Condition;
  20203. this.ArithmeticOperator = ArithmeticOperator;
  20204. this.Components = Components;
  20205. }
  20206. static FromTape(expressID, type, tape) {
  20207. let ptr = 0;
  20208. let Name = tape[ptr++];
  20209. let Description = tape[ptr++];
  20210. let AppliedValue = tape[ptr++];
  20211. let UnitBasis = tape[ptr++];
  20212. let ApplicableDate = tape[ptr++];
  20213. let FixedUntilDate = tape[ptr++];
  20214. let Category = tape[ptr++];
  20215. let Condition = tape[ptr++];
  20216. let ArithmeticOperator = tape[ptr++];
  20217. let Components = tape[ptr++];
  20218. return new IfcAppliedValue(expressID, type, Name, Description, AppliedValue, UnitBasis, ApplicableDate, FixedUntilDate, Category, Condition, ArithmeticOperator, Components);
  20219. }
  20220. ToTape() {
  20221. let args = [];
  20222. args.push(this.Name);
  20223. ;
  20224. args.push(this.Description);
  20225. ;
  20226. args.push(this.AppliedValue);
  20227. ;
  20228. args.push(this.UnitBasis);
  20229. ;
  20230. args.push(this.ApplicableDate);
  20231. ;
  20232. args.push(this.FixedUntilDate);
  20233. ;
  20234. args.push(this.Category);
  20235. ;
  20236. args.push(this.Condition);
  20237. ;
  20238. args.push(this.ArithmeticOperator);
  20239. ;
  20240. args.push(this.Components);
  20241. ;
  20242. return args;
  20243. }
  20244. };
  20245. var IfcApproval = class {
  20246. constructor(expressID, type, Identifier, Name, Description, TimeOfApproval, Status, Level, Qualifier, RequestingApproval, GivingApproval) {
  20247. this.expressID = expressID;
  20248. this.type = type;
  20249. this.Identifier = Identifier;
  20250. this.Name = Name;
  20251. this.Description = Description;
  20252. this.TimeOfApproval = TimeOfApproval;
  20253. this.Status = Status;
  20254. this.Level = Level;
  20255. this.Qualifier = Qualifier;
  20256. this.RequestingApproval = RequestingApproval;
  20257. this.GivingApproval = GivingApproval;
  20258. }
  20259. static FromTape(expressID, type, tape) {
  20260. let ptr = 0;
  20261. let Identifier = tape[ptr++];
  20262. let Name = tape[ptr++];
  20263. let Description = tape[ptr++];
  20264. let TimeOfApproval = tape[ptr++];
  20265. let Status = tape[ptr++];
  20266. let Level = tape[ptr++];
  20267. let Qualifier = tape[ptr++];
  20268. let RequestingApproval = tape[ptr++];
  20269. let GivingApproval = tape[ptr++];
  20270. return new IfcApproval(expressID, type, Identifier, Name, Description, TimeOfApproval, Status, Level, Qualifier, RequestingApproval, GivingApproval);
  20271. }
  20272. ToTape() {
  20273. let args = [];
  20274. args.push(this.Identifier);
  20275. ;
  20276. args.push(this.Name);
  20277. ;
  20278. args.push(this.Description);
  20279. ;
  20280. args.push(this.TimeOfApproval);
  20281. ;
  20282. args.push(this.Status);
  20283. ;
  20284. args.push(this.Level);
  20285. ;
  20286. args.push(this.Qualifier);
  20287. ;
  20288. args.push(this.RequestingApproval);
  20289. ;
  20290. args.push(this.GivingApproval);
  20291. ;
  20292. return args;
  20293. }
  20294. };
  20295. var IfcApprovalRelationship = class {
  20296. constructor(expressID, type, Name, Description, RelatingApproval, RelatedApprovals) {
  20297. this.expressID = expressID;
  20298. this.type = type;
  20299. this.Name = Name;
  20300. this.Description = Description;
  20301. this.RelatingApproval = RelatingApproval;
  20302. this.RelatedApprovals = RelatedApprovals;
  20303. }
  20304. static FromTape(expressID, type, tape) {
  20305. let ptr = 0;
  20306. let Name = tape[ptr++];
  20307. let Description = tape[ptr++];
  20308. let RelatingApproval = tape[ptr++];
  20309. let RelatedApprovals = tape[ptr++];
  20310. return new IfcApprovalRelationship(expressID, type, Name, Description, RelatingApproval, RelatedApprovals);
  20311. }
  20312. ToTape() {
  20313. let args = [];
  20314. args.push(this.Name);
  20315. ;
  20316. args.push(this.Description);
  20317. ;
  20318. args.push(this.RelatingApproval);
  20319. ;
  20320. args.push(this.RelatedApprovals);
  20321. ;
  20322. return args;
  20323. }
  20324. };
  20325. var IfcArbitraryClosedProfileDef = class {
  20326. constructor(expressID, type, ProfileType, ProfileName, OuterCurve) {
  20327. this.expressID = expressID;
  20328. this.type = type;
  20329. this.ProfileType = ProfileType;
  20330. this.ProfileName = ProfileName;
  20331. this.OuterCurve = OuterCurve;
  20332. }
  20333. static FromTape(expressID, type, tape) {
  20334. let ptr = 0;
  20335. let ProfileType = tape[ptr++];
  20336. let ProfileName = tape[ptr++];
  20337. let OuterCurve = tape[ptr++];
  20338. return new IfcArbitraryClosedProfileDef(expressID, type, ProfileType, ProfileName, OuterCurve);
  20339. }
  20340. ToTape() {
  20341. let args = [];
  20342. args.push(this.ProfileType);
  20343. ;
  20344. args.push(this.ProfileName);
  20345. ;
  20346. args.push(this.OuterCurve);
  20347. ;
  20348. return args;
  20349. }
  20350. };
  20351. var IfcArbitraryOpenProfileDef = class {
  20352. constructor(expressID, type, ProfileType, ProfileName, Curve) {
  20353. this.expressID = expressID;
  20354. this.type = type;
  20355. this.ProfileType = ProfileType;
  20356. this.ProfileName = ProfileName;
  20357. this.Curve = Curve;
  20358. }
  20359. static FromTape(expressID, type, tape) {
  20360. let ptr = 0;
  20361. let ProfileType = tape[ptr++];
  20362. let ProfileName = tape[ptr++];
  20363. let Curve = tape[ptr++];
  20364. return new IfcArbitraryOpenProfileDef(expressID, type, ProfileType, ProfileName, Curve);
  20365. }
  20366. ToTape() {
  20367. let args = [];
  20368. args.push(this.ProfileType);
  20369. ;
  20370. args.push(this.ProfileName);
  20371. ;
  20372. args.push(this.Curve);
  20373. ;
  20374. return args;
  20375. }
  20376. };
  20377. var IfcArbitraryProfileDefWithVoids = class {
  20378. constructor(expressID, type, ProfileType, ProfileName, OuterCurve, InnerCurves) {
  20379. this.expressID = expressID;
  20380. this.type = type;
  20381. this.ProfileType = ProfileType;
  20382. this.ProfileName = ProfileName;
  20383. this.OuterCurve = OuterCurve;
  20384. this.InnerCurves = InnerCurves;
  20385. }
  20386. static FromTape(expressID, type, tape) {
  20387. let ptr = 0;
  20388. let ProfileType = tape[ptr++];
  20389. let ProfileName = tape[ptr++];
  20390. let OuterCurve = tape[ptr++];
  20391. let InnerCurves = tape[ptr++];
  20392. return new IfcArbitraryProfileDefWithVoids(expressID, type, ProfileType, ProfileName, OuterCurve, InnerCurves);
  20393. }
  20394. ToTape() {
  20395. let args = [];
  20396. args.push(this.ProfileType);
  20397. ;
  20398. args.push(this.ProfileName);
  20399. ;
  20400. args.push(this.OuterCurve);
  20401. ;
  20402. args.push(this.InnerCurves);
  20403. ;
  20404. return args;
  20405. }
  20406. };
  20407. var IfcAsset = class {
  20408. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, OriginalValue, CurrentValue, TotalReplacementCost, Owner, User, ResponsiblePerson, IncorporationDate, DepreciatedValue) {
  20409. this.expressID = expressID;
  20410. this.type = type;
  20411. this.GlobalId = GlobalId;
  20412. this.OwnerHistory = OwnerHistory;
  20413. this.Name = Name;
  20414. this.Description = Description;
  20415. this.ObjectType = ObjectType;
  20416. this.Identification = Identification;
  20417. this.OriginalValue = OriginalValue;
  20418. this.CurrentValue = CurrentValue;
  20419. this.TotalReplacementCost = TotalReplacementCost;
  20420. this.Owner = Owner;
  20421. this.User = User;
  20422. this.ResponsiblePerson = ResponsiblePerson;
  20423. this.IncorporationDate = IncorporationDate;
  20424. this.DepreciatedValue = DepreciatedValue;
  20425. }
  20426. static FromTape(expressID, type, tape) {
  20427. let ptr = 0;
  20428. let GlobalId = tape[ptr++];
  20429. let OwnerHistory = tape[ptr++];
  20430. let Name = tape[ptr++];
  20431. let Description = tape[ptr++];
  20432. let ObjectType = tape[ptr++];
  20433. let Identification = tape[ptr++];
  20434. let OriginalValue = tape[ptr++];
  20435. let CurrentValue = tape[ptr++];
  20436. let TotalReplacementCost = tape[ptr++];
  20437. let Owner = tape[ptr++];
  20438. let User = tape[ptr++];
  20439. let ResponsiblePerson = tape[ptr++];
  20440. let IncorporationDate = tape[ptr++];
  20441. let DepreciatedValue = tape[ptr++];
  20442. return new IfcAsset(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, OriginalValue, CurrentValue, TotalReplacementCost, Owner, User, ResponsiblePerson, IncorporationDate, DepreciatedValue);
  20443. }
  20444. ToTape() {
  20445. let args = [];
  20446. args.push(this.GlobalId);
  20447. ;
  20448. args.push(this.OwnerHistory);
  20449. ;
  20450. args.push(this.Name);
  20451. ;
  20452. args.push(this.Description);
  20453. ;
  20454. args.push(this.ObjectType);
  20455. ;
  20456. args.push(this.Identification);
  20457. ;
  20458. args.push(this.OriginalValue);
  20459. ;
  20460. args.push(this.CurrentValue);
  20461. ;
  20462. args.push(this.TotalReplacementCost);
  20463. ;
  20464. args.push(this.Owner);
  20465. ;
  20466. args.push(this.User);
  20467. ;
  20468. args.push(this.ResponsiblePerson);
  20469. ;
  20470. args.push(this.IncorporationDate);
  20471. ;
  20472. args.push(this.DepreciatedValue);
  20473. ;
  20474. return args;
  20475. }
  20476. };
  20477. var IfcAsymmetricIShapeProfileDef = class {
  20478. constructor(expressID, type, ProfileType, ProfileName, Position, BottomFlangeWidth, OverallDepth, WebThickness, BottomFlangeThickness, BottomFlangeFilletRadius, TopFlangeWidth, TopFlangeThickness, TopFlangeFilletRadius, BottomFlangeEdgeRadius, BottomFlangeSlope, TopFlangeEdgeRadius, TopFlangeSlope) {
  20479. this.expressID = expressID;
  20480. this.type = type;
  20481. this.ProfileType = ProfileType;
  20482. this.ProfileName = ProfileName;
  20483. this.Position = Position;
  20484. this.BottomFlangeWidth = BottomFlangeWidth;
  20485. this.OverallDepth = OverallDepth;
  20486. this.WebThickness = WebThickness;
  20487. this.BottomFlangeThickness = BottomFlangeThickness;
  20488. this.BottomFlangeFilletRadius = BottomFlangeFilletRadius;
  20489. this.TopFlangeWidth = TopFlangeWidth;
  20490. this.TopFlangeThickness = TopFlangeThickness;
  20491. this.TopFlangeFilletRadius = TopFlangeFilletRadius;
  20492. this.BottomFlangeEdgeRadius = BottomFlangeEdgeRadius;
  20493. this.BottomFlangeSlope = BottomFlangeSlope;
  20494. this.TopFlangeEdgeRadius = TopFlangeEdgeRadius;
  20495. this.TopFlangeSlope = TopFlangeSlope;
  20496. }
  20497. static FromTape(expressID, type, tape) {
  20498. let ptr = 0;
  20499. let ProfileType = tape[ptr++];
  20500. let ProfileName = tape[ptr++];
  20501. let Position = tape[ptr++];
  20502. let BottomFlangeWidth = tape[ptr++];
  20503. let OverallDepth = tape[ptr++];
  20504. let WebThickness = tape[ptr++];
  20505. let BottomFlangeThickness = tape[ptr++];
  20506. let BottomFlangeFilletRadius = tape[ptr++];
  20507. let TopFlangeWidth = tape[ptr++];
  20508. let TopFlangeThickness = tape[ptr++];
  20509. let TopFlangeFilletRadius = tape[ptr++];
  20510. let BottomFlangeEdgeRadius = tape[ptr++];
  20511. let BottomFlangeSlope = tape[ptr++];
  20512. let TopFlangeEdgeRadius = tape[ptr++];
  20513. let TopFlangeSlope = tape[ptr++];
  20514. return new IfcAsymmetricIShapeProfileDef(expressID, type, ProfileType, ProfileName, Position, BottomFlangeWidth, OverallDepth, WebThickness, BottomFlangeThickness, BottomFlangeFilletRadius, TopFlangeWidth, TopFlangeThickness, TopFlangeFilletRadius, BottomFlangeEdgeRadius, BottomFlangeSlope, TopFlangeEdgeRadius, TopFlangeSlope);
  20515. }
  20516. ToTape() {
  20517. let args = [];
  20518. args.push(this.ProfileType);
  20519. ;
  20520. args.push(this.ProfileName);
  20521. ;
  20522. args.push(this.Position);
  20523. ;
  20524. args.push(this.BottomFlangeWidth);
  20525. ;
  20526. args.push(this.OverallDepth);
  20527. ;
  20528. args.push(this.WebThickness);
  20529. ;
  20530. args.push(this.BottomFlangeThickness);
  20531. ;
  20532. args.push(this.BottomFlangeFilletRadius);
  20533. ;
  20534. args.push(this.TopFlangeWidth);
  20535. ;
  20536. args.push(this.TopFlangeThickness);
  20537. ;
  20538. args.push(this.TopFlangeFilletRadius);
  20539. ;
  20540. args.push(this.BottomFlangeEdgeRadius);
  20541. ;
  20542. args.push(this.BottomFlangeSlope);
  20543. ;
  20544. args.push(this.TopFlangeEdgeRadius);
  20545. ;
  20546. args.push(this.TopFlangeSlope);
  20547. ;
  20548. return args;
  20549. }
  20550. };
  20551. var IfcAudioVisualAppliance = class {
  20552. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  20553. this.expressID = expressID;
  20554. this.type = type;
  20555. this.GlobalId = GlobalId;
  20556. this.OwnerHistory = OwnerHistory;
  20557. this.Name = Name;
  20558. this.Description = Description;
  20559. this.ObjectType = ObjectType;
  20560. this.ObjectPlacement = ObjectPlacement;
  20561. this.Representation = Representation;
  20562. this.Tag = Tag;
  20563. this.PredefinedType = PredefinedType;
  20564. }
  20565. static FromTape(expressID, type, tape) {
  20566. let ptr = 0;
  20567. let GlobalId = tape[ptr++];
  20568. let OwnerHistory = tape[ptr++];
  20569. let Name = tape[ptr++];
  20570. let Description = tape[ptr++];
  20571. let ObjectType = tape[ptr++];
  20572. let ObjectPlacement = tape[ptr++];
  20573. let Representation = tape[ptr++];
  20574. let Tag = tape[ptr++];
  20575. let PredefinedType = tape[ptr++];
  20576. return new IfcAudioVisualAppliance(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  20577. }
  20578. ToTape() {
  20579. let args = [];
  20580. args.push(this.GlobalId);
  20581. ;
  20582. args.push(this.OwnerHistory);
  20583. ;
  20584. args.push(this.Name);
  20585. ;
  20586. args.push(this.Description);
  20587. ;
  20588. args.push(this.ObjectType);
  20589. ;
  20590. args.push(this.ObjectPlacement);
  20591. ;
  20592. args.push(this.Representation);
  20593. ;
  20594. args.push(this.Tag);
  20595. ;
  20596. args.push(this.PredefinedType);
  20597. ;
  20598. return args;
  20599. }
  20600. };
  20601. var IfcAudioVisualApplianceType = class {
  20602. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  20603. this.expressID = expressID;
  20604. this.type = type;
  20605. this.GlobalId = GlobalId;
  20606. this.OwnerHistory = OwnerHistory;
  20607. this.Name = Name;
  20608. this.Description = Description;
  20609. this.ApplicableOccurrence = ApplicableOccurrence;
  20610. this.HasPropertySets = HasPropertySets;
  20611. this.RepresentationMaps = RepresentationMaps;
  20612. this.Tag = Tag;
  20613. this.ElementType = ElementType;
  20614. this.PredefinedType = PredefinedType;
  20615. }
  20616. static FromTape(expressID, type, tape) {
  20617. let ptr = 0;
  20618. let GlobalId = tape[ptr++];
  20619. let OwnerHistory = tape[ptr++];
  20620. let Name = tape[ptr++];
  20621. let Description = tape[ptr++];
  20622. let ApplicableOccurrence = tape[ptr++];
  20623. let HasPropertySets = tape[ptr++];
  20624. let RepresentationMaps = tape[ptr++];
  20625. let Tag = tape[ptr++];
  20626. let ElementType = tape[ptr++];
  20627. let PredefinedType = tape[ptr++];
  20628. return new IfcAudioVisualApplianceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  20629. }
  20630. ToTape() {
  20631. let args = [];
  20632. args.push(this.GlobalId);
  20633. ;
  20634. args.push(this.OwnerHistory);
  20635. ;
  20636. args.push(this.Name);
  20637. ;
  20638. args.push(this.Description);
  20639. ;
  20640. args.push(this.ApplicableOccurrence);
  20641. ;
  20642. args.push(this.HasPropertySets);
  20643. ;
  20644. args.push(this.RepresentationMaps);
  20645. ;
  20646. args.push(this.Tag);
  20647. ;
  20648. args.push(this.ElementType);
  20649. ;
  20650. args.push(this.PredefinedType);
  20651. ;
  20652. return args;
  20653. }
  20654. };
  20655. var IfcAxis1Placement = class {
  20656. constructor(expressID, type, Location, Axis) {
  20657. this.expressID = expressID;
  20658. this.type = type;
  20659. this.Location = Location;
  20660. this.Axis = Axis;
  20661. }
  20662. static FromTape(expressID, type, tape) {
  20663. let ptr = 0;
  20664. let Location = tape[ptr++];
  20665. let Axis = tape[ptr++];
  20666. return new IfcAxis1Placement(expressID, type, Location, Axis);
  20667. }
  20668. ToTape() {
  20669. let args = [];
  20670. args.push(this.Location);
  20671. ;
  20672. args.push(this.Axis);
  20673. ;
  20674. return args;
  20675. }
  20676. };
  20677. var IfcAxis2Placement2D = class {
  20678. constructor(expressID, type, Location, RefDirection) {
  20679. this.expressID = expressID;
  20680. this.type = type;
  20681. this.Location = Location;
  20682. this.RefDirection = RefDirection;
  20683. }
  20684. static FromTape(expressID, type, tape) {
  20685. let ptr = 0;
  20686. let Location = tape[ptr++];
  20687. let RefDirection = tape[ptr++];
  20688. return new IfcAxis2Placement2D(expressID, type, Location, RefDirection);
  20689. }
  20690. ToTape() {
  20691. let args = [];
  20692. args.push(this.Location);
  20693. ;
  20694. args.push(this.RefDirection);
  20695. ;
  20696. return args;
  20697. }
  20698. };
  20699. var IfcAxis2Placement3D = class {
  20700. constructor(expressID, type, Location, Axis, RefDirection) {
  20701. this.expressID = expressID;
  20702. this.type = type;
  20703. this.Location = Location;
  20704. this.Axis = Axis;
  20705. this.RefDirection = RefDirection;
  20706. }
  20707. static FromTape(expressID, type, tape) {
  20708. let ptr = 0;
  20709. let Location = tape[ptr++];
  20710. let Axis = tape[ptr++];
  20711. let RefDirection = tape[ptr++];
  20712. return new IfcAxis2Placement3D(expressID, type, Location, Axis, RefDirection);
  20713. }
  20714. ToTape() {
  20715. let args = [];
  20716. args.push(this.Location);
  20717. ;
  20718. args.push(this.Axis);
  20719. ;
  20720. args.push(this.RefDirection);
  20721. ;
  20722. return args;
  20723. }
  20724. };
  20725. var IfcBSplineCurve = class {
  20726. constructor(expressID, type, Degree, ControlPointsList, CurveForm, ClosedCurve, SelfIntersect) {
  20727. this.expressID = expressID;
  20728. this.type = type;
  20729. this.Degree = Degree;
  20730. this.ControlPointsList = ControlPointsList;
  20731. this.CurveForm = CurveForm;
  20732. this.ClosedCurve = ClosedCurve;
  20733. this.SelfIntersect = SelfIntersect;
  20734. }
  20735. static FromTape(expressID, type, tape) {
  20736. let ptr = 0;
  20737. let Degree = tape[ptr++];
  20738. let ControlPointsList = tape[ptr++];
  20739. let CurveForm = tape[ptr++];
  20740. let ClosedCurve = tape[ptr++];
  20741. let SelfIntersect = tape[ptr++];
  20742. return new IfcBSplineCurve(expressID, type, Degree, ControlPointsList, CurveForm, ClosedCurve, SelfIntersect);
  20743. }
  20744. ToTape() {
  20745. let args = [];
  20746. args.push(this.Degree);
  20747. ;
  20748. args.push(this.ControlPointsList);
  20749. ;
  20750. args.push(this.CurveForm);
  20751. ;
  20752. args.push(this.ClosedCurve);
  20753. ;
  20754. args.push(this.SelfIntersect);
  20755. ;
  20756. return args;
  20757. }
  20758. };
  20759. var IfcBSplineCurveWithKnots = class {
  20760. constructor(expressID, type, Degree, ControlPointsList, CurveForm, ClosedCurve, SelfIntersect, KnotMultiplicities, Knots, KnotSpec) {
  20761. this.expressID = expressID;
  20762. this.type = type;
  20763. this.Degree = Degree;
  20764. this.ControlPointsList = ControlPointsList;
  20765. this.CurveForm = CurveForm;
  20766. this.ClosedCurve = ClosedCurve;
  20767. this.SelfIntersect = SelfIntersect;
  20768. this.KnotMultiplicities = KnotMultiplicities;
  20769. this.Knots = Knots;
  20770. this.KnotSpec = KnotSpec;
  20771. }
  20772. static FromTape(expressID, type, tape) {
  20773. let ptr = 0;
  20774. let Degree = tape[ptr++];
  20775. let ControlPointsList = tape[ptr++];
  20776. let CurveForm = tape[ptr++];
  20777. let ClosedCurve = tape[ptr++];
  20778. let SelfIntersect = tape[ptr++];
  20779. let KnotMultiplicities = tape[ptr++];
  20780. let Knots = tape[ptr++];
  20781. let KnotSpec = tape[ptr++];
  20782. return new IfcBSplineCurveWithKnots(expressID, type, Degree, ControlPointsList, CurveForm, ClosedCurve, SelfIntersect, KnotMultiplicities, Knots, KnotSpec);
  20783. }
  20784. ToTape() {
  20785. let args = [];
  20786. args.push(this.Degree);
  20787. ;
  20788. args.push(this.ControlPointsList);
  20789. ;
  20790. args.push(this.CurveForm);
  20791. ;
  20792. args.push(this.ClosedCurve);
  20793. ;
  20794. args.push(this.SelfIntersect);
  20795. ;
  20796. args.push(this.KnotMultiplicities);
  20797. ;
  20798. args.push(this.Knots);
  20799. ;
  20800. args.push(this.KnotSpec);
  20801. ;
  20802. return args;
  20803. }
  20804. };
  20805. var IfcBSplineSurface = class {
  20806. constructor(expressID, type, UDegree, VDegree, ControlPointsList, SurfaceForm, UClosed, VClosed, SelfIntersect) {
  20807. this.expressID = expressID;
  20808. this.type = type;
  20809. this.UDegree = UDegree;
  20810. this.VDegree = VDegree;
  20811. this.ControlPointsList = ControlPointsList;
  20812. this.SurfaceForm = SurfaceForm;
  20813. this.UClosed = UClosed;
  20814. this.VClosed = VClosed;
  20815. this.SelfIntersect = SelfIntersect;
  20816. }
  20817. static FromTape(expressID, type, tape) {
  20818. let ptr = 0;
  20819. let UDegree = tape[ptr++];
  20820. let VDegree = tape[ptr++];
  20821. let ControlPointsList = tape[ptr++];
  20822. let SurfaceForm = tape[ptr++];
  20823. let UClosed = tape[ptr++];
  20824. let VClosed = tape[ptr++];
  20825. let SelfIntersect = tape[ptr++];
  20826. return new IfcBSplineSurface(expressID, type, UDegree, VDegree, ControlPointsList, SurfaceForm, UClosed, VClosed, SelfIntersect);
  20827. }
  20828. ToTape() {
  20829. let args = [];
  20830. args.push(this.UDegree);
  20831. ;
  20832. args.push(this.VDegree);
  20833. ;
  20834. args.push(this.ControlPointsList);
  20835. ;
  20836. args.push(this.SurfaceForm);
  20837. ;
  20838. args.push(this.UClosed);
  20839. ;
  20840. args.push(this.VClosed);
  20841. ;
  20842. args.push(this.SelfIntersect);
  20843. ;
  20844. return args;
  20845. }
  20846. };
  20847. var IfcBSplineSurfaceWithKnots = class {
  20848. constructor(expressID, type, UDegree, VDegree, ControlPointsList, SurfaceForm, UClosed, VClosed, SelfIntersect, UMultiplicities, VMultiplicities, UKnots, VKnots, KnotSpec) {
  20849. this.expressID = expressID;
  20850. this.type = type;
  20851. this.UDegree = UDegree;
  20852. this.VDegree = VDegree;
  20853. this.ControlPointsList = ControlPointsList;
  20854. this.SurfaceForm = SurfaceForm;
  20855. this.UClosed = UClosed;
  20856. this.VClosed = VClosed;
  20857. this.SelfIntersect = SelfIntersect;
  20858. this.UMultiplicities = UMultiplicities;
  20859. this.VMultiplicities = VMultiplicities;
  20860. this.UKnots = UKnots;
  20861. this.VKnots = VKnots;
  20862. this.KnotSpec = KnotSpec;
  20863. }
  20864. static FromTape(expressID, type, tape) {
  20865. let ptr = 0;
  20866. let UDegree = tape[ptr++];
  20867. let VDegree = tape[ptr++];
  20868. let ControlPointsList = tape[ptr++];
  20869. let SurfaceForm = tape[ptr++];
  20870. let UClosed = tape[ptr++];
  20871. let VClosed = tape[ptr++];
  20872. let SelfIntersect = tape[ptr++];
  20873. let UMultiplicities = tape[ptr++];
  20874. let VMultiplicities = tape[ptr++];
  20875. let UKnots = tape[ptr++];
  20876. let VKnots = tape[ptr++];
  20877. let KnotSpec = tape[ptr++];
  20878. return new IfcBSplineSurfaceWithKnots(expressID, type, UDegree, VDegree, ControlPointsList, SurfaceForm, UClosed, VClosed, SelfIntersect, UMultiplicities, VMultiplicities, UKnots, VKnots, KnotSpec);
  20879. }
  20880. ToTape() {
  20881. let args = [];
  20882. args.push(this.UDegree);
  20883. ;
  20884. args.push(this.VDegree);
  20885. ;
  20886. args.push(this.ControlPointsList);
  20887. ;
  20888. args.push(this.SurfaceForm);
  20889. ;
  20890. args.push(this.UClosed);
  20891. ;
  20892. args.push(this.VClosed);
  20893. ;
  20894. args.push(this.SelfIntersect);
  20895. ;
  20896. args.push(this.UMultiplicities);
  20897. ;
  20898. args.push(this.VMultiplicities);
  20899. ;
  20900. args.push(this.UKnots);
  20901. ;
  20902. args.push(this.VKnots);
  20903. ;
  20904. args.push(this.KnotSpec);
  20905. ;
  20906. return args;
  20907. }
  20908. };
  20909. var IfcBeam = class {
  20910. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  20911. this.expressID = expressID;
  20912. this.type = type;
  20913. this.GlobalId = GlobalId;
  20914. this.OwnerHistory = OwnerHistory;
  20915. this.Name = Name;
  20916. this.Description = Description;
  20917. this.ObjectType = ObjectType;
  20918. this.ObjectPlacement = ObjectPlacement;
  20919. this.Representation = Representation;
  20920. this.Tag = Tag;
  20921. this.PredefinedType = PredefinedType;
  20922. }
  20923. static FromTape(expressID, type, tape) {
  20924. let ptr = 0;
  20925. let GlobalId = tape[ptr++];
  20926. let OwnerHistory = tape[ptr++];
  20927. let Name = tape[ptr++];
  20928. let Description = tape[ptr++];
  20929. let ObjectType = tape[ptr++];
  20930. let ObjectPlacement = tape[ptr++];
  20931. let Representation = tape[ptr++];
  20932. let Tag = tape[ptr++];
  20933. let PredefinedType = tape[ptr++];
  20934. return new IfcBeam(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  20935. }
  20936. ToTape() {
  20937. let args = [];
  20938. args.push(this.GlobalId);
  20939. ;
  20940. args.push(this.OwnerHistory);
  20941. ;
  20942. args.push(this.Name);
  20943. ;
  20944. args.push(this.Description);
  20945. ;
  20946. args.push(this.ObjectType);
  20947. ;
  20948. args.push(this.ObjectPlacement);
  20949. ;
  20950. args.push(this.Representation);
  20951. ;
  20952. args.push(this.Tag);
  20953. ;
  20954. args.push(this.PredefinedType);
  20955. ;
  20956. return args;
  20957. }
  20958. };
  20959. var IfcBeamStandardCase = class {
  20960. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  20961. this.expressID = expressID;
  20962. this.type = type;
  20963. this.GlobalId = GlobalId;
  20964. this.OwnerHistory = OwnerHistory;
  20965. this.Name = Name;
  20966. this.Description = Description;
  20967. this.ObjectType = ObjectType;
  20968. this.ObjectPlacement = ObjectPlacement;
  20969. this.Representation = Representation;
  20970. this.Tag = Tag;
  20971. this.PredefinedType = PredefinedType;
  20972. }
  20973. static FromTape(expressID, type, tape) {
  20974. let ptr = 0;
  20975. let GlobalId = tape[ptr++];
  20976. let OwnerHistory = tape[ptr++];
  20977. let Name = tape[ptr++];
  20978. let Description = tape[ptr++];
  20979. let ObjectType = tape[ptr++];
  20980. let ObjectPlacement = tape[ptr++];
  20981. let Representation = tape[ptr++];
  20982. let Tag = tape[ptr++];
  20983. let PredefinedType = tape[ptr++];
  20984. return new IfcBeamStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  20985. }
  20986. ToTape() {
  20987. let args = [];
  20988. args.push(this.GlobalId);
  20989. ;
  20990. args.push(this.OwnerHistory);
  20991. ;
  20992. args.push(this.Name);
  20993. ;
  20994. args.push(this.Description);
  20995. ;
  20996. args.push(this.ObjectType);
  20997. ;
  20998. args.push(this.ObjectPlacement);
  20999. ;
  21000. args.push(this.Representation);
  21001. ;
  21002. args.push(this.Tag);
  21003. ;
  21004. args.push(this.PredefinedType);
  21005. ;
  21006. return args;
  21007. }
  21008. };
  21009. var IfcBeamType = class {
  21010. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  21011. this.expressID = expressID;
  21012. this.type = type;
  21013. this.GlobalId = GlobalId;
  21014. this.OwnerHistory = OwnerHistory;
  21015. this.Name = Name;
  21016. this.Description = Description;
  21017. this.ApplicableOccurrence = ApplicableOccurrence;
  21018. this.HasPropertySets = HasPropertySets;
  21019. this.RepresentationMaps = RepresentationMaps;
  21020. this.Tag = Tag;
  21021. this.ElementType = ElementType;
  21022. this.PredefinedType = PredefinedType;
  21023. }
  21024. static FromTape(expressID, type, tape) {
  21025. let ptr = 0;
  21026. let GlobalId = tape[ptr++];
  21027. let OwnerHistory = tape[ptr++];
  21028. let Name = tape[ptr++];
  21029. let Description = tape[ptr++];
  21030. let ApplicableOccurrence = tape[ptr++];
  21031. let HasPropertySets = tape[ptr++];
  21032. let RepresentationMaps = tape[ptr++];
  21033. let Tag = tape[ptr++];
  21034. let ElementType = tape[ptr++];
  21035. let PredefinedType = tape[ptr++];
  21036. return new IfcBeamType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  21037. }
  21038. ToTape() {
  21039. let args = [];
  21040. args.push(this.GlobalId);
  21041. ;
  21042. args.push(this.OwnerHistory);
  21043. ;
  21044. args.push(this.Name);
  21045. ;
  21046. args.push(this.Description);
  21047. ;
  21048. args.push(this.ApplicableOccurrence);
  21049. ;
  21050. args.push(this.HasPropertySets);
  21051. ;
  21052. args.push(this.RepresentationMaps);
  21053. ;
  21054. args.push(this.Tag);
  21055. ;
  21056. args.push(this.ElementType);
  21057. ;
  21058. args.push(this.PredefinedType);
  21059. ;
  21060. return args;
  21061. }
  21062. };
  21063. var IfcBearing = class {
  21064. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  21065. this.expressID = expressID;
  21066. this.type = type;
  21067. this.GlobalId = GlobalId;
  21068. this.OwnerHistory = OwnerHistory;
  21069. this.Name = Name;
  21070. this.Description = Description;
  21071. this.ObjectType = ObjectType;
  21072. this.ObjectPlacement = ObjectPlacement;
  21073. this.Representation = Representation;
  21074. this.Tag = Tag;
  21075. this.PredefinedType = PredefinedType;
  21076. }
  21077. static FromTape(expressID, type, tape) {
  21078. let ptr = 0;
  21079. let GlobalId = tape[ptr++];
  21080. let OwnerHistory = tape[ptr++];
  21081. let Name = tape[ptr++];
  21082. let Description = tape[ptr++];
  21083. let ObjectType = tape[ptr++];
  21084. let ObjectPlacement = tape[ptr++];
  21085. let Representation = tape[ptr++];
  21086. let Tag = tape[ptr++];
  21087. let PredefinedType = tape[ptr++];
  21088. return new IfcBearing(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  21089. }
  21090. ToTape() {
  21091. let args = [];
  21092. args.push(this.GlobalId);
  21093. ;
  21094. args.push(this.OwnerHistory);
  21095. ;
  21096. args.push(this.Name);
  21097. ;
  21098. args.push(this.Description);
  21099. ;
  21100. args.push(this.ObjectType);
  21101. ;
  21102. args.push(this.ObjectPlacement);
  21103. ;
  21104. args.push(this.Representation);
  21105. ;
  21106. args.push(this.Tag);
  21107. ;
  21108. args.push(this.PredefinedType);
  21109. ;
  21110. return args;
  21111. }
  21112. };
  21113. var IfcBearingType = class {
  21114. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  21115. this.expressID = expressID;
  21116. this.type = type;
  21117. this.GlobalId = GlobalId;
  21118. this.OwnerHistory = OwnerHistory;
  21119. this.Name = Name;
  21120. this.Description = Description;
  21121. this.ApplicableOccurrence = ApplicableOccurrence;
  21122. this.HasPropertySets = HasPropertySets;
  21123. this.RepresentationMaps = RepresentationMaps;
  21124. this.Tag = Tag;
  21125. this.ElementType = ElementType;
  21126. this.PredefinedType = PredefinedType;
  21127. }
  21128. static FromTape(expressID, type, tape) {
  21129. let ptr = 0;
  21130. let GlobalId = tape[ptr++];
  21131. let OwnerHistory = tape[ptr++];
  21132. let Name = tape[ptr++];
  21133. let Description = tape[ptr++];
  21134. let ApplicableOccurrence = tape[ptr++];
  21135. let HasPropertySets = tape[ptr++];
  21136. let RepresentationMaps = tape[ptr++];
  21137. let Tag = tape[ptr++];
  21138. let ElementType = tape[ptr++];
  21139. let PredefinedType = tape[ptr++];
  21140. return new IfcBearingType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  21141. }
  21142. ToTape() {
  21143. let args = [];
  21144. args.push(this.GlobalId);
  21145. ;
  21146. args.push(this.OwnerHistory);
  21147. ;
  21148. args.push(this.Name);
  21149. ;
  21150. args.push(this.Description);
  21151. ;
  21152. args.push(this.ApplicableOccurrence);
  21153. ;
  21154. args.push(this.HasPropertySets);
  21155. ;
  21156. args.push(this.RepresentationMaps);
  21157. ;
  21158. args.push(this.Tag);
  21159. ;
  21160. args.push(this.ElementType);
  21161. ;
  21162. args.push(this.PredefinedType);
  21163. ;
  21164. return args;
  21165. }
  21166. };
  21167. var IfcBlobTexture = class {
  21168. constructor(expressID, type, RepeatS, RepeatT, Mode, TextureTransform, Parameter, RasterFormat, RasterCode) {
  21169. this.expressID = expressID;
  21170. this.type = type;
  21171. this.RepeatS = RepeatS;
  21172. this.RepeatT = RepeatT;
  21173. this.Mode = Mode;
  21174. this.TextureTransform = TextureTransform;
  21175. this.Parameter = Parameter;
  21176. this.RasterFormat = RasterFormat;
  21177. this.RasterCode = RasterCode;
  21178. }
  21179. static FromTape(expressID, type, tape) {
  21180. let ptr = 0;
  21181. let RepeatS = tape[ptr++];
  21182. let RepeatT = tape[ptr++];
  21183. let Mode = tape[ptr++];
  21184. let TextureTransform = tape[ptr++];
  21185. let Parameter = tape[ptr++];
  21186. let RasterFormat = tape[ptr++];
  21187. let RasterCode = tape[ptr++];
  21188. return new IfcBlobTexture(expressID, type, RepeatS, RepeatT, Mode, TextureTransform, Parameter, RasterFormat, RasterCode);
  21189. }
  21190. ToTape() {
  21191. let args = [];
  21192. args.push(this.RepeatS);
  21193. ;
  21194. args.push(this.RepeatT);
  21195. ;
  21196. args.push(this.Mode);
  21197. ;
  21198. args.push(this.TextureTransform);
  21199. ;
  21200. args.push(this.Parameter);
  21201. ;
  21202. args.push(this.RasterFormat);
  21203. ;
  21204. args.push(this.RasterCode);
  21205. ;
  21206. return args;
  21207. }
  21208. };
  21209. var IfcBlock = class {
  21210. constructor(expressID, type, Position, XLength, YLength, ZLength) {
  21211. this.expressID = expressID;
  21212. this.type = type;
  21213. this.Position = Position;
  21214. this.XLength = XLength;
  21215. this.YLength = YLength;
  21216. this.ZLength = ZLength;
  21217. }
  21218. static FromTape(expressID, type, tape) {
  21219. let ptr = 0;
  21220. let Position = tape[ptr++];
  21221. let XLength = tape[ptr++];
  21222. let YLength = tape[ptr++];
  21223. let ZLength = tape[ptr++];
  21224. return new IfcBlock(expressID, type, Position, XLength, YLength, ZLength);
  21225. }
  21226. ToTape() {
  21227. let args = [];
  21228. args.push(this.Position);
  21229. ;
  21230. args.push(this.XLength);
  21231. ;
  21232. args.push(this.YLength);
  21233. ;
  21234. args.push(this.ZLength);
  21235. ;
  21236. return args;
  21237. }
  21238. };
  21239. var IfcBoiler = class {
  21240. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  21241. this.expressID = expressID;
  21242. this.type = type;
  21243. this.GlobalId = GlobalId;
  21244. this.OwnerHistory = OwnerHistory;
  21245. this.Name = Name;
  21246. this.Description = Description;
  21247. this.ObjectType = ObjectType;
  21248. this.ObjectPlacement = ObjectPlacement;
  21249. this.Representation = Representation;
  21250. this.Tag = Tag;
  21251. this.PredefinedType = PredefinedType;
  21252. }
  21253. static FromTape(expressID, type, tape) {
  21254. let ptr = 0;
  21255. let GlobalId = tape[ptr++];
  21256. let OwnerHistory = tape[ptr++];
  21257. let Name = tape[ptr++];
  21258. let Description = tape[ptr++];
  21259. let ObjectType = tape[ptr++];
  21260. let ObjectPlacement = tape[ptr++];
  21261. let Representation = tape[ptr++];
  21262. let Tag = tape[ptr++];
  21263. let PredefinedType = tape[ptr++];
  21264. return new IfcBoiler(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  21265. }
  21266. ToTape() {
  21267. let args = [];
  21268. args.push(this.GlobalId);
  21269. ;
  21270. args.push(this.OwnerHistory);
  21271. ;
  21272. args.push(this.Name);
  21273. ;
  21274. args.push(this.Description);
  21275. ;
  21276. args.push(this.ObjectType);
  21277. ;
  21278. args.push(this.ObjectPlacement);
  21279. ;
  21280. args.push(this.Representation);
  21281. ;
  21282. args.push(this.Tag);
  21283. ;
  21284. args.push(this.PredefinedType);
  21285. ;
  21286. return args;
  21287. }
  21288. };
  21289. var IfcBoilerType = class {
  21290. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  21291. this.expressID = expressID;
  21292. this.type = type;
  21293. this.GlobalId = GlobalId;
  21294. this.OwnerHistory = OwnerHistory;
  21295. this.Name = Name;
  21296. this.Description = Description;
  21297. this.ApplicableOccurrence = ApplicableOccurrence;
  21298. this.HasPropertySets = HasPropertySets;
  21299. this.RepresentationMaps = RepresentationMaps;
  21300. this.Tag = Tag;
  21301. this.ElementType = ElementType;
  21302. this.PredefinedType = PredefinedType;
  21303. }
  21304. static FromTape(expressID, type, tape) {
  21305. let ptr = 0;
  21306. let GlobalId = tape[ptr++];
  21307. let OwnerHistory = tape[ptr++];
  21308. let Name = tape[ptr++];
  21309. let Description = tape[ptr++];
  21310. let ApplicableOccurrence = tape[ptr++];
  21311. let HasPropertySets = tape[ptr++];
  21312. let RepresentationMaps = tape[ptr++];
  21313. let Tag = tape[ptr++];
  21314. let ElementType = tape[ptr++];
  21315. let PredefinedType = tape[ptr++];
  21316. return new IfcBoilerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  21317. }
  21318. ToTape() {
  21319. let args = [];
  21320. args.push(this.GlobalId);
  21321. ;
  21322. args.push(this.OwnerHistory);
  21323. ;
  21324. args.push(this.Name);
  21325. ;
  21326. args.push(this.Description);
  21327. ;
  21328. args.push(this.ApplicableOccurrence);
  21329. ;
  21330. args.push(this.HasPropertySets);
  21331. ;
  21332. args.push(this.RepresentationMaps);
  21333. ;
  21334. args.push(this.Tag);
  21335. ;
  21336. args.push(this.ElementType);
  21337. ;
  21338. args.push(this.PredefinedType);
  21339. ;
  21340. return args;
  21341. }
  21342. };
  21343. var IfcBooleanClippingResult = class {
  21344. constructor(expressID, type, Operator, FirstOperand, SecondOperand) {
  21345. this.expressID = expressID;
  21346. this.type = type;
  21347. this.Operator = Operator;
  21348. this.FirstOperand = FirstOperand;
  21349. this.SecondOperand = SecondOperand;
  21350. }
  21351. static FromTape(expressID, type, tape) {
  21352. let ptr = 0;
  21353. let Operator = tape[ptr++];
  21354. let FirstOperand = tape[ptr++];
  21355. let SecondOperand = tape[ptr++];
  21356. return new IfcBooleanClippingResult(expressID, type, Operator, FirstOperand, SecondOperand);
  21357. }
  21358. ToTape() {
  21359. let args = [];
  21360. args.push(this.Operator);
  21361. ;
  21362. args.push(this.FirstOperand);
  21363. ;
  21364. args.push(this.SecondOperand);
  21365. ;
  21366. return args;
  21367. }
  21368. };
  21369. var IfcBooleanResult = class {
  21370. constructor(expressID, type, Operator, FirstOperand, SecondOperand) {
  21371. this.expressID = expressID;
  21372. this.type = type;
  21373. this.Operator = Operator;
  21374. this.FirstOperand = FirstOperand;
  21375. this.SecondOperand = SecondOperand;
  21376. }
  21377. static FromTape(expressID, type, tape) {
  21378. let ptr = 0;
  21379. let Operator = tape[ptr++];
  21380. let FirstOperand = tape[ptr++];
  21381. let SecondOperand = tape[ptr++];
  21382. return new IfcBooleanResult(expressID, type, Operator, FirstOperand, SecondOperand);
  21383. }
  21384. ToTape() {
  21385. let args = [];
  21386. args.push(this.Operator);
  21387. ;
  21388. args.push(this.FirstOperand);
  21389. ;
  21390. args.push(this.SecondOperand);
  21391. ;
  21392. return args;
  21393. }
  21394. };
  21395. var IfcBoundaryCondition = class {
  21396. constructor(expressID, type, Name) {
  21397. this.expressID = expressID;
  21398. this.type = type;
  21399. this.Name = Name;
  21400. }
  21401. static FromTape(expressID, type, tape) {
  21402. let ptr = 0;
  21403. let Name = tape[ptr++];
  21404. return new IfcBoundaryCondition(expressID, type, Name);
  21405. }
  21406. ToTape() {
  21407. let args = [];
  21408. args.push(this.Name);
  21409. ;
  21410. return args;
  21411. }
  21412. };
  21413. var IfcBoundaryCurve = class {
  21414. constructor(expressID, type, Segments, SelfIntersect) {
  21415. this.expressID = expressID;
  21416. this.type = type;
  21417. this.Segments = Segments;
  21418. this.SelfIntersect = SelfIntersect;
  21419. }
  21420. static FromTape(expressID, type, tape) {
  21421. let ptr = 0;
  21422. let Segments = tape[ptr++];
  21423. let SelfIntersect = tape[ptr++];
  21424. return new IfcBoundaryCurve(expressID, type, Segments, SelfIntersect);
  21425. }
  21426. ToTape() {
  21427. let args = [];
  21428. args.push(this.Segments);
  21429. ;
  21430. args.push(this.SelfIntersect);
  21431. ;
  21432. return args;
  21433. }
  21434. };
  21435. var IfcBoundaryEdgeCondition = class {
  21436. constructor(expressID, type, Name, TranslationalStiffnessByLengthX, TranslationalStiffnessByLengthY, TranslationalStiffnessByLengthZ, RotationalStiffnessByLengthX, RotationalStiffnessByLengthY, RotationalStiffnessByLengthZ) {
  21437. this.expressID = expressID;
  21438. this.type = type;
  21439. this.Name = Name;
  21440. this.TranslationalStiffnessByLengthX = TranslationalStiffnessByLengthX;
  21441. this.TranslationalStiffnessByLengthY = TranslationalStiffnessByLengthY;
  21442. this.TranslationalStiffnessByLengthZ = TranslationalStiffnessByLengthZ;
  21443. this.RotationalStiffnessByLengthX = RotationalStiffnessByLengthX;
  21444. this.RotationalStiffnessByLengthY = RotationalStiffnessByLengthY;
  21445. this.RotationalStiffnessByLengthZ = RotationalStiffnessByLengthZ;
  21446. }
  21447. static FromTape(expressID, type, tape) {
  21448. let ptr = 0;
  21449. let Name = tape[ptr++];
  21450. let TranslationalStiffnessByLengthX = tape[ptr++];
  21451. let TranslationalStiffnessByLengthY = tape[ptr++];
  21452. let TranslationalStiffnessByLengthZ = tape[ptr++];
  21453. let RotationalStiffnessByLengthX = tape[ptr++];
  21454. let RotationalStiffnessByLengthY = tape[ptr++];
  21455. let RotationalStiffnessByLengthZ = tape[ptr++];
  21456. return new IfcBoundaryEdgeCondition(expressID, type, Name, TranslationalStiffnessByLengthX, TranslationalStiffnessByLengthY, TranslationalStiffnessByLengthZ, RotationalStiffnessByLengthX, RotationalStiffnessByLengthY, RotationalStiffnessByLengthZ);
  21457. }
  21458. ToTape() {
  21459. let args = [];
  21460. args.push(this.Name);
  21461. ;
  21462. args.push(this.TranslationalStiffnessByLengthX);
  21463. ;
  21464. args.push(this.TranslationalStiffnessByLengthY);
  21465. ;
  21466. args.push(this.TranslationalStiffnessByLengthZ);
  21467. ;
  21468. args.push(this.RotationalStiffnessByLengthX);
  21469. ;
  21470. args.push(this.RotationalStiffnessByLengthY);
  21471. ;
  21472. args.push(this.RotationalStiffnessByLengthZ);
  21473. ;
  21474. return args;
  21475. }
  21476. };
  21477. var IfcBoundaryFaceCondition = class {
  21478. constructor(expressID, type, Name, TranslationalStiffnessByAreaX, TranslationalStiffnessByAreaY, TranslationalStiffnessByAreaZ) {
  21479. this.expressID = expressID;
  21480. this.type = type;
  21481. this.Name = Name;
  21482. this.TranslationalStiffnessByAreaX = TranslationalStiffnessByAreaX;
  21483. this.TranslationalStiffnessByAreaY = TranslationalStiffnessByAreaY;
  21484. this.TranslationalStiffnessByAreaZ = TranslationalStiffnessByAreaZ;
  21485. }
  21486. static FromTape(expressID, type, tape) {
  21487. let ptr = 0;
  21488. let Name = tape[ptr++];
  21489. let TranslationalStiffnessByAreaX = tape[ptr++];
  21490. let TranslationalStiffnessByAreaY = tape[ptr++];
  21491. let TranslationalStiffnessByAreaZ = tape[ptr++];
  21492. return new IfcBoundaryFaceCondition(expressID, type, Name, TranslationalStiffnessByAreaX, TranslationalStiffnessByAreaY, TranslationalStiffnessByAreaZ);
  21493. }
  21494. ToTape() {
  21495. let args = [];
  21496. args.push(this.Name);
  21497. ;
  21498. args.push(this.TranslationalStiffnessByAreaX);
  21499. ;
  21500. args.push(this.TranslationalStiffnessByAreaY);
  21501. ;
  21502. args.push(this.TranslationalStiffnessByAreaZ);
  21503. ;
  21504. return args;
  21505. }
  21506. };
  21507. var IfcBoundaryNodeCondition = class {
  21508. constructor(expressID, type, Name, TranslationalStiffnessX, TranslationalStiffnessY, TranslationalStiffnessZ, RotationalStiffnessX, RotationalStiffnessY, RotationalStiffnessZ) {
  21509. this.expressID = expressID;
  21510. this.type = type;
  21511. this.Name = Name;
  21512. this.TranslationalStiffnessX = TranslationalStiffnessX;
  21513. this.TranslationalStiffnessY = TranslationalStiffnessY;
  21514. this.TranslationalStiffnessZ = TranslationalStiffnessZ;
  21515. this.RotationalStiffnessX = RotationalStiffnessX;
  21516. this.RotationalStiffnessY = RotationalStiffnessY;
  21517. this.RotationalStiffnessZ = RotationalStiffnessZ;
  21518. }
  21519. static FromTape(expressID, type, tape) {
  21520. let ptr = 0;
  21521. let Name = tape[ptr++];
  21522. let TranslationalStiffnessX = tape[ptr++];
  21523. let TranslationalStiffnessY = tape[ptr++];
  21524. let TranslationalStiffnessZ = tape[ptr++];
  21525. let RotationalStiffnessX = tape[ptr++];
  21526. let RotationalStiffnessY = tape[ptr++];
  21527. let RotationalStiffnessZ = tape[ptr++];
  21528. return new IfcBoundaryNodeCondition(expressID, type, Name, TranslationalStiffnessX, TranslationalStiffnessY, TranslationalStiffnessZ, RotationalStiffnessX, RotationalStiffnessY, RotationalStiffnessZ);
  21529. }
  21530. ToTape() {
  21531. let args = [];
  21532. args.push(this.Name);
  21533. ;
  21534. args.push(this.TranslationalStiffnessX);
  21535. ;
  21536. args.push(this.TranslationalStiffnessY);
  21537. ;
  21538. args.push(this.TranslationalStiffnessZ);
  21539. ;
  21540. args.push(this.RotationalStiffnessX);
  21541. ;
  21542. args.push(this.RotationalStiffnessY);
  21543. ;
  21544. args.push(this.RotationalStiffnessZ);
  21545. ;
  21546. return args;
  21547. }
  21548. };
  21549. var IfcBoundaryNodeConditionWarping = class {
  21550. constructor(expressID, type, Name, TranslationalStiffnessX, TranslationalStiffnessY, TranslationalStiffnessZ, RotationalStiffnessX, RotationalStiffnessY, RotationalStiffnessZ, WarpingStiffness) {
  21551. this.expressID = expressID;
  21552. this.type = type;
  21553. this.Name = Name;
  21554. this.TranslationalStiffnessX = TranslationalStiffnessX;
  21555. this.TranslationalStiffnessY = TranslationalStiffnessY;
  21556. this.TranslationalStiffnessZ = TranslationalStiffnessZ;
  21557. this.RotationalStiffnessX = RotationalStiffnessX;
  21558. this.RotationalStiffnessY = RotationalStiffnessY;
  21559. this.RotationalStiffnessZ = RotationalStiffnessZ;
  21560. this.WarpingStiffness = WarpingStiffness;
  21561. }
  21562. static FromTape(expressID, type, tape) {
  21563. let ptr = 0;
  21564. let Name = tape[ptr++];
  21565. let TranslationalStiffnessX = tape[ptr++];
  21566. let TranslationalStiffnessY = tape[ptr++];
  21567. let TranslationalStiffnessZ = tape[ptr++];
  21568. let RotationalStiffnessX = tape[ptr++];
  21569. let RotationalStiffnessY = tape[ptr++];
  21570. let RotationalStiffnessZ = tape[ptr++];
  21571. let WarpingStiffness = tape[ptr++];
  21572. return new IfcBoundaryNodeConditionWarping(expressID, type, Name, TranslationalStiffnessX, TranslationalStiffnessY, TranslationalStiffnessZ, RotationalStiffnessX, RotationalStiffnessY, RotationalStiffnessZ, WarpingStiffness);
  21573. }
  21574. ToTape() {
  21575. let args = [];
  21576. args.push(this.Name);
  21577. ;
  21578. args.push(this.TranslationalStiffnessX);
  21579. ;
  21580. args.push(this.TranslationalStiffnessY);
  21581. ;
  21582. args.push(this.TranslationalStiffnessZ);
  21583. ;
  21584. args.push(this.RotationalStiffnessX);
  21585. ;
  21586. args.push(this.RotationalStiffnessY);
  21587. ;
  21588. args.push(this.RotationalStiffnessZ);
  21589. ;
  21590. args.push(this.WarpingStiffness);
  21591. ;
  21592. return args;
  21593. }
  21594. };
  21595. var IfcBoundedCurve = class {
  21596. constructor(expressID, type) {
  21597. this.expressID = expressID;
  21598. this.type = type;
  21599. }
  21600. static FromTape(expressID, type, tape) {
  21601. let ptr = 0;
  21602. return new IfcBoundedCurve(expressID, type);
  21603. }
  21604. ToTape() {
  21605. let args = [];
  21606. return args;
  21607. }
  21608. };
  21609. var IfcBoundedSurface = class {
  21610. constructor(expressID, type) {
  21611. this.expressID = expressID;
  21612. this.type = type;
  21613. }
  21614. static FromTape(expressID, type, tape) {
  21615. let ptr = 0;
  21616. return new IfcBoundedSurface(expressID, type);
  21617. }
  21618. ToTape() {
  21619. let args = [];
  21620. return args;
  21621. }
  21622. };
  21623. var IfcBoundingBox = class {
  21624. constructor(expressID, type, Corner, XDim, YDim, ZDim) {
  21625. this.expressID = expressID;
  21626. this.type = type;
  21627. this.Corner = Corner;
  21628. this.XDim = XDim;
  21629. this.YDim = YDim;
  21630. this.ZDim = ZDim;
  21631. }
  21632. static FromTape(expressID, type, tape) {
  21633. let ptr = 0;
  21634. let Corner = tape[ptr++];
  21635. let XDim = tape[ptr++];
  21636. let YDim = tape[ptr++];
  21637. let ZDim = tape[ptr++];
  21638. return new IfcBoundingBox(expressID, type, Corner, XDim, YDim, ZDim);
  21639. }
  21640. ToTape() {
  21641. let args = [];
  21642. args.push(this.Corner);
  21643. ;
  21644. args.push(this.XDim);
  21645. ;
  21646. args.push(this.YDim);
  21647. ;
  21648. args.push(this.ZDim);
  21649. ;
  21650. return args;
  21651. }
  21652. };
  21653. var IfcBoxedHalfSpace = class {
  21654. constructor(expressID, type, BaseSurface, AgreementFlag, Enclosure) {
  21655. this.expressID = expressID;
  21656. this.type = type;
  21657. this.BaseSurface = BaseSurface;
  21658. this.AgreementFlag = AgreementFlag;
  21659. this.Enclosure = Enclosure;
  21660. }
  21661. static FromTape(expressID, type, tape) {
  21662. let ptr = 0;
  21663. let BaseSurface = tape[ptr++];
  21664. let AgreementFlag = tape[ptr++];
  21665. let Enclosure = tape[ptr++];
  21666. return new IfcBoxedHalfSpace(expressID, type, BaseSurface, AgreementFlag, Enclosure);
  21667. }
  21668. ToTape() {
  21669. let args = [];
  21670. args.push(this.BaseSurface);
  21671. ;
  21672. args.push(this.AgreementFlag);
  21673. ;
  21674. args.push(this.Enclosure);
  21675. ;
  21676. return args;
  21677. }
  21678. };
  21679. var IfcBridge = class {
  21680. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, PredefinedType) {
  21681. this.expressID = expressID;
  21682. this.type = type;
  21683. this.GlobalId = GlobalId;
  21684. this.OwnerHistory = OwnerHistory;
  21685. this.Name = Name;
  21686. this.Description = Description;
  21687. this.ObjectType = ObjectType;
  21688. this.ObjectPlacement = ObjectPlacement;
  21689. this.Representation = Representation;
  21690. this.LongName = LongName;
  21691. this.CompositionType = CompositionType;
  21692. this.PredefinedType = PredefinedType;
  21693. }
  21694. static FromTape(expressID, type, tape) {
  21695. let ptr = 0;
  21696. let GlobalId = tape[ptr++];
  21697. let OwnerHistory = tape[ptr++];
  21698. let Name = tape[ptr++];
  21699. let Description = tape[ptr++];
  21700. let ObjectType = tape[ptr++];
  21701. let ObjectPlacement = tape[ptr++];
  21702. let Representation = tape[ptr++];
  21703. let LongName = tape[ptr++];
  21704. let CompositionType = tape[ptr++];
  21705. let PredefinedType = tape[ptr++];
  21706. return new IfcBridge(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, PredefinedType);
  21707. }
  21708. ToTape() {
  21709. let args = [];
  21710. args.push(this.GlobalId);
  21711. ;
  21712. args.push(this.OwnerHistory);
  21713. ;
  21714. args.push(this.Name);
  21715. ;
  21716. args.push(this.Description);
  21717. ;
  21718. args.push(this.ObjectType);
  21719. ;
  21720. args.push(this.ObjectPlacement);
  21721. ;
  21722. args.push(this.Representation);
  21723. ;
  21724. args.push(this.LongName);
  21725. ;
  21726. args.push(this.CompositionType);
  21727. ;
  21728. args.push(this.PredefinedType);
  21729. ;
  21730. return args;
  21731. }
  21732. };
  21733. var IfcBridgePart = class {
  21734. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, PredefinedType) {
  21735. this.expressID = expressID;
  21736. this.type = type;
  21737. this.GlobalId = GlobalId;
  21738. this.OwnerHistory = OwnerHistory;
  21739. this.Name = Name;
  21740. this.Description = Description;
  21741. this.ObjectType = ObjectType;
  21742. this.ObjectPlacement = ObjectPlacement;
  21743. this.Representation = Representation;
  21744. this.LongName = LongName;
  21745. this.CompositionType = CompositionType;
  21746. this.PredefinedType = PredefinedType;
  21747. }
  21748. static FromTape(expressID, type, tape) {
  21749. let ptr = 0;
  21750. let GlobalId = tape[ptr++];
  21751. let OwnerHistory = tape[ptr++];
  21752. let Name = tape[ptr++];
  21753. let Description = tape[ptr++];
  21754. let ObjectType = tape[ptr++];
  21755. let ObjectPlacement = tape[ptr++];
  21756. let Representation = tape[ptr++];
  21757. let LongName = tape[ptr++];
  21758. let CompositionType = tape[ptr++];
  21759. let PredefinedType = tape[ptr++];
  21760. return new IfcBridgePart(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, PredefinedType);
  21761. }
  21762. ToTape() {
  21763. let args = [];
  21764. args.push(this.GlobalId);
  21765. ;
  21766. args.push(this.OwnerHistory);
  21767. ;
  21768. args.push(this.Name);
  21769. ;
  21770. args.push(this.Description);
  21771. ;
  21772. args.push(this.ObjectType);
  21773. ;
  21774. args.push(this.ObjectPlacement);
  21775. ;
  21776. args.push(this.Representation);
  21777. ;
  21778. args.push(this.LongName);
  21779. ;
  21780. args.push(this.CompositionType);
  21781. ;
  21782. args.push(this.PredefinedType);
  21783. ;
  21784. return args;
  21785. }
  21786. };
  21787. var IfcBuilding = class {
  21788. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, ElevationOfRefHeight, ElevationOfTerrain, BuildingAddress) {
  21789. this.expressID = expressID;
  21790. this.type = type;
  21791. this.GlobalId = GlobalId;
  21792. this.OwnerHistory = OwnerHistory;
  21793. this.Name = Name;
  21794. this.Description = Description;
  21795. this.ObjectType = ObjectType;
  21796. this.ObjectPlacement = ObjectPlacement;
  21797. this.Representation = Representation;
  21798. this.LongName = LongName;
  21799. this.CompositionType = CompositionType;
  21800. this.ElevationOfRefHeight = ElevationOfRefHeight;
  21801. this.ElevationOfTerrain = ElevationOfTerrain;
  21802. this.BuildingAddress = BuildingAddress;
  21803. }
  21804. static FromTape(expressID, type, tape) {
  21805. let ptr = 0;
  21806. let GlobalId = tape[ptr++];
  21807. let OwnerHistory = tape[ptr++];
  21808. let Name = tape[ptr++];
  21809. let Description = tape[ptr++];
  21810. let ObjectType = tape[ptr++];
  21811. let ObjectPlacement = tape[ptr++];
  21812. let Representation = tape[ptr++];
  21813. let LongName = tape[ptr++];
  21814. let CompositionType = tape[ptr++];
  21815. let ElevationOfRefHeight = tape[ptr++];
  21816. let ElevationOfTerrain = tape[ptr++];
  21817. let BuildingAddress = tape[ptr++];
  21818. return new IfcBuilding(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, ElevationOfRefHeight, ElevationOfTerrain, BuildingAddress);
  21819. }
  21820. ToTape() {
  21821. let args = [];
  21822. args.push(this.GlobalId);
  21823. ;
  21824. args.push(this.OwnerHistory);
  21825. ;
  21826. args.push(this.Name);
  21827. ;
  21828. args.push(this.Description);
  21829. ;
  21830. args.push(this.ObjectType);
  21831. ;
  21832. args.push(this.ObjectPlacement);
  21833. ;
  21834. args.push(this.Representation);
  21835. ;
  21836. args.push(this.LongName);
  21837. ;
  21838. args.push(this.CompositionType);
  21839. ;
  21840. args.push(this.ElevationOfRefHeight);
  21841. ;
  21842. args.push(this.ElevationOfTerrain);
  21843. ;
  21844. args.push(this.BuildingAddress);
  21845. ;
  21846. return args;
  21847. }
  21848. };
  21849. var IfcBuildingElement = class {
  21850. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  21851. this.expressID = expressID;
  21852. this.type = type;
  21853. this.GlobalId = GlobalId;
  21854. this.OwnerHistory = OwnerHistory;
  21855. this.Name = Name;
  21856. this.Description = Description;
  21857. this.ObjectType = ObjectType;
  21858. this.ObjectPlacement = ObjectPlacement;
  21859. this.Representation = Representation;
  21860. this.Tag = Tag;
  21861. }
  21862. static FromTape(expressID, type, tape) {
  21863. let ptr = 0;
  21864. let GlobalId = tape[ptr++];
  21865. let OwnerHistory = tape[ptr++];
  21866. let Name = tape[ptr++];
  21867. let Description = tape[ptr++];
  21868. let ObjectType = tape[ptr++];
  21869. let ObjectPlacement = tape[ptr++];
  21870. let Representation = tape[ptr++];
  21871. let Tag = tape[ptr++];
  21872. return new IfcBuildingElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  21873. }
  21874. ToTape() {
  21875. let args = [];
  21876. args.push(this.GlobalId);
  21877. ;
  21878. args.push(this.OwnerHistory);
  21879. ;
  21880. args.push(this.Name);
  21881. ;
  21882. args.push(this.Description);
  21883. ;
  21884. args.push(this.ObjectType);
  21885. ;
  21886. args.push(this.ObjectPlacement);
  21887. ;
  21888. args.push(this.Representation);
  21889. ;
  21890. args.push(this.Tag);
  21891. ;
  21892. return args;
  21893. }
  21894. };
  21895. var IfcBuildingElementPart = class {
  21896. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  21897. this.expressID = expressID;
  21898. this.type = type;
  21899. this.GlobalId = GlobalId;
  21900. this.OwnerHistory = OwnerHistory;
  21901. this.Name = Name;
  21902. this.Description = Description;
  21903. this.ObjectType = ObjectType;
  21904. this.ObjectPlacement = ObjectPlacement;
  21905. this.Representation = Representation;
  21906. this.Tag = Tag;
  21907. this.PredefinedType = PredefinedType;
  21908. }
  21909. static FromTape(expressID, type, tape) {
  21910. let ptr = 0;
  21911. let GlobalId = tape[ptr++];
  21912. let OwnerHistory = tape[ptr++];
  21913. let Name = tape[ptr++];
  21914. let Description = tape[ptr++];
  21915. let ObjectType = tape[ptr++];
  21916. let ObjectPlacement = tape[ptr++];
  21917. let Representation = tape[ptr++];
  21918. let Tag = tape[ptr++];
  21919. let PredefinedType = tape[ptr++];
  21920. return new IfcBuildingElementPart(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  21921. }
  21922. ToTape() {
  21923. let args = [];
  21924. args.push(this.GlobalId);
  21925. ;
  21926. args.push(this.OwnerHistory);
  21927. ;
  21928. args.push(this.Name);
  21929. ;
  21930. args.push(this.Description);
  21931. ;
  21932. args.push(this.ObjectType);
  21933. ;
  21934. args.push(this.ObjectPlacement);
  21935. ;
  21936. args.push(this.Representation);
  21937. ;
  21938. args.push(this.Tag);
  21939. ;
  21940. args.push(this.PredefinedType);
  21941. ;
  21942. return args;
  21943. }
  21944. };
  21945. var IfcBuildingElementPartType = class {
  21946. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  21947. this.expressID = expressID;
  21948. this.type = type;
  21949. this.GlobalId = GlobalId;
  21950. this.OwnerHistory = OwnerHistory;
  21951. this.Name = Name;
  21952. this.Description = Description;
  21953. this.ApplicableOccurrence = ApplicableOccurrence;
  21954. this.HasPropertySets = HasPropertySets;
  21955. this.RepresentationMaps = RepresentationMaps;
  21956. this.Tag = Tag;
  21957. this.ElementType = ElementType;
  21958. this.PredefinedType = PredefinedType;
  21959. }
  21960. static FromTape(expressID, type, tape) {
  21961. let ptr = 0;
  21962. let GlobalId = tape[ptr++];
  21963. let OwnerHistory = tape[ptr++];
  21964. let Name = tape[ptr++];
  21965. let Description = tape[ptr++];
  21966. let ApplicableOccurrence = tape[ptr++];
  21967. let HasPropertySets = tape[ptr++];
  21968. let RepresentationMaps = tape[ptr++];
  21969. let Tag = tape[ptr++];
  21970. let ElementType = tape[ptr++];
  21971. let PredefinedType = tape[ptr++];
  21972. return new IfcBuildingElementPartType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  21973. }
  21974. ToTape() {
  21975. let args = [];
  21976. args.push(this.GlobalId);
  21977. ;
  21978. args.push(this.OwnerHistory);
  21979. ;
  21980. args.push(this.Name);
  21981. ;
  21982. args.push(this.Description);
  21983. ;
  21984. args.push(this.ApplicableOccurrence);
  21985. ;
  21986. args.push(this.HasPropertySets);
  21987. ;
  21988. args.push(this.RepresentationMaps);
  21989. ;
  21990. args.push(this.Tag);
  21991. ;
  21992. args.push(this.ElementType);
  21993. ;
  21994. args.push(this.PredefinedType);
  21995. ;
  21996. return args;
  21997. }
  21998. };
  21999. var IfcBuildingElementProxy = class {
  22000. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  22001. this.expressID = expressID;
  22002. this.type = type;
  22003. this.GlobalId = GlobalId;
  22004. this.OwnerHistory = OwnerHistory;
  22005. this.Name = Name;
  22006. this.Description = Description;
  22007. this.ObjectType = ObjectType;
  22008. this.ObjectPlacement = ObjectPlacement;
  22009. this.Representation = Representation;
  22010. this.Tag = Tag;
  22011. this.PredefinedType = PredefinedType;
  22012. }
  22013. static FromTape(expressID, type, tape) {
  22014. let ptr = 0;
  22015. let GlobalId = tape[ptr++];
  22016. let OwnerHistory = tape[ptr++];
  22017. let Name = tape[ptr++];
  22018. let Description = tape[ptr++];
  22019. let ObjectType = tape[ptr++];
  22020. let ObjectPlacement = tape[ptr++];
  22021. let Representation = tape[ptr++];
  22022. let Tag = tape[ptr++];
  22023. let PredefinedType = tape[ptr++];
  22024. return new IfcBuildingElementProxy(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  22025. }
  22026. ToTape() {
  22027. let args = [];
  22028. args.push(this.GlobalId);
  22029. ;
  22030. args.push(this.OwnerHistory);
  22031. ;
  22032. args.push(this.Name);
  22033. ;
  22034. args.push(this.Description);
  22035. ;
  22036. args.push(this.ObjectType);
  22037. ;
  22038. args.push(this.ObjectPlacement);
  22039. ;
  22040. args.push(this.Representation);
  22041. ;
  22042. args.push(this.Tag);
  22043. ;
  22044. args.push(this.PredefinedType);
  22045. ;
  22046. return args;
  22047. }
  22048. };
  22049. var IfcBuildingElementProxyType = class {
  22050. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  22051. this.expressID = expressID;
  22052. this.type = type;
  22053. this.GlobalId = GlobalId;
  22054. this.OwnerHistory = OwnerHistory;
  22055. this.Name = Name;
  22056. this.Description = Description;
  22057. this.ApplicableOccurrence = ApplicableOccurrence;
  22058. this.HasPropertySets = HasPropertySets;
  22059. this.RepresentationMaps = RepresentationMaps;
  22060. this.Tag = Tag;
  22061. this.ElementType = ElementType;
  22062. this.PredefinedType = PredefinedType;
  22063. }
  22064. static FromTape(expressID, type, tape) {
  22065. let ptr = 0;
  22066. let GlobalId = tape[ptr++];
  22067. let OwnerHistory = tape[ptr++];
  22068. let Name = tape[ptr++];
  22069. let Description = tape[ptr++];
  22070. let ApplicableOccurrence = tape[ptr++];
  22071. let HasPropertySets = tape[ptr++];
  22072. let RepresentationMaps = tape[ptr++];
  22073. let Tag = tape[ptr++];
  22074. let ElementType = tape[ptr++];
  22075. let PredefinedType = tape[ptr++];
  22076. return new IfcBuildingElementProxyType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  22077. }
  22078. ToTape() {
  22079. let args = [];
  22080. args.push(this.GlobalId);
  22081. ;
  22082. args.push(this.OwnerHistory);
  22083. ;
  22084. args.push(this.Name);
  22085. ;
  22086. args.push(this.Description);
  22087. ;
  22088. args.push(this.ApplicableOccurrence);
  22089. ;
  22090. args.push(this.HasPropertySets);
  22091. ;
  22092. args.push(this.RepresentationMaps);
  22093. ;
  22094. args.push(this.Tag);
  22095. ;
  22096. args.push(this.ElementType);
  22097. ;
  22098. args.push(this.PredefinedType);
  22099. ;
  22100. return args;
  22101. }
  22102. };
  22103. var IfcBuildingElementType = class {
  22104. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  22105. this.expressID = expressID;
  22106. this.type = type;
  22107. this.GlobalId = GlobalId;
  22108. this.OwnerHistory = OwnerHistory;
  22109. this.Name = Name;
  22110. this.Description = Description;
  22111. this.ApplicableOccurrence = ApplicableOccurrence;
  22112. this.HasPropertySets = HasPropertySets;
  22113. this.RepresentationMaps = RepresentationMaps;
  22114. this.Tag = Tag;
  22115. this.ElementType = ElementType;
  22116. }
  22117. static FromTape(expressID, type, tape) {
  22118. let ptr = 0;
  22119. let GlobalId = tape[ptr++];
  22120. let OwnerHistory = tape[ptr++];
  22121. let Name = tape[ptr++];
  22122. let Description = tape[ptr++];
  22123. let ApplicableOccurrence = tape[ptr++];
  22124. let HasPropertySets = tape[ptr++];
  22125. let RepresentationMaps = tape[ptr++];
  22126. let Tag = tape[ptr++];
  22127. let ElementType = tape[ptr++];
  22128. return new IfcBuildingElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  22129. }
  22130. ToTape() {
  22131. let args = [];
  22132. args.push(this.GlobalId);
  22133. ;
  22134. args.push(this.OwnerHistory);
  22135. ;
  22136. args.push(this.Name);
  22137. ;
  22138. args.push(this.Description);
  22139. ;
  22140. args.push(this.ApplicableOccurrence);
  22141. ;
  22142. args.push(this.HasPropertySets);
  22143. ;
  22144. args.push(this.RepresentationMaps);
  22145. ;
  22146. args.push(this.Tag);
  22147. ;
  22148. args.push(this.ElementType);
  22149. ;
  22150. return args;
  22151. }
  22152. };
  22153. var IfcBuildingStorey = class {
  22154. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, Elevation) {
  22155. this.expressID = expressID;
  22156. this.type = type;
  22157. this.GlobalId = GlobalId;
  22158. this.OwnerHistory = OwnerHistory;
  22159. this.Name = Name;
  22160. this.Description = Description;
  22161. this.ObjectType = ObjectType;
  22162. this.ObjectPlacement = ObjectPlacement;
  22163. this.Representation = Representation;
  22164. this.LongName = LongName;
  22165. this.CompositionType = CompositionType;
  22166. this.Elevation = Elevation;
  22167. }
  22168. static FromTape(expressID, type, tape) {
  22169. let ptr = 0;
  22170. let GlobalId = tape[ptr++];
  22171. let OwnerHistory = tape[ptr++];
  22172. let Name = tape[ptr++];
  22173. let Description = tape[ptr++];
  22174. let ObjectType = tape[ptr++];
  22175. let ObjectPlacement = tape[ptr++];
  22176. let Representation = tape[ptr++];
  22177. let LongName = tape[ptr++];
  22178. let CompositionType = tape[ptr++];
  22179. let Elevation = tape[ptr++];
  22180. return new IfcBuildingStorey(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, Elevation);
  22181. }
  22182. ToTape() {
  22183. let args = [];
  22184. args.push(this.GlobalId);
  22185. ;
  22186. args.push(this.OwnerHistory);
  22187. ;
  22188. args.push(this.Name);
  22189. ;
  22190. args.push(this.Description);
  22191. ;
  22192. args.push(this.ObjectType);
  22193. ;
  22194. args.push(this.ObjectPlacement);
  22195. ;
  22196. args.push(this.Representation);
  22197. ;
  22198. args.push(this.LongName);
  22199. ;
  22200. args.push(this.CompositionType);
  22201. ;
  22202. args.push(this.Elevation);
  22203. ;
  22204. return args;
  22205. }
  22206. };
  22207. var IfcBuildingSystem = class {
  22208. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, LongName) {
  22209. this.expressID = expressID;
  22210. this.type = type;
  22211. this.GlobalId = GlobalId;
  22212. this.OwnerHistory = OwnerHistory;
  22213. this.Name = Name;
  22214. this.Description = Description;
  22215. this.ObjectType = ObjectType;
  22216. this.PredefinedType = PredefinedType;
  22217. this.LongName = LongName;
  22218. }
  22219. static FromTape(expressID, type, tape) {
  22220. let ptr = 0;
  22221. let GlobalId = tape[ptr++];
  22222. let OwnerHistory = tape[ptr++];
  22223. let Name = tape[ptr++];
  22224. let Description = tape[ptr++];
  22225. let ObjectType = tape[ptr++];
  22226. let PredefinedType = tape[ptr++];
  22227. let LongName = tape[ptr++];
  22228. return new IfcBuildingSystem(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, LongName);
  22229. }
  22230. ToTape() {
  22231. let args = [];
  22232. args.push(this.GlobalId);
  22233. ;
  22234. args.push(this.OwnerHistory);
  22235. ;
  22236. args.push(this.Name);
  22237. ;
  22238. args.push(this.Description);
  22239. ;
  22240. args.push(this.ObjectType);
  22241. ;
  22242. args.push(this.PredefinedType);
  22243. ;
  22244. args.push(this.LongName);
  22245. ;
  22246. return args;
  22247. }
  22248. };
  22249. var IfcBurner = class {
  22250. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  22251. this.expressID = expressID;
  22252. this.type = type;
  22253. this.GlobalId = GlobalId;
  22254. this.OwnerHistory = OwnerHistory;
  22255. this.Name = Name;
  22256. this.Description = Description;
  22257. this.ObjectType = ObjectType;
  22258. this.ObjectPlacement = ObjectPlacement;
  22259. this.Representation = Representation;
  22260. this.Tag = Tag;
  22261. this.PredefinedType = PredefinedType;
  22262. }
  22263. static FromTape(expressID, type, tape) {
  22264. let ptr = 0;
  22265. let GlobalId = tape[ptr++];
  22266. let OwnerHistory = tape[ptr++];
  22267. let Name = tape[ptr++];
  22268. let Description = tape[ptr++];
  22269. let ObjectType = tape[ptr++];
  22270. let ObjectPlacement = tape[ptr++];
  22271. let Representation = tape[ptr++];
  22272. let Tag = tape[ptr++];
  22273. let PredefinedType = tape[ptr++];
  22274. return new IfcBurner(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  22275. }
  22276. ToTape() {
  22277. let args = [];
  22278. args.push(this.GlobalId);
  22279. ;
  22280. args.push(this.OwnerHistory);
  22281. ;
  22282. args.push(this.Name);
  22283. ;
  22284. args.push(this.Description);
  22285. ;
  22286. args.push(this.ObjectType);
  22287. ;
  22288. args.push(this.ObjectPlacement);
  22289. ;
  22290. args.push(this.Representation);
  22291. ;
  22292. args.push(this.Tag);
  22293. ;
  22294. args.push(this.PredefinedType);
  22295. ;
  22296. return args;
  22297. }
  22298. };
  22299. var IfcBurnerType = class {
  22300. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  22301. this.expressID = expressID;
  22302. this.type = type;
  22303. this.GlobalId = GlobalId;
  22304. this.OwnerHistory = OwnerHistory;
  22305. this.Name = Name;
  22306. this.Description = Description;
  22307. this.ApplicableOccurrence = ApplicableOccurrence;
  22308. this.HasPropertySets = HasPropertySets;
  22309. this.RepresentationMaps = RepresentationMaps;
  22310. this.Tag = Tag;
  22311. this.ElementType = ElementType;
  22312. this.PredefinedType = PredefinedType;
  22313. }
  22314. static FromTape(expressID, type, tape) {
  22315. let ptr = 0;
  22316. let GlobalId = tape[ptr++];
  22317. let OwnerHistory = tape[ptr++];
  22318. let Name = tape[ptr++];
  22319. let Description = tape[ptr++];
  22320. let ApplicableOccurrence = tape[ptr++];
  22321. let HasPropertySets = tape[ptr++];
  22322. let RepresentationMaps = tape[ptr++];
  22323. let Tag = tape[ptr++];
  22324. let ElementType = tape[ptr++];
  22325. let PredefinedType = tape[ptr++];
  22326. return new IfcBurnerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  22327. }
  22328. ToTape() {
  22329. let args = [];
  22330. args.push(this.GlobalId);
  22331. ;
  22332. args.push(this.OwnerHistory);
  22333. ;
  22334. args.push(this.Name);
  22335. ;
  22336. args.push(this.Description);
  22337. ;
  22338. args.push(this.ApplicableOccurrence);
  22339. ;
  22340. args.push(this.HasPropertySets);
  22341. ;
  22342. args.push(this.RepresentationMaps);
  22343. ;
  22344. args.push(this.Tag);
  22345. ;
  22346. args.push(this.ElementType);
  22347. ;
  22348. args.push(this.PredefinedType);
  22349. ;
  22350. return args;
  22351. }
  22352. };
  22353. var IfcCShapeProfileDef = class {
  22354. constructor(expressID, type, ProfileType, ProfileName, Position, Depth, Width, WallThickness, Girth, InternalFilletRadius) {
  22355. this.expressID = expressID;
  22356. this.type = type;
  22357. this.ProfileType = ProfileType;
  22358. this.ProfileName = ProfileName;
  22359. this.Position = Position;
  22360. this.Depth = Depth;
  22361. this.Width = Width;
  22362. this.WallThickness = WallThickness;
  22363. this.Girth = Girth;
  22364. this.InternalFilletRadius = InternalFilletRadius;
  22365. }
  22366. static FromTape(expressID, type, tape) {
  22367. let ptr = 0;
  22368. let ProfileType = tape[ptr++];
  22369. let ProfileName = tape[ptr++];
  22370. let Position = tape[ptr++];
  22371. let Depth = tape[ptr++];
  22372. let Width = tape[ptr++];
  22373. let WallThickness = tape[ptr++];
  22374. let Girth = tape[ptr++];
  22375. let InternalFilletRadius = tape[ptr++];
  22376. return new IfcCShapeProfileDef(expressID, type, ProfileType, ProfileName, Position, Depth, Width, WallThickness, Girth, InternalFilletRadius);
  22377. }
  22378. ToTape() {
  22379. let args = [];
  22380. args.push(this.ProfileType);
  22381. ;
  22382. args.push(this.ProfileName);
  22383. ;
  22384. args.push(this.Position);
  22385. ;
  22386. args.push(this.Depth);
  22387. ;
  22388. args.push(this.Width);
  22389. ;
  22390. args.push(this.WallThickness);
  22391. ;
  22392. args.push(this.Girth);
  22393. ;
  22394. args.push(this.InternalFilletRadius);
  22395. ;
  22396. return args;
  22397. }
  22398. };
  22399. var IfcCableCarrierFitting = class {
  22400. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  22401. this.expressID = expressID;
  22402. this.type = type;
  22403. this.GlobalId = GlobalId;
  22404. this.OwnerHistory = OwnerHistory;
  22405. this.Name = Name;
  22406. this.Description = Description;
  22407. this.ObjectType = ObjectType;
  22408. this.ObjectPlacement = ObjectPlacement;
  22409. this.Representation = Representation;
  22410. this.Tag = Tag;
  22411. this.PredefinedType = PredefinedType;
  22412. }
  22413. static FromTape(expressID, type, tape) {
  22414. let ptr = 0;
  22415. let GlobalId = tape[ptr++];
  22416. let OwnerHistory = tape[ptr++];
  22417. let Name = tape[ptr++];
  22418. let Description = tape[ptr++];
  22419. let ObjectType = tape[ptr++];
  22420. let ObjectPlacement = tape[ptr++];
  22421. let Representation = tape[ptr++];
  22422. let Tag = tape[ptr++];
  22423. let PredefinedType = tape[ptr++];
  22424. return new IfcCableCarrierFitting(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  22425. }
  22426. ToTape() {
  22427. let args = [];
  22428. args.push(this.GlobalId);
  22429. ;
  22430. args.push(this.OwnerHistory);
  22431. ;
  22432. args.push(this.Name);
  22433. ;
  22434. args.push(this.Description);
  22435. ;
  22436. args.push(this.ObjectType);
  22437. ;
  22438. args.push(this.ObjectPlacement);
  22439. ;
  22440. args.push(this.Representation);
  22441. ;
  22442. args.push(this.Tag);
  22443. ;
  22444. args.push(this.PredefinedType);
  22445. ;
  22446. return args;
  22447. }
  22448. };
  22449. var IfcCableCarrierFittingType = class {
  22450. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  22451. this.expressID = expressID;
  22452. this.type = type;
  22453. this.GlobalId = GlobalId;
  22454. this.OwnerHistory = OwnerHistory;
  22455. this.Name = Name;
  22456. this.Description = Description;
  22457. this.ApplicableOccurrence = ApplicableOccurrence;
  22458. this.HasPropertySets = HasPropertySets;
  22459. this.RepresentationMaps = RepresentationMaps;
  22460. this.Tag = Tag;
  22461. this.ElementType = ElementType;
  22462. this.PredefinedType = PredefinedType;
  22463. }
  22464. static FromTape(expressID, type, tape) {
  22465. let ptr = 0;
  22466. let GlobalId = tape[ptr++];
  22467. let OwnerHistory = tape[ptr++];
  22468. let Name = tape[ptr++];
  22469. let Description = tape[ptr++];
  22470. let ApplicableOccurrence = tape[ptr++];
  22471. let HasPropertySets = tape[ptr++];
  22472. let RepresentationMaps = tape[ptr++];
  22473. let Tag = tape[ptr++];
  22474. let ElementType = tape[ptr++];
  22475. let PredefinedType = tape[ptr++];
  22476. return new IfcCableCarrierFittingType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  22477. }
  22478. ToTape() {
  22479. let args = [];
  22480. args.push(this.GlobalId);
  22481. ;
  22482. args.push(this.OwnerHistory);
  22483. ;
  22484. args.push(this.Name);
  22485. ;
  22486. args.push(this.Description);
  22487. ;
  22488. args.push(this.ApplicableOccurrence);
  22489. ;
  22490. args.push(this.HasPropertySets);
  22491. ;
  22492. args.push(this.RepresentationMaps);
  22493. ;
  22494. args.push(this.Tag);
  22495. ;
  22496. args.push(this.ElementType);
  22497. ;
  22498. args.push(this.PredefinedType);
  22499. ;
  22500. return args;
  22501. }
  22502. };
  22503. var IfcCableCarrierSegment = class {
  22504. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  22505. this.expressID = expressID;
  22506. this.type = type;
  22507. this.GlobalId = GlobalId;
  22508. this.OwnerHistory = OwnerHistory;
  22509. this.Name = Name;
  22510. this.Description = Description;
  22511. this.ObjectType = ObjectType;
  22512. this.ObjectPlacement = ObjectPlacement;
  22513. this.Representation = Representation;
  22514. this.Tag = Tag;
  22515. this.PredefinedType = PredefinedType;
  22516. }
  22517. static FromTape(expressID, type, tape) {
  22518. let ptr = 0;
  22519. let GlobalId = tape[ptr++];
  22520. let OwnerHistory = tape[ptr++];
  22521. let Name = tape[ptr++];
  22522. let Description = tape[ptr++];
  22523. let ObjectType = tape[ptr++];
  22524. let ObjectPlacement = tape[ptr++];
  22525. let Representation = tape[ptr++];
  22526. let Tag = tape[ptr++];
  22527. let PredefinedType = tape[ptr++];
  22528. return new IfcCableCarrierSegment(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  22529. }
  22530. ToTape() {
  22531. let args = [];
  22532. args.push(this.GlobalId);
  22533. ;
  22534. args.push(this.OwnerHistory);
  22535. ;
  22536. args.push(this.Name);
  22537. ;
  22538. args.push(this.Description);
  22539. ;
  22540. args.push(this.ObjectType);
  22541. ;
  22542. args.push(this.ObjectPlacement);
  22543. ;
  22544. args.push(this.Representation);
  22545. ;
  22546. args.push(this.Tag);
  22547. ;
  22548. args.push(this.PredefinedType);
  22549. ;
  22550. return args;
  22551. }
  22552. };
  22553. var IfcCableCarrierSegmentType = class {
  22554. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  22555. this.expressID = expressID;
  22556. this.type = type;
  22557. this.GlobalId = GlobalId;
  22558. this.OwnerHistory = OwnerHistory;
  22559. this.Name = Name;
  22560. this.Description = Description;
  22561. this.ApplicableOccurrence = ApplicableOccurrence;
  22562. this.HasPropertySets = HasPropertySets;
  22563. this.RepresentationMaps = RepresentationMaps;
  22564. this.Tag = Tag;
  22565. this.ElementType = ElementType;
  22566. this.PredefinedType = PredefinedType;
  22567. }
  22568. static FromTape(expressID, type, tape) {
  22569. let ptr = 0;
  22570. let GlobalId = tape[ptr++];
  22571. let OwnerHistory = tape[ptr++];
  22572. let Name = tape[ptr++];
  22573. let Description = tape[ptr++];
  22574. let ApplicableOccurrence = tape[ptr++];
  22575. let HasPropertySets = tape[ptr++];
  22576. let RepresentationMaps = tape[ptr++];
  22577. let Tag = tape[ptr++];
  22578. let ElementType = tape[ptr++];
  22579. let PredefinedType = tape[ptr++];
  22580. return new IfcCableCarrierSegmentType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  22581. }
  22582. ToTape() {
  22583. let args = [];
  22584. args.push(this.GlobalId);
  22585. ;
  22586. args.push(this.OwnerHistory);
  22587. ;
  22588. args.push(this.Name);
  22589. ;
  22590. args.push(this.Description);
  22591. ;
  22592. args.push(this.ApplicableOccurrence);
  22593. ;
  22594. args.push(this.HasPropertySets);
  22595. ;
  22596. args.push(this.RepresentationMaps);
  22597. ;
  22598. args.push(this.Tag);
  22599. ;
  22600. args.push(this.ElementType);
  22601. ;
  22602. args.push(this.PredefinedType);
  22603. ;
  22604. return args;
  22605. }
  22606. };
  22607. var IfcCableFitting = class {
  22608. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  22609. this.expressID = expressID;
  22610. this.type = type;
  22611. this.GlobalId = GlobalId;
  22612. this.OwnerHistory = OwnerHistory;
  22613. this.Name = Name;
  22614. this.Description = Description;
  22615. this.ObjectType = ObjectType;
  22616. this.ObjectPlacement = ObjectPlacement;
  22617. this.Representation = Representation;
  22618. this.Tag = Tag;
  22619. this.PredefinedType = PredefinedType;
  22620. }
  22621. static FromTape(expressID, type, tape) {
  22622. let ptr = 0;
  22623. let GlobalId = tape[ptr++];
  22624. let OwnerHistory = tape[ptr++];
  22625. let Name = tape[ptr++];
  22626. let Description = tape[ptr++];
  22627. let ObjectType = tape[ptr++];
  22628. let ObjectPlacement = tape[ptr++];
  22629. let Representation = tape[ptr++];
  22630. let Tag = tape[ptr++];
  22631. let PredefinedType = tape[ptr++];
  22632. return new IfcCableFitting(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  22633. }
  22634. ToTape() {
  22635. let args = [];
  22636. args.push(this.GlobalId);
  22637. ;
  22638. args.push(this.OwnerHistory);
  22639. ;
  22640. args.push(this.Name);
  22641. ;
  22642. args.push(this.Description);
  22643. ;
  22644. args.push(this.ObjectType);
  22645. ;
  22646. args.push(this.ObjectPlacement);
  22647. ;
  22648. args.push(this.Representation);
  22649. ;
  22650. args.push(this.Tag);
  22651. ;
  22652. args.push(this.PredefinedType);
  22653. ;
  22654. return args;
  22655. }
  22656. };
  22657. var IfcCableFittingType = class {
  22658. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  22659. this.expressID = expressID;
  22660. this.type = type;
  22661. this.GlobalId = GlobalId;
  22662. this.OwnerHistory = OwnerHistory;
  22663. this.Name = Name;
  22664. this.Description = Description;
  22665. this.ApplicableOccurrence = ApplicableOccurrence;
  22666. this.HasPropertySets = HasPropertySets;
  22667. this.RepresentationMaps = RepresentationMaps;
  22668. this.Tag = Tag;
  22669. this.ElementType = ElementType;
  22670. this.PredefinedType = PredefinedType;
  22671. }
  22672. static FromTape(expressID, type, tape) {
  22673. let ptr = 0;
  22674. let GlobalId = tape[ptr++];
  22675. let OwnerHistory = tape[ptr++];
  22676. let Name = tape[ptr++];
  22677. let Description = tape[ptr++];
  22678. let ApplicableOccurrence = tape[ptr++];
  22679. let HasPropertySets = tape[ptr++];
  22680. let RepresentationMaps = tape[ptr++];
  22681. let Tag = tape[ptr++];
  22682. let ElementType = tape[ptr++];
  22683. let PredefinedType = tape[ptr++];
  22684. return new IfcCableFittingType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  22685. }
  22686. ToTape() {
  22687. let args = [];
  22688. args.push(this.GlobalId);
  22689. ;
  22690. args.push(this.OwnerHistory);
  22691. ;
  22692. args.push(this.Name);
  22693. ;
  22694. args.push(this.Description);
  22695. ;
  22696. args.push(this.ApplicableOccurrence);
  22697. ;
  22698. args.push(this.HasPropertySets);
  22699. ;
  22700. args.push(this.RepresentationMaps);
  22701. ;
  22702. args.push(this.Tag);
  22703. ;
  22704. args.push(this.ElementType);
  22705. ;
  22706. args.push(this.PredefinedType);
  22707. ;
  22708. return args;
  22709. }
  22710. };
  22711. var IfcCableSegment = class {
  22712. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  22713. this.expressID = expressID;
  22714. this.type = type;
  22715. this.GlobalId = GlobalId;
  22716. this.OwnerHistory = OwnerHistory;
  22717. this.Name = Name;
  22718. this.Description = Description;
  22719. this.ObjectType = ObjectType;
  22720. this.ObjectPlacement = ObjectPlacement;
  22721. this.Representation = Representation;
  22722. this.Tag = Tag;
  22723. this.PredefinedType = PredefinedType;
  22724. }
  22725. static FromTape(expressID, type, tape) {
  22726. let ptr = 0;
  22727. let GlobalId = tape[ptr++];
  22728. let OwnerHistory = tape[ptr++];
  22729. let Name = tape[ptr++];
  22730. let Description = tape[ptr++];
  22731. let ObjectType = tape[ptr++];
  22732. let ObjectPlacement = tape[ptr++];
  22733. let Representation = tape[ptr++];
  22734. let Tag = tape[ptr++];
  22735. let PredefinedType = tape[ptr++];
  22736. return new IfcCableSegment(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  22737. }
  22738. ToTape() {
  22739. let args = [];
  22740. args.push(this.GlobalId);
  22741. ;
  22742. args.push(this.OwnerHistory);
  22743. ;
  22744. args.push(this.Name);
  22745. ;
  22746. args.push(this.Description);
  22747. ;
  22748. args.push(this.ObjectType);
  22749. ;
  22750. args.push(this.ObjectPlacement);
  22751. ;
  22752. args.push(this.Representation);
  22753. ;
  22754. args.push(this.Tag);
  22755. ;
  22756. args.push(this.PredefinedType);
  22757. ;
  22758. return args;
  22759. }
  22760. };
  22761. var IfcCableSegmentType = class {
  22762. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  22763. this.expressID = expressID;
  22764. this.type = type;
  22765. this.GlobalId = GlobalId;
  22766. this.OwnerHistory = OwnerHistory;
  22767. this.Name = Name;
  22768. this.Description = Description;
  22769. this.ApplicableOccurrence = ApplicableOccurrence;
  22770. this.HasPropertySets = HasPropertySets;
  22771. this.RepresentationMaps = RepresentationMaps;
  22772. this.Tag = Tag;
  22773. this.ElementType = ElementType;
  22774. this.PredefinedType = PredefinedType;
  22775. }
  22776. static FromTape(expressID, type, tape) {
  22777. let ptr = 0;
  22778. let GlobalId = tape[ptr++];
  22779. let OwnerHistory = tape[ptr++];
  22780. let Name = tape[ptr++];
  22781. let Description = tape[ptr++];
  22782. let ApplicableOccurrence = tape[ptr++];
  22783. let HasPropertySets = tape[ptr++];
  22784. let RepresentationMaps = tape[ptr++];
  22785. let Tag = tape[ptr++];
  22786. let ElementType = tape[ptr++];
  22787. let PredefinedType = tape[ptr++];
  22788. return new IfcCableSegmentType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  22789. }
  22790. ToTape() {
  22791. let args = [];
  22792. args.push(this.GlobalId);
  22793. ;
  22794. args.push(this.OwnerHistory);
  22795. ;
  22796. args.push(this.Name);
  22797. ;
  22798. args.push(this.Description);
  22799. ;
  22800. args.push(this.ApplicableOccurrence);
  22801. ;
  22802. args.push(this.HasPropertySets);
  22803. ;
  22804. args.push(this.RepresentationMaps);
  22805. ;
  22806. args.push(this.Tag);
  22807. ;
  22808. args.push(this.ElementType);
  22809. ;
  22810. args.push(this.PredefinedType);
  22811. ;
  22812. return args;
  22813. }
  22814. };
  22815. var IfcCaissonFoundation = class {
  22816. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  22817. this.expressID = expressID;
  22818. this.type = type;
  22819. this.GlobalId = GlobalId;
  22820. this.OwnerHistory = OwnerHistory;
  22821. this.Name = Name;
  22822. this.Description = Description;
  22823. this.ObjectType = ObjectType;
  22824. this.ObjectPlacement = ObjectPlacement;
  22825. this.Representation = Representation;
  22826. this.Tag = Tag;
  22827. this.PredefinedType = PredefinedType;
  22828. }
  22829. static FromTape(expressID, type, tape) {
  22830. let ptr = 0;
  22831. let GlobalId = tape[ptr++];
  22832. let OwnerHistory = tape[ptr++];
  22833. let Name = tape[ptr++];
  22834. let Description = tape[ptr++];
  22835. let ObjectType = tape[ptr++];
  22836. let ObjectPlacement = tape[ptr++];
  22837. let Representation = tape[ptr++];
  22838. let Tag = tape[ptr++];
  22839. let PredefinedType = tape[ptr++];
  22840. return new IfcCaissonFoundation(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  22841. }
  22842. ToTape() {
  22843. let args = [];
  22844. args.push(this.GlobalId);
  22845. ;
  22846. args.push(this.OwnerHistory);
  22847. ;
  22848. args.push(this.Name);
  22849. ;
  22850. args.push(this.Description);
  22851. ;
  22852. args.push(this.ObjectType);
  22853. ;
  22854. args.push(this.ObjectPlacement);
  22855. ;
  22856. args.push(this.Representation);
  22857. ;
  22858. args.push(this.Tag);
  22859. ;
  22860. args.push(this.PredefinedType);
  22861. ;
  22862. return args;
  22863. }
  22864. };
  22865. var IfcCaissonFoundationType = class {
  22866. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  22867. this.expressID = expressID;
  22868. this.type = type;
  22869. this.GlobalId = GlobalId;
  22870. this.OwnerHistory = OwnerHistory;
  22871. this.Name = Name;
  22872. this.Description = Description;
  22873. this.ApplicableOccurrence = ApplicableOccurrence;
  22874. this.HasPropertySets = HasPropertySets;
  22875. this.RepresentationMaps = RepresentationMaps;
  22876. this.Tag = Tag;
  22877. this.ElementType = ElementType;
  22878. this.PredefinedType = PredefinedType;
  22879. }
  22880. static FromTape(expressID, type, tape) {
  22881. let ptr = 0;
  22882. let GlobalId = tape[ptr++];
  22883. let OwnerHistory = tape[ptr++];
  22884. let Name = tape[ptr++];
  22885. let Description = tape[ptr++];
  22886. let ApplicableOccurrence = tape[ptr++];
  22887. let HasPropertySets = tape[ptr++];
  22888. let RepresentationMaps = tape[ptr++];
  22889. let Tag = tape[ptr++];
  22890. let ElementType = tape[ptr++];
  22891. let PredefinedType = tape[ptr++];
  22892. return new IfcCaissonFoundationType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  22893. }
  22894. ToTape() {
  22895. let args = [];
  22896. args.push(this.GlobalId);
  22897. ;
  22898. args.push(this.OwnerHistory);
  22899. ;
  22900. args.push(this.Name);
  22901. ;
  22902. args.push(this.Description);
  22903. ;
  22904. args.push(this.ApplicableOccurrence);
  22905. ;
  22906. args.push(this.HasPropertySets);
  22907. ;
  22908. args.push(this.RepresentationMaps);
  22909. ;
  22910. args.push(this.Tag);
  22911. ;
  22912. args.push(this.ElementType);
  22913. ;
  22914. args.push(this.PredefinedType);
  22915. ;
  22916. return args;
  22917. }
  22918. };
  22919. var IfcCartesianPoint = class {
  22920. constructor(expressID, type, Coordinates) {
  22921. this.expressID = expressID;
  22922. this.type = type;
  22923. this.Coordinates = Coordinates;
  22924. }
  22925. static FromTape(expressID, type, tape) {
  22926. let ptr = 0;
  22927. let Coordinates = tape[ptr++];
  22928. return new IfcCartesianPoint(expressID, type, Coordinates);
  22929. }
  22930. ToTape() {
  22931. let args = [];
  22932. args.push(this.Coordinates);
  22933. ;
  22934. return args;
  22935. }
  22936. };
  22937. var IfcCartesianPointList = class {
  22938. constructor(expressID, type) {
  22939. this.expressID = expressID;
  22940. this.type = type;
  22941. }
  22942. static FromTape(expressID, type, tape) {
  22943. let ptr = 0;
  22944. return new IfcCartesianPointList(expressID, type);
  22945. }
  22946. ToTape() {
  22947. let args = [];
  22948. return args;
  22949. }
  22950. };
  22951. var IfcCartesianPointList2D = class {
  22952. constructor(expressID, type, CoordList, TagList) {
  22953. this.expressID = expressID;
  22954. this.type = type;
  22955. this.CoordList = CoordList;
  22956. this.TagList = TagList;
  22957. }
  22958. static FromTape(expressID, type, tape) {
  22959. let ptr = 0;
  22960. let CoordList = tape[ptr++];
  22961. let TagList = tape[ptr++];
  22962. return new IfcCartesianPointList2D(expressID, type, CoordList, TagList);
  22963. }
  22964. ToTape() {
  22965. let args = [];
  22966. args.push(this.CoordList);
  22967. ;
  22968. args.push(this.TagList);
  22969. ;
  22970. return args;
  22971. }
  22972. };
  22973. var IfcCartesianPointList3D = class {
  22974. constructor(expressID, type, CoordList, TagList) {
  22975. this.expressID = expressID;
  22976. this.type = type;
  22977. this.CoordList = CoordList;
  22978. this.TagList = TagList;
  22979. }
  22980. static FromTape(expressID, type, tape) {
  22981. let ptr = 0;
  22982. let CoordList = tape[ptr++];
  22983. let TagList = tape[ptr++];
  22984. return new IfcCartesianPointList3D(expressID, type, CoordList, TagList);
  22985. }
  22986. ToTape() {
  22987. let args = [];
  22988. args.push(this.CoordList);
  22989. ;
  22990. args.push(this.TagList);
  22991. ;
  22992. return args;
  22993. }
  22994. };
  22995. var IfcCartesianTransformationOperator = class {
  22996. constructor(expressID, type, Axis1, Axis2, LocalOrigin, Scale) {
  22997. this.expressID = expressID;
  22998. this.type = type;
  22999. this.Axis1 = Axis1;
  23000. this.Axis2 = Axis2;
  23001. this.LocalOrigin = LocalOrigin;
  23002. this.Scale = Scale;
  23003. }
  23004. static FromTape(expressID, type, tape) {
  23005. let ptr = 0;
  23006. let Axis1 = tape[ptr++];
  23007. let Axis2 = tape[ptr++];
  23008. let LocalOrigin = tape[ptr++];
  23009. let Scale = tape[ptr++];
  23010. return new IfcCartesianTransformationOperator(expressID, type, Axis1, Axis2, LocalOrigin, Scale);
  23011. }
  23012. ToTape() {
  23013. let args = [];
  23014. args.push(this.Axis1);
  23015. ;
  23016. args.push(this.Axis2);
  23017. ;
  23018. args.push(this.LocalOrigin);
  23019. ;
  23020. args.push(this.Scale);
  23021. ;
  23022. return args;
  23023. }
  23024. };
  23025. var IfcCartesianTransformationOperator2D = class {
  23026. constructor(expressID, type, Axis1, Axis2, LocalOrigin, Scale) {
  23027. this.expressID = expressID;
  23028. this.type = type;
  23029. this.Axis1 = Axis1;
  23030. this.Axis2 = Axis2;
  23031. this.LocalOrigin = LocalOrigin;
  23032. this.Scale = Scale;
  23033. }
  23034. static FromTape(expressID, type, tape) {
  23035. let ptr = 0;
  23036. let Axis1 = tape[ptr++];
  23037. let Axis2 = tape[ptr++];
  23038. let LocalOrigin = tape[ptr++];
  23039. let Scale = tape[ptr++];
  23040. return new IfcCartesianTransformationOperator2D(expressID, type, Axis1, Axis2, LocalOrigin, Scale);
  23041. }
  23042. ToTape() {
  23043. let args = [];
  23044. args.push(this.Axis1);
  23045. ;
  23046. args.push(this.Axis2);
  23047. ;
  23048. args.push(this.LocalOrigin);
  23049. ;
  23050. args.push(this.Scale);
  23051. ;
  23052. return args;
  23053. }
  23054. };
  23055. var IfcCartesianTransformationOperator2DnonUniform = class {
  23056. constructor(expressID, type, Axis1, Axis2, LocalOrigin, Scale, Scale2) {
  23057. this.expressID = expressID;
  23058. this.type = type;
  23059. this.Axis1 = Axis1;
  23060. this.Axis2 = Axis2;
  23061. this.LocalOrigin = LocalOrigin;
  23062. this.Scale = Scale;
  23063. this.Scale2 = Scale2;
  23064. }
  23065. static FromTape(expressID, type, tape) {
  23066. let ptr = 0;
  23067. let Axis1 = tape[ptr++];
  23068. let Axis2 = tape[ptr++];
  23069. let LocalOrigin = tape[ptr++];
  23070. let Scale = tape[ptr++];
  23071. let Scale2 = tape[ptr++];
  23072. return new IfcCartesianTransformationOperator2DnonUniform(expressID, type, Axis1, Axis2, LocalOrigin, Scale, Scale2);
  23073. }
  23074. ToTape() {
  23075. let args = [];
  23076. args.push(this.Axis1);
  23077. ;
  23078. args.push(this.Axis2);
  23079. ;
  23080. args.push(this.LocalOrigin);
  23081. ;
  23082. args.push(this.Scale);
  23083. ;
  23084. args.push(this.Scale2);
  23085. ;
  23086. return args;
  23087. }
  23088. };
  23089. var IfcCartesianTransformationOperator3D = class {
  23090. constructor(expressID, type, Axis1, Axis2, LocalOrigin, Scale, Axis3) {
  23091. this.expressID = expressID;
  23092. this.type = type;
  23093. this.Axis1 = Axis1;
  23094. this.Axis2 = Axis2;
  23095. this.LocalOrigin = LocalOrigin;
  23096. this.Scale = Scale;
  23097. this.Axis3 = Axis3;
  23098. }
  23099. static FromTape(expressID, type, tape) {
  23100. let ptr = 0;
  23101. let Axis1 = tape[ptr++];
  23102. let Axis2 = tape[ptr++];
  23103. let LocalOrigin = tape[ptr++];
  23104. let Scale = tape[ptr++];
  23105. let Axis3 = tape[ptr++];
  23106. return new IfcCartesianTransformationOperator3D(expressID, type, Axis1, Axis2, LocalOrigin, Scale, Axis3);
  23107. }
  23108. ToTape() {
  23109. let args = [];
  23110. args.push(this.Axis1);
  23111. ;
  23112. args.push(this.Axis2);
  23113. ;
  23114. args.push(this.LocalOrigin);
  23115. ;
  23116. args.push(this.Scale);
  23117. ;
  23118. args.push(this.Axis3);
  23119. ;
  23120. return args;
  23121. }
  23122. };
  23123. var IfcCartesianTransformationOperator3DnonUniform = class {
  23124. constructor(expressID, type, Axis1, Axis2, LocalOrigin, Scale, Axis3, Scale2, Scale3) {
  23125. this.expressID = expressID;
  23126. this.type = type;
  23127. this.Axis1 = Axis1;
  23128. this.Axis2 = Axis2;
  23129. this.LocalOrigin = LocalOrigin;
  23130. this.Scale = Scale;
  23131. this.Axis3 = Axis3;
  23132. this.Scale2 = Scale2;
  23133. this.Scale3 = Scale3;
  23134. }
  23135. static FromTape(expressID, type, tape) {
  23136. let ptr = 0;
  23137. let Axis1 = tape[ptr++];
  23138. let Axis2 = tape[ptr++];
  23139. let LocalOrigin = tape[ptr++];
  23140. let Scale = tape[ptr++];
  23141. let Axis3 = tape[ptr++];
  23142. let Scale2 = tape[ptr++];
  23143. let Scale3 = tape[ptr++];
  23144. return new IfcCartesianTransformationOperator3DnonUniform(expressID, type, Axis1, Axis2, LocalOrigin, Scale, Axis3, Scale2, Scale3);
  23145. }
  23146. ToTape() {
  23147. let args = [];
  23148. args.push(this.Axis1);
  23149. ;
  23150. args.push(this.Axis2);
  23151. ;
  23152. args.push(this.LocalOrigin);
  23153. ;
  23154. args.push(this.Scale);
  23155. ;
  23156. args.push(this.Axis3);
  23157. ;
  23158. args.push(this.Scale2);
  23159. ;
  23160. args.push(this.Scale3);
  23161. ;
  23162. return args;
  23163. }
  23164. };
  23165. var IfcCenterLineProfileDef = class {
  23166. constructor(expressID, type, ProfileType, ProfileName, Curve, Thickness) {
  23167. this.expressID = expressID;
  23168. this.type = type;
  23169. this.ProfileType = ProfileType;
  23170. this.ProfileName = ProfileName;
  23171. this.Curve = Curve;
  23172. this.Thickness = Thickness;
  23173. }
  23174. static FromTape(expressID, type, tape) {
  23175. let ptr = 0;
  23176. let ProfileType = tape[ptr++];
  23177. let ProfileName = tape[ptr++];
  23178. let Curve = tape[ptr++];
  23179. let Thickness = tape[ptr++];
  23180. return new IfcCenterLineProfileDef(expressID, type, ProfileType, ProfileName, Curve, Thickness);
  23181. }
  23182. ToTape() {
  23183. let args = [];
  23184. args.push(this.ProfileType);
  23185. ;
  23186. args.push(this.ProfileName);
  23187. ;
  23188. args.push(this.Curve);
  23189. ;
  23190. args.push(this.Thickness);
  23191. ;
  23192. return args;
  23193. }
  23194. };
  23195. var IfcChiller = class {
  23196. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  23197. this.expressID = expressID;
  23198. this.type = type;
  23199. this.GlobalId = GlobalId;
  23200. this.OwnerHistory = OwnerHistory;
  23201. this.Name = Name;
  23202. this.Description = Description;
  23203. this.ObjectType = ObjectType;
  23204. this.ObjectPlacement = ObjectPlacement;
  23205. this.Representation = Representation;
  23206. this.Tag = Tag;
  23207. this.PredefinedType = PredefinedType;
  23208. }
  23209. static FromTape(expressID, type, tape) {
  23210. let ptr = 0;
  23211. let GlobalId = tape[ptr++];
  23212. let OwnerHistory = tape[ptr++];
  23213. let Name = tape[ptr++];
  23214. let Description = tape[ptr++];
  23215. let ObjectType = tape[ptr++];
  23216. let ObjectPlacement = tape[ptr++];
  23217. let Representation = tape[ptr++];
  23218. let Tag = tape[ptr++];
  23219. let PredefinedType = tape[ptr++];
  23220. return new IfcChiller(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  23221. }
  23222. ToTape() {
  23223. let args = [];
  23224. args.push(this.GlobalId);
  23225. ;
  23226. args.push(this.OwnerHistory);
  23227. ;
  23228. args.push(this.Name);
  23229. ;
  23230. args.push(this.Description);
  23231. ;
  23232. args.push(this.ObjectType);
  23233. ;
  23234. args.push(this.ObjectPlacement);
  23235. ;
  23236. args.push(this.Representation);
  23237. ;
  23238. args.push(this.Tag);
  23239. ;
  23240. args.push(this.PredefinedType);
  23241. ;
  23242. return args;
  23243. }
  23244. };
  23245. var IfcChillerType = class {
  23246. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  23247. this.expressID = expressID;
  23248. this.type = type;
  23249. this.GlobalId = GlobalId;
  23250. this.OwnerHistory = OwnerHistory;
  23251. this.Name = Name;
  23252. this.Description = Description;
  23253. this.ApplicableOccurrence = ApplicableOccurrence;
  23254. this.HasPropertySets = HasPropertySets;
  23255. this.RepresentationMaps = RepresentationMaps;
  23256. this.Tag = Tag;
  23257. this.ElementType = ElementType;
  23258. this.PredefinedType = PredefinedType;
  23259. }
  23260. static FromTape(expressID, type, tape) {
  23261. let ptr = 0;
  23262. let GlobalId = tape[ptr++];
  23263. let OwnerHistory = tape[ptr++];
  23264. let Name = tape[ptr++];
  23265. let Description = tape[ptr++];
  23266. let ApplicableOccurrence = tape[ptr++];
  23267. let HasPropertySets = tape[ptr++];
  23268. let RepresentationMaps = tape[ptr++];
  23269. let Tag = tape[ptr++];
  23270. let ElementType = tape[ptr++];
  23271. let PredefinedType = tape[ptr++];
  23272. return new IfcChillerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  23273. }
  23274. ToTape() {
  23275. let args = [];
  23276. args.push(this.GlobalId);
  23277. ;
  23278. args.push(this.OwnerHistory);
  23279. ;
  23280. args.push(this.Name);
  23281. ;
  23282. args.push(this.Description);
  23283. ;
  23284. args.push(this.ApplicableOccurrence);
  23285. ;
  23286. args.push(this.HasPropertySets);
  23287. ;
  23288. args.push(this.RepresentationMaps);
  23289. ;
  23290. args.push(this.Tag);
  23291. ;
  23292. args.push(this.ElementType);
  23293. ;
  23294. args.push(this.PredefinedType);
  23295. ;
  23296. return args;
  23297. }
  23298. };
  23299. var IfcChimney = class {
  23300. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  23301. this.expressID = expressID;
  23302. this.type = type;
  23303. this.GlobalId = GlobalId;
  23304. this.OwnerHistory = OwnerHistory;
  23305. this.Name = Name;
  23306. this.Description = Description;
  23307. this.ObjectType = ObjectType;
  23308. this.ObjectPlacement = ObjectPlacement;
  23309. this.Representation = Representation;
  23310. this.Tag = Tag;
  23311. this.PredefinedType = PredefinedType;
  23312. }
  23313. static FromTape(expressID, type, tape) {
  23314. let ptr = 0;
  23315. let GlobalId = tape[ptr++];
  23316. let OwnerHistory = tape[ptr++];
  23317. let Name = tape[ptr++];
  23318. let Description = tape[ptr++];
  23319. let ObjectType = tape[ptr++];
  23320. let ObjectPlacement = tape[ptr++];
  23321. let Representation = tape[ptr++];
  23322. let Tag = tape[ptr++];
  23323. let PredefinedType = tape[ptr++];
  23324. return new IfcChimney(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  23325. }
  23326. ToTape() {
  23327. let args = [];
  23328. args.push(this.GlobalId);
  23329. ;
  23330. args.push(this.OwnerHistory);
  23331. ;
  23332. args.push(this.Name);
  23333. ;
  23334. args.push(this.Description);
  23335. ;
  23336. args.push(this.ObjectType);
  23337. ;
  23338. args.push(this.ObjectPlacement);
  23339. ;
  23340. args.push(this.Representation);
  23341. ;
  23342. args.push(this.Tag);
  23343. ;
  23344. args.push(this.PredefinedType);
  23345. ;
  23346. return args;
  23347. }
  23348. };
  23349. var IfcChimneyType = class {
  23350. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  23351. this.expressID = expressID;
  23352. this.type = type;
  23353. this.GlobalId = GlobalId;
  23354. this.OwnerHistory = OwnerHistory;
  23355. this.Name = Name;
  23356. this.Description = Description;
  23357. this.ApplicableOccurrence = ApplicableOccurrence;
  23358. this.HasPropertySets = HasPropertySets;
  23359. this.RepresentationMaps = RepresentationMaps;
  23360. this.Tag = Tag;
  23361. this.ElementType = ElementType;
  23362. this.PredefinedType = PredefinedType;
  23363. }
  23364. static FromTape(expressID, type, tape) {
  23365. let ptr = 0;
  23366. let GlobalId = tape[ptr++];
  23367. let OwnerHistory = tape[ptr++];
  23368. let Name = tape[ptr++];
  23369. let Description = tape[ptr++];
  23370. let ApplicableOccurrence = tape[ptr++];
  23371. let HasPropertySets = tape[ptr++];
  23372. let RepresentationMaps = tape[ptr++];
  23373. let Tag = tape[ptr++];
  23374. let ElementType = tape[ptr++];
  23375. let PredefinedType = tape[ptr++];
  23376. return new IfcChimneyType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  23377. }
  23378. ToTape() {
  23379. let args = [];
  23380. args.push(this.GlobalId);
  23381. ;
  23382. args.push(this.OwnerHistory);
  23383. ;
  23384. args.push(this.Name);
  23385. ;
  23386. args.push(this.Description);
  23387. ;
  23388. args.push(this.ApplicableOccurrence);
  23389. ;
  23390. args.push(this.HasPropertySets);
  23391. ;
  23392. args.push(this.RepresentationMaps);
  23393. ;
  23394. args.push(this.Tag);
  23395. ;
  23396. args.push(this.ElementType);
  23397. ;
  23398. args.push(this.PredefinedType);
  23399. ;
  23400. return args;
  23401. }
  23402. };
  23403. var IfcCircle = class {
  23404. constructor(expressID, type, Position, Radius) {
  23405. this.expressID = expressID;
  23406. this.type = type;
  23407. this.Position = Position;
  23408. this.Radius = Radius;
  23409. }
  23410. static FromTape(expressID, type, tape) {
  23411. let ptr = 0;
  23412. let Position = tape[ptr++];
  23413. let Radius = tape[ptr++];
  23414. return new IfcCircle(expressID, type, Position, Radius);
  23415. }
  23416. ToTape() {
  23417. let args = [];
  23418. args.push(this.Position);
  23419. ;
  23420. args.push(this.Radius);
  23421. ;
  23422. return args;
  23423. }
  23424. };
  23425. var IfcCircleHollowProfileDef = class {
  23426. constructor(expressID, type, ProfileType, ProfileName, Position, Radius, WallThickness) {
  23427. this.expressID = expressID;
  23428. this.type = type;
  23429. this.ProfileType = ProfileType;
  23430. this.ProfileName = ProfileName;
  23431. this.Position = Position;
  23432. this.Radius = Radius;
  23433. this.WallThickness = WallThickness;
  23434. }
  23435. static FromTape(expressID, type, tape) {
  23436. let ptr = 0;
  23437. let ProfileType = tape[ptr++];
  23438. let ProfileName = tape[ptr++];
  23439. let Position = tape[ptr++];
  23440. let Radius = tape[ptr++];
  23441. let WallThickness = tape[ptr++];
  23442. return new IfcCircleHollowProfileDef(expressID, type, ProfileType, ProfileName, Position, Radius, WallThickness);
  23443. }
  23444. ToTape() {
  23445. let args = [];
  23446. args.push(this.ProfileType);
  23447. ;
  23448. args.push(this.ProfileName);
  23449. ;
  23450. args.push(this.Position);
  23451. ;
  23452. args.push(this.Radius);
  23453. ;
  23454. args.push(this.WallThickness);
  23455. ;
  23456. return args;
  23457. }
  23458. };
  23459. var IfcCircleProfileDef = class {
  23460. constructor(expressID, type, ProfileType, ProfileName, Position, Radius) {
  23461. this.expressID = expressID;
  23462. this.type = type;
  23463. this.ProfileType = ProfileType;
  23464. this.ProfileName = ProfileName;
  23465. this.Position = Position;
  23466. this.Radius = Radius;
  23467. }
  23468. static FromTape(expressID, type, tape) {
  23469. let ptr = 0;
  23470. let ProfileType = tape[ptr++];
  23471. let ProfileName = tape[ptr++];
  23472. let Position = tape[ptr++];
  23473. let Radius = tape[ptr++];
  23474. return new IfcCircleProfileDef(expressID, type, ProfileType, ProfileName, Position, Radius);
  23475. }
  23476. ToTape() {
  23477. let args = [];
  23478. args.push(this.ProfileType);
  23479. ;
  23480. args.push(this.ProfileName);
  23481. ;
  23482. args.push(this.Position);
  23483. ;
  23484. args.push(this.Radius);
  23485. ;
  23486. return args;
  23487. }
  23488. };
  23489. var IfcCircularArcSegment2D = class {
  23490. constructor(expressID, type, StartPoint, StartDirection, SegmentLength, Radius, IsCCW) {
  23491. this.expressID = expressID;
  23492. this.type = type;
  23493. this.StartPoint = StartPoint;
  23494. this.StartDirection = StartDirection;
  23495. this.SegmentLength = SegmentLength;
  23496. this.Radius = Radius;
  23497. this.IsCCW = IsCCW;
  23498. }
  23499. static FromTape(expressID, type, tape) {
  23500. let ptr = 0;
  23501. let StartPoint = tape[ptr++];
  23502. let StartDirection = tape[ptr++];
  23503. let SegmentLength = tape[ptr++];
  23504. let Radius = tape[ptr++];
  23505. let IsCCW = tape[ptr++];
  23506. return new IfcCircularArcSegment2D(expressID, type, StartPoint, StartDirection, SegmentLength, Radius, IsCCW);
  23507. }
  23508. ToTape() {
  23509. let args = [];
  23510. args.push(this.StartPoint);
  23511. ;
  23512. args.push(this.StartDirection);
  23513. ;
  23514. args.push(this.SegmentLength);
  23515. ;
  23516. args.push(this.Radius);
  23517. ;
  23518. args.push(this.IsCCW);
  23519. ;
  23520. return args;
  23521. }
  23522. };
  23523. var IfcCivilElement = class {
  23524. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  23525. this.expressID = expressID;
  23526. this.type = type;
  23527. this.GlobalId = GlobalId;
  23528. this.OwnerHistory = OwnerHistory;
  23529. this.Name = Name;
  23530. this.Description = Description;
  23531. this.ObjectType = ObjectType;
  23532. this.ObjectPlacement = ObjectPlacement;
  23533. this.Representation = Representation;
  23534. this.Tag = Tag;
  23535. }
  23536. static FromTape(expressID, type, tape) {
  23537. let ptr = 0;
  23538. let GlobalId = tape[ptr++];
  23539. let OwnerHistory = tape[ptr++];
  23540. let Name = tape[ptr++];
  23541. let Description = tape[ptr++];
  23542. let ObjectType = tape[ptr++];
  23543. let ObjectPlacement = tape[ptr++];
  23544. let Representation = tape[ptr++];
  23545. let Tag = tape[ptr++];
  23546. return new IfcCivilElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  23547. }
  23548. ToTape() {
  23549. let args = [];
  23550. args.push(this.GlobalId);
  23551. ;
  23552. args.push(this.OwnerHistory);
  23553. ;
  23554. args.push(this.Name);
  23555. ;
  23556. args.push(this.Description);
  23557. ;
  23558. args.push(this.ObjectType);
  23559. ;
  23560. args.push(this.ObjectPlacement);
  23561. ;
  23562. args.push(this.Representation);
  23563. ;
  23564. args.push(this.Tag);
  23565. ;
  23566. return args;
  23567. }
  23568. };
  23569. var IfcCivilElementType = class {
  23570. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  23571. this.expressID = expressID;
  23572. this.type = type;
  23573. this.GlobalId = GlobalId;
  23574. this.OwnerHistory = OwnerHistory;
  23575. this.Name = Name;
  23576. this.Description = Description;
  23577. this.ApplicableOccurrence = ApplicableOccurrence;
  23578. this.HasPropertySets = HasPropertySets;
  23579. this.RepresentationMaps = RepresentationMaps;
  23580. this.Tag = Tag;
  23581. this.ElementType = ElementType;
  23582. }
  23583. static FromTape(expressID, type, tape) {
  23584. let ptr = 0;
  23585. let GlobalId = tape[ptr++];
  23586. let OwnerHistory = tape[ptr++];
  23587. let Name = tape[ptr++];
  23588. let Description = tape[ptr++];
  23589. let ApplicableOccurrence = tape[ptr++];
  23590. let HasPropertySets = tape[ptr++];
  23591. let RepresentationMaps = tape[ptr++];
  23592. let Tag = tape[ptr++];
  23593. let ElementType = tape[ptr++];
  23594. return new IfcCivilElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  23595. }
  23596. ToTape() {
  23597. let args = [];
  23598. args.push(this.GlobalId);
  23599. ;
  23600. args.push(this.OwnerHistory);
  23601. ;
  23602. args.push(this.Name);
  23603. ;
  23604. args.push(this.Description);
  23605. ;
  23606. args.push(this.ApplicableOccurrence);
  23607. ;
  23608. args.push(this.HasPropertySets);
  23609. ;
  23610. args.push(this.RepresentationMaps);
  23611. ;
  23612. args.push(this.Tag);
  23613. ;
  23614. args.push(this.ElementType);
  23615. ;
  23616. return args;
  23617. }
  23618. };
  23619. var IfcClassification = class {
  23620. constructor(expressID, type, Source, Edition, EditionDate, Name, Description, Location, ReferenceTokens) {
  23621. this.expressID = expressID;
  23622. this.type = type;
  23623. this.Source = Source;
  23624. this.Edition = Edition;
  23625. this.EditionDate = EditionDate;
  23626. this.Name = Name;
  23627. this.Description = Description;
  23628. this.Location = Location;
  23629. this.ReferenceTokens = ReferenceTokens;
  23630. }
  23631. static FromTape(expressID, type, tape) {
  23632. let ptr = 0;
  23633. let Source = tape[ptr++];
  23634. let Edition = tape[ptr++];
  23635. let EditionDate = tape[ptr++];
  23636. let Name = tape[ptr++];
  23637. let Description = tape[ptr++];
  23638. let Location = tape[ptr++];
  23639. let ReferenceTokens = tape[ptr++];
  23640. return new IfcClassification(expressID, type, Source, Edition, EditionDate, Name, Description, Location, ReferenceTokens);
  23641. }
  23642. ToTape() {
  23643. let args = [];
  23644. args.push(this.Source);
  23645. ;
  23646. args.push(this.Edition);
  23647. ;
  23648. args.push(this.EditionDate);
  23649. ;
  23650. args.push(this.Name);
  23651. ;
  23652. args.push(this.Description);
  23653. ;
  23654. args.push(this.Location);
  23655. ;
  23656. args.push(this.ReferenceTokens);
  23657. ;
  23658. return args;
  23659. }
  23660. };
  23661. var IfcClassificationReference = class {
  23662. constructor(expressID, type, Location, Identification, Name, ReferencedSource, Description, Sort) {
  23663. this.expressID = expressID;
  23664. this.type = type;
  23665. this.Location = Location;
  23666. this.Identification = Identification;
  23667. this.Name = Name;
  23668. this.ReferencedSource = ReferencedSource;
  23669. this.Description = Description;
  23670. this.Sort = Sort;
  23671. }
  23672. static FromTape(expressID, type, tape) {
  23673. let ptr = 0;
  23674. let Location = tape[ptr++];
  23675. let Identification = tape[ptr++];
  23676. let Name = tape[ptr++];
  23677. let ReferencedSource = tape[ptr++];
  23678. let Description = tape[ptr++];
  23679. let Sort = tape[ptr++];
  23680. return new IfcClassificationReference(expressID, type, Location, Identification, Name, ReferencedSource, Description, Sort);
  23681. }
  23682. ToTape() {
  23683. let args = [];
  23684. args.push(this.Location);
  23685. ;
  23686. args.push(this.Identification);
  23687. ;
  23688. args.push(this.Name);
  23689. ;
  23690. args.push(this.ReferencedSource);
  23691. ;
  23692. args.push(this.Description);
  23693. ;
  23694. args.push(this.Sort);
  23695. ;
  23696. return args;
  23697. }
  23698. };
  23699. var IfcClosedShell = class {
  23700. constructor(expressID, type, CfsFaces) {
  23701. this.expressID = expressID;
  23702. this.type = type;
  23703. this.CfsFaces = CfsFaces;
  23704. }
  23705. static FromTape(expressID, type, tape) {
  23706. let ptr = 0;
  23707. let CfsFaces = tape[ptr++];
  23708. return new IfcClosedShell(expressID, type, CfsFaces);
  23709. }
  23710. ToTape() {
  23711. let args = [];
  23712. args.push(this.CfsFaces);
  23713. ;
  23714. return args;
  23715. }
  23716. };
  23717. var IfcCoil = class {
  23718. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  23719. this.expressID = expressID;
  23720. this.type = type;
  23721. this.GlobalId = GlobalId;
  23722. this.OwnerHistory = OwnerHistory;
  23723. this.Name = Name;
  23724. this.Description = Description;
  23725. this.ObjectType = ObjectType;
  23726. this.ObjectPlacement = ObjectPlacement;
  23727. this.Representation = Representation;
  23728. this.Tag = Tag;
  23729. this.PredefinedType = PredefinedType;
  23730. }
  23731. static FromTape(expressID, type, tape) {
  23732. let ptr = 0;
  23733. let GlobalId = tape[ptr++];
  23734. let OwnerHistory = tape[ptr++];
  23735. let Name = tape[ptr++];
  23736. let Description = tape[ptr++];
  23737. let ObjectType = tape[ptr++];
  23738. let ObjectPlacement = tape[ptr++];
  23739. let Representation = tape[ptr++];
  23740. let Tag = tape[ptr++];
  23741. let PredefinedType = tape[ptr++];
  23742. return new IfcCoil(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  23743. }
  23744. ToTape() {
  23745. let args = [];
  23746. args.push(this.GlobalId);
  23747. ;
  23748. args.push(this.OwnerHistory);
  23749. ;
  23750. args.push(this.Name);
  23751. ;
  23752. args.push(this.Description);
  23753. ;
  23754. args.push(this.ObjectType);
  23755. ;
  23756. args.push(this.ObjectPlacement);
  23757. ;
  23758. args.push(this.Representation);
  23759. ;
  23760. args.push(this.Tag);
  23761. ;
  23762. args.push(this.PredefinedType);
  23763. ;
  23764. return args;
  23765. }
  23766. };
  23767. var IfcCoilType = class {
  23768. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  23769. this.expressID = expressID;
  23770. this.type = type;
  23771. this.GlobalId = GlobalId;
  23772. this.OwnerHistory = OwnerHistory;
  23773. this.Name = Name;
  23774. this.Description = Description;
  23775. this.ApplicableOccurrence = ApplicableOccurrence;
  23776. this.HasPropertySets = HasPropertySets;
  23777. this.RepresentationMaps = RepresentationMaps;
  23778. this.Tag = Tag;
  23779. this.ElementType = ElementType;
  23780. this.PredefinedType = PredefinedType;
  23781. }
  23782. static FromTape(expressID, type, tape) {
  23783. let ptr = 0;
  23784. let GlobalId = tape[ptr++];
  23785. let OwnerHistory = tape[ptr++];
  23786. let Name = tape[ptr++];
  23787. let Description = tape[ptr++];
  23788. let ApplicableOccurrence = tape[ptr++];
  23789. let HasPropertySets = tape[ptr++];
  23790. let RepresentationMaps = tape[ptr++];
  23791. let Tag = tape[ptr++];
  23792. let ElementType = tape[ptr++];
  23793. let PredefinedType = tape[ptr++];
  23794. return new IfcCoilType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  23795. }
  23796. ToTape() {
  23797. let args = [];
  23798. args.push(this.GlobalId);
  23799. ;
  23800. args.push(this.OwnerHistory);
  23801. ;
  23802. args.push(this.Name);
  23803. ;
  23804. args.push(this.Description);
  23805. ;
  23806. args.push(this.ApplicableOccurrence);
  23807. ;
  23808. args.push(this.HasPropertySets);
  23809. ;
  23810. args.push(this.RepresentationMaps);
  23811. ;
  23812. args.push(this.Tag);
  23813. ;
  23814. args.push(this.ElementType);
  23815. ;
  23816. args.push(this.PredefinedType);
  23817. ;
  23818. return args;
  23819. }
  23820. };
  23821. var IfcColourRgb = class {
  23822. constructor(expressID, type, Name, Red, Green, Blue) {
  23823. this.expressID = expressID;
  23824. this.type = type;
  23825. this.Name = Name;
  23826. this.Red = Red;
  23827. this.Green = Green;
  23828. this.Blue = Blue;
  23829. }
  23830. static FromTape(expressID, type, tape) {
  23831. let ptr = 0;
  23832. let Name = tape[ptr++];
  23833. let Red = tape[ptr++];
  23834. let Green = tape[ptr++];
  23835. let Blue = tape[ptr++];
  23836. return new IfcColourRgb(expressID, type, Name, Red, Green, Blue);
  23837. }
  23838. ToTape() {
  23839. let args = [];
  23840. args.push(this.Name);
  23841. ;
  23842. args.push(this.Red);
  23843. ;
  23844. args.push(this.Green);
  23845. ;
  23846. args.push(this.Blue);
  23847. ;
  23848. return args;
  23849. }
  23850. };
  23851. var IfcColourRgbList = class {
  23852. constructor(expressID, type, ColourList) {
  23853. this.expressID = expressID;
  23854. this.type = type;
  23855. this.ColourList = ColourList;
  23856. }
  23857. static FromTape(expressID, type, tape) {
  23858. let ptr = 0;
  23859. let ColourList = tape[ptr++];
  23860. return new IfcColourRgbList(expressID, type, ColourList);
  23861. }
  23862. ToTape() {
  23863. let args = [];
  23864. args.push(this.ColourList);
  23865. ;
  23866. return args;
  23867. }
  23868. };
  23869. var IfcColourSpecification = class {
  23870. constructor(expressID, type, Name) {
  23871. this.expressID = expressID;
  23872. this.type = type;
  23873. this.Name = Name;
  23874. }
  23875. static FromTape(expressID, type, tape) {
  23876. let ptr = 0;
  23877. let Name = tape[ptr++];
  23878. return new IfcColourSpecification(expressID, type, Name);
  23879. }
  23880. ToTape() {
  23881. let args = [];
  23882. args.push(this.Name);
  23883. ;
  23884. return args;
  23885. }
  23886. };
  23887. var IfcColumn = class {
  23888. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  23889. this.expressID = expressID;
  23890. this.type = type;
  23891. this.GlobalId = GlobalId;
  23892. this.OwnerHistory = OwnerHistory;
  23893. this.Name = Name;
  23894. this.Description = Description;
  23895. this.ObjectType = ObjectType;
  23896. this.ObjectPlacement = ObjectPlacement;
  23897. this.Representation = Representation;
  23898. this.Tag = Tag;
  23899. this.PredefinedType = PredefinedType;
  23900. }
  23901. static FromTape(expressID, type, tape) {
  23902. let ptr = 0;
  23903. let GlobalId = tape[ptr++];
  23904. let OwnerHistory = tape[ptr++];
  23905. let Name = tape[ptr++];
  23906. let Description = tape[ptr++];
  23907. let ObjectType = tape[ptr++];
  23908. let ObjectPlacement = tape[ptr++];
  23909. let Representation = tape[ptr++];
  23910. let Tag = tape[ptr++];
  23911. let PredefinedType = tape[ptr++];
  23912. return new IfcColumn(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  23913. }
  23914. ToTape() {
  23915. let args = [];
  23916. args.push(this.GlobalId);
  23917. ;
  23918. args.push(this.OwnerHistory);
  23919. ;
  23920. args.push(this.Name);
  23921. ;
  23922. args.push(this.Description);
  23923. ;
  23924. args.push(this.ObjectType);
  23925. ;
  23926. args.push(this.ObjectPlacement);
  23927. ;
  23928. args.push(this.Representation);
  23929. ;
  23930. args.push(this.Tag);
  23931. ;
  23932. args.push(this.PredefinedType);
  23933. ;
  23934. return args;
  23935. }
  23936. };
  23937. var IfcColumnStandardCase = class {
  23938. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  23939. this.expressID = expressID;
  23940. this.type = type;
  23941. this.GlobalId = GlobalId;
  23942. this.OwnerHistory = OwnerHistory;
  23943. this.Name = Name;
  23944. this.Description = Description;
  23945. this.ObjectType = ObjectType;
  23946. this.ObjectPlacement = ObjectPlacement;
  23947. this.Representation = Representation;
  23948. this.Tag = Tag;
  23949. this.PredefinedType = PredefinedType;
  23950. }
  23951. static FromTape(expressID, type, tape) {
  23952. let ptr = 0;
  23953. let GlobalId = tape[ptr++];
  23954. let OwnerHistory = tape[ptr++];
  23955. let Name = tape[ptr++];
  23956. let Description = tape[ptr++];
  23957. let ObjectType = tape[ptr++];
  23958. let ObjectPlacement = tape[ptr++];
  23959. let Representation = tape[ptr++];
  23960. let Tag = tape[ptr++];
  23961. let PredefinedType = tape[ptr++];
  23962. return new IfcColumnStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  23963. }
  23964. ToTape() {
  23965. let args = [];
  23966. args.push(this.GlobalId);
  23967. ;
  23968. args.push(this.OwnerHistory);
  23969. ;
  23970. args.push(this.Name);
  23971. ;
  23972. args.push(this.Description);
  23973. ;
  23974. args.push(this.ObjectType);
  23975. ;
  23976. args.push(this.ObjectPlacement);
  23977. ;
  23978. args.push(this.Representation);
  23979. ;
  23980. args.push(this.Tag);
  23981. ;
  23982. args.push(this.PredefinedType);
  23983. ;
  23984. return args;
  23985. }
  23986. };
  23987. var IfcColumnType = class {
  23988. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  23989. this.expressID = expressID;
  23990. this.type = type;
  23991. this.GlobalId = GlobalId;
  23992. this.OwnerHistory = OwnerHistory;
  23993. this.Name = Name;
  23994. this.Description = Description;
  23995. this.ApplicableOccurrence = ApplicableOccurrence;
  23996. this.HasPropertySets = HasPropertySets;
  23997. this.RepresentationMaps = RepresentationMaps;
  23998. this.Tag = Tag;
  23999. this.ElementType = ElementType;
  24000. this.PredefinedType = PredefinedType;
  24001. }
  24002. static FromTape(expressID, type, tape) {
  24003. let ptr = 0;
  24004. let GlobalId = tape[ptr++];
  24005. let OwnerHistory = tape[ptr++];
  24006. let Name = tape[ptr++];
  24007. let Description = tape[ptr++];
  24008. let ApplicableOccurrence = tape[ptr++];
  24009. let HasPropertySets = tape[ptr++];
  24010. let RepresentationMaps = tape[ptr++];
  24011. let Tag = tape[ptr++];
  24012. let ElementType = tape[ptr++];
  24013. let PredefinedType = tape[ptr++];
  24014. return new IfcColumnType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  24015. }
  24016. ToTape() {
  24017. let args = [];
  24018. args.push(this.GlobalId);
  24019. ;
  24020. args.push(this.OwnerHistory);
  24021. ;
  24022. args.push(this.Name);
  24023. ;
  24024. args.push(this.Description);
  24025. ;
  24026. args.push(this.ApplicableOccurrence);
  24027. ;
  24028. args.push(this.HasPropertySets);
  24029. ;
  24030. args.push(this.RepresentationMaps);
  24031. ;
  24032. args.push(this.Tag);
  24033. ;
  24034. args.push(this.ElementType);
  24035. ;
  24036. args.push(this.PredefinedType);
  24037. ;
  24038. return args;
  24039. }
  24040. };
  24041. var IfcCommunicationsAppliance = class {
  24042. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  24043. this.expressID = expressID;
  24044. this.type = type;
  24045. this.GlobalId = GlobalId;
  24046. this.OwnerHistory = OwnerHistory;
  24047. this.Name = Name;
  24048. this.Description = Description;
  24049. this.ObjectType = ObjectType;
  24050. this.ObjectPlacement = ObjectPlacement;
  24051. this.Representation = Representation;
  24052. this.Tag = Tag;
  24053. this.PredefinedType = PredefinedType;
  24054. }
  24055. static FromTape(expressID, type, tape) {
  24056. let ptr = 0;
  24057. let GlobalId = tape[ptr++];
  24058. let OwnerHistory = tape[ptr++];
  24059. let Name = tape[ptr++];
  24060. let Description = tape[ptr++];
  24061. let ObjectType = tape[ptr++];
  24062. let ObjectPlacement = tape[ptr++];
  24063. let Representation = tape[ptr++];
  24064. let Tag = tape[ptr++];
  24065. let PredefinedType = tape[ptr++];
  24066. return new IfcCommunicationsAppliance(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  24067. }
  24068. ToTape() {
  24069. let args = [];
  24070. args.push(this.GlobalId);
  24071. ;
  24072. args.push(this.OwnerHistory);
  24073. ;
  24074. args.push(this.Name);
  24075. ;
  24076. args.push(this.Description);
  24077. ;
  24078. args.push(this.ObjectType);
  24079. ;
  24080. args.push(this.ObjectPlacement);
  24081. ;
  24082. args.push(this.Representation);
  24083. ;
  24084. args.push(this.Tag);
  24085. ;
  24086. args.push(this.PredefinedType);
  24087. ;
  24088. return args;
  24089. }
  24090. };
  24091. var IfcCommunicationsApplianceType = class {
  24092. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  24093. this.expressID = expressID;
  24094. this.type = type;
  24095. this.GlobalId = GlobalId;
  24096. this.OwnerHistory = OwnerHistory;
  24097. this.Name = Name;
  24098. this.Description = Description;
  24099. this.ApplicableOccurrence = ApplicableOccurrence;
  24100. this.HasPropertySets = HasPropertySets;
  24101. this.RepresentationMaps = RepresentationMaps;
  24102. this.Tag = Tag;
  24103. this.ElementType = ElementType;
  24104. this.PredefinedType = PredefinedType;
  24105. }
  24106. static FromTape(expressID, type, tape) {
  24107. let ptr = 0;
  24108. let GlobalId = tape[ptr++];
  24109. let OwnerHistory = tape[ptr++];
  24110. let Name = tape[ptr++];
  24111. let Description = tape[ptr++];
  24112. let ApplicableOccurrence = tape[ptr++];
  24113. let HasPropertySets = tape[ptr++];
  24114. let RepresentationMaps = tape[ptr++];
  24115. let Tag = tape[ptr++];
  24116. let ElementType = tape[ptr++];
  24117. let PredefinedType = tape[ptr++];
  24118. return new IfcCommunicationsApplianceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  24119. }
  24120. ToTape() {
  24121. let args = [];
  24122. args.push(this.GlobalId);
  24123. ;
  24124. args.push(this.OwnerHistory);
  24125. ;
  24126. args.push(this.Name);
  24127. ;
  24128. args.push(this.Description);
  24129. ;
  24130. args.push(this.ApplicableOccurrence);
  24131. ;
  24132. args.push(this.HasPropertySets);
  24133. ;
  24134. args.push(this.RepresentationMaps);
  24135. ;
  24136. args.push(this.Tag);
  24137. ;
  24138. args.push(this.ElementType);
  24139. ;
  24140. args.push(this.PredefinedType);
  24141. ;
  24142. return args;
  24143. }
  24144. };
  24145. var IfcComplexProperty = class {
  24146. constructor(expressID, type, Name, Description, UsageName, HasProperties) {
  24147. this.expressID = expressID;
  24148. this.type = type;
  24149. this.Name = Name;
  24150. this.Description = Description;
  24151. this.UsageName = UsageName;
  24152. this.HasProperties = HasProperties;
  24153. }
  24154. static FromTape(expressID, type, tape) {
  24155. let ptr = 0;
  24156. let Name = tape[ptr++];
  24157. let Description = tape[ptr++];
  24158. let UsageName = tape[ptr++];
  24159. let HasProperties = tape[ptr++];
  24160. return new IfcComplexProperty(expressID, type, Name, Description, UsageName, HasProperties);
  24161. }
  24162. ToTape() {
  24163. let args = [];
  24164. args.push(this.Name);
  24165. ;
  24166. args.push(this.Description);
  24167. ;
  24168. args.push(this.UsageName);
  24169. ;
  24170. args.push(this.HasProperties);
  24171. ;
  24172. return args;
  24173. }
  24174. };
  24175. var IfcComplexPropertyTemplate = class {
  24176. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, UsageName, TemplateType, HasPropertyTemplates) {
  24177. this.expressID = expressID;
  24178. this.type = type;
  24179. this.GlobalId = GlobalId;
  24180. this.OwnerHistory = OwnerHistory;
  24181. this.Name = Name;
  24182. this.Description = Description;
  24183. this.UsageName = UsageName;
  24184. this.TemplateType = TemplateType;
  24185. this.HasPropertyTemplates = HasPropertyTemplates;
  24186. }
  24187. static FromTape(expressID, type, tape) {
  24188. let ptr = 0;
  24189. let GlobalId = tape[ptr++];
  24190. let OwnerHistory = tape[ptr++];
  24191. let Name = tape[ptr++];
  24192. let Description = tape[ptr++];
  24193. let UsageName = tape[ptr++];
  24194. let TemplateType = tape[ptr++];
  24195. let HasPropertyTemplates = tape[ptr++];
  24196. return new IfcComplexPropertyTemplate(expressID, type, GlobalId, OwnerHistory, Name, Description, UsageName, TemplateType, HasPropertyTemplates);
  24197. }
  24198. ToTape() {
  24199. let args = [];
  24200. args.push(this.GlobalId);
  24201. ;
  24202. args.push(this.OwnerHistory);
  24203. ;
  24204. args.push(this.Name);
  24205. ;
  24206. args.push(this.Description);
  24207. ;
  24208. args.push(this.UsageName);
  24209. ;
  24210. args.push(this.TemplateType);
  24211. ;
  24212. args.push(this.HasPropertyTemplates);
  24213. ;
  24214. return args;
  24215. }
  24216. };
  24217. var IfcCompositeCurve = class {
  24218. constructor(expressID, type, Segments, SelfIntersect) {
  24219. this.expressID = expressID;
  24220. this.type = type;
  24221. this.Segments = Segments;
  24222. this.SelfIntersect = SelfIntersect;
  24223. }
  24224. static FromTape(expressID, type, tape) {
  24225. let ptr = 0;
  24226. let Segments = tape[ptr++];
  24227. let SelfIntersect = tape[ptr++];
  24228. return new IfcCompositeCurve(expressID, type, Segments, SelfIntersect);
  24229. }
  24230. ToTape() {
  24231. let args = [];
  24232. args.push(this.Segments);
  24233. ;
  24234. args.push(this.SelfIntersect);
  24235. ;
  24236. return args;
  24237. }
  24238. };
  24239. var IfcCompositeCurveOnSurface = class {
  24240. constructor(expressID, type, Segments, SelfIntersect) {
  24241. this.expressID = expressID;
  24242. this.type = type;
  24243. this.Segments = Segments;
  24244. this.SelfIntersect = SelfIntersect;
  24245. }
  24246. static FromTape(expressID, type, tape) {
  24247. let ptr = 0;
  24248. let Segments = tape[ptr++];
  24249. let SelfIntersect = tape[ptr++];
  24250. return new IfcCompositeCurveOnSurface(expressID, type, Segments, SelfIntersect);
  24251. }
  24252. ToTape() {
  24253. let args = [];
  24254. args.push(this.Segments);
  24255. ;
  24256. args.push(this.SelfIntersect);
  24257. ;
  24258. return args;
  24259. }
  24260. };
  24261. var IfcCompositeCurveSegment = class {
  24262. constructor(expressID, type, Transition, SameSense, ParentCurve) {
  24263. this.expressID = expressID;
  24264. this.type = type;
  24265. this.Transition = Transition;
  24266. this.SameSense = SameSense;
  24267. this.ParentCurve = ParentCurve;
  24268. }
  24269. static FromTape(expressID, type, tape) {
  24270. let ptr = 0;
  24271. let Transition = tape[ptr++];
  24272. let SameSense = tape[ptr++];
  24273. let ParentCurve = tape[ptr++];
  24274. return new IfcCompositeCurveSegment(expressID, type, Transition, SameSense, ParentCurve);
  24275. }
  24276. ToTape() {
  24277. let args = [];
  24278. args.push(this.Transition);
  24279. ;
  24280. args.push(this.SameSense);
  24281. ;
  24282. args.push(this.ParentCurve);
  24283. ;
  24284. return args;
  24285. }
  24286. };
  24287. var IfcCompositeProfileDef = class {
  24288. constructor(expressID, type, ProfileType, ProfileName, Profiles, Label) {
  24289. this.expressID = expressID;
  24290. this.type = type;
  24291. this.ProfileType = ProfileType;
  24292. this.ProfileName = ProfileName;
  24293. this.Profiles = Profiles;
  24294. this.Label = Label;
  24295. }
  24296. static FromTape(expressID, type, tape) {
  24297. let ptr = 0;
  24298. let ProfileType = tape[ptr++];
  24299. let ProfileName = tape[ptr++];
  24300. let Profiles = tape[ptr++];
  24301. let Label = tape[ptr++];
  24302. return new IfcCompositeProfileDef(expressID, type, ProfileType, ProfileName, Profiles, Label);
  24303. }
  24304. ToTape() {
  24305. let args = [];
  24306. args.push(this.ProfileType);
  24307. ;
  24308. args.push(this.ProfileName);
  24309. ;
  24310. args.push(this.Profiles);
  24311. ;
  24312. args.push(this.Label);
  24313. ;
  24314. return args;
  24315. }
  24316. };
  24317. var IfcCompressor = class {
  24318. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  24319. this.expressID = expressID;
  24320. this.type = type;
  24321. this.GlobalId = GlobalId;
  24322. this.OwnerHistory = OwnerHistory;
  24323. this.Name = Name;
  24324. this.Description = Description;
  24325. this.ObjectType = ObjectType;
  24326. this.ObjectPlacement = ObjectPlacement;
  24327. this.Representation = Representation;
  24328. this.Tag = Tag;
  24329. this.PredefinedType = PredefinedType;
  24330. }
  24331. static FromTape(expressID, type, tape) {
  24332. let ptr = 0;
  24333. let GlobalId = tape[ptr++];
  24334. let OwnerHistory = tape[ptr++];
  24335. let Name = tape[ptr++];
  24336. let Description = tape[ptr++];
  24337. let ObjectType = tape[ptr++];
  24338. let ObjectPlacement = tape[ptr++];
  24339. let Representation = tape[ptr++];
  24340. let Tag = tape[ptr++];
  24341. let PredefinedType = tape[ptr++];
  24342. return new IfcCompressor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  24343. }
  24344. ToTape() {
  24345. let args = [];
  24346. args.push(this.GlobalId);
  24347. ;
  24348. args.push(this.OwnerHistory);
  24349. ;
  24350. args.push(this.Name);
  24351. ;
  24352. args.push(this.Description);
  24353. ;
  24354. args.push(this.ObjectType);
  24355. ;
  24356. args.push(this.ObjectPlacement);
  24357. ;
  24358. args.push(this.Representation);
  24359. ;
  24360. args.push(this.Tag);
  24361. ;
  24362. args.push(this.PredefinedType);
  24363. ;
  24364. return args;
  24365. }
  24366. };
  24367. var IfcCompressorType = class {
  24368. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  24369. this.expressID = expressID;
  24370. this.type = type;
  24371. this.GlobalId = GlobalId;
  24372. this.OwnerHistory = OwnerHistory;
  24373. this.Name = Name;
  24374. this.Description = Description;
  24375. this.ApplicableOccurrence = ApplicableOccurrence;
  24376. this.HasPropertySets = HasPropertySets;
  24377. this.RepresentationMaps = RepresentationMaps;
  24378. this.Tag = Tag;
  24379. this.ElementType = ElementType;
  24380. this.PredefinedType = PredefinedType;
  24381. }
  24382. static FromTape(expressID, type, tape) {
  24383. let ptr = 0;
  24384. let GlobalId = tape[ptr++];
  24385. let OwnerHistory = tape[ptr++];
  24386. let Name = tape[ptr++];
  24387. let Description = tape[ptr++];
  24388. let ApplicableOccurrence = tape[ptr++];
  24389. let HasPropertySets = tape[ptr++];
  24390. let RepresentationMaps = tape[ptr++];
  24391. let Tag = tape[ptr++];
  24392. let ElementType = tape[ptr++];
  24393. let PredefinedType = tape[ptr++];
  24394. return new IfcCompressorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  24395. }
  24396. ToTape() {
  24397. let args = [];
  24398. args.push(this.GlobalId);
  24399. ;
  24400. args.push(this.OwnerHistory);
  24401. ;
  24402. args.push(this.Name);
  24403. ;
  24404. args.push(this.Description);
  24405. ;
  24406. args.push(this.ApplicableOccurrence);
  24407. ;
  24408. args.push(this.HasPropertySets);
  24409. ;
  24410. args.push(this.RepresentationMaps);
  24411. ;
  24412. args.push(this.Tag);
  24413. ;
  24414. args.push(this.ElementType);
  24415. ;
  24416. args.push(this.PredefinedType);
  24417. ;
  24418. return args;
  24419. }
  24420. };
  24421. var IfcCondenser = class {
  24422. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  24423. this.expressID = expressID;
  24424. this.type = type;
  24425. this.GlobalId = GlobalId;
  24426. this.OwnerHistory = OwnerHistory;
  24427. this.Name = Name;
  24428. this.Description = Description;
  24429. this.ObjectType = ObjectType;
  24430. this.ObjectPlacement = ObjectPlacement;
  24431. this.Representation = Representation;
  24432. this.Tag = Tag;
  24433. this.PredefinedType = PredefinedType;
  24434. }
  24435. static FromTape(expressID, type, tape) {
  24436. let ptr = 0;
  24437. let GlobalId = tape[ptr++];
  24438. let OwnerHistory = tape[ptr++];
  24439. let Name = tape[ptr++];
  24440. let Description = tape[ptr++];
  24441. let ObjectType = tape[ptr++];
  24442. let ObjectPlacement = tape[ptr++];
  24443. let Representation = tape[ptr++];
  24444. let Tag = tape[ptr++];
  24445. let PredefinedType = tape[ptr++];
  24446. return new IfcCondenser(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  24447. }
  24448. ToTape() {
  24449. let args = [];
  24450. args.push(this.GlobalId);
  24451. ;
  24452. args.push(this.OwnerHistory);
  24453. ;
  24454. args.push(this.Name);
  24455. ;
  24456. args.push(this.Description);
  24457. ;
  24458. args.push(this.ObjectType);
  24459. ;
  24460. args.push(this.ObjectPlacement);
  24461. ;
  24462. args.push(this.Representation);
  24463. ;
  24464. args.push(this.Tag);
  24465. ;
  24466. args.push(this.PredefinedType);
  24467. ;
  24468. return args;
  24469. }
  24470. };
  24471. var IfcCondenserType = class {
  24472. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  24473. this.expressID = expressID;
  24474. this.type = type;
  24475. this.GlobalId = GlobalId;
  24476. this.OwnerHistory = OwnerHistory;
  24477. this.Name = Name;
  24478. this.Description = Description;
  24479. this.ApplicableOccurrence = ApplicableOccurrence;
  24480. this.HasPropertySets = HasPropertySets;
  24481. this.RepresentationMaps = RepresentationMaps;
  24482. this.Tag = Tag;
  24483. this.ElementType = ElementType;
  24484. this.PredefinedType = PredefinedType;
  24485. }
  24486. static FromTape(expressID, type, tape) {
  24487. let ptr = 0;
  24488. let GlobalId = tape[ptr++];
  24489. let OwnerHistory = tape[ptr++];
  24490. let Name = tape[ptr++];
  24491. let Description = tape[ptr++];
  24492. let ApplicableOccurrence = tape[ptr++];
  24493. let HasPropertySets = tape[ptr++];
  24494. let RepresentationMaps = tape[ptr++];
  24495. let Tag = tape[ptr++];
  24496. let ElementType = tape[ptr++];
  24497. let PredefinedType = tape[ptr++];
  24498. return new IfcCondenserType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  24499. }
  24500. ToTape() {
  24501. let args = [];
  24502. args.push(this.GlobalId);
  24503. ;
  24504. args.push(this.OwnerHistory);
  24505. ;
  24506. args.push(this.Name);
  24507. ;
  24508. args.push(this.Description);
  24509. ;
  24510. args.push(this.ApplicableOccurrence);
  24511. ;
  24512. args.push(this.HasPropertySets);
  24513. ;
  24514. args.push(this.RepresentationMaps);
  24515. ;
  24516. args.push(this.Tag);
  24517. ;
  24518. args.push(this.ElementType);
  24519. ;
  24520. args.push(this.PredefinedType);
  24521. ;
  24522. return args;
  24523. }
  24524. };
  24525. var IfcConic = class {
  24526. constructor(expressID, type, Position) {
  24527. this.expressID = expressID;
  24528. this.type = type;
  24529. this.Position = Position;
  24530. }
  24531. static FromTape(expressID, type, tape) {
  24532. let ptr = 0;
  24533. let Position = tape[ptr++];
  24534. return new IfcConic(expressID, type, Position);
  24535. }
  24536. ToTape() {
  24537. let args = [];
  24538. args.push(this.Position);
  24539. ;
  24540. return args;
  24541. }
  24542. };
  24543. var IfcConnectedFaceSet = class {
  24544. constructor(expressID, type, CfsFaces) {
  24545. this.expressID = expressID;
  24546. this.type = type;
  24547. this.CfsFaces = CfsFaces;
  24548. }
  24549. static FromTape(expressID, type, tape) {
  24550. let ptr = 0;
  24551. let CfsFaces = tape[ptr++];
  24552. return new IfcConnectedFaceSet(expressID, type, CfsFaces);
  24553. }
  24554. ToTape() {
  24555. let args = [];
  24556. args.push(this.CfsFaces);
  24557. ;
  24558. return args;
  24559. }
  24560. };
  24561. var IfcConnectionCurveGeometry = class {
  24562. constructor(expressID, type, CurveOnRelatingElement, CurveOnRelatedElement) {
  24563. this.expressID = expressID;
  24564. this.type = type;
  24565. this.CurveOnRelatingElement = CurveOnRelatingElement;
  24566. this.CurveOnRelatedElement = CurveOnRelatedElement;
  24567. }
  24568. static FromTape(expressID, type, tape) {
  24569. let ptr = 0;
  24570. let CurveOnRelatingElement = tape[ptr++];
  24571. let CurveOnRelatedElement = tape[ptr++];
  24572. return new IfcConnectionCurveGeometry(expressID, type, CurveOnRelatingElement, CurveOnRelatedElement);
  24573. }
  24574. ToTape() {
  24575. let args = [];
  24576. args.push(this.CurveOnRelatingElement);
  24577. ;
  24578. args.push(this.CurveOnRelatedElement);
  24579. ;
  24580. return args;
  24581. }
  24582. };
  24583. var IfcConnectionGeometry = class {
  24584. constructor(expressID, type) {
  24585. this.expressID = expressID;
  24586. this.type = type;
  24587. }
  24588. static FromTape(expressID, type, tape) {
  24589. let ptr = 0;
  24590. return new IfcConnectionGeometry(expressID, type);
  24591. }
  24592. ToTape() {
  24593. let args = [];
  24594. return args;
  24595. }
  24596. };
  24597. var IfcConnectionPointEccentricity = class {
  24598. constructor(expressID, type, PointOnRelatingElement, PointOnRelatedElement, EccentricityInX, EccentricityInY, EccentricityInZ) {
  24599. this.expressID = expressID;
  24600. this.type = type;
  24601. this.PointOnRelatingElement = PointOnRelatingElement;
  24602. this.PointOnRelatedElement = PointOnRelatedElement;
  24603. this.EccentricityInX = EccentricityInX;
  24604. this.EccentricityInY = EccentricityInY;
  24605. this.EccentricityInZ = EccentricityInZ;
  24606. }
  24607. static FromTape(expressID, type, tape) {
  24608. let ptr = 0;
  24609. let PointOnRelatingElement = tape[ptr++];
  24610. let PointOnRelatedElement = tape[ptr++];
  24611. let EccentricityInX = tape[ptr++];
  24612. let EccentricityInY = tape[ptr++];
  24613. let EccentricityInZ = tape[ptr++];
  24614. return new IfcConnectionPointEccentricity(expressID, type, PointOnRelatingElement, PointOnRelatedElement, EccentricityInX, EccentricityInY, EccentricityInZ);
  24615. }
  24616. ToTape() {
  24617. let args = [];
  24618. args.push(this.PointOnRelatingElement);
  24619. ;
  24620. args.push(this.PointOnRelatedElement);
  24621. ;
  24622. args.push(this.EccentricityInX);
  24623. ;
  24624. args.push(this.EccentricityInY);
  24625. ;
  24626. args.push(this.EccentricityInZ);
  24627. ;
  24628. return args;
  24629. }
  24630. };
  24631. var IfcConnectionPointGeometry = class {
  24632. constructor(expressID, type, PointOnRelatingElement, PointOnRelatedElement) {
  24633. this.expressID = expressID;
  24634. this.type = type;
  24635. this.PointOnRelatingElement = PointOnRelatingElement;
  24636. this.PointOnRelatedElement = PointOnRelatedElement;
  24637. }
  24638. static FromTape(expressID, type, tape) {
  24639. let ptr = 0;
  24640. let PointOnRelatingElement = tape[ptr++];
  24641. let PointOnRelatedElement = tape[ptr++];
  24642. return new IfcConnectionPointGeometry(expressID, type, PointOnRelatingElement, PointOnRelatedElement);
  24643. }
  24644. ToTape() {
  24645. let args = [];
  24646. args.push(this.PointOnRelatingElement);
  24647. ;
  24648. args.push(this.PointOnRelatedElement);
  24649. ;
  24650. return args;
  24651. }
  24652. };
  24653. var IfcConnectionSurfaceGeometry = class {
  24654. constructor(expressID, type, SurfaceOnRelatingElement, SurfaceOnRelatedElement) {
  24655. this.expressID = expressID;
  24656. this.type = type;
  24657. this.SurfaceOnRelatingElement = SurfaceOnRelatingElement;
  24658. this.SurfaceOnRelatedElement = SurfaceOnRelatedElement;
  24659. }
  24660. static FromTape(expressID, type, tape) {
  24661. let ptr = 0;
  24662. let SurfaceOnRelatingElement = tape[ptr++];
  24663. let SurfaceOnRelatedElement = tape[ptr++];
  24664. return new IfcConnectionSurfaceGeometry(expressID, type, SurfaceOnRelatingElement, SurfaceOnRelatedElement);
  24665. }
  24666. ToTape() {
  24667. let args = [];
  24668. args.push(this.SurfaceOnRelatingElement);
  24669. ;
  24670. args.push(this.SurfaceOnRelatedElement);
  24671. ;
  24672. return args;
  24673. }
  24674. };
  24675. var IfcConnectionVolumeGeometry = class {
  24676. constructor(expressID, type, VolumeOnRelatingElement, VolumeOnRelatedElement) {
  24677. this.expressID = expressID;
  24678. this.type = type;
  24679. this.VolumeOnRelatingElement = VolumeOnRelatingElement;
  24680. this.VolumeOnRelatedElement = VolumeOnRelatedElement;
  24681. }
  24682. static FromTape(expressID, type, tape) {
  24683. let ptr = 0;
  24684. let VolumeOnRelatingElement = tape[ptr++];
  24685. let VolumeOnRelatedElement = tape[ptr++];
  24686. return new IfcConnectionVolumeGeometry(expressID, type, VolumeOnRelatingElement, VolumeOnRelatedElement);
  24687. }
  24688. ToTape() {
  24689. let args = [];
  24690. args.push(this.VolumeOnRelatingElement);
  24691. ;
  24692. args.push(this.VolumeOnRelatedElement);
  24693. ;
  24694. return args;
  24695. }
  24696. };
  24697. var IfcConstraint = class {
  24698. constructor(expressID, type, Name, Description, ConstraintGrade, ConstraintSource, CreatingActor, CreationTime, UserDefinedGrade) {
  24699. this.expressID = expressID;
  24700. this.type = type;
  24701. this.Name = Name;
  24702. this.Description = Description;
  24703. this.ConstraintGrade = ConstraintGrade;
  24704. this.ConstraintSource = ConstraintSource;
  24705. this.CreatingActor = CreatingActor;
  24706. this.CreationTime = CreationTime;
  24707. this.UserDefinedGrade = UserDefinedGrade;
  24708. }
  24709. static FromTape(expressID, type, tape) {
  24710. let ptr = 0;
  24711. let Name = tape[ptr++];
  24712. let Description = tape[ptr++];
  24713. let ConstraintGrade = tape[ptr++];
  24714. let ConstraintSource = tape[ptr++];
  24715. let CreatingActor = tape[ptr++];
  24716. let CreationTime = tape[ptr++];
  24717. let UserDefinedGrade = tape[ptr++];
  24718. return new IfcConstraint(expressID, type, Name, Description, ConstraintGrade, ConstraintSource, CreatingActor, CreationTime, UserDefinedGrade);
  24719. }
  24720. ToTape() {
  24721. let args = [];
  24722. args.push(this.Name);
  24723. ;
  24724. args.push(this.Description);
  24725. ;
  24726. args.push(this.ConstraintGrade);
  24727. ;
  24728. args.push(this.ConstraintSource);
  24729. ;
  24730. args.push(this.CreatingActor);
  24731. ;
  24732. args.push(this.CreationTime);
  24733. ;
  24734. args.push(this.UserDefinedGrade);
  24735. ;
  24736. return args;
  24737. }
  24738. };
  24739. var IfcConstructionEquipmentResource = class {
  24740. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType) {
  24741. this.expressID = expressID;
  24742. this.type = type;
  24743. this.GlobalId = GlobalId;
  24744. this.OwnerHistory = OwnerHistory;
  24745. this.Name = Name;
  24746. this.Description = Description;
  24747. this.ObjectType = ObjectType;
  24748. this.Identification = Identification;
  24749. this.LongDescription = LongDescription;
  24750. this.Usage = Usage;
  24751. this.BaseCosts = BaseCosts;
  24752. this.BaseQuantity = BaseQuantity;
  24753. this.PredefinedType = PredefinedType;
  24754. }
  24755. static FromTape(expressID, type, tape) {
  24756. let ptr = 0;
  24757. let GlobalId = tape[ptr++];
  24758. let OwnerHistory = tape[ptr++];
  24759. let Name = tape[ptr++];
  24760. let Description = tape[ptr++];
  24761. let ObjectType = tape[ptr++];
  24762. let Identification = tape[ptr++];
  24763. let LongDescription = tape[ptr++];
  24764. let Usage = tape[ptr++];
  24765. let BaseCosts = tape[ptr++];
  24766. let BaseQuantity = tape[ptr++];
  24767. let PredefinedType = tape[ptr++];
  24768. return new IfcConstructionEquipmentResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType);
  24769. }
  24770. ToTape() {
  24771. let args = [];
  24772. args.push(this.GlobalId);
  24773. ;
  24774. args.push(this.OwnerHistory);
  24775. ;
  24776. args.push(this.Name);
  24777. ;
  24778. args.push(this.Description);
  24779. ;
  24780. args.push(this.ObjectType);
  24781. ;
  24782. args.push(this.Identification);
  24783. ;
  24784. args.push(this.LongDescription);
  24785. ;
  24786. args.push(this.Usage);
  24787. ;
  24788. args.push(this.BaseCosts);
  24789. ;
  24790. args.push(this.BaseQuantity);
  24791. ;
  24792. args.push(this.PredefinedType);
  24793. ;
  24794. return args;
  24795. }
  24796. };
  24797. var IfcConstructionEquipmentResourceType = class {
  24798. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType) {
  24799. this.expressID = expressID;
  24800. this.type = type;
  24801. this.GlobalId = GlobalId;
  24802. this.OwnerHistory = OwnerHistory;
  24803. this.Name = Name;
  24804. this.Description = Description;
  24805. this.ApplicableOccurrence = ApplicableOccurrence;
  24806. this.HasPropertySets = HasPropertySets;
  24807. this.Identification = Identification;
  24808. this.LongDescription = LongDescription;
  24809. this.ResourceType = ResourceType;
  24810. this.BaseCosts = BaseCosts;
  24811. this.BaseQuantity = BaseQuantity;
  24812. this.PredefinedType = PredefinedType;
  24813. }
  24814. static FromTape(expressID, type, tape) {
  24815. let ptr = 0;
  24816. let GlobalId = tape[ptr++];
  24817. let OwnerHistory = tape[ptr++];
  24818. let Name = tape[ptr++];
  24819. let Description = tape[ptr++];
  24820. let ApplicableOccurrence = tape[ptr++];
  24821. let HasPropertySets = tape[ptr++];
  24822. let Identification = tape[ptr++];
  24823. let LongDescription = tape[ptr++];
  24824. let ResourceType = tape[ptr++];
  24825. let BaseCosts = tape[ptr++];
  24826. let BaseQuantity = tape[ptr++];
  24827. let PredefinedType = tape[ptr++];
  24828. return new IfcConstructionEquipmentResourceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType);
  24829. }
  24830. ToTape() {
  24831. let args = [];
  24832. args.push(this.GlobalId);
  24833. ;
  24834. args.push(this.OwnerHistory);
  24835. ;
  24836. args.push(this.Name);
  24837. ;
  24838. args.push(this.Description);
  24839. ;
  24840. args.push(this.ApplicableOccurrence);
  24841. ;
  24842. args.push(this.HasPropertySets);
  24843. ;
  24844. args.push(this.Identification);
  24845. ;
  24846. args.push(this.LongDescription);
  24847. ;
  24848. args.push(this.ResourceType);
  24849. ;
  24850. args.push(this.BaseCosts);
  24851. ;
  24852. args.push(this.BaseQuantity);
  24853. ;
  24854. args.push(this.PredefinedType);
  24855. ;
  24856. return args;
  24857. }
  24858. };
  24859. var IfcConstructionMaterialResource = class {
  24860. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType) {
  24861. this.expressID = expressID;
  24862. this.type = type;
  24863. this.GlobalId = GlobalId;
  24864. this.OwnerHistory = OwnerHistory;
  24865. this.Name = Name;
  24866. this.Description = Description;
  24867. this.ObjectType = ObjectType;
  24868. this.Identification = Identification;
  24869. this.LongDescription = LongDescription;
  24870. this.Usage = Usage;
  24871. this.BaseCosts = BaseCosts;
  24872. this.BaseQuantity = BaseQuantity;
  24873. this.PredefinedType = PredefinedType;
  24874. }
  24875. static FromTape(expressID, type, tape) {
  24876. let ptr = 0;
  24877. let GlobalId = tape[ptr++];
  24878. let OwnerHistory = tape[ptr++];
  24879. let Name = tape[ptr++];
  24880. let Description = tape[ptr++];
  24881. let ObjectType = tape[ptr++];
  24882. let Identification = tape[ptr++];
  24883. let LongDescription = tape[ptr++];
  24884. let Usage = tape[ptr++];
  24885. let BaseCosts = tape[ptr++];
  24886. let BaseQuantity = tape[ptr++];
  24887. let PredefinedType = tape[ptr++];
  24888. return new IfcConstructionMaterialResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType);
  24889. }
  24890. ToTape() {
  24891. let args = [];
  24892. args.push(this.GlobalId);
  24893. ;
  24894. args.push(this.OwnerHistory);
  24895. ;
  24896. args.push(this.Name);
  24897. ;
  24898. args.push(this.Description);
  24899. ;
  24900. args.push(this.ObjectType);
  24901. ;
  24902. args.push(this.Identification);
  24903. ;
  24904. args.push(this.LongDescription);
  24905. ;
  24906. args.push(this.Usage);
  24907. ;
  24908. args.push(this.BaseCosts);
  24909. ;
  24910. args.push(this.BaseQuantity);
  24911. ;
  24912. args.push(this.PredefinedType);
  24913. ;
  24914. return args;
  24915. }
  24916. };
  24917. var IfcConstructionMaterialResourceType = class {
  24918. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType) {
  24919. this.expressID = expressID;
  24920. this.type = type;
  24921. this.GlobalId = GlobalId;
  24922. this.OwnerHistory = OwnerHistory;
  24923. this.Name = Name;
  24924. this.Description = Description;
  24925. this.ApplicableOccurrence = ApplicableOccurrence;
  24926. this.HasPropertySets = HasPropertySets;
  24927. this.Identification = Identification;
  24928. this.LongDescription = LongDescription;
  24929. this.ResourceType = ResourceType;
  24930. this.BaseCosts = BaseCosts;
  24931. this.BaseQuantity = BaseQuantity;
  24932. this.PredefinedType = PredefinedType;
  24933. }
  24934. static FromTape(expressID, type, tape) {
  24935. let ptr = 0;
  24936. let GlobalId = tape[ptr++];
  24937. let OwnerHistory = tape[ptr++];
  24938. let Name = tape[ptr++];
  24939. let Description = tape[ptr++];
  24940. let ApplicableOccurrence = tape[ptr++];
  24941. let HasPropertySets = tape[ptr++];
  24942. let Identification = tape[ptr++];
  24943. let LongDescription = tape[ptr++];
  24944. let ResourceType = tape[ptr++];
  24945. let BaseCosts = tape[ptr++];
  24946. let BaseQuantity = tape[ptr++];
  24947. let PredefinedType = tape[ptr++];
  24948. return new IfcConstructionMaterialResourceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType);
  24949. }
  24950. ToTape() {
  24951. let args = [];
  24952. args.push(this.GlobalId);
  24953. ;
  24954. args.push(this.OwnerHistory);
  24955. ;
  24956. args.push(this.Name);
  24957. ;
  24958. args.push(this.Description);
  24959. ;
  24960. args.push(this.ApplicableOccurrence);
  24961. ;
  24962. args.push(this.HasPropertySets);
  24963. ;
  24964. args.push(this.Identification);
  24965. ;
  24966. args.push(this.LongDescription);
  24967. ;
  24968. args.push(this.ResourceType);
  24969. ;
  24970. args.push(this.BaseCosts);
  24971. ;
  24972. args.push(this.BaseQuantity);
  24973. ;
  24974. args.push(this.PredefinedType);
  24975. ;
  24976. return args;
  24977. }
  24978. };
  24979. var IfcConstructionProductResource = class {
  24980. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType) {
  24981. this.expressID = expressID;
  24982. this.type = type;
  24983. this.GlobalId = GlobalId;
  24984. this.OwnerHistory = OwnerHistory;
  24985. this.Name = Name;
  24986. this.Description = Description;
  24987. this.ObjectType = ObjectType;
  24988. this.Identification = Identification;
  24989. this.LongDescription = LongDescription;
  24990. this.Usage = Usage;
  24991. this.BaseCosts = BaseCosts;
  24992. this.BaseQuantity = BaseQuantity;
  24993. this.PredefinedType = PredefinedType;
  24994. }
  24995. static FromTape(expressID, type, tape) {
  24996. let ptr = 0;
  24997. let GlobalId = tape[ptr++];
  24998. let OwnerHistory = tape[ptr++];
  24999. let Name = tape[ptr++];
  25000. let Description = tape[ptr++];
  25001. let ObjectType = tape[ptr++];
  25002. let Identification = tape[ptr++];
  25003. let LongDescription = tape[ptr++];
  25004. let Usage = tape[ptr++];
  25005. let BaseCosts = tape[ptr++];
  25006. let BaseQuantity = tape[ptr++];
  25007. let PredefinedType = tape[ptr++];
  25008. return new IfcConstructionProductResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType);
  25009. }
  25010. ToTape() {
  25011. let args = [];
  25012. args.push(this.GlobalId);
  25013. ;
  25014. args.push(this.OwnerHistory);
  25015. ;
  25016. args.push(this.Name);
  25017. ;
  25018. args.push(this.Description);
  25019. ;
  25020. args.push(this.ObjectType);
  25021. ;
  25022. args.push(this.Identification);
  25023. ;
  25024. args.push(this.LongDescription);
  25025. ;
  25026. args.push(this.Usage);
  25027. ;
  25028. args.push(this.BaseCosts);
  25029. ;
  25030. args.push(this.BaseQuantity);
  25031. ;
  25032. args.push(this.PredefinedType);
  25033. ;
  25034. return args;
  25035. }
  25036. };
  25037. var IfcConstructionProductResourceType = class {
  25038. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType) {
  25039. this.expressID = expressID;
  25040. this.type = type;
  25041. this.GlobalId = GlobalId;
  25042. this.OwnerHistory = OwnerHistory;
  25043. this.Name = Name;
  25044. this.Description = Description;
  25045. this.ApplicableOccurrence = ApplicableOccurrence;
  25046. this.HasPropertySets = HasPropertySets;
  25047. this.Identification = Identification;
  25048. this.LongDescription = LongDescription;
  25049. this.ResourceType = ResourceType;
  25050. this.BaseCosts = BaseCosts;
  25051. this.BaseQuantity = BaseQuantity;
  25052. this.PredefinedType = PredefinedType;
  25053. }
  25054. static FromTape(expressID, type, tape) {
  25055. let ptr = 0;
  25056. let GlobalId = tape[ptr++];
  25057. let OwnerHistory = tape[ptr++];
  25058. let Name = tape[ptr++];
  25059. let Description = tape[ptr++];
  25060. let ApplicableOccurrence = tape[ptr++];
  25061. let HasPropertySets = tape[ptr++];
  25062. let Identification = tape[ptr++];
  25063. let LongDescription = tape[ptr++];
  25064. let ResourceType = tape[ptr++];
  25065. let BaseCosts = tape[ptr++];
  25066. let BaseQuantity = tape[ptr++];
  25067. let PredefinedType = tape[ptr++];
  25068. return new IfcConstructionProductResourceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType);
  25069. }
  25070. ToTape() {
  25071. let args = [];
  25072. args.push(this.GlobalId);
  25073. ;
  25074. args.push(this.OwnerHistory);
  25075. ;
  25076. args.push(this.Name);
  25077. ;
  25078. args.push(this.Description);
  25079. ;
  25080. args.push(this.ApplicableOccurrence);
  25081. ;
  25082. args.push(this.HasPropertySets);
  25083. ;
  25084. args.push(this.Identification);
  25085. ;
  25086. args.push(this.LongDescription);
  25087. ;
  25088. args.push(this.ResourceType);
  25089. ;
  25090. args.push(this.BaseCosts);
  25091. ;
  25092. args.push(this.BaseQuantity);
  25093. ;
  25094. args.push(this.PredefinedType);
  25095. ;
  25096. return args;
  25097. }
  25098. };
  25099. var IfcConstructionResource = class {
  25100. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity) {
  25101. this.expressID = expressID;
  25102. this.type = type;
  25103. this.GlobalId = GlobalId;
  25104. this.OwnerHistory = OwnerHistory;
  25105. this.Name = Name;
  25106. this.Description = Description;
  25107. this.ObjectType = ObjectType;
  25108. this.Identification = Identification;
  25109. this.LongDescription = LongDescription;
  25110. this.Usage = Usage;
  25111. this.BaseCosts = BaseCosts;
  25112. this.BaseQuantity = BaseQuantity;
  25113. }
  25114. static FromTape(expressID, type, tape) {
  25115. let ptr = 0;
  25116. let GlobalId = tape[ptr++];
  25117. let OwnerHistory = tape[ptr++];
  25118. let Name = tape[ptr++];
  25119. let Description = tape[ptr++];
  25120. let ObjectType = tape[ptr++];
  25121. let Identification = tape[ptr++];
  25122. let LongDescription = tape[ptr++];
  25123. let Usage = tape[ptr++];
  25124. let BaseCosts = tape[ptr++];
  25125. let BaseQuantity = tape[ptr++];
  25126. return new IfcConstructionResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity);
  25127. }
  25128. ToTape() {
  25129. let args = [];
  25130. args.push(this.GlobalId);
  25131. ;
  25132. args.push(this.OwnerHistory);
  25133. ;
  25134. args.push(this.Name);
  25135. ;
  25136. args.push(this.Description);
  25137. ;
  25138. args.push(this.ObjectType);
  25139. ;
  25140. args.push(this.Identification);
  25141. ;
  25142. args.push(this.LongDescription);
  25143. ;
  25144. args.push(this.Usage);
  25145. ;
  25146. args.push(this.BaseCosts);
  25147. ;
  25148. args.push(this.BaseQuantity);
  25149. ;
  25150. return args;
  25151. }
  25152. };
  25153. var IfcConstructionResourceType = class {
  25154. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity) {
  25155. this.expressID = expressID;
  25156. this.type = type;
  25157. this.GlobalId = GlobalId;
  25158. this.OwnerHistory = OwnerHistory;
  25159. this.Name = Name;
  25160. this.Description = Description;
  25161. this.ApplicableOccurrence = ApplicableOccurrence;
  25162. this.HasPropertySets = HasPropertySets;
  25163. this.Identification = Identification;
  25164. this.LongDescription = LongDescription;
  25165. this.ResourceType = ResourceType;
  25166. this.BaseCosts = BaseCosts;
  25167. this.BaseQuantity = BaseQuantity;
  25168. }
  25169. static FromTape(expressID, type, tape) {
  25170. let ptr = 0;
  25171. let GlobalId = tape[ptr++];
  25172. let OwnerHistory = tape[ptr++];
  25173. let Name = tape[ptr++];
  25174. let Description = tape[ptr++];
  25175. let ApplicableOccurrence = tape[ptr++];
  25176. let HasPropertySets = tape[ptr++];
  25177. let Identification = tape[ptr++];
  25178. let LongDescription = tape[ptr++];
  25179. let ResourceType = tape[ptr++];
  25180. let BaseCosts = tape[ptr++];
  25181. let BaseQuantity = tape[ptr++];
  25182. return new IfcConstructionResourceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity);
  25183. }
  25184. ToTape() {
  25185. let args = [];
  25186. args.push(this.GlobalId);
  25187. ;
  25188. args.push(this.OwnerHistory);
  25189. ;
  25190. args.push(this.Name);
  25191. ;
  25192. args.push(this.Description);
  25193. ;
  25194. args.push(this.ApplicableOccurrence);
  25195. ;
  25196. args.push(this.HasPropertySets);
  25197. ;
  25198. args.push(this.Identification);
  25199. ;
  25200. args.push(this.LongDescription);
  25201. ;
  25202. args.push(this.ResourceType);
  25203. ;
  25204. args.push(this.BaseCosts);
  25205. ;
  25206. args.push(this.BaseQuantity);
  25207. ;
  25208. return args;
  25209. }
  25210. };
  25211. var IfcContext = class {
  25212. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, Phase, RepresentationContexts, UnitsInContext) {
  25213. this.expressID = expressID;
  25214. this.type = type;
  25215. this.GlobalId = GlobalId;
  25216. this.OwnerHistory = OwnerHistory;
  25217. this.Name = Name;
  25218. this.Description = Description;
  25219. this.ObjectType = ObjectType;
  25220. this.LongName = LongName;
  25221. this.Phase = Phase;
  25222. this.RepresentationContexts = RepresentationContexts;
  25223. this.UnitsInContext = UnitsInContext;
  25224. }
  25225. static FromTape(expressID, type, tape) {
  25226. let ptr = 0;
  25227. let GlobalId = tape[ptr++];
  25228. let OwnerHistory = tape[ptr++];
  25229. let Name = tape[ptr++];
  25230. let Description = tape[ptr++];
  25231. let ObjectType = tape[ptr++];
  25232. let LongName = tape[ptr++];
  25233. let Phase = tape[ptr++];
  25234. let RepresentationContexts = tape[ptr++];
  25235. let UnitsInContext = tape[ptr++];
  25236. return new IfcContext(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, Phase, RepresentationContexts, UnitsInContext);
  25237. }
  25238. ToTape() {
  25239. let args = [];
  25240. args.push(this.GlobalId);
  25241. ;
  25242. args.push(this.OwnerHistory);
  25243. ;
  25244. args.push(this.Name);
  25245. ;
  25246. args.push(this.Description);
  25247. ;
  25248. args.push(this.ObjectType);
  25249. ;
  25250. args.push(this.LongName);
  25251. ;
  25252. args.push(this.Phase);
  25253. ;
  25254. args.push(this.RepresentationContexts);
  25255. ;
  25256. args.push(this.UnitsInContext);
  25257. ;
  25258. return args;
  25259. }
  25260. };
  25261. var IfcContextDependentUnit = class {
  25262. constructor(expressID, type, Dimensions, UnitType, Name) {
  25263. this.expressID = expressID;
  25264. this.type = type;
  25265. this.Dimensions = Dimensions;
  25266. this.UnitType = UnitType;
  25267. this.Name = Name;
  25268. }
  25269. static FromTape(expressID, type, tape) {
  25270. let ptr = 0;
  25271. let Dimensions = tape[ptr++];
  25272. let UnitType = tape[ptr++];
  25273. let Name = tape[ptr++];
  25274. return new IfcContextDependentUnit(expressID, type, Dimensions, UnitType, Name);
  25275. }
  25276. ToTape() {
  25277. let args = [];
  25278. args.push(this.Dimensions);
  25279. ;
  25280. args.push(this.UnitType);
  25281. ;
  25282. args.push(this.Name);
  25283. ;
  25284. return args;
  25285. }
  25286. };
  25287. var IfcControl = class {
  25288. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification) {
  25289. this.expressID = expressID;
  25290. this.type = type;
  25291. this.GlobalId = GlobalId;
  25292. this.OwnerHistory = OwnerHistory;
  25293. this.Name = Name;
  25294. this.Description = Description;
  25295. this.ObjectType = ObjectType;
  25296. this.Identification = Identification;
  25297. }
  25298. static FromTape(expressID, type, tape) {
  25299. let ptr = 0;
  25300. let GlobalId = tape[ptr++];
  25301. let OwnerHistory = tape[ptr++];
  25302. let Name = tape[ptr++];
  25303. let Description = tape[ptr++];
  25304. let ObjectType = tape[ptr++];
  25305. let Identification = tape[ptr++];
  25306. return new IfcControl(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification);
  25307. }
  25308. ToTape() {
  25309. let args = [];
  25310. args.push(this.GlobalId);
  25311. ;
  25312. args.push(this.OwnerHistory);
  25313. ;
  25314. args.push(this.Name);
  25315. ;
  25316. args.push(this.Description);
  25317. ;
  25318. args.push(this.ObjectType);
  25319. ;
  25320. args.push(this.Identification);
  25321. ;
  25322. return args;
  25323. }
  25324. };
  25325. var IfcController = class {
  25326. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  25327. this.expressID = expressID;
  25328. this.type = type;
  25329. this.GlobalId = GlobalId;
  25330. this.OwnerHistory = OwnerHistory;
  25331. this.Name = Name;
  25332. this.Description = Description;
  25333. this.ObjectType = ObjectType;
  25334. this.ObjectPlacement = ObjectPlacement;
  25335. this.Representation = Representation;
  25336. this.Tag = Tag;
  25337. this.PredefinedType = PredefinedType;
  25338. }
  25339. static FromTape(expressID, type, tape) {
  25340. let ptr = 0;
  25341. let GlobalId = tape[ptr++];
  25342. let OwnerHistory = tape[ptr++];
  25343. let Name = tape[ptr++];
  25344. let Description = tape[ptr++];
  25345. let ObjectType = tape[ptr++];
  25346. let ObjectPlacement = tape[ptr++];
  25347. let Representation = tape[ptr++];
  25348. let Tag = tape[ptr++];
  25349. let PredefinedType = tape[ptr++];
  25350. return new IfcController(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  25351. }
  25352. ToTape() {
  25353. let args = [];
  25354. args.push(this.GlobalId);
  25355. ;
  25356. args.push(this.OwnerHistory);
  25357. ;
  25358. args.push(this.Name);
  25359. ;
  25360. args.push(this.Description);
  25361. ;
  25362. args.push(this.ObjectType);
  25363. ;
  25364. args.push(this.ObjectPlacement);
  25365. ;
  25366. args.push(this.Representation);
  25367. ;
  25368. args.push(this.Tag);
  25369. ;
  25370. args.push(this.PredefinedType);
  25371. ;
  25372. return args;
  25373. }
  25374. };
  25375. var IfcControllerType = class {
  25376. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  25377. this.expressID = expressID;
  25378. this.type = type;
  25379. this.GlobalId = GlobalId;
  25380. this.OwnerHistory = OwnerHistory;
  25381. this.Name = Name;
  25382. this.Description = Description;
  25383. this.ApplicableOccurrence = ApplicableOccurrence;
  25384. this.HasPropertySets = HasPropertySets;
  25385. this.RepresentationMaps = RepresentationMaps;
  25386. this.Tag = Tag;
  25387. this.ElementType = ElementType;
  25388. this.PredefinedType = PredefinedType;
  25389. }
  25390. static FromTape(expressID, type, tape) {
  25391. let ptr = 0;
  25392. let GlobalId = tape[ptr++];
  25393. let OwnerHistory = tape[ptr++];
  25394. let Name = tape[ptr++];
  25395. let Description = tape[ptr++];
  25396. let ApplicableOccurrence = tape[ptr++];
  25397. let HasPropertySets = tape[ptr++];
  25398. let RepresentationMaps = tape[ptr++];
  25399. let Tag = tape[ptr++];
  25400. let ElementType = tape[ptr++];
  25401. let PredefinedType = tape[ptr++];
  25402. return new IfcControllerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  25403. }
  25404. ToTape() {
  25405. let args = [];
  25406. args.push(this.GlobalId);
  25407. ;
  25408. args.push(this.OwnerHistory);
  25409. ;
  25410. args.push(this.Name);
  25411. ;
  25412. args.push(this.Description);
  25413. ;
  25414. args.push(this.ApplicableOccurrence);
  25415. ;
  25416. args.push(this.HasPropertySets);
  25417. ;
  25418. args.push(this.RepresentationMaps);
  25419. ;
  25420. args.push(this.Tag);
  25421. ;
  25422. args.push(this.ElementType);
  25423. ;
  25424. args.push(this.PredefinedType);
  25425. ;
  25426. return args;
  25427. }
  25428. };
  25429. var IfcConversionBasedUnit = class {
  25430. constructor(expressID, type, Dimensions, UnitType, Name, ConversionFactor) {
  25431. this.expressID = expressID;
  25432. this.type = type;
  25433. this.Dimensions = Dimensions;
  25434. this.UnitType = UnitType;
  25435. this.Name = Name;
  25436. this.ConversionFactor = ConversionFactor;
  25437. }
  25438. static FromTape(expressID, type, tape) {
  25439. let ptr = 0;
  25440. let Dimensions = tape[ptr++];
  25441. let UnitType = tape[ptr++];
  25442. let Name = tape[ptr++];
  25443. let ConversionFactor = tape[ptr++];
  25444. return new IfcConversionBasedUnit(expressID, type, Dimensions, UnitType, Name, ConversionFactor);
  25445. }
  25446. ToTape() {
  25447. let args = [];
  25448. args.push(this.Dimensions);
  25449. ;
  25450. args.push(this.UnitType);
  25451. ;
  25452. args.push(this.Name);
  25453. ;
  25454. args.push(this.ConversionFactor);
  25455. ;
  25456. return args;
  25457. }
  25458. };
  25459. var IfcConversionBasedUnitWithOffset = class {
  25460. constructor(expressID, type, Dimensions, UnitType, Name, ConversionFactor, ConversionOffset) {
  25461. this.expressID = expressID;
  25462. this.type = type;
  25463. this.Dimensions = Dimensions;
  25464. this.UnitType = UnitType;
  25465. this.Name = Name;
  25466. this.ConversionFactor = ConversionFactor;
  25467. this.ConversionOffset = ConversionOffset;
  25468. }
  25469. static FromTape(expressID, type, tape) {
  25470. let ptr = 0;
  25471. let Dimensions = tape[ptr++];
  25472. let UnitType = tape[ptr++];
  25473. let Name = tape[ptr++];
  25474. let ConversionFactor = tape[ptr++];
  25475. let ConversionOffset = tape[ptr++];
  25476. return new IfcConversionBasedUnitWithOffset(expressID, type, Dimensions, UnitType, Name, ConversionFactor, ConversionOffset);
  25477. }
  25478. ToTape() {
  25479. let args = [];
  25480. args.push(this.Dimensions);
  25481. ;
  25482. args.push(this.UnitType);
  25483. ;
  25484. args.push(this.Name);
  25485. ;
  25486. args.push(this.ConversionFactor);
  25487. ;
  25488. args.push(this.ConversionOffset);
  25489. ;
  25490. return args;
  25491. }
  25492. };
  25493. var IfcCooledBeam = class {
  25494. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  25495. this.expressID = expressID;
  25496. this.type = type;
  25497. this.GlobalId = GlobalId;
  25498. this.OwnerHistory = OwnerHistory;
  25499. this.Name = Name;
  25500. this.Description = Description;
  25501. this.ObjectType = ObjectType;
  25502. this.ObjectPlacement = ObjectPlacement;
  25503. this.Representation = Representation;
  25504. this.Tag = Tag;
  25505. this.PredefinedType = PredefinedType;
  25506. }
  25507. static FromTape(expressID, type, tape) {
  25508. let ptr = 0;
  25509. let GlobalId = tape[ptr++];
  25510. let OwnerHistory = tape[ptr++];
  25511. let Name = tape[ptr++];
  25512. let Description = tape[ptr++];
  25513. let ObjectType = tape[ptr++];
  25514. let ObjectPlacement = tape[ptr++];
  25515. let Representation = tape[ptr++];
  25516. let Tag = tape[ptr++];
  25517. let PredefinedType = tape[ptr++];
  25518. return new IfcCooledBeam(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  25519. }
  25520. ToTape() {
  25521. let args = [];
  25522. args.push(this.GlobalId);
  25523. ;
  25524. args.push(this.OwnerHistory);
  25525. ;
  25526. args.push(this.Name);
  25527. ;
  25528. args.push(this.Description);
  25529. ;
  25530. args.push(this.ObjectType);
  25531. ;
  25532. args.push(this.ObjectPlacement);
  25533. ;
  25534. args.push(this.Representation);
  25535. ;
  25536. args.push(this.Tag);
  25537. ;
  25538. args.push(this.PredefinedType);
  25539. ;
  25540. return args;
  25541. }
  25542. };
  25543. var IfcCooledBeamType = class {
  25544. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  25545. this.expressID = expressID;
  25546. this.type = type;
  25547. this.GlobalId = GlobalId;
  25548. this.OwnerHistory = OwnerHistory;
  25549. this.Name = Name;
  25550. this.Description = Description;
  25551. this.ApplicableOccurrence = ApplicableOccurrence;
  25552. this.HasPropertySets = HasPropertySets;
  25553. this.RepresentationMaps = RepresentationMaps;
  25554. this.Tag = Tag;
  25555. this.ElementType = ElementType;
  25556. this.PredefinedType = PredefinedType;
  25557. }
  25558. static FromTape(expressID, type, tape) {
  25559. let ptr = 0;
  25560. let GlobalId = tape[ptr++];
  25561. let OwnerHistory = tape[ptr++];
  25562. let Name = tape[ptr++];
  25563. let Description = tape[ptr++];
  25564. let ApplicableOccurrence = tape[ptr++];
  25565. let HasPropertySets = tape[ptr++];
  25566. let RepresentationMaps = tape[ptr++];
  25567. let Tag = tape[ptr++];
  25568. let ElementType = tape[ptr++];
  25569. let PredefinedType = tape[ptr++];
  25570. return new IfcCooledBeamType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  25571. }
  25572. ToTape() {
  25573. let args = [];
  25574. args.push(this.GlobalId);
  25575. ;
  25576. args.push(this.OwnerHistory);
  25577. ;
  25578. args.push(this.Name);
  25579. ;
  25580. args.push(this.Description);
  25581. ;
  25582. args.push(this.ApplicableOccurrence);
  25583. ;
  25584. args.push(this.HasPropertySets);
  25585. ;
  25586. args.push(this.RepresentationMaps);
  25587. ;
  25588. args.push(this.Tag);
  25589. ;
  25590. args.push(this.ElementType);
  25591. ;
  25592. args.push(this.PredefinedType);
  25593. ;
  25594. return args;
  25595. }
  25596. };
  25597. var IfcCoolingTower = class {
  25598. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  25599. this.expressID = expressID;
  25600. this.type = type;
  25601. this.GlobalId = GlobalId;
  25602. this.OwnerHistory = OwnerHistory;
  25603. this.Name = Name;
  25604. this.Description = Description;
  25605. this.ObjectType = ObjectType;
  25606. this.ObjectPlacement = ObjectPlacement;
  25607. this.Representation = Representation;
  25608. this.Tag = Tag;
  25609. this.PredefinedType = PredefinedType;
  25610. }
  25611. static FromTape(expressID, type, tape) {
  25612. let ptr = 0;
  25613. let GlobalId = tape[ptr++];
  25614. let OwnerHistory = tape[ptr++];
  25615. let Name = tape[ptr++];
  25616. let Description = tape[ptr++];
  25617. let ObjectType = tape[ptr++];
  25618. let ObjectPlacement = tape[ptr++];
  25619. let Representation = tape[ptr++];
  25620. let Tag = tape[ptr++];
  25621. let PredefinedType = tape[ptr++];
  25622. return new IfcCoolingTower(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  25623. }
  25624. ToTape() {
  25625. let args = [];
  25626. args.push(this.GlobalId);
  25627. ;
  25628. args.push(this.OwnerHistory);
  25629. ;
  25630. args.push(this.Name);
  25631. ;
  25632. args.push(this.Description);
  25633. ;
  25634. args.push(this.ObjectType);
  25635. ;
  25636. args.push(this.ObjectPlacement);
  25637. ;
  25638. args.push(this.Representation);
  25639. ;
  25640. args.push(this.Tag);
  25641. ;
  25642. args.push(this.PredefinedType);
  25643. ;
  25644. return args;
  25645. }
  25646. };
  25647. var IfcCoolingTowerType = class {
  25648. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  25649. this.expressID = expressID;
  25650. this.type = type;
  25651. this.GlobalId = GlobalId;
  25652. this.OwnerHistory = OwnerHistory;
  25653. this.Name = Name;
  25654. this.Description = Description;
  25655. this.ApplicableOccurrence = ApplicableOccurrence;
  25656. this.HasPropertySets = HasPropertySets;
  25657. this.RepresentationMaps = RepresentationMaps;
  25658. this.Tag = Tag;
  25659. this.ElementType = ElementType;
  25660. this.PredefinedType = PredefinedType;
  25661. }
  25662. static FromTape(expressID, type, tape) {
  25663. let ptr = 0;
  25664. let GlobalId = tape[ptr++];
  25665. let OwnerHistory = tape[ptr++];
  25666. let Name = tape[ptr++];
  25667. let Description = tape[ptr++];
  25668. let ApplicableOccurrence = tape[ptr++];
  25669. let HasPropertySets = tape[ptr++];
  25670. let RepresentationMaps = tape[ptr++];
  25671. let Tag = tape[ptr++];
  25672. let ElementType = tape[ptr++];
  25673. let PredefinedType = tape[ptr++];
  25674. return new IfcCoolingTowerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  25675. }
  25676. ToTape() {
  25677. let args = [];
  25678. args.push(this.GlobalId);
  25679. ;
  25680. args.push(this.OwnerHistory);
  25681. ;
  25682. args.push(this.Name);
  25683. ;
  25684. args.push(this.Description);
  25685. ;
  25686. args.push(this.ApplicableOccurrence);
  25687. ;
  25688. args.push(this.HasPropertySets);
  25689. ;
  25690. args.push(this.RepresentationMaps);
  25691. ;
  25692. args.push(this.Tag);
  25693. ;
  25694. args.push(this.ElementType);
  25695. ;
  25696. args.push(this.PredefinedType);
  25697. ;
  25698. return args;
  25699. }
  25700. };
  25701. var IfcCoordinateOperation = class {
  25702. constructor(expressID, type, SourceCRS, TargetCRS) {
  25703. this.expressID = expressID;
  25704. this.type = type;
  25705. this.SourceCRS = SourceCRS;
  25706. this.TargetCRS = TargetCRS;
  25707. }
  25708. static FromTape(expressID, type, tape) {
  25709. let ptr = 0;
  25710. let SourceCRS = tape[ptr++];
  25711. let TargetCRS = tape[ptr++];
  25712. return new IfcCoordinateOperation(expressID, type, SourceCRS, TargetCRS);
  25713. }
  25714. ToTape() {
  25715. let args = [];
  25716. args.push(this.SourceCRS);
  25717. ;
  25718. args.push(this.TargetCRS);
  25719. ;
  25720. return args;
  25721. }
  25722. };
  25723. var IfcCoordinateReferenceSystem = class {
  25724. constructor(expressID, type, Name, Description, GeodeticDatum, VerticalDatum) {
  25725. this.expressID = expressID;
  25726. this.type = type;
  25727. this.Name = Name;
  25728. this.Description = Description;
  25729. this.GeodeticDatum = GeodeticDatum;
  25730. this.VerticalDatum = VerticalDatum;
  25731. }
  25732. static FromTape(expressID, type, tape) {
  25733. let ptr = 0;
  25734. let Name = tape[ptr++];
  25735. let Description = tape[ptr++];
  25736. let GeodeticDatum = tape[ptr++];
  25737. let VerticalDatum = tape[ptr++];
  25738. return new IfcCoordinateReferenceSystem(expressID, type, Name, Description, GeodeticDatum, VerticalDatum);
  25739. }
  25740. ToTape() {
  25741. let args = [];
  25742. args.push(this.Name);
  25743. ;
  25744. args.push(this.Description);
  25745. ;
  25746. args.push(this.GeodeticDatum);
  25747. ;
  25748. args.push(this.VerticalDatum);
  25749. ;
  25750. return args;
  25751. }
  25752. };
  25753. var IfcCostItem = class {
  25754. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, CostValues, CostQuantities) {
  25755. this.expressID = expressID;
  25756. this.type = type;
  25757. this.GlobalId = GlobalId;
  25758. this.OwnerHistory = OwnerHistory;
  25759. this.Name = Name;
  25760. this.Description = Description;
  25761. this.ObjectType = ObjectType;
  25762. this.Identification = Identification;
  25763. this.PredefinedType = PredefinedType;
  25764. this.CostValues = CostValues;
  25765. this.CostQuantities = CostQuantities;
  25766. }
  25767. static FromTape(expressID, type, tape) {
  25768. let ptr = 0;
  25769. let GlobalId = tape[ptr++];
  25770. let OwnerHistory = tape[ptr++];
  25771. let Name = tape[ptr++];
  25772. let Description = tape[ptr++];
  25773. let ObjectType = tape[ptr++];
  25774. let Identification = tape[ptr++];
  25775. let PredefinedType = tape[ptr++];
  25776. let CostValues = tape[ptr++];
  25777. let CostQuantities = tape[ptr++];
  25778. return new IfcCostItem(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, CostValues, CostQuantities);
  25779. }
  25780. ToTape() {
  25781. let args = [];
  25782. args.push(this.GlobalId);
  25783. ;
  25784. args.push(this.OwnerHistory);
  25785. ;
  25786. args.push(this.Name);
  25787. ;
  25788. args.push(this.Description);
  25789. ;
  25790. args.push(this.ObjectType);
  25791. ;
  25792. args.push(this.Identification);
  25793. ;
  25794. args.push(this.PredefinedType);
  25795. ;
  25796. args.push(this.CostValues);
  25797. ;
  25798. args.push(this.CostQuantities);
  25799. ;
  25800. return args;
  25801. }
  25802. };
  25803. var IfcCostSchedule = class {
  25804. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, Status, SubmittedOn, UpdateDate) {
  25805. this.expressID = expressID;
  25806. this.type = type;
  25807. this.GlobalId = GlobalId;
  25808. this.OwnerHistory = OwnerHistory;
  25809. this.Name = Name;
  25810. this.Description = Description;
  25811. this.ObjectType = ObjectType;
  25812. this.Identification = Identification;
  25813. this.PredefinedType = PredefinedType;
  25814. this.Status = Status;
  25815. this.SubmittedOn = SubmittedOn;
  25816. this.UpdateDate = UpdateDate;
  25817. }
  25818. static FromTape(expressID, type, tape) {
  25819. let ptr = 0;
  25820. let GlobalId = tape[ptr++];
  25821. let OwnerHistory = tape[ptr++];
  25822. let Name = tape[ptr++];
  25823. let Description = tape[ptr++];
  25824. let ObjectType = tape[ptr++];
  25825. let Identification = tape[ptr++];
  25826. let PredefinedType = tape[ptr++];
  25827. let Status = tape[ptr++];
  25828. let SubmittedOn = tape[ptr++];
  25829. let UpdateDate = tape[ptr++];
  25830. return new IfcCostSchedule(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, Status, SubmittedOn, UpdateDate);
  25831. }
  25832. ToTape() {
  25833. let args = [];
  25834. args.push(this.GlobalId);
  25835. ;
  25836. args.push(this.OwnerHistory);
  25837. ;
  25838. args.push(this.Name);
  25839. ;
  25840. args.push(this.Description);
  25841. ;
  25842. args.push(this.ObjectType);
  25843. ;
  25844. args.push(this.Identification);
  25845. ;
  25846. args.push(this.PredefinedType);
  25847. ;
  25848. args.push(this.Status);
  25849. ;
  25850. args.push(this.SubmittedOn);
  25851. ;
  25852. args.push(this.UpdateDate);
  25853. ;
  25854. return args;
  25855. }
  25856. };
  25857. var IfcCostValue = class {
  25858. constructor(expressID, type, Name, Description, AppliedValue, UnitBasis, ApplicableDate, FixedUntilDate, Category, Condition, ArithmeticOperator, Components) {
  25859. this.expressID = expressID;
  25860. this.type = type;
  25861. this.Name = Name;
  25862. this.Description = Description;
  25863. this.AppliedValue = AppliedValue;
  25864. this.UnitBasis = UnitBasis;
  25865. this.ApplicableDate = ApplicableDate;
  25866. this.FixedUntilDate = FixedUntilDate;
  25867. this.Category = Category;
  25868. this.Condition = Condition;
  25869. this.ArithmeticOperator = ArithmeticOperator;
  25870. this.Components = Components;
  25871. }
  25872. static FromTape(expressID, type, tape) {
  25873. let ptr = 0;
  25874. let Name = tape[ptr++];
  25875. let Description = tape[ptr++];
  25876. let AppliedValue = tape[ptr++];
  25877. let UnitBasis = tape[ptr++];
  25878. let ApplicableDate = tape[ptr++];
  25879. let FixedUntilDate = tape[ptr++];
  25880. let Category = tape[ptr++];
  25881. let Condition = tape[ptr++];
  25882. let ArithmeticOperator = tape[ptr++];
  25883. let Components = tape[ptr++];
  25884. return new IfcCostValue(expressID, type, Name, Description, AppliedValue, UnitBasis, ApplicableDate, FixedUntilDate, Category, Condition, ArithmeticOperator, Components);
  25885. }
  25886. ToTape() {
  25887. let args = [];
  25888. args.push(this.Name);
  25889. ;
  25890. args.push(this.Description);
  25891. ;
  25892. args.push(this.AppliedValue);
  25893. ;
  25894. args.push(this.UnitBasis);
  25895. ;
  25896. args.push(this.ApplicableDate);
  25897. ;
  25898. args.push(this.FixedUntilDate);
  25899. ;
  25900. args.push(this.Category);
  25901. ;
  25902. args.push(this.Condition);
  25903. ;
  25904. args.push(this.ArithmeticOperator);
  25905. ;
  25906. args.push(this.Components);
  25907. ;
  25908. return args;
  25909. }
  25910. };
  25911. var IfcCovering = class {
  25912. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  25913. this.expressID = expressID;
  25914. this.type = type;
  25915. this.GlobalId = GlobalId;
  25916. this.OwnerHistory = OwnerHistory;
  25917. this.Name = Name;
  25918. this.Description = Description;
  25919. this.ObjectType = ObjectType;
  25920. this.ObjectPlacement = ObjectPlacement;
  25921. this.Representation = Representation;
  25922. this.Tag = Tag;
  25923. this.PredefinedType = PredefinedType;
  25924. }
  25925. static FromTape(expressID, type, tape) {
  25926. let ptr = 0;
  25927. let GlobalId = tape[ptr++];
  25928. let OwnerHistory = tape[ptr++];
  25929. let Name = tape[ptr++];
  25930. let Description = tape[ptr++];
  25931. let ObjectType = tape[ptr++];
  25932. let ObjectPlacement = tape[ptr++];
  25933. let Representation = tape[ptr++];
  25934. let Tag = tape[ptr++];
  25935. let PredefinedType = tape[ptr++];
  25936. return new IfcCovering(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  25937. }
  25938. ToTape() {
  25939. let args = [];
  25940. args.push(this.GlobalId);
  25941. ;
  25942. args.push(this.OwnerHistory);
  25943. ;
  25944. args.push(this.Name);
  25945. ;
  25946. args.push(this.Description);
  25947. ;
  25948. args.push(this.ObjectType);
  25949. ;
  25950. args.push(this.ObjectPlacement);
  25951. ;
  25952. args.push(this.Representation);
  25953. ;
  25954. args.push(this.Tag);
  25955. ;
  25956. args.push(this.PredefinedType);
  25957. ;
  25958. return args;
  25959. }
  25960. };
  25961. var IfcCoveringType = class {
  25962. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  25963. this.expressID = expressID;
  25964. this.type = type;
  25965. this.GlobalId = GlobalId;
  25966. this.OwnerHistory = OwnerHistory;
  25967. this.Name = Name;
  25968. this.Description = Description;
  25969. this.ApplicableOccurrence = ApplicableOccurrence;
  25970. this.HasPropertySets = HasPropertySets;
  25971. this.RepresentationMaps = RepresentationMaps;
  25972. this.Tag = Tag;
  25973. this.ElementType = ElementType;
  25974. this.PredefinedType = PredefinedType;
  25975. }
  25976. static FromTape(expressID, type, tape) {
  25977. let ptr = 0;
  25978. let GlobalId = tape[ptr++];
  25979. let OwnerHistory = tape[ptr++];
  25980. let Name = tape[ptr++];
  25981. let Description = tape[ptr++];
  25982. let ApplicableOccurrence = tape[ptr++];
  25983. let HasPropertySets = tape[ptr++];
  25984. let RepresentationMaps = tape[ptr++];
  25985. let Tag = tape[ptr++];
  25986. let ElementType = tape[ptr++];
  25987. let PredefinedType = tape[ptr++];
  25988. return new IfcCoveringType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  25989. }
  25990. ToTape() {
  25991. let args = [];
  25992. args.push(this.GlobalId);
  25993. ;
  25994. args.push(this.OwnerHistory);
  25995. ;
  25996. args.push(this.Name);
  25997. ;
  25998. args.push(this.Description);
  25999. ;
  26000. args.push(this.ApplicableOccurrence);
  26001. ;
  26002. args.push(this.HasPropertySets);
  26003. ;
  26004. args.push(this.RepresentationMaps);
  26005. ;
  26006. args.push(this.Tag);
  26007. ;
  26008. args.push(this.ElementType);
  26009. ;
  26010. args.push(this.PredefinedType);
  26011. ;
  26012. return args;
  26013. }
  26014. };
  26015. var IfcCrewResource = class {
  26016. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType) {
  26017. this.expressID = expressID;
  26018. this.type = type;
  26019. this.GlobalId = GlobalId;
  26020. this.OwnerHistory = OwnerHistory;
  26021. this.Name = Name;
  26022. this.Description = Description;
  26023. this.ObjectType = ObjectType;
  26024. this.Identification = Identification;
  26025. this.LongDescription = LongDescription;
  26026. this.Usage = Usage;
  26027. this.BaseCosts = BaseCosts;
  26028. this.BaseQuantity = BaseQuantity;
  26029. this.PredefinedType = PredefinedType;
  26030. }
  26031. static FromTape(expressID, type, tape) {
  26032. let ptr = 0;
  26033. let GlobalId = tape[ptr++];
  26034. let OwnerHistory = tape[ptr++];
  26035. let Name = tape[ptr++];
  26036. let Description = tape[ptr++];
  26037. let ObjectType = tape[ptr++];
  26038. let Identification = tape[ptr++];
  26039. let LongDescription = tape[ptr++];
  26040. let Usage = tape[ptr++];
  26041. let BaseCosts = tape[ptr++];
  26042. let BaseQuantity = tape[ptr++];
  26043. let PredefinedType = tape[ptr++];
  26044. return new IfcCrewResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType);
  26045. }
  26046. ToTape() {
  26047. let args = [];
  26048. args.push(this.GlobalId);
  26049. ;
  26050. args.push(this.OwnerHistory);
  26051. ;
  26052. args.push(this.Name);
  26053. ;
  26054. args.push(this.Description);
  26055. ;
  26056. args.push(this.ObjectType);
  26057. ;
  26058. args.push(this.Identification);
  26059. ;
  26060. args.push(this.LongDescription);
  26061. ;
  26062. args.push(this.Usage);
  26063. ;
  26064. args.push(this.BaseCosts);
  26065. ;
  26066. args.push(this.BaseQuantity);
  26067. ;
  26068. args.push(this.PredefinedType);
  26069. ;
  26070. return args;
  26071. }
  26072. };
  26073. var IfcCrewResourceType = class {
  26074. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType) {
  26075. this.expressID = expressID;
  26076. this.type = type;
  26077. this.GlobalId = GlobalId;
  26078. this.OwnerHistory = OwnerHistory;
  26079. this.Name = Name;
  26080. this.Description = Description;
  26081. this.ApplicableOccurrence = ApplicableOccurrence;
  26082. this.HasPropertySets = HasPropertySets;
  26083. this.Identification = Identification;
  26084. this.LongDescription = LongDescription;
  26085. this.ResourceType = ResourceType;
  26086. this.BaseCosts = BaseCosts;
  26087. this.BaseQuantity = BaseQuantity;
  26088. this.PredefinedType = PredefinedType;
  26089. }
  26090. static FromTape(expressID, type, tape) {
  26091. let ptr = 0;
  26092. let GlobalId = tape[ptr++];
  26093. let OwnerHistory = tape[ptr++];
  26094. let Name = tape[ptr++];
  26095. let Description = tape[ptr++];
  26096. let ApplicableOccurrence = tape[ptr++];
  26097. let HasPropertySets = tape[ptr++];
  26098. let Identification = tape[ptr++];
  26099. let LongDescription = tape[ptr++];
  26100. let ResourceType = tape[ptr++];
  26101. let BaseCosts = tape[ptr++];
  26102. let BaseQuantity = tape[ptr++];
  26103. let PredefinedType = tape[ptr++];
  26104. return new IfcCrewResourceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType);
  26105. }
  26106. ToTape() {
  26107. let args = [];
  26108. args.push(this.GlobalId);
  26109. ;
  26110. args.push(this.OwnerHistory);
  26111. ;
  26112. args.push(this.Name);
  26113. ;
  26114. args.push(this.Description);
  26115. ;
  26116. args.push(this.ApplicableOccurrence);
  26117. ;
  26118. args.push(this.HasPropertySets);
  26119. ;
  26120. args.push(this.Identification);
  26121. ;
  26122. args.push(this.LongDescription);
  26123. ;
  26124. args.push(this.ResourceType);
  26125. ;
  26126. args.push(this.BaseCosts);
  26127. ;
  26128. args.push(this.BaseQuantity);
  26129. ;
  26130. args.push(this.PredefinedType);
  26131. ;
  26132. return args;
  26133. }
  26134. };
  26135. var IfcCsgPrimitive3D = class {
  26136. constructor(expressID, type, Position) {
  26137. this.expressID = expressID;
  26138. this.type = type;
  26139. this.Position = Position;
  26140. }
  26141. static FromTape(expressID, type, tape) {
  26142. let ptr = 0;
  26143. let Position = tape[ptr++];
  26144. return new IfcCsgPrimitive3D(expressID, type, Position);
  26145. }
  26146. ToTape() {
  26147. let args = [];
  26148. args.push(this.Position);
  26149. ;
  26150. return args;
  26151. }
  26152. };
  26153. var IfcCsgSolid = class {
  26154. constructor(expressID, type, TreeRootExpression) {
  26155. this.expressID = expressID;
  26156. this.type = type;
  26157. this.TreeRootExpression = TreeRootExpression;
  26158. }
  26159. static FromTape(expressID, type, tape) {
  26160. let ptr = 0;
  26161. let TreeRootExpression = tape[ptr++];
  26162. return new IfcCsgSolid(expressID, type, TreeRootExpression);
  26163. }
  26164. ToTape() {
  26165. let args = [];
  26166. args.push(this.TreeRootExpression);
  26167. ;
  26168. return args;
  26169. }
  26170. };
  26171. var IfcCurrencyRelationship = class {
  26172. constructor(expressID, type, Name, Description, RelatingMonetaryUnit, RelatedMonetaryUnit, ExchangeRate, RateDateTime, RateSource) {
  26173. this.expressID = expressID;
  26174. this.type = type;
  26175. this.Name = Name;
  26176. this.Description = Description;
  26177. this.RelatingMonetaryUnit = RelatingMonetaryUnit;
  26178. this.RelatedMonetaryUnit = RelatedMonetaryUnit;
  26179. this.ExchangeRate = ExchangeRate;
  26180. this.RateDateTime = RateDateTime;
  26181. this.RateSource = RateSource;
  26182. }
  26183. static FromTape(expressID, type, tape) {
  26184. let ptr = 0;
  26185. let Name = tape[ptr++];
  26186. let Description = tape[ptr++];
  26187. let RelatingMonetaryUnit = tape[ptr++];
  26188. let RelatedMonetaryUnit = tape[ptr++];
  26189. let ExchangeRate = tape[ptr++];
  26190. let RateDateTime = tape[ptr++];
  26191. let RateSource = tape[ptr++];
  26192. return new IfcCurrencyRelationship(expressID, type, Name, Description, RelatingMonetaryUnit, RelatedMonetaryUnit, ExchangeRate, RateDateTime, RateSource);
  26193. }
  26194. ToTape() {
  26195. let args = [];
  26196. args.push(this.Name);
  26197. ;
  26198. args.push(this.Description);
  26199. ;
  26200. args.push(this.RelatingMonetaryUnit);
  26201. ;
  26202. args.push(this.RelatedMonetaryUnit);
  26203. ;
  26204. args.push(this.ExchangeRate);
  26205. ;
  26206. args.push(this.RateDateTime);
  26207. ;
  26208. args.push(this.RateSource);
  26209. ;
  26210. return args;
  26211. }
  26212. };
  26213. var IfcCurtainWall = class {
  26214. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  26215. this.expressID = expressID;
  26216. this.type = type;
  26217. this.GlobalId = GlobalId;
  26218. this.OwnerHistory = OwnerHistory;
  26219. this.Name = Name;
  26220. this.Description = Description;
  26221. this.ObjectType = ObjectType;
  26222. this.ObjectPlacement = ObjectPlacement;
  26223. this.Representation = Representation;
  26224. this.Tag = Tag;
  26225. this.PredefinedType = PredefinedType;
  26226. }
  26227. static FromTape(expressID, type, tape) {
  26228. let ptr = 0;
  26229. let GlobalId = tape[ptr++];
  26230. let OwnerHistory = tape[ptr++];
  26231. let Name = tape[ptr++];
  26232. let Description = tape[ptr++];
  26233. let ObjectType = tape[ptr++];
  26234. let ObjectPlacement = tape[ptr++];
  26235. let Representation = tape[ptr++];
  26236. let Tag = tape[ptr++];
  26237. let PredefinedType = tape[ptr++];
  26238. return new IfcCurtainWall(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  26239. }
  26240. ToTape() {
  26241. let args = [];
  26242. args.push(this.GlobalId);
  26243. ;
  26244. args.push(this.OwnerHistory);
  26245. ;
  26246. args.push(this.Name);
  26247. ;
  26248. args.push(this.Description);
  26249. ;
  26250. args.push(this.ObjectType);
  26251. ;
  26252. args.push(this.ObjectPlacement);
  26253. ;
  26254. args.push(this.Representation);
  26255. ;
  26256. args.push(this.Tag);
  26257. ;
  26258. args.push(this.PredefinedType);
  26259. ;
  26260. return args;
  26261. }
  26262. };
  26263. var IfcCurtainWallType = class {
  26264. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  26265. this.expressID = expressID;
  26266. this.type = type;
  26267. this.GlobalId = GlobalId;
  26268. this.OwnerHistory = OwnerHistory;
  26269. this.Name = Name;
  26270. this.Description = Description;
  26271. this.ApplicableOccurrence = ApplicableOccurrence;
  26272. this.HasPropertySets = HasPropertySets;
  26273. this.RepresentationMaps = RepresentationMaps;
  26274. this.Tag = Tag;
  26275. this.ElementType = ElementType;
  26276. this.PredefinedType = PredefinedType;
  26277. }
  26278. static FromTape(expressID, type, tape) {
  26279. let ptr = 0;
  26280. let GlobalId = tape[ptr++];
  26281. let OwnerHistory = tape[ptr++];
  26282. let Name = tape[ptr++];
  26283. let Description = tape[ptr++];
  26284. let ApplicableOccurrence = tape[ptr++];
  26285. let HasPropertySets = tape[ptr++];
  26286. let RepresentationMaps = tape[ptr++];
  26287. let Tag = tape[ptr++];
  26288. let ElementType = tape[ptr++];
  26289. let PredefinedType = tape[ptr++];
  26290. return new IfcCurtainWallType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  26291. }
  26292. ToTape() {
  26293. let args = [];
  26294. args.push(this.GlobalId);
  26295. ;
  26296. args.push(this.OwnerHistory);
  26297. ;
  26298. args.push(this.Name);
  26299. ;
  26300. args.push(this.Description);
  26301. ;
  26302. args.push(this.ApplicableOccurrence);
  26303. ;
  26304. args.push(this.HasPropertySets);
  26305. ;
  26306. args.push(this.RepresentationMaps);
  26307. ;
  26308. args.push(this.Tag);
  26309. ;
  26310. args.push(this.ElementType);
  26311. ;
  26312. args.push(this.PredefinedType);
  26313. ;
  26314. return args;
  26315. }
  26316. };
  26317. var IfcCurve = class {
  26318. constructor(expressID, type) {
  26319. this.expressID = expressID;
  26320. this.type = type;
  26321. }
  26322. static FromTape(expressID, type, tape) {
  26323. let ptr = 0;
  26324. return new IfcCurve(expressID, type);
  26325. }
  26326. ToTape() {
  26327. let args = [];
  26328. return args;
  26329. }
  26330. };
  26331. var IfcCurveBoundedPlane = class {
  26332. constructor(expressID, type, BasisSurface, OuterBoundary, InnerBoundaries) {
  26333. this.expressID = expressID;
  26334. this.type = type;
  26335. this.BasisSurface = BasisSurface;
  26336. this.OuterBoundary = OuterBoundary;
  26337. this.InnerBoundaries = InnerBoundaries;
  26338. }
  26339. static FromTape(expressID, type, tape) {
  26340. let ptr = 0;
  26341. let BasisSurface = tape[ptr++];
  26342. let OuterBoundary = tape[ptr++];
  26343. let InnerBoundaries = tape[ptr++];
  26344. return new IfcCurveBoundedPlane(expressID, type, BasisSurface, OuterBoundary, InnerBoundaries);
  26345. }
  26346. ToTape() {
  26347. let args = [];
  26348. args.push(this.BasisSurface);
  26349. ;
  26350. args.push(this.OuterBoundary);
  26351. ;
  26352. args.push(this.InnerBoundaries);
  26353. ;
  26354. return args;
  26355. }
  26356. };
  26357. var IfcCurveBoundedSurface = class {
  26358. constructor(expressID, type, BasisSurface, Boundaries, ImplicitOuter) {
  26359. this.expressID = expressID;
  26360. this.type = type;
  26361. this.BasisSurface = BasisSurface;
  26362. this.Boundaries = Boundaries;
  26363. this.ImplicitOuter = ImplicitOuter;
  26364. }
  26365. static FromTape(expressID, type, tape) {
  26366. let ptr = 0;
  26367. let BasisSurface = tape[ptr++];
  26368. let Boundaries = tape[ptr++];
  26369. let ImplicitOuter = tape[ptr++];
  26370. return new IfcCurveBoundedSurface(expressID, type, BasisSurface, Boundaries, ImplicitOuter);
  26371. }
  26372. ToTape() {
  26373. let args = [];
  26374. args.push(this.BasisSurface);
  26375. ;
  26376. args.push(this.Boundaries);
  26377. ;
  26378. args.push(this.ImplicitOuter);
  26379. ;
  26380. return args;
  26381. }
  26382. };
  26383. var IfcCurveSegment2D = class {
  26384. constructor(expressID, type, StartPoint, StartDirection, SegmentLength) {
  26385. this.expressID = expressID;
  26386. this.type = type;
  26387. this.StartPoint = StartPoint;
  26388. this.StartDirection = StartDirection;
  26389. this.SegmentLength = SegmentLength;
  26390. }
  26391. static FromTape(expressID, type, tape) {
  26392. let ptr = 0;
  26393. let StartPoint = tape[ptr++];
  26394. let StartDirection = tape[ptr++];
  26395. let SegmentLength = tape[ptr++];
  26396. return new IfcCurveSegment2D(expressID, type, StartPoint, StartDirection, SegmentLength);
  26397. }
  26398. ToTape() {
  26399. let args = [];
  26400. args.push(this.StartPoint);
  26401. ;
  26402. args.push(this.StartDirection);
  26403. ;
  26404. args.push(this.SegmentLength);
  26405. ;
  26406. return args;
  26407. }
  26408. };
  26409. var IfcCurveStyle = class {
  26410. constructor(expressID, type, Name, CurveFont, CurveWidth, CurveColour, ModelOrDraughting) {
  26411. this.expressID = expressID;
  26412. this.type = type;
  26413. this.Name = Name;
  26414. this.CurveFont = CurveFont;
  26415. this.CurveWidth = CurveWidth;
  26416. this.CurveColour = CurveColour;
  26417. this.ModelOrDraughting = ModelOrDraughting;
  26418. }
  26419. static FromTape(expressID, type, tape) {
  26420. let ptr = 0;
  26421. let Name = tape[ptr++];
  26422. let CurveFont = tape[ptr++];
  26423. let CurveWidth = tape[ptr++];
  26424. let CurveColour = tape[ptr++];
  26425. let ModelOrDraughting = tape[ptr++];
  26426. return new IfcCurveStyle(expressID, type, Name, CurveFont, CurveWidth, CurveColour, ModelOrDraughting);
  26427. }
  26428. ToTape() {
  26429. let args = [];
  26430. args.push(this.Name);
  26431. ;
  26432. args.push(this.CurveFont);
  26433. ;
  26434. args.push(this.CurveWidth);
  26435. ;
  26436. args.push(this.CurveColour);
  26437. ;
  26438. args.push(this.ModelOrDraughting);
  26439. ;
  26440. return args;
  26441. }
  26442. };
  26443. var IfcCurveStyleFont = class {
  26444. constructor(expressID, type, Name, PatternList) {
  26445. this.expressID = expressID;
  26446. this.type = type;
  26447. this.Name = Name;
  26448. this.PatternList = PatternList;
  26449. }
  26450. static FromTape(expressID, type, tape) {
  26451. let ptr = 0;
  26452. let Name = tape[ptr++];
  26453. let PatternList = tape[ptr++];
  26454. return new IfcCurveStyleFont(expressID, type, Name, PatternList);
  26455. }
  26456. ToTape() {
  26457. let args = [];
  26458. args.push(this.Name);
  26459. ;
  26460. args.push(this.PatternList);
  26461. ;
  26462. return args;
  26463. }
  26464. };
  26465. var IfcCurveStyleFontAndScaling = class {
  26466. constructor(expressID, type, Name, CurveFont, CurveFontScaling) {
  26467. this.expressID = expressID;
  26468. this.type = type;
  26469. this.Name = Name;
  26470. this.CurveFont = CurveFont;
  26471. this.CurveFontScaling = CurveFontScaling;
  26472. }
  26473. static FromTape(expressID, type, tape) {
  26474. let ptr = 0;
  26475. let Name = tape[ptr++];
  26476. let CurveFont = tape[ptr++];
  26477. let CurveFontScaling = tape[ptr++];
  26478. return new IfcCurveStyleFontAndScaling(expressID, type, Name, CurveFont, CurveFontScaling);
  26479. }
  26480. ToTape() {
  26481. let args = [];
  26482. args.push(this.Name);
  26483. ;
  26484. args.push(this.CurveFont);
  26485. ;
  26486. args.push(this.CurveFontScaling);
  26487. ;
  26488. return args;
  26489. }
  26490. };
  26491. var IfcCurveStyleFontPattern = class {
  26492. constructor(expressID, type, VisibleSegmentLength, InvisibleSegmentLength) {
  26493. this.expressID = expressID;
  26494. this.type = type;
  26495. this.VisibleSegmentLength = VisibleSegmentLength;
  26496. this.InvisibleSegmentLength = InvisibleSegmentLength;
  26497. }
  26498. static FromTape(expressID, type, tape) {
  26499. let ptr = 0;
  26500. let VisibleSegmentLength = tape[ptr++];
  26501. let InvisibleSegmentLength = tape[ptr++];
  26502. return new IfcCurveStyleFontPattern(expressID, type, VisibleSegmentLength, InvisibleSegmentLength);
  26503. }
  26504. ToTape() {
  26505. let args = [];
  26506. args.push(this.VisibleSegmentLength);
  26507. ;
  26508. args.push(this.InvisibleSegmentLength);
  26509. ;
  26510. return args;
  26511. }
  26512. };
  26513. var IfcCylindricalSurface = class {
  26514. constructor(expressID, type, Position, Radius) {
  26515. this.expressID = expressID;
  26516. this.type = type;
  26517. this.Position = Position;
  26518. this.Radius = Radius;
  26519. }
  26520. static FromTape(expressID, type, tape) {
  26521. let ptr = 0;
  26522. let Position = tape[ptr++];
  26523. let Radius = tape[ptr++];
  26524. return new IfcCylindricalSurface(expressID, type, Position, Radius);
  26525. }
  26526. ToTape() {
  26527. let args = [];
  26528. args.push(this.Position);
  26529. ;
  26530. args.push(this.Radius);
  26531. ;
  26532. return args;
  26533. }
  26534. };
  26535. var IfcDamper = class {
  26536. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  26537. this.expressID = expressID;
  26538. this.type = type;
  26539. this.GlobalId = GlobalId;
  26540. this.OwnerHistory = OwnerHistory;
  26541. this.Name = Name;
  26542. this.Description = Description;
  26543. this.ObjectType = ObjectType;
  26544. this.ObjectPlacement = ObjectPlacement;
  26545. this.Representation = Representation;
  26546. this.Tag = Tag;
  26547. this.PredefinedType = PredefinedType;
  26548. }
  26549. static FromTape(expressID, type, tape) {
  26550. let ptr = 0;
  26551. let GlobalId = tape[ptr++];
  26552. let OwnerHistory = tape[ptr++];
  26553. let Name = tape[ptr++];
  26554. let Description = tape[ptr++];
  26555. let ObjectType = tape[ptr++];
  26556. let ObjectPlacement = tape[ptr++];
  26557. let Representation = tape[ptr++];
  26558. let Tag = tape[ptr++];
  26559. let PredefinedType = tape[ptr++];
  26560. return new IfcDamper(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  26561. }
  26562. ToTape() {
  26563. let args = [];
  26564. args.push(this.GlobalId);
  26565. ;
  26566. args.push(this.OwnerHistory);
  26567. ;
  26568. args.push(this.Name);
  26569. ;
  26570. args.push(this.Description);
  26571. ;
  26572. args.push(this.ObjectType);
  26573. ;
  26574. args.push(this.ObjectPlacement);
  26575. ;
  26576. args.push(this.Representation);
  26577. ;
  26578. args.push(this.Tag);
  26579. ;
  26580. args.push(this.PredefinedType);
  26581. ;
  26582. return args;
  26583. }
  26584. };
  26585. var IfcDamperType = class {
  26586. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  26587. this.expressID = expressID;
  26588. this.type = type;
  26589. this.GlobalId = GlobalId;
  26590. this.OwnerHistory = OwnerHistory;
  26591. this.Name = Name;
  26592. this.Description = Description;
  26593. this.ApplicableOccurrence = ApplicableOccurrence;
  26594. this.HasPropertySets = HasPropertySets;
  26595. this.RepresentationMaps = RepresentationMaps;
  26596. this.Tag = Tag;
  26597. this.ElementType = ElementType;
  26598. this.PredefinedType = PredefinedType;
  26599. }
  26600. static FromTape(expressID, type, tape) {
  26601. let ptr = 0;
  26602. let GlobalId = tape[ptr++];
  26603. let OwnerHistory = tape[ptr++];
  26604. let Name = tape[ptr++];
  26605. let Description = tape[ptr++];
  26606. let ApplicableOccurrence = tape[ptr++];
  26607. let HasPropertySets = tape[ptr++];
  26608. let RepresentationMaps = tape[ptr++];
  26609. let Tag = tape[ptr++];
  26610. let ElementType = tape[ptr++];
  26611. let PredefinedType = tape[ptr++];
  26612. return new IfcDamperType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  26613. }
  26614. ToTape() {
  26615. let args = [];
  26616. args.push(this.GlobalId);
  26617. ;
  26618. args.push(this.OwnerHistory);
  26619. ;
  26620. args.push(this.Name);
  26621. ;
  26622. args.push(this.Description);
  26623. ;
  26624. args.push(this.ApplicableOccurrence);
  26625. ;
  26626. args.push(this.HasPropertySets);
  26627. ;
  26628. args.push(this.RepresentationMaps);
  26629. ;
  26630. args.push(this.Tag);
  26631. ;
  26632. args.push(this.ElementType);
  26633. ;
  26634. args.push(this.PredefinedType);
  26635. ;
  26636. return args;
  26637. }
  26638. };
  26639. var IfcDeepFoundation = class {
  26640. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  26641. this.expressID = expressID;
  26642. this.type = type;
  26643. this.GlobalId = GlobalId;
  26644. this.OwnerHistory = OwnerHistory;
  26645. this.Name = Name;
  26646. this.Description = Description;
  26647. this.ObjectType = ObjectType;
  26648. this.ObjectPlacement = ObjectPlacement;
  26649. this.Representation = Representation;
  26650. this.Tag = Tag;
  26651. }
  26652. static FromTape(expressID, type, tape) {
  26653. let ptr = 0;
  26654. let GlobalId = tape[ptr++];
  26655. let OwnerHistory = tape[ptr++];
  26656. let Name = tape[ptr++];
  26657. let Description = tape[ptr++];
  26658. let ObjectType = tape[ptr++];
  26659. let ObjectPlacement = tape[ptr++];
  26660. let Representation = tape[ptr++];
  26661. let Tag = tape[ptr++];
  26662. return new IfcDeepFoundation(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  26663. }
  26664. ToTape() {
  26665. let args = [];
  26666. args.push(this.GlobalId);
  26667. ;
  26668. args.push(this.OwnerHistory);
  26669. ;
  26670. args.push(this.Name);
  26671. ;
  26672. args.push(this.Description);
  26673. ;
  26674. args.push(this.ObjectType);
  26675. ;
  26676. args.push(this.ObjectPlacement);
  26677. ;
  26678. args.push(this.Representation);
  26679. ;
  26680. args.push(this.Tag);
  26681. ;
  26682. return args;
  26683. }
  26684. };
  26685. var IfcDeepFoundationType = class {
  26686. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  26687. this.expressID = expressID;
  26688. this.type = type;
  26689. this.GlobalId = GlobalId;
  26690. this.OwnerHistory = OwnerHistory;
  26691. this.Name = Name;
  26692. this.Description = Description;
  26693. this.ApplicableOccurrence = ApplicableOccurrence;
  26694. this.HasPropertySets = HasPropertySets;
  26695. this.RepresentationMaps = RepresentationMaps;
  26696. this.Tag = Tag;
  26697. this.ElementType = ElementType;
  26698. }
  26699. static FromTape(expressID, type, tape) {
  26700. let ptr = 0;
  26701. let GlobalId = tape[ptr++];
  26702. let OwnerHistory = tape[ptr++];
  26703. let Name = tape[ptr++];
  26704. let Description = tape[ptr++];
  26705. let ApplicableOccurrence = tape[ptr++];
  26706. let HasPropertySets = tape[ptr++];
  26707. let RepresentationMaps = tape[ptr++];
  26708. let Tag = tape[ptr++];
  26709. let ElementType = tape[ptr++];
  26710. return new IfcDeepFoundationType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  26711. }
  26712. ToTape() {
  26713. let args = [];
  26714. args.push(this.GlobalId);
  26715. ;
  26716. args.push(this.OwnerHistory);
  26717. ;
  26718. args.push(this.Name);
  26719. ;
  26720. args.push(this.Description);
  26721. ;
  26722. args.push(this.ApplicableOccurrence);
  26723. ;
  26724. args.push(this.HasPropertySets);
  26725. ;
  26726. args.push(this.RepresentationMaps);
  26727. ;
  26728. args.push(this.Tag);
  26729. ;
  26730. args.push(this.ElementType);
  26731. ;
  26732. return args;
  26733. }
  26734. };
  26735. var IfcDerivedProfileDef = class {
  26736. constructor(expressID, type, ProfileType, ProfileName, ParentProfile, Operator, Label) {
  26737. this.expressID = expressID;
  26738. this.type = type;
  26739. this.ProfileType = ProfileType;
  26740. this.ProfileName = ProfileName;
  26741. this.ParentProfile = ParentProfile;
  26742. this.Operator = Operator;
  26743. this.Label = Label;
  26744. }
  26745. static FromTape(expressID, type, tape) {
  26746. let ptr = 0;
  26747. let ProfileType = tape[ptr++];
  26748. let ProfileName = tape[ptr++];
  26749. let ParentProfile = tape[ptr++];
  26750. let Operator = tape[ptr++];
  26751. let Label = tape[ptr++];
  26752. return new IfcDerivedProfileDef(expressID, type, ProfileType, ProfileName, ParentProfile, Operator, Label);
  26753. }
  26754. ToTape() {
  26755. let args = [];
  26756. args.push(this.ProfileType);
  26757. ;
  26758. args.push(this.ProfileName);
  26759. ;
  26760. args.push(this.ParentProfile);
  26761. ;
  26762. args.push(this.Operator);
  26763. ;
  26764. args.push(this.Label);
  26765. ;
  26766. return args;
  26767. }
  26768. };
  26769. var IfcDerivedUnit = class {
  26770. constructor(expressID, type, Elements, UnitType, UserDefinedType) {
  26771. this.expressID = expressID;
  26772. this.type = type;
  26773. this.Elements = Elements;
  26774. this.UnitType = UnitType;
  26775. this.UserDefinedType = UserDefinedType;
  26776. }
  26777. static FromTape(expressID, type, tape) {
  26778. let ptr = 0;
  26779. let Elements = tape[ptr++];
  26780. let UnitType = tape[ptr++];
  26781. let UserDefinedType = tape[ptr++];
  26782. return new IfcDerivedUnit(expressID, type, Elements, UnitType, UserDefinedType);
  26783. }
  26784. ToTape() {
  26785. let args = [];
  26786. args.push(this.Elements);
  26787. ;
  26788. args.push(this.UnitType);
  26789. ;
  26790. args.push(this.UserDefinedType);
  26791. ;
  26792. return args;
  26793. }
  26794. };
  26795. var IfcDerivedUnitElement = class {
  26796. constructor(expressID, type, Unit, Exponent) {
  26797. this.expressID = expressID;
  26798. this.type = type;
  26799. this.Unit = Unit;
  26800. this.Exponent = Exponent;
  26801. }
  26802. static FromTape(expressID, type, tape) {
  26803. let ptr = 0;
  26804. let Unit = tape[ptr++];
  26805. let Exponent = tape[ptr++];
  26806. return new IfcDerivedUnitElement(expressID, type, Unit, Exponent);
  26807. }
  26808. ToTape() {
  26809. let args = [];
  26810. args.push(this.Unit);
  26811. ;
  26812. args.push(this.Exponent);
  26813. ;
  26814. return args;
  26815. }
  26816. };
  26817. var IfcDimensionalExponents = class {
  26818. constructor(expressID, type, LengthExponent, MassExponent, TimeExponent, ElectricCurrentExponent, ThermodynamicTemperatureExponent, AmountOfSubstanceExponent, LuminousIntensityExponent) {
  26819. this.expressID = expressID;
  26820. this.type = type;
  26821. this.LengthExponent = LengthExponent;
  26822. this.MassExponent = MassExponent;
  26823. this.TimeExponent = TimeExponent;
  26824. this.ElectricCurrentExponent = ElectricCurrentExponent;
  26825. this.ThermodynamicTemperatureExponent = ThermodynamicTemperatureExponent;
  26826. this.AmountOfSubstanceExponent = AmountOfSubstanceExponent;
  26827. this.LuminousIntensityExponent = LuminousIntensityExponent;
  26828. }
  26829. static FromTape(expressID, type, tape) {
  26830. let ptr = 0;
  26831. let LengthExponent = tape[ptr++];
  26832. let MassExponent = tape[ptr++];
  26833. let TimeExponent = tape[ptr++];
  26834. let ElectricCurrentExponent = tape[ptr++];
  26835. let ThermodynamicTemperatureExponent = tape[ptr++];
  26836. let AmountOfSubstanceExponent = tape[ptr++];
  26837. let LuminousIntensityExponent = tape[ptr++];
  26838. return new IfcDimensionalExponents(expressID, type, LengthExponent, MassExponent, TimeExponent, ElectricCurrentExponent, ThermodynamicTemperatureExponent, AmountOfSubstanceExponent, LuminousIntensityExponent);
  26839. }
  26840. ToTape() {
  26841. let args = [];
  26842. args.push(this.LengthExponent);
  26843. ;
  26844. args.push(this.MassExponent);
  26845. ;
  26846. args.push(this.TimeExponent);
  26847. ;
  26848. args.push(this.ElectricCurrentExponent);
  26849. ;
  26850. args.push(this.ThermodynamicTemperatureExponent);
  26851. ;
  26852. args.push(this.AmountOfSubstanceExponent);
  26853. ;
  26854. args.push(this.LuminousIntensityExponent);
  26855. ;
  26856. return args;
  26857. }
  26858. };
  26859. var IfcDirection = class {
  26860. constructor(expressID, type, DirectionRatios) {
  26861. this.expressID = expressID;
  26862. this.type = type;
  26863. this.DirectionRatios = DirectionRatios;
  26864. }
  26865. static FromTape(expressID, type, tape) {
  26866. let ptr = 0;
  26867. let DirectionRatios = tape[ptr++];
  26868. return new IfcDirection(expressID, type, DirectionRatios);
  26869. }
  26870. ToTape() {
  26871. let args = [];
  26872. args.push(this.DirectionRatios);
  26873. ;
  26874. return args;
  26875. }
  26876. };
  26877. var IfcDiscreteAccessory = class {
  26878. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  26879. this.expressID = expressID;
  26880. this.type = type;
  26881. this.GlobalId = GlobalId;
  26882. this.OwnerHistory = OwnerHistory;
  26883. this.Name = Name;
  26884. this.Description = Description;
  26885. this.ObjectType = ObjectType;
  26886. this.ObjectPlacement = ObjectPlacement;
  26887. this.Representation = Representation;
  26888. this.Tag = Tag;
  26889. this.PredefinedType = PredefinedType;
  26890. }
  26891. static FromTape(expressID, type, tape) {
  26892. let ptr = 0;
  26893. let GlobalId = tape[ptr++];
  26894. let OwnerHistory = tape[ptr++];
  26895. let Name = tape[ptr++];
  26896. let Description = tape[ptr++];
  26897. let ObjectType = tape[ptr++];
  26898. let ObjectPlacement = tape[ptr++];
  26899. let Representation = tape[ptr++];
  26900. let Tag = tape[ptr++];
  26901. let PredefinedType = tape[ptr++];
  26902. return new IfcDiscreteAccessory(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  26903. }
  26904. ToTape() {
  26905. let args = [];
  26906. args.push(this.GlobalId);
  26907. ;
  26908. args.push(this.OwnerHistory);
  26909. ;
  26910. args.push(this.Name);
  26911. ;
  26912. args.push(this.Description);
  26913. ;
  26914. args.push(this.ObjectType);
  26915. ;
  26916. args.push(this.ObjectPlacement);
  26917. ;
  26918. args.push(this.Representation);
  26919. ;
  26920. args.push(this.Tag);
  26921. ;
  26922. args.push(this.PredefinedType);
  26923. ;
  26924. return args;
  26925. }
  26926. };
  26927. var IfcDiscreteAccessoryType = class {
  26928. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  26929. this.expressID = expressID;
  26930. this.type = type;
  26931. this.GlobalId = GlobalId;
  26932. this.OwnerHistory = OwnerHistory;
  26933. this.Name = Name;
  26934. this.Description = Description;
  26935. this.ApplicableOccurrence = ApplicableOccurrence;
  26936. this.HasPropertySets = HasPropertySets;
  26937. this.RepresentationMaps = RepresentationMaps;
  26938. this.Tag = Tag;
  26939. this.ElementType = ElementType;
  26940. this.PredefinedType = PredefinedType;
  26941. }
  26942. static FromTape(expressID, type, tape) {
  26943. let ptr = 0;
  26944. let GlobalId = tape[ptr++];
  26945. let OwnerHistory = tape[ptr++];
  26946. let Name = tape[ptr++];
  26947. let Description = tape[ptr++];
  26948. let ApplicableOccurrence = tape[ptr++];
  26949. let HasPropertySets = tape[ptr++];
  26950. let RepresentationMaps = tape[ptr++];
  26951. let Tag = tape[ptr++];
  26952. let ElementType = tape[ptr++];
  26953. let PredefinedType = tape[ptr++];
  26954. return new IfcDiscreteAccessoryType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  26955. }
  26956. ToTape() {
  26957. let args = [];
  26958. args.push(this.GlobalId);
  26959. ;
  26960. args.push(this.OwnerHistory);
  26961. ;
  26962. args.push(this.Name);
  26963. ;
  26964. args.push(this.Description);
  26965. ;
  26966. args.push(this.ApplicableOccurrence);
  26967. ;
  26968. args.push(this.HasPropertySets);
  26969. ;
  26970. args.push(this.RepresentationMaps);
  26971. ;
  26972. args.push(this.Tag);
  26973. ;
  26974. args.push(this.ElementType);
  26975. ;
  26976. args.push(this.PredefinedType);
  26977. ;
  26978. return args;
  26979. }
  26980. };
  26981. var IfcDistanceExpression = class {
  26982. constructor(expressID, type, DistanceAlong, OffsetLateral, OffsetVertical, OffsetLongitudinal, AlongHorizontal) {
  26983. this.expressID = expressID;
  26984. this.type = type;
  26985. this.DistanceAlong = DistanceAlong;
  26986. this.OffsetLateral = OffsetLateral;
  26987. this.OffsetVertical = OffsetVertical;
  26988. this.OffsetLongitudinal = OffsetLongitudinal;
  26989. this.AlongHorizontal = AlongHorizontal;
  26990. }
  26991. static FromTape(expressID, type, tape) {
  26992. let ptr = 0;
  26993. let DistanceAlong = tape[ptr++];
  26994. let OffsetLateral = tape[ptr++];
  26995. let OffsetVertical = tape[ptr++];
  26996. let OffsetLongitudinal = tape[ptr++];
  26997. let AlongHorizontal = tape[ptr++];
  26998. return new IfcDistanceExpression(expressID, type, DistanceAlong, OffsetLateral, OffsetVertical, OffsetLongitudinal, AlongHorizontal);
  26999. }
  27000. ToTape() {
  27001. let args = [];
  27002. args.push(this.DistanceAlong);
  27003. ;
  27004. args.push(this.OffsetLateral);
  27005. ;
  27006. args.push(this.OffsetVertical);
  27007. ;
  27008. args.push(this.OffsetLongitudinal);
  27009. ;
  27010. args.push(this.AlongHorizontal);
  27011. ;
  27012. return args;
  27013. }
  27014. };
  27015. var IfcDistributionChamberElement = class {
  27016. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  27017. this.expressID = expressID;
  27018. this.type = type;
  27019. this.GlobalId = GlobalId;
  27020. this.OwnerHistory = OwnerHistory;
  27021. this.Name = Name;
  27022. this.Description = Description;
  27023. this.ObjectType = ObjectType;
  27024. this.ObjectPlacement = ObjectPlacement;
  27025. this.Representation = Representation;
  27026. this.Tag = Tag;
  27027. this.PredefinedType = PredefinedType;
  27028. }
  27029. static FromTape(expressID, type, tape) {
  27030. let ptr = 0;
  27031. let GlobalId = tape[ptr++];
  27032. let OwnerHistory = tape[ptr++];
  27033. let Name = tape[ptr++];
  27034. let Description = tape[ptr++];
  27035. let ObjectType = tape[ptr++];
  27036. let ObjectPlacement = tape[ptr++];
  27037. let Representation = tape[ptr++];
  27038. let Tag = tape[ptr++];
  27039. let PredefinedType = tape[ptr++];
  27040. return new IfcDistributionChamberElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  27041. }
  27042. ToTape() {
  27043. let args = [];
  27044. args.push(this.GlobalId);
  27045. ;
  27046. args.push(this.OwnerHistory);
  27047. ;
  27048. args.push(this.Name);
  27049. ;
  27050. args.push(this.Description);
  27051. ;
  27052. args.push(this.ObjectType);
  27053. ;
  27054. args.push(this.ObjectPlacement);
  27055. ;
  27056. args.push(this.Representation);
  27057. ;
  27058. args.push(this.Tag);
  27059. ;
  27060. args.push(this.PredefinedType);
  27061. ;
  27062. return args;
  27063. }
  27064. };
  27065. var IfcDistributionChamberElementType = class {
  27066. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  27067. this.expressID = expressID;
  27068. this.type = type;
  27069. this.GlobalId = GlobalId;
  27070. this.OwnerHistory = OwnerHistory;
  27071. this.Name = Name;
  27072. this.Description = Description;
  27073. this.ApplicableOccurrence = ApplicableOccurrence;
  27074. this.HasPropertySets = HasPropertySets;
  27075. this.RepresentationMaps = RepresentationMaps;
  27076. this.Tag = Tag;
  27077. this.ElementType = ElementType;
  27078. this.PredefinedType = PredefinedType;
  27079. }
  27080. static FromTape(expressID, type, tape) {
  27081. let ptr = 0;
  27082. let GlobalId = tape[ptr++];
  27083. let OwnerHistory = tape[ptr++];
  27084. let Name = tape[ptr++];
  27085. let Description = tape[ptr++];
  27086. let ApplicableOccurrence = tape[ptr++];
  27087. let HasPropertySets = tape[ptr++];
  27088. let RepresentationMaps = tape[ptr++];
  27089. let Tag = tape[ptr++];
  27090. let ElementType = tape[ptr++];
  27091. let PredefinedType = tape[ptr++];
  27092. return new IfcDistributionChamberElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  27093. }
  27094. ToTape() {
  27095. let args = [];
  27096. args.push(this.GlobalId);
  27097. ;
  27098. args.push(this.OwnerHistory);
  27099. ;
  27100. args.push(this.Name);
  27101. ;
  27102. args.push(this.Description);
  27103. ;
  27104. args.push(this.ApplicableOccurrence);
  27105. ;
  27106. args.push(this.HasPropertySets);
  27107. ;
  27108. args.push(this.RepresentationMaps);
  27109. ;
  27110. args.push(this.Tag);
  27111. ;
  27112. args.push(this.ElementType);
  27113. ;
  27114. args.push(this.PredefinedType);
  27115. ;
  27116. return args;
  27117. }
  27118. };
  27119. var IfcDistributionCircuit = class {
  27120. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, PredefinedType) {
  27121. this.expressID = expressID;
  27122. this.type = type;
  27123. this.GlobalId = GlobalId;
  27124. this.OwnerHistory = OwnerHistory;
  27125. this.Name = Name;
  27126. this.Description = Description;
  27127. this.ObjectType = ObjectType;
  27128. this.LongName = LongName;
  27129. this.PredefinedType = PredefinedType;
  27130. }
  27131. static FromTape(expressID, type, tape) {
  27132. let ptr = 0;
  27133. let GlobalId = tape[ptr++];
  27134. let OwnerHistory = tape[ptr++];
  27135. let Name = tape[ptr++];
  27136. let Description = tape[ptr++];
  27137. let ObjectType = tape[ptr++];
  27138. let LongName = tape[ptr++];
  27139. let PredefinedType = tape[ptr++];
  27140. return new IfcDistributionCircuit(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, PredefinedType);
  27141. }
  27142. ToTape() {
  27143. let args = [];
  27144. args.push(this.GlobalId);
  27145. ;
  27146. args.push(this.OwnerHistory);
  27147. ;
  27148. args.push(this.Name);
  27149. ;
  27150. args.push(this.Description);
  27151. ;
  27152. args.push(this.ObjectType);
  27153. ;
  27154. args.push(this.LongName);
  27155. ;
  27156. args.push(this.PredefinedType);
  27157. ;
  27158. return args;
  27159. }
  27160. };
  27161. var IfcDistributionControlElement = class {
  27162. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  27163. this.expressID = expressID;
  27164. this.type = type;
  27165. this.GlobalId = GlobalId;
  27166. this.OwnerHistory = OwnerHistory;
  27167. this.Name = Name;
  27168. this.Description = Description;
  27169. this.ObjectType = ObjectType;
  27170. this.ObjectPlacement = ObjectPlacement;
  27171. this.Representation = Representation;
  27172. this.Tag = Tag;
  27173. }
  27174. static FromTape(expressID, type, tape) {
  27175. let ptr = 0;
  27176. let GlobalId = tape[ptr++];
  27177. let OwnerHistory = tape[ptr++];
  27178. let Name = tape[ptr++];
  27179. let Description = tape[ptr++];
  27180. let ObjectType = tape[ptr++];
  27181. let ObjectPlacement = tape[ptr++];
  27182. let Representation = tape[ptr++];
  27183. let Tag = tape[ptr++];
  27184. return new IfcDistributionControlElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  27185. }
  27186. ToTape() {
  27187. let args = [];
  27188. args.push(this.GlobalId);
  27189. ;
  27190. args.push(this.OwnerHistory);
  27191. ;
  27192. args.push(this.Name);
  27193. ;
  27194. args.push(this.Description);
  27195. ;
  27196. args.push(this.ObjectType);
  27197. ;
  27198. args.push(this.ObjectPlacement);
  27199. ;
  27200. args.push(this.Representation);
  27201. ;
  27202. args.push(this.Tag);
  27203. ;
  27204. return args;
  27205. }
  27206. };
  27207. var IfcDistributionControlElementType = class {
  27208. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  27209. this.expressID = expressID;
  27210. this.type = type;
  27211. this.GlobalId = GlobalId;
  27212. this.OwnerHistory = OwnerHistory;
  27213. this.Name = Name;
  27214. this.Description = Description;
  27215. this.ApplicableOccurrence = ApplicableOccurrence;
  27216. this.HasPropertySets = HasPropertySets;
  27217. this.RepresentationMaps = RepresentationMaps;
  27218. this.Tag = Tag;
  27219. this.ElementType = ElementType;
  27220. }
  27221. static FromTape(expressID, type, tape) {
  27222. let ptr = 0;
  27223. let GlobalId = tape[ptr++];
  27224. let OwnerHistory = tape[ptr++];
  27225. let Name = tape[ptr++];
  27226. let Description = tape[ptr++];
  27227. let ApplicableOccurrence = tape[ptr++];
  27228. let HasPropertySets = tape[ptr++];
  27229. let RepresentationMaps = tape[ptr++];
  27230. let Tag = tape[ptr++];
  27231. let ElementType = tape[ptr++];
  27232. return new IfcDistributionControlElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  27233. }
  27234. ToTape() {
  27235. let args = [];
  27236. args.push(this.GlobalId);
  27237. ;
  27238. args.push(this.OwnerHistory);
  27239. ;
  27240. args.push(this.Name);
  27241. ;
  27242. args.push(this.Description);
  27243. ;
  27244. args.push(this.ApplicableOccurrence);
  27245. ;
  27246. args.push(this.HasPropertySets);
  27247. ;
  27248. args.push(this.RepresentationMaps);
  27249. ;
  27250. args.push(this.Tag);
  27251. ;
  27252. args.push(this.ElementType);
  27253. ;
  27254. return args;
  27255. }
  27256. };
  27257. var IfcDistributionElement = class {
  27258. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  27259. this.expressID = expressID;
  27260. this.type = type;
  27261. this.GlobalId = GlobalId;
  27262. this.OwnerHistory = OwnerHistory;
  27263. this.Name = Name;
  27264. this.Description = Description;
  27265. this.ObjectType = ObjectType;
  27266. this.ObjectPlacement = ObjectPlacement;
  27267. this.Representation = Representation;
  27268. this.Tag = Tag;
  27269. }
  27270. static FromTape(expressID, type, tape) {
  27271. let ptr = 0;
  27272. let GlobalId = tape[ptr++];
  27273. let OwnerHistory = tape[ptr++];
  27274. let Name = tape[ptr++];
  27275. let Description = tape[ptr++];
  27276. let ObjectType = tape[ptr++];
  27277. let ObjectPlacement = tape[ptr++];
  27278. let Representation = tape[ptr++];
  27279. let Tag = tape[ptr++];
  27280. return new IfcDistributionElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  27281. }
  27282. ToTape() {
  27283. let args = [];
  27284. args.push(this.GlobalId);
  27285. ;
  27286. args.push(this.OwnerHistory);
  27287. ;
  27288. args.push(this.Name);
  27289. ;
  27290. args.push(this.Description);
  27291. ;
  27292. args.push(this.ObjectType);
  27293. ;
  27294. args.push(this.ObjectPlacement);
  27295. ;
  27296. args.push(this.Representation);
  27297. ;
  27298. args.push(this.Tag);
  27299. ;
  27300. return args;
  27301. }
  27302. };
  27303. var IfcDistributionElementType = class {
  27304. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  27305. this.expressID = expressID;
  27306. this.type = type;
  27307. this.GlobalId = GlobalId;
  27308. this.OwnerHistory = OwnerHistory;
  27309. this.Name = Name;
  27310. this.Description = Description;
  27311. this.ApplicableOccurrence = ApplicableOccurrence;
  27312. this.HasPropertySets = HasPropertySets;
  27313. this.RepresentationMaps = RepresentationMaps;
  27314. this.Tag = Tag;
  27315. this.ElementType = ElementType;
  27316. }
  27317. static FromTape(expressID, type, tape) {
  27318. let ptr = 0;
  27319. let GlobalId = tape[ptr++];
  27320. let OwnerHistory = tape[ptr++];
  27321. let Name = tape[ptr++];
  27322. let Description = tape[ptr++];
  27323. let ApplicableOccurrence = tape[ptr++];
  27324. let HasPropertySets = tape[ptr++];
  27325. let RepresentationMaps = tape[ptr++];
  27326. let Tag = tape[ptr++];
  27327. let ElementType = tape[ptr++];
  27328. return new IfcDistributionElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  27329. }
  27330. ToTape() {
  27331. let args = [];
  27332. args.push(this.GlobalId);
  27333. ;
  27334. args.push(this.OwnerHistory);
  27335. ;
  27336. args.push(this.Name);
  27337. ;
  27338. args.push(this.Description);
  27339. ;
  27340. args.push(this.ApplicableOccurrence);
  27341. ;
  27342. args.push(this.HasPropertySets);
  27343. ;
  27344. args.push(this.RepresentationMaps);
  27345. ;
  27346. args.push(this.Tag);
  27347. ;
  27348. args.push(this.ElementType);
  27349. ;
  27350. return args;
  27351. }
  27352. };
  27353. var IfcDistributionFlowElement = class {
  27354. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  27355. this.expressID = expressID;
  27356. this.type = type;
  27357. this.GlobalId = GlobalId;
  27358. this.OwnerHistory = OwnerHistory;
  27359. this.Name = Name;
  27360. this.Description = Description;
  27361. this.ObjectType = ObjectType;
  27362. this.ObjectPlacement = ObjectPlacement;
  27363. this.Representation = Representation;
  27364. this.Tag = Tag;
  27365. }
  27366. static FromTape(expressID, type, tape) {
  27367. let ptr = 0;
  27368. let GlobalId = tape[ptr++];
  27369. let OwnerHistory = tape[ptr++];
  27370. let Name = tape[ptr++];
  27371. let Description = tape[ptr++];
  27372. let ObjectType = tape[ptr++];
  27373. let ObjectPlacement = tape[ptr++];
  27374. let Representation = tape[ptr++];
  27375. let Tag = tape[ptr++];
  27376. return new IfcDistributionFlowElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  27377. }
  27378. ToTape() {
  27379. let args = [];
  27380. args.push(this.GlobalId);
  27381. ;
  27382. args.push(this.OwnerHistory);
  27383. ;
  27384. args.push(this.Name);
  27385. ;
  27386. args.push(this.Description);
  27387. ;
  27388. args.push(this.ObjectType);
  27389. ;
  27390. args.push(this.ObjectPlacement);
  27391. ;
  27392. args.push(this.Representation);
  27393. ;
  27394. args.push(this.Tag);
  27395. ;
  27396. return args;
  27397. }
  27398. };
  27399. var IfcDistributionFlowElementType = class {
  27400. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  27401. this.expressID = expressID;
  27402. this.type = type;
  27403. this.GlobalId = GlobalId;
  27404. this.OwnerHistory = OwnerHistory;
  27405. this.Name = Name;
  27406. this.Description = Description;
  27407. this.ApplicableOccurrence = ApplicableOccurrence;
  27408. this.HasPropertySets = HasPropertySets;
  27409. this.RepresentationMaps = RepresentationMaps;
  27410. this.Tag = Tag;
  27411. this.ElementType = ElementType;
  27412. }
  27413. static FromTape(expressID, type, tape) {
  27414. let ptr = 0;
  27415. let GlobalId = tape[ptr++];
  27416. let OwnerHistory = tape[ptr++];
  27417. let Name = tape[ptr++];
  27418. let Description = tape[ptr++];
  27419. let ApplicableOccurrence = tape[ptr++];
  27420. let HasPropertySets = tape[ptr++];
  27421. let RepresentationMaps = tape[ptr++];
  27422. let Tag = tape[ptr++];
  27423. let ElementType = tape[ptr++];
  27424. return new IfcDistributionFlowElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  27425. }
  27426. ToTape() {
  27427. let args = [];
  27428. args.push(this.GlobalId);
  27429. ;
  27430. args.push(this.OwnerHistory);
  27431. ;
  27432. args.push(this.Name);
  27433. ;
  27434. args.push(this.Description);
  27435. ;
  27436. args.push(this.ApplicableOccurrence);
  27437. ;
  27438. args.push(this.HasPropertySets);
  27439. ;
  27440. args.push(this.RepresentationMaps);
  27441. ;
  27442. args.push(this.Tag);
  27443. ;
  27444. args.push(this.ElementType);
  27445. ;
  27446. return args;
  27447. }
  27448. };
  27449. var IfcDistributionPort = class {
  27450. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, FlowDirection, PredefinedType, SystemType) {
  27451. this.expressID = expressID;
  27452. this.type = type;
  27453. this.GlobalId = GlobalId;
  27454. this.OwnerHistory = OwnerHistory;
  27455. this.Name = Name;
  27456. this.Description = Description;
  27457. this.ObjectType = ObjectType;
  27458. this.ObjectPlacement = ObjectPlacement;
  27459. this.Representation = Representation;
  27460. this.FlowDirection = FlowDirection;
  27461. this.PredefinedType = PredefinedType;
  27462. this.SystemType = SystemType;
  27463. }
  27464. static FromTape(expressID, type, tape) {
  27465. let ptr = 0;
  27466. let GlobalId = tape[ptr++];
  27467. let OwnerHistory = tape[ptr++];
  27468. let Name = tape[ptr++];
  27469. let Description = tape[ptr++];
  27470. let ObjectType = tape[ptr++];
  27471. let ObjectPlacement = tape[ptr++];
  27472. let Representation = tape[ptr++];
  27473. let FlowDirection = tape[ptr++];
  27474. let PredefinedType = tape[ptr++];
  27475. let SystemType = tape[ptr++];
  27476. return new IfcDistributionPort(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, FlowDirection, PredefinedType, SystemType);
  27477. }
  27478. ToTape() {
  27479. let args = [];
  27480. args.push(this.GlobalId);
  27481. ;
  27482. args.push(this.OwnerHistory);
  27483. ;
  27484. args.push(this.Name);
  27485. ;
  27486. args.push(this.Description);
  27487. ;
  27488. args.push(this.ObjectType);
  27489. ;
  27490. args.push(this.ObjectPlacement);
  27491. ;
  27492. args.push(this.Representation);
  27493. ;
  27494. args.push(this.FlowDirection);
  27495. ;
  27496. args.push(this.PredefinedType);
  27497. ;
  27498. args.push(this.SystemType);
  27499. ;
  27500. return args;
  27501. }
  27502. };
  27503. var IfcDistributionSystem = class {
  27504. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, PredefinedType) {
  27505. this.expressID = expressID;
  27506. this.type = type;
  27507. this.GlobalId = GlobalId;
  27508. this.OwnerHistory = OwnerHistory;
  27509. this.Name = Name;
  27510. this.Description = Description;
  27511. this.ObjectType = ObjectType;
  27512. this.LongName = LongName;
  27513. this.PredefinedType = PredefinedType;
  27514. }
  27515. static FromTape(expressID, type, tape) {
  27516. let ptr = 0;
  27517. let GlobalId = tape[ptr++];
  27518. let OwnerHistory = tape[ptr++];
  27519. let Name = tape[ptr++];
  27520. let Description = tape[ptr++];
  27521. let ObjectType = tape[ptr++];
  27522. let LongName = tape[ptr++];
  27523. let PredefinedType = tape[ptr++];
  27524. return new IfcDistributionSystem(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, PredefinedType);
  27525. }
  27526. ToTape() {
  27527. let args = [];
  27528. args.push(this.GlobalId);
  27529. ;
  27530. args.push(this.OwnerHistory);
  27531. ;
  27532. args.push(this.Name);
  27533. ;
  27534. args.push(this.Description);
  27535. ;
  27536. args.push(this.ObjectType);
  27537. ;
  27538. args.push(this.LongName);
  27539. ;
  27540. args.push(this.PredefinedType);
  27541. ;
  27542. return args;
  27543. }
  27544. };
  27545. var IfcDocumentInformation = class {
  27546. constructor(expressID, type, Identification, Name, Description, Location, Purpose, IntendedUse, Scope, Revision, DocumentOwner, Editors, CreationTime, LastRevisionTime, ElectronicFormat, ValidFrom, ValidUntil, Confidentiality, Status) {
  27547. this.expressID = expressID;
  27548. this.type = type;
  27549. this.Identification = Identification;
  27550. this.Name = Name;
  27551. this.Description = Description;
  27552. this.Location = Location;
  27553. this.Purpose = Purpose;
  27554. this.IntendedUse = IntendedUse;
  27555. this.Scope = Scope;
  27556. this.Revision = Revision;
  27557. this.DocumentOwner = DocumentOwner;
  27558. this.Editors = Editors;
  27559. this.CreationTime = CreationTime;
  27560. this.LastRevisionTime = LastRevisionTime;
  27561. this.ElectronicFormat = ElectronicFormat;
  27562. this.ValidFrom = ValidFrom;
  27563. this.ValidUntil = ValidUntil;
  27564. this.Confidentiality = Confidentiality;
  27565. this.Status = Status;
  27566. }
  27567. static FromTape(expressID, type, tape) {
  27568. let ptr = 0;
  27569. let Identification = tape[ptr++];
  27570. let Name = tape[ptr++];
  27571. let Description = tape[ptr++];
  27572. let Location = tape[ptr++];
  27573. let Purpose = tape[ptr++];
  27574. let IntendedUse = tape[ptr++];
  27575. let Scope = tape[ptr++];
  27576. let Revision = tape[ptr++];
  27577. let DocumentOwner = tape[ptr++];
  27578. let Editors = tape[ptr++];
  27579. let CreationTime = tape[ptr++];
  27580. let LastRevisionTime = tape[ptr++];
  27581. let ElectronicFormat = tape[ptr++];
  27582. let ValidFrom = tape[ptr++];
  27583. let ValidUntil = tape[ptr++];
  27584. let Confidentiality = tape[ptr++];
  27585. let Status = tape[ptr++];
  27586. return new IfcDocumentInformation(expressID, type, Identification, Name, Description, Location, Purpose, IntendedUse, Scope, Revision, DocumentOwner, Editors, CreationTime, LastRevisionTime, ElectronicFormat, ValidFrom, ValidUntil, Confidentiality, Status);
  27587. }
  27588. ToTape() {
  27589. let args = [];
  27590. args.push(this.Identification);
  27591. ;
  27592. args.push(this.Name);
  27593. ;
  27594. args.push(this.Description);
  27595. ;
  27596. args.push(this.Location);
  27597. ;
  27598. args.push(this.Purpose);
  27599. ;
  27600. args.push(this.IntendedUse);
  27601. ;
  27602. args.push(this.Scope);
  27603. ;
  27604. args.push(this.Revision);
  27605. ;
  27606. args.push(this.DocumentOwner);
  27607. ;
  27608. args.push(this.Editors);
  27609. ;
  27610. args.push(this.CreationTime);
  27611. ;
  27612. args.push(this.LastRevisionTime);
  27613. ;
  27614. args.push(this.ElectronicFormat);
  27615. ;
  27616. args.push(this.ValidFrom);
  27617. ;
  27618. args.push(this.ValidUntil);
  27619. ;
  27620. args.push(this.Confidentiality);
  27621. ;
  27622. args.push(this.Status);
  27623. ;
  27624. return args;
  27625. }
  27626. };
  27627. var IfcDocumentInformationRelationship = class {
  27628. constructor(expressID, type, Name, Description, RelatingDocument, RelatedDocuments, RelationshipType) {
  27629. this.expressID = expressID;
  27630. this.type = type;
  27631. this.Name = Name;
  27632. this.Description = Description;
  27633. this.RelatingDocument = RelatingDocument;
  27634. this.RelatedDocuments = RelatedDocuments;
  27635. this.RelationshipType = RelationshipType;
  27636. }
  27637. static FromTape(expressID, type, tape) {
  27638. let ptr = 0;
  27639. let Name = tape[ptr++];
  27640. let Description = tape[ptr++];
  27641. let RelatingDocument = tape[ptr++];
  27642. let RelatedDocuments = tape[ptr++];
  27643. let RelationshipType = tape[ptr++];
  27644. return new IfcDocumentInformationRelationship(expressID, type, Name, Description, RelatingDocument, RelatedDocuments, RelationshipType);
  27645. }
  27646. ToTape() {
  27647. let args = [];
  27648. args.push(this.Name);
  27649. ;
  27650. args.push(this.Description);
  27651. ;
  27652. args.push(this.RelatingDocument);
  27653. ;
  27654. args.push(this.RelatedDocuments);
  27655. ;
  27656. args.push(this.RelationshipType);
  27657. ;
  27658. return args;
  27659. }
  27660. };
  27661. var IfcDocumentReference = class {
  27662. constructor(expressID, type, Location, Identification, Name, Description, ReferencedDocument) {
  27663. this.expressID = expressID;
  27664. this.type = type;
  27665. this.Location = Location;
  27666. this.Identification = Identification;
  27667. this.Name = Name;
  27668. this.Description = Description;
  27669. this.ReferencedDocument = ReferencedDocument;
  27670. }
  27671. static FromTape(expressID, type, tape) {
  27672. let ptr = 0;
  27673. let Location = tape[ptr++];
  27674. let Identification = tape[ptr++];
  27675. let Name = tape[ptr++];
  27676. let Description = tape[ptr++];
  27677. let ReferencedDocument = tape[ptr++];
  27678. return new IfcDocumentReference(expressID, type, Location, Identification, Name, Description, ReferencedDocument);
  27679. }
  27680. ToTape() {
  27681. let args = [];
  27682. args.push(this.Location);
  27683. ;
  27684. args.push(this.Identification);
  27685. ;
  27686. args.push(this.Name);
  27687. ;
  27688. args.push(this.Description);
  27689. ;
  27690. args.push(this.ReferencedDocument);
  27691. ;
  27692. return args;
  27693. }
  27694. };
  27695. var IfcDoor = class {
  27696. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, OverallHeight, OverallWidth, PredefinedType, OperationType, UserDefinedOperationType) {
  27697. this.expressID = expressID;
  27698. this.type = type;
  27699. this.GlobalId = GlobalId;
  27700. this.OwnerHistory = OwnerHistory;
  27701. this.Name = Name;
  27702. this.Description = Description;
  27703. this.ObjectType = ObjectType;
  27704. this.ObjectPlacement = ObjectPlacement;
  27705. this.Representation = Representation;
  27706. this.Tag = Tag;
  27707. this.OverallHeight = OverallHeight;
  27708. this.OverallWidth = OverallWidth;
  27709. this.PredefinedType = PredefinedType;
  27710. this.OperationType = OperationType;
  27711. this.UserDefinedOperationType = UserDefinedOperationType;
  27712. }
  27713. static FromTape(expressID, type, tape) {
  27714. let ptr = 0;
  27715. let GlobalId = tape[ptr++];
  27716. let OwnerHistory = tape[ptr++];
  27717. let Name = tape[ptr++];
  27718. let Description = tape[ptr++];
  27719. let ObjectType = tape[ptr++];
  27720. let ObjectPlacement = tape[ptr++];
  27721. let Representation = tape[ptr++];
  27722. let Tag = tape[ptr++];
  27723. let OverallHeight = tape[ptr++];
  27724. let OverallWidth = tape[ptr++];
  27725. let PredefinedType = tape[ptr++];
  27726. let OperationType = tape[ptr++];
  27727. let UserDefinedOperationType = tape[ptr++];
  27728. return new IfcDoor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, OverallHeight, OverallWidth, PredefinedType, OperationType, UserDefinedOperationType);
  27729. }
  27730. ToTape() {
  27731. let args = [];
  27732. args.push(this.GlobalId);
  27733. ;
  27734. args.push(this.OwnerHistory);
  27735. ;
  27736. args.push(this.Name);
  27737. ;
  27738. args.push(this.Description);
  27739. ;
  27740. args.push(this.ObjectType);
  27741. ;
  27742. args.push(this.ObjectPlacement);
  27743. ;
  27744. args.push(this.Representation);
  27745. ;
  27746. args.push(this.Tag);
  27747. ;
  27748. args.push(this.OverallHeight);
  27749. ;
  27750. args.push(this.OverallWidth);
  27751. ;
  27752. args.push(this.PredefinedType);
  27753. ;
  27754. args.push(this.OperationType);
  27755. ;
  27756. args.push(this.UserDefinedOperationType);
  27757. ;
  27758. return args;
  27759. }
  27760. };
  27761. var IfcDoorLiningProperties = class {
  27762. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, LiningDepth, LiningThickness, ThresholdDepth, ThresholdThickness, TransomThickness, TransomOffset, LiningOffset, ThresholdOffset, CasingThickness, CasingDepth, ShapeAspectStyle, LiningToPanelOffsetX, LiningToPanelOffsetY) {
  27763. this.expressID = expressID;
  27764. this.type = type;
  27765. this.GlobalId = GlobalId;
  27766. this.OwnerHistory = OwnerHistory;
  27767. this.Name = Name;
  27768. this.Description = Description;
  27769. this.LiningDepth = LiningDepth;
  27770. this.LiningThickness = LiningThickness;
  27771. this.ThresholdDepth = ThresholdDepth;
  27772. this.ThresholdThickness = ThresholdThickness;
  27773. this.TransomThickness = TransomThickness;
  27774. this.TransomOffset = TransomOffset;
  27775. this.LiningOffset = LiningOffset;
  27776. this.ThresholdOffset = ThresholdOffset;
  27777. this.CasingThickness = CasingThickness;
  27778. this.CasingDepth = CasingDepth;
  27779. this.ShapeAspectStyle = ShapeAspectStyle;
  27780. this.LiningToPanelOffsetX = LiningToPanelOffsetX;
  27781. this.LiningToPanelOffsetY = LiningToPanelOffsetY;
  27782. }
  27783. static FromTape(expressID, type, tape) {
  27784. let ptr = 0;
  27785. let GlobalId = tape[ptr++];
  27786. let OwnerHistory = tape[ptr++];
  27787. let Name = tape[ptr++];
  27788. let Description = tape[ptr++];
  27789. let LiningDepth = tape[ptr++];
  27790. let LiningThickness = tape[ptr++];
  27791. let ThresholdDepth = tape[ptr++];
  27792. let ThresholdThickness = tape[ptr++];
  27793. let TransomThickness = tape[ptr++];
  27794. let TransomOffset = tape[ptr++];
  27795. let LiningOffset = tape[ptr++];
  27796. let ThresholdOffset = tape[ptr++];
  27797. let CasingThickness = tape[ptr++];
  27798. let CasingDepth = tape[ptr++];
  27799. let ShapeAspectStyle = tape[ptr++];
  27800. let LiningToPanelOffsetX = tape[ptr++];
  27801. let LiningToPanelOffsetY = tape[ptr++];
  27802. return new IfcDoorLiningProperties(expressID, type, GlobalId, OwnerHistory, Name, Description, LiningDepth, LiningThickness, ThresholdDepth, ThresholdThickness, TransomThickness, TransomOffset, LiningOffset, ThresholdOffset, CasingThickness, CasingDepth, ShapeAspectStyle, LiningToPanelOffsetX, LiningToPanelOffsetY);
  27803. }
  27804. ToTape() {
  27805. let args = [];
  27806. args.push(this.GlobalId);
  27807. ;
  27808. args.push(this.OwnerHistory);
  27809. ;
  27810. args.push(this.Name);
  27811. ;
  27812. args.push(this.Description);
  27813. ;
  27814. args.push(this.LiningDepth);
  27815. ;
  27816. args.push(this.LiningThickness);
  27817. ;
  27818. args.push(this.ThresholdDepth);
  27819. ;
  27820. args.push(this.ThresholdThickness);
  27821. ;
  27822. args.push(this.TransomThickness);
  27823. ;
  27824. args.push(this.TransomOffset);
  27825. ;
  27826. args.push(this.LiningOffset);
  27827. ;
  27828. args.push(this.ThresholdOffset);
  27829. ;
  27830. args.push(this.CasingThickness);
  27831. ;
  27832. args.push(this.CasingDepth);
  27833. ;
  27834. args.push(this.ShapeAspectStyle);
  27835. ;
  27836. args.push(this.LiningToPanelOffsetX);
  27837. ;
  27838. args.push(this.LiningToPanelOffsetY);
  27839. ;
  27840. return args;
  27841. }
  27842. };
  27843. var IfcDoorPanelProperties = class {
  27844. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, PanelDepth, PanelOperation, PanelWidth, PanelPosition, ShapeAspectStyle) {
  27845. this.expressID = expressID;
  27846. this.type = type;
  27847. this.GlobalId = GlobalId;
  27848. this.OwnerHistory = OwnerHistory;
  27849. this.Name = Name;
  27850. this.Description = Description;
  27851. this.PanelDepth = PanelDepth;
  27852. this.PanelOperation = PanelOperation;
  27853. this.PanelWidth = PanelWidth;
  27854. this.PanelPosition = PanelPosition;
  27855. this.ShapeAspectStyle = ShapeAspectStyle;
  27856. }
  27857. static FromTape(expressID, type, tape) {
  27858. let ptr = 0;
  27859. let GlobalId = tape[ptr++];
  27860. let OwnerHistory = tape[ptr++];
  27861. let Name = tape[ptr++];
  27862. let Description = tape[ptr++];
  27863. let PanelDepth = tape[ptr++];
  27864. let PanelOperation = tape[ptr++];
  27865. let PanelWidth = tape[ptr++];
  27866. let PanelPosition = tape[ptr++];
  27867. let ShapeAspectStyle = tape[ptr++];
  27868. return new IfcDoorPanelProperties(expressID, type, GlobalId, OwnerHistory, Name, Description, PanelDepth, PanelOperation, PanelWidth, PanelPosition, ShapeAspectStyle);
  27869. }
  27870. ToTape() {
  27871. let args = [];
  27872. args.push(this.GlobalId);
  27873. ;
  27874. args.push(this.OwnerHistory);
  27875. ;
  27876. args.push(this.Name);
  27877. ;
  27878. args.push(this.Description);
  27879. ;
  27880. args.push(this.PanelDepth);
  27881. ;
  27882. args.push(this.PanelOperation);
  27883. ;
  27884. args.push(this.PanelWidth);
  27885. ;
  27886. args.push(this.PanelPosition);
  27887. ;
  27888. args.push(this.ShapeAspectStyle);
  27889. ;
  27890. return args;
  27891. }
  27892. };
  27893. var IfcDoorStandardCase = class {
  27894. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, OverallHeight, OverallWidth, PredefinedType, OperationType, UserDefinedOperationType) {
  27895. this.expressID = expressID;
  27896. this.type = type;
  27897. this.GlobalId = GlobalId;
  27898. this.OwnerHistory = OwnerHistory;
  27899. this.Name = Name;
  27900. this.Description = Description;
  27901. this.ObjectType = ObjectType;
  27902. this.ObjectPlacement = ObjectPlacement;
  27903. this.Representation = Representation;
  27904. this.Tag = Tag;
  27905. this.OverallHeight = OverallHeight;
  27906. this.OverallWidth = OverallWidth;
  27907. this.PredefinedType = PredefinedType;
  27908. this.OperationType = OperationType;
  27909. this.UserDefinedOperationType = UserDefinedOperationType;
  27910. }
  27911. static FromTape(expressID, type, tape) {
  27912. let ptr = 0;
  27913. let GlobalId = tape[ptr++];
  27914. let OwnerHistory = tape[ptr++];
  27915. let Name = tape[ptr++];
  27916. let Description = tape[ptr++];
  27917. let ObjectType = tape[ptr++];
  27918. let ObjectPlacement = tape[ptr++];
  27919. let Representation = tape[ptr++];
  27920. let Tag = tape[ptr++];
  27921. let OverallHeight = tape[ptr++];
  27922. let OverallWidth = tape[ptr++];
  27923. let PredefinedType = tape[ptr++];
  27924. let OperationType = tape[ptr++];
  27925. let UserDefinedOperationType = tape[ptr++];
  27926. return new IfcDoorStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, OverallHeight, OverallWidth, PredefinedType, OperationType, UserDefinedOperationType);
  27927. }
  27928. ToTape() {
  27929. let args = [];
  27930. args.push(this.GlobalId);
  27931. ;
  27932. args.push(this.OwnerHistory);
  27933. ;
  27934. args.push(this.Name);
  27935. ;
  27936. args.push(this.Description);
  27937. ;
  27938. args.push(this.ObjectType);
  27939. ;
  27940. args.push(this.ObjectPlacement);
  27941. ;
  27942. args.push(this.Representation);
  27943. ;
  27944. args.push(this.Tag);
  27945. ;
  27946. args.push(this.OverallHeight);
  27947. ;
  27948. args.push(this.OverallWidth);
  27949. ;
  27950. args.push(this.PredefinedType);
  27951. ;
  27952. args.push(this.OperationType);
  27953. ;
  27954. args.push(this.UserDefinedOperationType);
  27955. ;
  27956. return args;
  27957. }
  27958. };
  27959. var IfcDoorStyle = class {
  27960. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, OperationType, ConstructionType, ParameterTakesPrecedence, Sizeable) {
  27961. this.expressID = expressID;
  27962. this.type = type;
  27963. this.GlobalId = GlobalId;
  27964. this.OwnerHistory = OwnerHistory;
  27965. this.Name = Name;
  27966. this.Description = Description;
  27967. this.ApplicableOccurrence = ApplicableOccurrence;
  27968. this.HasPropertySets = HasPropertySets;
  27969. this.RepresentationMaps = RepresentationMaps;
  27970. this.Tag = Tag;
  27971. this.OperationType = OperationType;
  27972. this.ConstructionType = ConstructionType;
  27973. this.ParameterTakesPrecedence = ParameterTakesPrecedence;
  27974. this.Sizeable = Sizeable;
  27975. }
  27976. static FromTape(expressID, type, tape) {
  27977. let ptr = 0;
  27978. let GlobalId = tape[ptr++];
  27979. let OwnerHistory = tape[ptr++];
  27980. let Name = tape[ptr++];
  27981. let Description = tape[ptr++];
  27982. let ApplicableOccurrence = tape[ptr++];
  27983. let HasPropertySets = tape[ptr++];
  27984. let RepresentationMaps = tape[ptr++];
  27985. let Tag = tape[ptr++];
  27986. let OperationType = tape[ptr++];
  27987. let ConstructionType = tape[ptr++];
  27988. let ParameterTakesPrecedence = tape[ptr++];
  27989. let Sizeable = tape[ptr++];
  27990. return new IfcDoorStyle(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, OperationType, ConstructionType, ParameterTakesPrecedence, Sizeable);
  27991. }
  27992. ToTape() {
  27993. let args = [];
  27994. args.push(this.GlobalId);
  27995. ;
  27996. args.push(this.OwnerHistory);
  27997. ;
  27998. args.push(this.Name);
  27999. ;
  28000. args.push(this.Description);
  28001. ;
  28002. args.push(this.ApplicableOccurrence);
  28003. ;
  28004. args.push(this.HasPropertySets);
  28005. ;
  28006. args.push(this.RepresentationMaps);
  28007. ;
  28008. args.push(this.Tag);
  28009. ;
  28010. args.push(this.OperationType);
  28011. ;
  28012. args.push(this.ConstructionType);
  28013. ;
  28014. args.push(this.ParameterTakesPrecedence);
  28015. ;
  28016. args.push(this.Sizeable);
  28017. ;
  28018. return args;
  28019. }
  28020. };
  28021. var IfcDoorType = class {
  28022. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, OperationType, ParameterTakesPrecedence, UserDefinedOperationType) {
  28023. this.expressID = expressID;
  28024. this.type = type;
  28025. this.GlobalId = GlobalId;
  28026. this.OwnerHistory = OwnerHistory;
  28027. this.Name = Name;
  28028. this.Description = Description;
  28029. this.ApplicableOccurrence = ApplicableOccurrence;
  28030. this.HasPropertySets = HasPropertySets;
  28031. this.RepresentationMaps = RepresentationMaps;
  28032. this.Tag = Tag;
  28033. this.ElementType = ElementType;
  28034. this.PredefinedType = PredefinedType;
  28035. this.OperationType = OperationType;
  28036. this.ParameterTakesPrecedence = ParameterTakesPrecedence;
  28037. this.UserDefinedOperationType = UserDefinedOperationType;
  28038. }
  28039. static FromTape(expressID, type, tape) {
  28040. let ptr = 0;
  28041. let GlobalId = tape[ptr++];
  28042. let OwnerHistory = tape[ptr++];
  28043. let Name = tape[ptr++];
  28044. let Description = tape[ptr++];
  28045. let ApplicableOccurrence = tape[ptr++];
  28046. let HasPropertySets = tape[ptr++];
  28047. let RepresentationMaps = tape[ptr++];
  28048. let Tag = tape[ptr++];
  28049. let ElementType = tape[ptr++];
  28050. let PredefinedType = tape[ptr++];
  28051. let OperationType = tape[ptr++];
  28052. let ParameterTakesPrecedence = tape[ptr++];
  28053. let UserDefinedOperationType = tape[ptr++];
  28054. return new IfcDoorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, OperationType, ParameterTakesPrecedence, UserDefinedOperationType);
  28055. }
  28056. ToTape() {
  28057. let args = [];
  28058. args.push(this.GlobalId);
  28059. ;
  28060. args.push(this.OwnerHistory);
  28061. ;
  28062. args.push(this.Name);
  28063. ;
  28064. args.push(this.Description);
  28065. ;
  28066. args.push(this.ApplicableOccurrence);
  28067. ;
  28068. args.push(this.HasPropertySets);
  28069. ;
  28070. args.push(this.RepresentationMaps);
  28071. ;
  28072. args.push(this.Tag);
  28073. ;
  28074. args.push(this.ElementType);
  28075. ;
  28076. args.push(this.PredefinedType);
  28077. ;
  28078. args.push(this.OperationType);
  28079. ;
  28080. args.push(this.ParameterTakesPrecedence);
  28081. ;
  28082. args.push(this.UserDefinedOperationType);
  28083. ;
  28084. return args;
  28085. }
  28086. };
  28087. var IfcDraughtingPreDefinedColour = class {
  28088. constructor(expressID, type, Name) {
  28089. this.expressID = expressID;
  28090. this.type = type;
  28091. this.Name = Name;
  28092. }
  28093. static FromTape(expressID, type, tape) {
  28094. let ptr = 0;
  28095. let Name = tape[ptr++];
  28096. return new IfcDraughtingPreDefinedColour(expressID, type, Name);
  28097. }
  28098. ToTape() {
  28099. let args = [];
  28100. args.push(this.Name);
  28101. ;
  28102. return args;
  28103. }
  28104. };
  28105. var IfcDraughtingPreDefinedCurveFont = class {
  28106. constructor(expressID, type, Name) {
  28107. this.expressID = expressID;
  28108. this.type = type;
  28109. this.Name = Name;
  28110. }
  28111. static FromTape(expressID, type, tape) {
  28112. let ptr = 0;
  28113. let Name = tape[ptr++];
  28114. return new IfcDraughtingPreDefinedCurveFont(expressID, type, Name);
  28115. }
  28116. ToTape() {
  28117. let args = [];
  28118. args.push(this.Name);
  28119. ;
  28120. return args;
  28121. }
  28122. };
  28123. var IfcDuctFitting = class {
  28124. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  28125. this.expressID = expressID;
  28126. this.type = type;
  28127. this.GlobalId = GlobalId;
  28128. this.OwnerHistory = OwnerHistory;
  28129. this.Name = Name;
  28130. this.Description = Description;
  28131. this.ObjectType = ObjectType;
  28132. this.ObjectPlacement = ObjectPlacement;
  28133. this.Representation = Representation;
  28134. this.Tag = Tag;
  28135. this.PredefinedType = PredefinedType;
  28136. }
  28137. static FromTape(expressID, type, tape) {
  28138. let ptr = 0;
  28139. let GlobalId = tape[ptr++];
  28140. let OwnerHistory = tape[ptr++];
  28141. let Name = tape[ptr++];
  28142. let Description = tape[ptr++];
  28143. let ObjectType = tape[ptr++];
  28144. let ObjectPlacement = tape[ptr++];
  28145. let Representation = tape[ptr++];
  28146. let Tag = tape[ptr++];
  28147. let PredefinedType = tape[ptr++];
  28148. return new IfcDuctFitting(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  28149. }
  28150. ToTape() {
  28151. let args = [];
  28152. args.push(this.GlobalId);
  28153. ;
  28154. args.push(this.OwnerHistory);
  28155. ;
  28156. args.push(this.Name);
  28157. ;
  28158. args.push(this.Description);
  28159. ;
  28160. args.push(this.ObjectType);
  28161. ;
  28162. args.push(this.ObjectPlacement);
  28163. ;
  28164. args.push(this.Representation);
  28165. ;
  28166. args.push(this.Tag);
  28167. ;
  28168. args.push(this.PredefinedType);
  28169. ;
  28170. return args;
  28171. }
  28172. };
  28173. var IfcDuctFittingType = class {
  28174. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  28175. this.expressID = expressID;
  28176. this.type = type;
  28177. this.GlobalId = GlobalId;
  28178. this.OwnerHistory = OwnerHistory;
  28179. this.Name = Name;
  28180. this.Description = Description;
  28181. this.ApplicableOccurrence = ApplicableOccurrence;
  28182. this.HasPropertySets = HasPropertySets;
  28183. this.RepresentationMaps = RepresentationMaps;
  28184. this.Tag = Tag;
  28185. this.ElementType = ElementType;
  28186. this.PredefinedType = PredefinedType;
  28187. }
  28188. static FromTape(expressID, type, tape) {
  28189. let ptr = 0;
  28190. let GlobalId = tape[ptr++];
  28191. let OwnerHistory = tape[ptr++];
  28192. let Name = tape[ptr++];
  28193. let Description = tape[ptr++];
  28194. let ApplicableOccurrence = tape[ptr++];
  28195. let HasPropertySets = tape[ptr++];
  28196. let RepresentationMaps = tape[ptr++];
  28197. let Tag = tape[ptr++];
  28198. let ElementType = tape[ptr++];
  28199. let PredefinedType = tape[ptr++];
  28200. return new IfcDuctFittingType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  28201. }
  28202. ToTape() {
  28203. let args = [];
  28204. args.push(this.GlobalId);
  28205. ;
  28206. args.push(this.OwnerHistory);
  28207. ;
  28208. args.push(this.Name);
  28209. ;
  28210. args.push(this.Description);
  28211. ;
  28212. args.push(this.ApplicableOccurrence);
  28213. ;
  28214. args.push(this.HasPropertySets);
  28215. ;
  28216. args.push(this.RepresentationMaps);
  28217. ;
  28218. args.push(this.Tag);
  28219. ;
  28220. args.push(this.ElementType);
  28221. ;
  28222. args.push(this.PredefinedType);
  28223. ;
  28224. return args;
  28225. }
  28226. };
  28227. var IfcDuctSegment = class {
  28228. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  28229. this.expressID = expressID;
  28230. this.type = type;
  28231. this.GlobalId = GlobalId;
  28232. this.OwnerHistory = OwnerHistory;
  28233. this.Name = Name;
  28234. this.Description = Description;
  28235. this.ObjectType = ObjectType;
  28236. this.ObjectPlacement = ObjectPlacement;
  28237. this.Representation = Representation;
  28238. this.Tag = Tag;
  28239. this.PredefinedType = PredefinedType;
  28240. }
  28241. static FromTape(expressID, type, tape) {
  28242. let ptr = 0;
  28243. let GlobalId = tape[ptr++];
  28244. let OwnerHistory = tape[ptr++];
  28245. let Name = tape[ptr++];
  28246. let Description = tape[ptr++];
  28247. let ObjectType = tape[ptr++];
  28248. let ObjectPlacement = tape[ptr++];
  28249. let Representation = tape[ptr++];
  28250. let Tag = tape[ptr++];
  28251. let PredefinedType = tape[ptr++];
  28252. return new IfcDuctSegment(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  28253. }
  28254. ToTape() {
  28255. let args = [];
  28256. args.push(this.GlobalId);
  28257. ;
  28258. args.push(this.OwnerHistory);
  28259. ;
  28260. args.push(this.Name);
  28261. ;
  28262. args.push(this.Description);
  28263. ;
  28264. args.push(this.ObjectType);
  28265. ;
  28266. args.push(this.ObjectPlacement);
  28267. ;
  28268. args.push(this.Representation);
  28269. ;
  28270. args.push(this.Tag);
  28271. ;
  28272. args.push(this.PredefinedType);
  28273. ;
  28274. return args;
  28275. }
  28276. };
  28277. var IfcDuctSegmentType = class {
  28278. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  28279. this.expressID = expressID;
  28280. this.type = type;
  28281. this.GlobalId = GlobalId;
  28282. this.OwnerHistory = OwnerHistory;
  28283. this.Name = Name;
  28284. this.Description = Description;
  28285. this.ApplicableOccurrence = ApplicableOccurrence;
  28286. this.HasPropertySets = HasPropertySets;
  28287. this.RepresentationMaps = RepresentationMaps;
  28288. this.Tag = Tag;
  28289. this.ElementType = ElementType;
  28290. this.PredefinedType = PredefinedType;
  28291. }
  28292. static FromTape(expressID, type, tape) {
  28293. let ptr = 0;
  28294. let GlobalId = tape[ptr++];
  28295. let OwnerHistory = tape[ptr++];
  28296. let Name = tape[ptr++];
  28297. let Description = tape[ptr++];
  28298. let ApplicableOccurrence = tape[ptr++];
  28299. let HasPropertySets = tape[ptr++];
  28300. let RepresentationMaps = tape[ptr++];
  28301. let Tag = tape[ptr++];
  28302. let ElementType = tape[ptr++];
  28303. let PredefinedType = tape[ptr++];
  28304. return new IfcDuctSegmentType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  28305. }
  28306. ToTape() {
  28307. let args = [];
  28308. args.push(this.GlobalId);
  28309. ;
  28310. args.push(this.OwnerHistory);
  28311. ;
  28312. args.push(this.Name);
  28313. ;
  28314. args.push(this.Description);
  28315. ;
  28316. args.push(this.ApplicableOccurrence);
  28317. ;
  28318. args.push(this.HasPropertySets);
  28319. ;
  28320. args.push(this.RepresentationMaps);
  28321. ;
  28322. args.push(this.Tag);
  28323. ;
  28324. args.push(this.ElementType);
  28325. ;
  28326. args.push(this.PredefinedType);
  28327. ;
  28328. return args;
  28329. }
  28330. };
  28331. var IfcDuctSilencer = class {
  28332. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  28333. this.expressID = expressID;
  28334. this.type = type;
  28335. this.GlobalId = GlobalId;
  28336. this.OwnerHistory = OwnerHistory;
  28337. this.Name = Name;
  28338. this.Description = Description;
  28339. this.ObjectType = ObjectType;
  28340. this.ObjectPlacement = ObjectPlacement;
  28341. this.Representation = Representation;
  28342. this.Tag = Tag;
  28343. this.PredefinedType = PredefinedType;
  28344. }
  28345. static FromTape(expressID, type, tape) {
  28346. let ptr = 0;
  28347. let GlobalId = tape[ptr++];
  28348. let OwnerHistory = tape[ptr++];
  28349. let Name = tape[ptr++];
  28350. let Description = tape[ptr++];
  28351. let ObjectType = tape[ptr++];
  28352. let ObjectPlacement = tape[ptr++];
  28353. let Representation = tape[ptr++];
  28354. let Tag = tape[ptr++];
  28355. let PredefinedType = tape[ptr++];
  28356. return new IfcDuctSilencer(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  28357. }
  28358. ToTape() {
  28359. let args = [];
  28360. args.push(this.GlobalId);
  28361. ;
  28362. args.push(this.OwnerHistory);
  28363. ;
  28364. args.push(this.Name);
  28365. ;
  28366. args.push(this.Description);
  28367. ;
  28368. args.push(this.ObjectType);
  28369. ;
  28370. args.push(this.ObjectPlacement);
  28371. ;
  28372. args.push(this.Representation);
  28373. ;
  28374. args.push(this.Tag);
  28375. ;
  28376. args.push(this.PredefinedType);
  28377. ;
  28378. return args;
  28379. }
  28380. };
  28381. var IfcDuctSilencerType = class {
  28382. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  28383. this.expressID = expressID;
  28384. this.type = type;
  28385. this.GlobalId = GlobalId;
  28386. this.OwnerHistory = OwnerHistory;
  28387. this.Name = Name;
  28388. this.Description = Description;
  28389. this.ApplicableOccurrence = ApplicableOccurrence;
  28390. this.HasPropertySets = HasPropertySets;
  28391. this.RepresentationMaps = RepresentationMaps;
  28392. this.Tag = Tag;
  28393. this.ElementType = ElementType;
  28394. this.PredefinedType = PredefinedType;
  28395. }
  28396. static FromTape(expressID, type, tape) {
  28397. let ptr = 0;
  28398. let GlobalId = tape[ptr++];
  28399. let OwnerHistory = tape[ptr++];
  28400. let Name = tape[ptr++];
  28401. let Description = tape[ptr++];
  28402. let ApplicableOccurrence = tape[ptr++];
  28403. let HasPropertySets = tape[ptr++];
  28404. let RepresentationMaps = tape[ptr++];
  28405. let Tag = tape[ptr++];
  28406. let ElementType = tape[ptr++];
  28407. let PredefinedType = tape[ptr++];
  28408. return new IfcDuctSilencerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  28409. }
  28410. ToTape() {
  28411. let args = [];
  28412. args.push(this.GlobalId);
  28413. ;
  28414. args.push(this.OwnerHistory);
  28415. ;
  28416. args.push(this.Name);
  28417. ;
  28418. args.push(this.Description);
  28419. ;
  28420. args.push(this.ApplicableOccurrence);
  28421. ;
  28422. args.push(this.HasPropertySets);
  28423. ;
  28424. args.push(this.RepresentationMaps);
  28425. ;
  28426. args.push(this.Tag);
  28427. ;
  28428. args.push(this.ElementType);
  28429. ;
  28430. args.push(this.PredefinedType);
  28431. ;
  28432. return args;
  28433. }
  28434. };
  28435. var IfcEdge = class {
  28436. constructor(expressID, type, EdgeStart, EdgeEnd) {
  28437. this.expressID = expressID;
  28438. this.type = type;
  28439. this.EdgeStart = EdgeStart;
  28440. this.EdgeEnd = EdgeEnd;
  28441. }
  28442. static FromTape(expressID, type, tape) {
  28443. let ptr = 0;
  28444. let EdgeStart = tape[ptr++];
  28445. let EdgeEnd = tape[ptr++];
  28446. return new IfcEdge(expressID, type, EdgeStart, EdgeEnd);
  28447. }
  28448. ToTape() {
  28449. let args = [];
  28450. args.push(this.EdgeStart);
  28451. ;
  28452. args.push(this.EdgeEnd);
  28453. ;
  28454. return args;
  28455. }
  28456. };
  28457. var IfcEdgeCurve = class {
  28458. constructor(expressID, type, EdgeStart, EdgeEnd, EdgeGeometry, SameSense) {
  28459. this.expressID = expressID;
  28460. this.type = type;
  28461. this.EdgeStart = EdgeStart;
  28462. this.EdgeEnd = EdgeEnd;
  28463. this.EdgeGeometry = EdgeGeometry;
  28464. this.SameSense = SameSense;
  28465. }
  28466. static FromTape(expressID, type, tape) {
  28467. let ptr = 0;
  28468. let EdgeStart = tape[ptr++];
  28469. let EdgeEnd = tape[ptr++];
  28470. let EdgeGeometry = tape[ptr++];
  28471. let SameSense = tape[ptr++];
  28472. return new IfcEdgeCurve(expressID, type, EdgeStart, EdgeEnd, EdgeGeometry, SameSense);
  28473. }
  28474. ToTape() {
  28475. let args = [];
  28476. args.push(this.EdgeStart);
  28477. ;
  28478. args.push(this.EdgeEnd);
  28479. ;
  28480. args.push(this.EdgeGeometry);
  28481. ;
  28482. args.push(this.SameSense);
  28483. ;
  28484. return args;
  28485. }
  28486. };
  28487. var IfcEdgeLoop = class {
  28488. constructor(expressID, type, EdgeList) {
  28489. this.expressID = expressID;
  28490. this.type = type;
  28491. this.EdgeList = EdgeList;
  28492. }
  28493. static FromTape(expressID, type, tape) {
  28494. let ptr = 0;
  28495. let EdgeList = tape[ptr++];
  28496. return new IfcEdgeLoop(expressID, type, EdgeList);
  28497. }
  28498. ToTape() {
  28499. let args = [];
  28500. args.push(this.EdgeList);
  28501. ;
  28502. return args;
  28503. }
  28504. };
  28505. var IfcElectricAppliance = class {
  28506. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  28507. this.expressID = expressID;
  28508. this.type = type;
  28509. this.GlobalId = GlobalId;
  28510. this.OwnerHistory = OwnerHistory;
  28511. this.Name = Name;
  28512. this.Description = Description;
  28513. this.ObjectType = ObjectType;
  28514. this.ObjectPlacement = ObjectPlacement;
  28515. this.Representation = Representation;
  28516. this.Tag = Tag;
  28517. this.PredefinedType = PredefinedType;
  28518. }
  28519. static FromTape(expressID, type, tape) {
  28520. let ptr = 0;
  28521. let GlobalId = tape[ptr++];
  28522. let OwnerHistory = tape[ptr++];
  28523. let Name = tape[ptr++];
  28524. let Description = tape[ptr++];
  28525. let ObjectType = tape[ptr++];
  28526. let ObjectPlacement = tape[ptr++];
  28527. let Representation = tape[ptr++];
  28528. let Tag = tape[ptr++];
  28529. let PredefinedType = tape[ptr++];
  28530. return new IfcElectricAppliance(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  28531. }
  28532. ToTape() {
  28533. let args = [];
  28534. args.push(this.GlobalId);
  28535. ;
  28536. args.push(this.OwnerHistory);
  28537. ;
  28538. args.push(this.Name);
  28539. ;
  28540. args.push(this.Description);
  28541. ;
  28542. args.push(this.ObjectType);
  28543. ;
  28544. args.push(this.ObjectPlacement);
  28545. ;
  28546. args.push(this.Representation);
  28547. ;
  28548. args.push(this.Tag);
  28549. ;
  28550. args.push(this.PredefinedType);
  28551. ;
  28552. return args;
  28553. }
  28554. };
  28555. var IfcElectricApplianceType = class {
  28556. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  28557. this.expressID = expressID;
  28558. this.type = type;
  28559. this.GlobalId = GlobalId;
  28560. this.OwnerHistory = OwnerHistory;
  28561. this.Name = Name;
  28562. this.Description = Description;
  28563. this.ApplicableOccurrence = ApplicableOccurrence;
  28564. this.HasPropertySets = HasPropertySets;
  28565. this.RepresentationMaps = RepresentationMaps;
  28566. this.Tag = Tag;
  28567. this.ElementType = ElementType;
  28568. this.PredefinedType = PredefinedType;
  28569. }
  28570. static FromTape(expressID, type, tape) {
  28571. let ptr = 0;
  28572. let GlobalId = tape[ptr++];
  28573. let OwnerHistory = tape[ptr++];
  28574. let Name = tape[ptr++];
  28575. let Description = tape[ptr++];
  28576. let ApplicableOccurrence = tape[ptr++];
  28577. let HasPropertySets = tape[ptr++];
  28578. let RepresentationMaps = tape[ptr++];
  28579. let Tag = tape[ptr++];
  28580. let ElementType = tape[ptr++];
  28581. let PredefinedType = tape[ptr++];
  28582. return new IfcElectricApplianceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  28583. }
  28584. ToTape() {
  28585. let args = [];
  28586. args.push(this.GlobalId);
  28587. ;
  28588. args.push(this.OwnerHistory);
  28589. ;
  28590. args.push(this.Name);
  28591. ;
  28592. args.push(this.Description);
  28593. ;
  28594. args.push(this.ApplicableOccurrence);
  28595. ;
  28596. args.push(this.HasPropertySets);
  28597. ;
  28598. args.push(this.RepresentationMaps);
  28599. ;
  28600. args.push(this.Tag);
  28601. ;
  28602. args.push(this.ElementType);
  28603. ;
  28604. args.push(this.PredefinedType);
  28605. ;
  28606. return args;
  28607. }
  28608. };
  28609. var IfcElectricDistributionBoard = class {
  28610. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  28611. this.expressID = expressID;
  28612. this.type = type;
  28613. this.GlobalId = GlobalId;
  28614. this.OwnerHistory = OwnerHistory;
  28615. this.Name = Name;
  28616. this.Description = Description;
  28617. this.ObjectType = ObjectType;
  28618. this.ObjectPlacement = ObjectPlacement;
  28619. this.Representation = Representation;
  28620. this.Tag = Tag;
  28621. this.PredefinedType = PredefinedType;
  28622. }
  28623. static FromTape(expressID, type, tape) {
  28624. let ptr = 0;
  28625. let GlobalId = tape[ptr++];
  28626. let OwnerHistory = tape[ptr++];
  28627. let Name = tape[ptr++];
  28628. let Description = tape[ptr++];
  28629. let ObjectType = tape[ptr++];
  28630. let ObjectPlacement = tape[ptr++];
  28631. let Representation = tape[ptr++];
  28632. let Tag = tape[ptr++];
  28633. let PredefinedType = tape[ptr++];
  28634. return new IfcElectricDistributionBoard(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  28635. }
  28636. ToTape() {
  28637. let args = [];
  28638. args.push(this.GlobalId);
  28639. ;
  28640. args.push(this.OwnerHistory);
  28641. ;
  28642. args.push(this.Name);
  28643. ;
  28644. args.push(this.Description);
  28645. ;
  28646. args.push(this.ObjectType);
  28647. ;
  28648. args.push(this.ObjectPlacement);
  28649. ;
  28650. args.push(this.Representation);
  28651. ;
  28652. args.push(this.Tag);
  28653. ;
  28654. args.push(this.PredefinedType);
  28655. ;
  28656. return args;
  28657. }
  28658. };
  28659. var IfcElectricDistributionBoardType = class {
  28660. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  28661. this.expressID = expressID;
  28662. this.type = type;
  28663. this.GlobalId = GlobalId;
  28664. this.OwnerHistory = OwnerHistory;
  28665. this.Name = Name;
  28666. this.Description = Description;
  28667. this.ApplicableOccurrence = ApplicableOccurrence;
  28668. this.HasPropertySets = HasPropertySets;
  28669. this.RepresentationMaps = RepresentationMaps;
  28670. this.Tag = Tag;
  28671. this.ElementType = ElementType;
  28672. this.PredefinedType = PredefinedType;
  28673. }
  28674. static FromTape(expressID, type, tape) {
  28675. let ptr = 0;
  28676. let GlobalId = tape[ptr++];
  28677. let OwnerHistory = tape[ptr++];
  28678. let Name = tape[ptr++];
  28679. let Description = tape[ptr++];
  28680. let ApplicableOccurrence = tape[ptr++];
  28681. let HasPropertySets = tape[ptr++];
  28682. let RepresentationMaps = tape[ptr++];
  28683. let Tag = tape[ptr++];
  28684. let ElementType = tape[ptr++];
  28685. let PredefinedType = tape[ptr++];
  28686. return new IfcElectricDistributionBoardType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  28687. }
  28688. ToTape() {
  28689. let args = [];
  28690. args.push(this.GlobalId);
  28691. ;
  28692. args.push(this.OwnerHistory);
  28693. ;
  28694. args.push(this.Name);
  28695. ;
  28696. args.push(this.Description);
  28697. ;
  28698. args.push(this.ApplicableOccurrence);
  28699. ;
  28700. args.push(this.HasPropertySets);
  28701. ;
  28702. args.push(this.RepresentationMaps);
  28703. ;
  28704. args.push(this.Tag);
  28705. ;
  28706. args.push(this.ElementType);
  28707. ;
  28708. args.push(this.PredefinedType);
  28709. ;
  28710. return args;
  28711. }
  28712. };
  28713. var IfcElectricFlowStorageDevice = class {
  28714. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  28715. this.expressID = expressID;
  28716. this.type = type;
  28717. this.GlobalId = GlobalId;
  28718. this.OwnerHistory = OwnerHistory;
  28719. this.Name = Name;
  28720. this.Description = Description;
  28721. this.ObjectType = ObjectType;
  28722. this.ObjectPlacement = ObjectPlacement;
  28723. this.Representation = Representation;
  28724. this.Tag = Tag;
  28725. this.PredefinedType = PredefinedType;
  28726. }
  28727. static FromTape(expressID, type, tape) {
  28728. let ptr = 0;
  28729. let GlobalId = tape[ptr++];
  28730. let OwnerHistory = tape[ptr++];
  28731. let Name = tape[ptr++];
  28732. let Description = tape[ptr++];
  28733. let ObjectType = tape[ptr++];
  28734. let ObjectPlacement = tape[ptr++];
  28735. let Representation = tape[ptr++];
  28736. let Tag = tape[ptr++];
  28737. let PredefinedType = tape[ptr++];
  28738. return new IfcElectricFlowStorageDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  28739. }
  28740. ToTape() {
  28741. let args = [];
  28742. args.push(this.GlobalId);
  28743. ;
  28744. args.push(this.OwnerHistory);
  28745. ;
  28746. args.push(this.Name);
  28747. ;
  28748. args.push(this.Description);
  28749. ;
  28750. args.push(this.ObjectType);
  28751. ;
  28752. args.push(this.ObjectPlacement);
  28753. ;
  28754. args.push(this.Representation);
  28755. ;
  28756. args.push(this.Tag);
  28757. ;
  28758. args.push(this.PredefinedType);
  28759. ;
  28760. return args;
  28761. }
  28762. };
  28763. var IfcElectricFlowStorageDeviceType = class {
  28764. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  28765. this.expressID = expressID;
  28766. this.type = type;
  28767. this.GlobalId = GlobalId;
  28768. this.OwnerHistory = OwnerHistory;
  28769. this.Name = Name;
  28770. this.Description = Description;
  28771. this.ApplicableOccurrence = ApplicableOccurrence;
  28772. this.HasPropertySets = HasPropertySets;
  28773. this.RepresentationMaps = RepresentationMaps;
  28774. this.Tag = Tag;
  28775. this.ElementType = ElementType;
  28776. this.PredefinedType = PredefinedType;
  28777. }
  28778. static FromTape(expressID, type, tape) {
  28779. let ptr = 0;
  28780. let GlobalId = tape[ptr++];
  28781. let OwnerHistory = tape[ptr++];
  28782. let Name = tape[ptr++];
  28783. let Description = tape[ptr++];
  28784. let ApplicableOccurrence = tape[ptr++];
  28785. let HasPropertySets = tape[ptr++];
  28786. let RepresentationMaps = tape[ptr++];
  28787. let Tag = tape[ptr++];
  28788. let ElementType = tape[ptr++];
  28789. let PredefinedType = tape[ptr++];
  28790. return new IfcElectricFlowStorageDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  28791. }
  28792. ToTape() {
  28793. let args = [];
  28794. args.push(this.GlobalId);
  28795. ;
  28796. args.push(this.OwnerHistory);
  28797. ;
  28798. args.push(this.Name);
  28799. ;
  28800. args.push(this.Description);
  28801. ;
  28802. args.push(this.ApplicableOccurrence);
  28803. ;
  28804. args.push(this.HasPropertySets);
  28805. ;
  28806. args.push(this.RepresentationMaps);
  28807. ;
  28808. args.push(this.Tag);
  28809. ;
  28810. args.push(this.ElementType);
  28811. ;
  28812. args.push(this.PredefinedType);
  28813. ;
  28814. return args;
  28815. }
  28816. };
  28817. var IfcElectricGenerator = class {
  28818. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  28819. this.expressID = expressID;
  28820. this.type = type;
  28821. this.GlobalId = GlobalId;
  28822. this.OwnerHistory = OwnerHistory;
  28823. this.Name = Name;
  28824. this.Description = Description;
  28825. this.ObjectType = ObjectType;
  28826. this.ObjectPlacement = ObjectPlacement;
  28827. this.Representation = Representation;
  28828. this.Tag = Tag;
  28829. this.PredefinedType = PredefinedType;
  28830. }
  28831. static FromTape(expressID, type, tape) {
  28832. let ptr = 0;
  28833. let GlobalId = tape[ptr++];
  28834. let OwnerHistory = tape[ptr++];
  28835. let Name = tape[ptr++];
  28836. let Description = tape[ptr++];
  28837. let ObjectType = tape[ptr++];
  28838. let ObjectPlacement = tape[ptr++];
  28839. let Representation = tape[ptr++];
  28840. let Tag = tape[ptr++];
  28841. let PredefinedType = tape[ptr++];
  28842. return new IfcElectricGenerator(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  28843. }
  28844. ToTape() {
  28845. let args = [];
  28846. args.push(this.GlobalId);
  28847. ;
  28848. args.push(this.OwnerHistory);
  28849. ;
  28850. args.push(this.Name);
  28851. ;
  28852. args.push(this.Description);
  28853. ;
  28854. args.push(this.ObjectType);
  28855. ;
  28856. args.push(this.ObjectPlacement);
  28857. ;
  28858. args.push(this.Representation);
  28859. ;
  28860. args.push(this.Tag);
  28861. ;
  28862. args.push(this.PredefinedType);
  28863. ;
  28864. return args;
  28865. }
  28866. };
  28867. var IfcElectricGeneratorType = class {
  28868. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  28869. this.expressID = expressID;
  28870. this.type = type;
  28871. this.GlobalId = GlobalId;
  28872. this.OwnerHistory = OwnerHistory;
  28873. this.Name = Name;
  28874. this.Description = Description;
  28875. this.ApplicableOccurrence = ApplicableOccurrence;
  28876. this.HasPropertySets = HasPropertySets;
  28877. this.RepresentationMaps = RepresentationMaps;
  28878. this.Tag = Tag;
  28879. this.ElementType = ElementType;
  28880. this.PredefinedType = PredefinedType;
  28881. }
  28882. static FromTape(expressID, type, tape) {
  28883. let ptr = 0;
  28884. let GlobalId = tape[ptr++];
  28885. let OwnerHistory = tape[ptr++];
  28886. let Name = tape[ptr++];
  28887. let Description = tape[ptr++];
  28888. let ApplicableOccurrence = tape[ptr++];
  28889. let HasPropertySets = tape[ptr++];
  28890. let RepresentationMaps = tape[ptr++];
  28891. let Tag = tape[ptr++];
  28892. let ElementType = tape[ptr++];
  28893. let PredefinedType = tape[ptr++];
  28894. return new IfcElectricGeneratorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  28895. }
  28896. ToTape() {
  28897. let args = [];
  28898. args.push(this.GlobalId);
  28899. ;
  28900. args.push(this.OwnerHistory);
  28901. ;
  28902. args.push(this.Name);
  28903. ;
  28904. args.push(this.Description);
  28905. ;
  28906. args.push(this.ApplicableOccurrence);
  28907. ;
  28908. args.push(this.HasPropertySets);
  28909. ;
  28910. args.push(this.RepresentationMaps);
  28911. ;
  28912. args.push(this.Tag);
  28913. ;
  28914. args.push(this.ElementType);
  28915. ;
  28916. args.push(this.PredefinedType);
  28917. ;
  28918. return args;
  28919. }
  28920. };
  28921. var IfcElectricMotor = class {
  28922. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  28923. this.expressID = expressID;
  28924. this.type = type;
  28925. this.GlobalId = GlobalId;
  28926. this.OwnerHistory = OwnerHistory;
  28927. this.Name = Name;
  28928. this.Description = Description;
  28929. this.ObjectType = ObjectType;
  28930. this.ObjectPlacement = ObjectPlacement;
  28931. this.Representation = Representation;
  28932. this.Tag = Tag;
  28933. this.PredefinedType = PredefinedType;
  28934. }
  28935. static FromTape(expressID, type, tape) {
  28936. let ptr = 0;
  28937. let GlobalId = tape[ptr++];
  28938. let OwnerHistory = tape[ptr++];
  28939. let Name = tape[ptr++];
  28940. let Description = tape[ptr++];
  28941. let ObjectType = tape[ptr++];
  28942. let ObjectPlacement = tape[ptr++];
  28943. let Representation = tape[ptr++];
  28944. let Tag = tape[ptr++];
  28945. let PredefinedType = tape[ptr++];
  28946. return new IfcElectricMotor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  28947. }
  28948. ToTape() {
  28949. let args = [];
  28950. args.push(this.GlobalId);
  28951. ;
  28952. args.push(this.OwnerHistory);
  28953. ;
  28954. args.push(this.Name);
  28955. ;
  28956. args.push(this.Description);
  28957. ;
  28958. args.push(this.ObjectType);
  28959. ;
  28960. args.push(this.ObjectPlacement);
  28961. ;
  28962. args.push(this.Representation);
  28963. ;
  28964. args.push(this.Tag);
  28965. ;
  28966. args.push(this.PredefinedType);
  28967. ;
  28968. return args;
  28969. }
  28970. };
  28971. var IfcElectricMotorType = class {
  28972. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  28973. this.expressID = expressID;
  28974. this.type = type;
  28975. this.GlobalId = GlobalId;
  28976. this.OwnerHistory = OwnerHistory;
  28977. this.Name = Name;
  28978. this.Description = Description;
  28979. this.ApplicableOccurrence = ApplicableOccurrence;
  28980. this.HasPropertySets = HasPropertySets;
  28981. this.RepresentationMaps = RepresentationMaps;
  28982. this.Tag = Tag;
  28983. this.ElementType = ElementType;
  28984. this.PredefinedType = PredefinedType;
  28985. }
  28986. static FromTape(expressID, type, tape) {
  28987. let ptr = 0;
  28988. let GlobalId = tape[ptr++];
  28989. let OwnerHistory = tape[ptr++];
  28990. let Name = tape[ptr++];
  28991. let Description = tape[ptr++];
  28992. let ApplicableOccurrence = tape[ptr++];
  28993. let HasPropertySets = tape[ptr++];
  28994. let RepresentationMaps = tape[ptr++];
  28995. let Tag = tape[ptr++];
  28996. let ElementType = tape[ptr++];
  28997. let PredefinedType = tape[ptr++];
  28998. return new IfcElectricMotorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  28999. }
  29000. ToTape() {
  29001. let args = [];
  29002. args.push(this.GlobalId);
  29003. ;
  29004. args.push(this.OwnerHistory);
  29005. ;
  29006. args.push(this.Name);
  29007. ;
  29008. args.push(this.Description);
  29009. ;
  29010. args.push(this.ApplicableOccurrence);
  29011. ;
  29012. args.push(this.HasPropertySets);
  29013. ;
  29014. args.push(this.RepresentationMaps);
  29015. ;
  29016. args.push(this.Tag);
  29017. ;
  29018. args.push(this.ElementType);
  29019. ;
  29020. args.push(this.PredefinedType);
  29021. ;
  29022. return args;
  29023. }
  29024. };
  29025. var IfcElectricTimeControl = class {
  29026. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  29027. this.expressID = expressID;
  29028. this.type = type;
  29029. this.GlobalId = GlobalId;
  29030. this.OwnerHistory = OwnerHistory;
  29031. this.Name = Name;
  29032. this.Description = Description;
  29033. this.ObjectType = ObjectType;
  29034. this.ObjectPlacement = ObjectPlacement;
  29035. this.Representation = Representation;
  29036. this.Tag = Tag;
  29037. this.PredefinedType = PredefinedType;
  29038. }
  29039. static FromTape(expressID, type, tape) {
  29040. let ptr = 0;
  29041. let GlobalId = tape[ptr++];
  29042. let OwnerHistory = tape[ptr++];
  29043. let Name = tape[ptr++];
  29044. let Description = tape[ptr++];
  29045. let ObjectType = tape[ptr++];
  29046. let ObjectPlacement = tape[ptr++];
  29047. let Representation = tape[ptr++];
  29048. let Tag = tape[ptr++];
  29049. let PredefinedType = tape[ptr++];
  29050. return new IfcElectricTimeControl(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  29051. }
  29052. ToTape() {
  29053. let args = [];
  29054. args.push(this.GlobalId);
  29055. ;
  29056. args.push(this.OwnerHistory);
  29057. ;
  29058. args.push(this.Name);
  29059. ;
  29060. args.push(this.Description);
  29061. ;
  29062. args.push(this.ObjectType);
  29063. ;
  29064. args.push(this.ObjectPlacement);
  29065. ;
  29066. args.push(this.Representation);
  29067. ;
  29068. args.push(this.Tag);
  29069. ;
  29070. args.push(this.PredefinedType);
  29071. ;
  29072. return args;
  29073. }
  29074. };
  29075. var IfcElectricTimeControlType = class {
  29076. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  29077. this.expressID = expressID;
  29078. this.type = type;
  29079. this.GlobalId = GlobalId;
  29080. this.OwnerHistory = OwnerHistory;
  29081. this.Name = Name;
  29082. this.Description = Description;
  29083. this.ApplicableOccurrence = ApplicableOccurrence;
  29084. this.HasPropertySets = HasPropertySets;
  29085. this.RepresentationMaps = RepresentationMaps;
  29086. this.Tag = Tag;
  29087. this.ElementType = ElementType;
  29088. this.PredefinedType = PredefinedType;
  29089. }
  29090. static FromTape(expressID, type, tape) {
  29091. let ptr = 0;
  29092. let GlobalId = tape[ptr++];
  29093. let OwnerHistory = tape[ptr++];
  29094. let Name = tape[ptr++];
  29095. let Description = tape[ptr++];
  29096. let ApplicableOccurrence = tape[ptr++];
  29097. let HasPropertySets = tape[ptr++];
  29098. let RepresentationMaps = tape[ptr++];
  29099. let Tag = tape[ptr++];
  29100. let ElementType = tape[ptr++];
  29101. let PredefinedType = tape[ptr++];
  29102. return new IfcElectricTimeControlType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  29103. }
  29104. ToTape() {
  29105. let args = [];
  29106. args.push(this.GlobalId);
  29107. ;
  29108. args.push(this.OwnerHistory);
  29109. ;
  29110. args.push(this.Name);
  29111. ;
  29112. args.push(this.Description);
  29113. ;
  29114. args.push(this.ApplicableOccurrence);
  29115. ;
  29116. args.push(this.HasPropertySets);
  29117. ;
  29118. args.push(this.RepresentationMaps);
  29119. ;
  29120. args.push(this.Tag);
  29121. ;
  29122. args.push(this.ElementType);
  29123. ;
  29124. args.push(this.PredefinedType);
  29125. ;
  29126. return args;
  29127. }
  29128. };
  29129. var IfcElement = class {
  29130. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  29131. this.expressID = expressID;
  29132. this.type = type;
  29133. this.GlobalId = GlobalId;
  29134. this.OwnerHistory = OwnerHistory;
  29135. this.Name = Name;
  29136. this.Description = Description;
  29137. this.ObjectType = ObjectType;
  29138. this.ObjectPlacement = ObjectPlacement;
  29139. this.Representation = Representation;
  29140. this.Tag = Tag;
  29141. }
  29142. static FromTape(expressID, type, tape) {
  29143. let ptr = 0;
  29144. let GlobalId = tape[ptr++];
  29145. let OwnerHistory = tape[ptr++];
  29146. let Name = tape[ptr++];
  29147. let Description = tape[ptr++];
  29148. let ObjectType = tape[ptr++];
  29149. let ObjectPlacement = tape[ptr++];
  29150. let Representation = tape[ptr++];
  29151. let Tag = tape[ptr++];
  29152. return new IfcElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  29153. }
  29154. ToTape() {
  29155. let args = [];
  29156. args.push(this.GlobalId);
  29157. ;
  29158. args.push(this.OwnerHistory);
  29159. ;
  29160. args.push(this.Name);
  29161. ;
  29162. args.push(this.Description);
  29163. ;
  29164. args.push(this.ObjectType);
  29165. ;
  29166. args.push(this.ObjectPlacement);
  29167. ;
  29168. args.push(this.Representation);
  29169. ;
  29170. args.push(this.Tag);
  29171. ;
  29172. return args;
  29173. }
  29174. };
  29175. var IfcElementAssembly = class {
  29176. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, AssemblyPlace, PredefinedType) {
  29177. this.expressID = expressID;
  29178. this.type = type;
  29179. this.GlobalId = GlobalId;
  29180. this.OwnerHistory = OwnerHistory;
  29181. this.Name = Name;
  29182. this.Description = Description;
  29183. this.ObjectType = ObjectType;
  29184. this.ObjectPlacement = ObjectPlacement;
  29185. this.Representation = Representation;
  29186. this.Tag = Tag;
  29187. this.AssemblyPlace = AssemblyPlace;
  29188. this.PredefinedType = PredefinedType;
  29189. }
  29190. static FromTape(expressID, type, tape) {
  29191. let ptr = 0;
  29192. let GlobalId = tape[ptr++];
  29193. let OwnerHistory = tape[ptr++];
  29194. let Name = tape[ptr++];
  29195. let Description = tape[ptr++];
  29196. let ObjectType = tape[ptr++];
  29197. let ObjectPlacement = tape[ptr++];
  29198. let Representation = tape[ptr++];
  29199. let Tag = tape[ptr++];
  29200. let AssemblyPlace = tape[ptr++];
  29201. let PredefinedType = tape[ptr++];
  29202. return new IfcElementAssembly(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, AssemblyPlace, PredefinedType);
  29203. }
  29204. ToTape() {
  29205. let args = [];
  29206. args.push(this.GlobalId);
  29207. ;
  29208. args.push(this.OwnerHistory);
  29209. ;
  29210. args.push(this.Name);
  29211. ;
  29212. args.push(this.Description);
  29213. ;
  29214. args.push(this.ObjectType);
  29215. ;
  29216. args.push(this.ObjectPlacement);
  29217. ;
  29218. args.push(this.Representation);
  29219. ;
  29220. args.push(this.Tag);
  29221. ;
  29222. args.push(this.AssemblyPlace);
  29223. ;
  29224. args.push(this.PredefinedType);
  29225. ;
  29226. return args;
  29227. }
  29228. };
  29229. var IfcElementAssemblyType = class {
  29230. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  29231. this.expressID = expressID;
  29232. this.type = type;
  29233. this.GlobalId = GlobalId;
  29234. this.OwnerHistory = OwnerHistory;
  29235. this.Name = Name;
  29236. this.Description = Description;
  29237. this.ApplicableOccurrence = ApplicableOccurrence;
  29238. this.HasPropertySets = HasPropertySets;
  29239. this.RepresentationMaps = RepresentationMaps;
  29240. this.Tag = Tag;
  29241. this.ElementType = ElementType;
  29242. this.PredefinedType = PredefinedType;
  29243. }
  29244. static FromTape(expressID, type, tape) {
  29245. let ptr = 0;
  29246. let GlobalId = tape[ptr++];
  29247. let OwnerHistory = tape[ptr++];
  29248. let Name = tape[ptr++];
  29249. let Description = tape[ptr++];
  29250. let ApplicableOccurrence = tape[ptr++];
  29251. let HasPropertySets = tape[ptr++];
  29252. let RepresentationMaps = tape[ptr++];
  29253. let Tag = tape[ptr++];
  29254. let ElementType = tape[ptr++];
  29255. let PredefinedType = tape[ptr++];
  29256. return new IfcElementAssemblyType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  29257. }
  29258. ToTape() {
  29259. let args = [];
  29260. args.push(this.GlobalId);
  29261. ;
  29262. args.push(this.OwnerHistory);
  29263. ;
  29264. args.push(this.Name);
  29265. ;
  29266. args.push(this.Description);
  29267. ;
  29268. args.push(this.ApplicableOccurrence);
  29269. ;
  29270. args.push(this.HasPropertySets);
  29271. ;
  29272. args.push(this.RepresentationMaps);
  29273. ;
  29274. args.push(this.Tag);
  29275. ;
  29276. args.push(this.ElementType);
  29277. ;
  29278. args.push(this.PredefinedType);
  29279. ;
  29280. return args;
  29281. }
  29282. };
  29283. var IfcElementComponent = class {
  29284. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  29285. this.expressID = expressID;
  29286. this.type = type;
  29287. this.GlobalId = GlobalId;
  29288. this.OwnerHistory = OwnerHistory;
  29289. this.Name = Name;
  29290. this.Description = Description;
  29291. this.ObjectType = ObjectType;
  29292. this.ObjectPlacement = ObjectPlacement;
  29293. this.Representation = Representation;
  29294. this.Tag = Tag;
  29295. }
  29296. static FromTape(expressID, type, tape) {
  29297. let ptr = 0;
  29298. let GlobalId = tape[ptr++];
  29299. let OwnerHistory = tape[ptr++];
  29300. let Name = tape[ptr++];
  29301. let Description = tape[ptr++];
  29302. let ObjectType = tape[ptr++];
  29303. let ObjectPlacement = tape[ptr++];
  29304. let Representation = tape[ptr++];
  29305. let Tag = tape[ptr++];
  29306. return new IfcElementComponent(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  29307. }
  29308. ToTape() {
  29309. let args = [];
  29310. args.push(this.GlobalId);
  29311. ;
  29312. args.push(this.OwnerHistory);
  29313. ;
  29314. args.push(this.Name);
  29315. ;
  29316. args.push(this.Description);
  29317. ;
  29318. args.push(this.ObjectType);
  29319. ;
  29320. args.push(this.ObjectPlacement);
  29321. ;
  29322. args.push(this.Representation);
  29323. ;
  29324. args.push(this.Tag);
  29325. ;
  29326. return args;
  29327. }
  29328. };
  29329. var IfcElementComponentType = class {
  29330. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  29331. this.expressID = expressID;
  29332. this.type = type;
  29333. this.GlobalId = GlobalId;
  29334. this.OwnerHistory = OwnerHistory;
  29335. this.Name = Name;
  29336. this.Description = Description;
  29337. this.ApplicableOccurrence = ApplicableOccurrence;
  29338. this.HasPropertySets = HasPropertySets;
  29339. this.RepresentationMaps = RepresentationMaps;
  29340. this.Tag = Tag;
  29341. this.ElementType = ElementType;
  29342. }
  29343. static FromTape(expressID, type, tape) {
  29344. let ptr = 0;
  29345. let GlobalId = tape[ptr++];
  29346. let OwnerHistory = tape[ptr++];
  29347. let Name = tape[ptr++];
  29348. let Description = tape[ptr++];
  29349. let ApplicableOccurrence = tape[ptr++];
  29350. let HasPropertySets = tape[ptr++];
  29351. let RepresentationMaps = tape[ptr++];
  29352. let Tag = tape[ptr++];
  29353. let ElementType = tape[ptr++];
  29354. return new IfcElementComponentType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  29355. }
  29356. ToTape() {
  29357. let args = [];
  29358. args.push(this.GlobalId);
  29359. ;
  29360. args.push(this.OwnerHistory);
  29361. ;
  29362. args.push(this.Name);
  29363. ;
  29364. args.push(this.Description);
  29365. ;
  29366. args.push(this.ApplicableOccurrence);
  29367. ;
  29368. args.push(this.HasPropertySets);
  29369. ;
  29370. args.push(this.RepresentationMaps);
  29371. ;
  29372. args.push(this.Tag);
  29373. ;
  29374. args.push(this.ElementType);
  29375. ;
  29376. return args;
  29377. }
  29378. };
  29379. var IfcElementQuantity = class {
  29380. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, MethodOfMeasurement, Quantities) {
  29381. this.expressID = expressID;
  29382. this.type = type;
  29383. this.GlobalId = GlobalId;
  29384. this.OwnerHistory = OwnerHistory;
  29385. this.Name = Name;
  29386. this.Description = Description;
  29387. this.MethodOfMeasurement = MethodOfMeasurement;
  29388. this.Quantities = Quantities;
  29389. }
  29390. static FromTape(expressID, type, tape) {
  29391. let ptr = 0;
  29392. let GlobalId = tape[ptr++];
  29393. let OwnerHistory = tape[ptr++];
  29394. let Name = tape[ptr++];
  29395. let Description = tape[ptr++];
  29396. let MethodOfMeasurement = tape[ptr++];
  29397. let Quantities = tape[ptr++];
  29398. return new IfcElementQuantity(expressID, type, GlobalId, OwnerHistory, Name, Description, MethodOfMeasurement, Quantities);
  29399. }
  29400. ToTape() {
  29401. let args = [];
  29402. args.push(this.GlobalId);
  29403. ;
  29404. args.push(this.OwnerHistory);
  29405. ;
  29406. args.push(this.Name);
  29407. ;
  29408. args.push(this.Description);
  29409. ;
  29410. args.push(this.MethodOfMeasurement);
  29411. ;
  29412. args.push(this.Quantities);
  29413. ;
  29414. return args;
  29415. }
  29416. };
  29417. var IfcElementType = class {
  29418. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  29419. this.expressID = expressID;
  29420. this.type = type;
  29421. this.GlobalId = GlobalId;
  29422. this.OwnerHistory = OwnerHistory;
  29423. this.Name = Name;
  29424. this.Description = Description;
  29425. this.ApplicableOccurrence = ApplicableOccurrence;
  29426. this.HasPropertySets = HasPropertySets;
  29427. this.RepresentationMaps = RepresentationMaps;
  29428. this.Tag = Tag;
  29429. this.ElementType = ElementType;
  29430. }
  29431. static FromTape(expressID, type, tape) {
  29432. let ptr = 0;
  29433. let GlobalId = tape[ptr++];
  29434. let OwnerHistory = tape[ptr++];
  29435. let Name = tape[ptr++];
  29436. let Description = tape[ptr++];
  29437. let ApplicableOccurrence = tape[ptr++];
  29438. let HasPropertySets = tape[ptr++];
  29439. let RepresentationMaps = tape[ptr++];
  29440. let Tag = tape[ptr++];
  29441. let ElementType = tape[ptr++];
  29442. return new IfcElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  29443. }
  29444. ToTape() {
  29445. let args = [];
  29446. args.push(this.GlobalId);
  29447. ;
  29448. args.push(this.OwnerHistory);
  29449. ;
  29450. args.push(this.Name);
  29451. ;
  29452. args.push(this.Description);
  29453. ;
  29454. args.push(this.ApplicableOccurrence);
  29455. ;
  29456. args.push(this.HasPropertySets);
  29457. ;
  29458. args.push(this.RepresentationMaps);
  29459. ;
  29460. args.push(this.Tag);
  29461. ;
  29462. args.push(this.ElementType);
  29463. ;
  29464. return args;
  29465. }
  29466. };
  29467. var IfcElementarySurface = class {
  29468. constructor(expressID, type, Position) {
  29469. this.expressID = expressID;
  29470. this.type = type;
  29471. this.Position = Position;
  29472. }
  29473. static FromTape(expressID, type, tape) {
  29474. let ptr = 0;
  29475. let Position = tape[ptr++];
  29476. return new IfcElementarySurface(expressID, type, Position);
  29477. }
  29478. ToTape() {
  29479. let args = [];
  29480. args.push(this.Position);
  29481. ;
  29482. return args;
  29483. }
  29484. };
  29485. var IfcEllipse = class {
  29486. constructor(expressID, type, Position, SemiAxis1, SemiAxis2) {
  29487. this.expressID = expressID;
  29488. this.type = type;
  29489. this.Position = Position;
  29490. this.SemiAxis1 = SemiAxis1;
  29491. this.SemiAxis2 = SemiAxis2;
  29492. }
  29493. static FromTape(expressID, type, tape) {
  29494. let ptr = 0;
  29495. let Position = tape[ptr++];
  29496. let SemiAxis1 = tape[ptr++];
  29497. let SemiAxis2 = tape[ptr++];
  29498. return new IfcEllipse(expressID, type, Position, SemiAxis1, SemiAxis2);
  29499. }
  29500. ToTape() {
  29501. let args = [];
  29502. args.push(this.Position);
  29503. ;
  29504. args.push(this.SemiAxis1);
  29505. ;
  29506. args.push(this.SemiAxis2);
  29507. ;
  29508. return args;
  29509. }
  29510. };
  29511. var IfcEllipseProfileDef = class {
  29512. constructor(expressID, type, ProfileType, ProfileName, Position, SemiAxis1, SemiAxis2) {
  29513. this.expressID = expressID;
  29514. this.type = type;
  29515. this.ProfileType = ProfileType;
  29516. this.ProfileName = ProfileName;
  29517. this.Position = Position;
  29518. this.SemiAxis1 = SemiAxis1;
  29519. this.SemiAxis2 = SemiAxis2;
  29520. }
  29521. static FromTape(expressID, type, tape) {
  29522. let ptr = 0;
  29523. let ProfileType = tape[ptr++];
  29524. let ProfileName = tape[ptr++];
  29525. let Position = tape[ptr++];
  29526. let SemiAxis1 = tape[ptr++];
  29527. let SemiAxis2 = tape[ptr++];
  29528. return new IfcEllipseProfileDef(expressID, type, ProfileType, ProfileName, Position, SemiAxis1, SemiAxis2);
  29529. }
  29530. ToTape() {
  29531. let args = [];
  29532. args.push(this.ProfileType);
  29533. ;
  29534. args.push(this.ProfileName);
  29535. ;
  29536. args.push(this.Position);
  29537. ;
  29538. args.push(this.SemiAxis1);
  29539. ;
  29540. args.push(this.SemiAxis2);
  29541. ;
  29542. return args;
  29543. }
  29544. };
  29545. var IfcEnergyConversionDevice = class {
  29546. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  29547. this.expressID = expressID;
  29548. this.type = type;
  29549. this.GlobalId = GlobalId;
  29550. this.OwnerHistory = OwnerHistory;
  29551. this.Name = Name;
  29552. this.Description = Description;
  29553. this.ObjectType = ObjectType;
  29554. this.ObjectPlacement = ObjectPlacement;
  29555. this.Representation = Representation;
  29556. this.Tag = Tag;
  29557. }
  29558. static FromTape(expressID, type, tape) {
  29559. let ptr = 0;
  29560. let GlobalId = tape[ptr++];
  29561. let OwnerHistory = tape[ptr++];
  29562. let Name = tape[ptr++];
  29563. let Description = tape[ptr++];
  29564. let ObjectType = tape[ptr++];
  29565. let ObjectPlacement = tape[ptr++];
  29566. let Representation = tape[ptr++];
  29567. let Tag = tape[ptr++];
  29568. return new IfcEnergyConversionDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  29569. }
  29570. ToTape() {
  29571. let args = [];
  29572. args.push(this.GlobalId);
  29573. ;
  29574. args.push(this.OwnerHistory);
  29575. ;
  29576. args.push(this.Name);
  29577. ;
  29578. args.push(this.Description);
  29579. ;
  29580. args.push(this.ObjectType);
  29581. ;
  29582. args.push(this.ObjectPlacement);
  29583. ;
  29584. args.push(this.Representation);
  29585. ;
  29586. args.push(this.Tag);
  29587. ;
  29588. return args;
  29589. }
  29590. };
  29591. var IfcEnergyConversionDeviceType = class {
  29592. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  29593. this.expressID = expressID;
  29594. this.type = type;
  29595. this.GlobalId = GlobalId;
  29596. this.OwnerHistory = OwnerHistory;
  29597. this.Name = Name;
  29598. this.Description = Description;
  29599. this.ApplicableOccurrence = ApplicableOccurrence;
  29600. this.HasPropertySets = HasPropertySets;
  29601. this.RepresentationMaps = RepresentationMaps;
  29602. this.Tag = Tag;
  29603. this.ElementType = ElementType;
  29604. }
  29605. static FromTape(expressID, type, tape) {
  29606. let ptr = 0;
  29607. let GlobalId = tape[ptr++];
  29608. let OwnerHistory = tape[ptr++];
  29609. let Name = tape[ptr++];
  29610. let Description = tape[ptr++];
  29611. let ApplicableOccurrence = tape[ptr++];
  29612. let HasPropertySets = tape[ptr++];
  29613. let RepresentationMaps = tape[ptr++];
  29614. let Tag = tape[ptr++];
  29615. let ElementType = tape[ptr++];
  29616. return new IfcEnergyConversionDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  29617. }
  29618. ToTape() {
  29619. let args = [];
  29620. args.push(this.GlobalId);
  29621. ;
  29622. args.push(this.OwnerHistory);
  29623. ;
  29624. args.push(this.Name);
  29625. ;
  29626. args.push(this.Description);
  29627. ;
  29628. args.push(this.ApplicableOccurrence);
  29629. ;
  29630. args.push(this.HasPropertySets);
  29631. ;
  29632. args.push(this.RepresentationMaps);
  29633. ;
  29634. args.push(this.Tag);
  29635. ;
  29636. args.push(this.ElementType);
  29637. ;
  29638. return args;
  29639. }
  29640. };
  29641. var IfcEngine = class {
  29642. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  29643. this.expressID = expressID;
  29644. this.type = type;
  29645. this.GlobalId = GlobalId;
  29646. this.OwnerHistory = OwnerHistory;
  29647. this.Name = Name;
  29648. this.Description = Description;
  29649. this.ObjectType = ObjectType;
  29650. this.ObjectPlacement = ObjectPlacement;
  29651. this.Representation = Representation;
  29652. this.Tag = Tag;
  29653. this.PredefinedType = PredefinedType;
  29654. }
  29655. static FromTape(expressID, type, tape) {
  29656. let ptr = 0;
  29657. let GlobalId = tape[ptr++];
  29658. let OwnerHistory = tape[ptr++];
  29659. let Name = tape[ptr++];
  29660. let Description = tape[ptr++];
  29661. let ObjectType = tape[ptr++];
  29662. let ObjectPlacement = tape[ptr++];
  29663. let Representation = tape[ptr++];
  29664. let Tag = tape[ptr++];
  29665. let PredefinedType = tape[ptr++];
  29666. return new IfcEngine(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  29667. }
  29668. ToTape() {
  29669. let args = [];
  29670. args.push(this.GlobalId);
  29671. ;
  29672. args.push(this.OwnerHistory);
  29673. ;
  29674. args.push(this.Name);
  29675. ;
  29676. args.push(this.Description);
  29677. ;
  29678. args.push(this.ObjectType);
  29679. ;
  29680. args.push(this.ObjectPlacement);
  29681. ;
  29682. args.push(this.Representation);
  29683. ;
  29684. args.push(this.Tag);
  29685. ;
  29686. args.push(this.PredefinedType);
  29687. ;
  29688. return args;
  29689. }
  29690. };
  29691. var IfcEngineType = class {
  29692. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  29693. this.expressID = expressID;
  29694. this.type = type;
  29695. this.GlobalId = GlobalId;
  29696. this.OwnerHistory = OwnerHistory;
  29697. this.Name = Name;
  29698. this.Description = Description;
  29699. this.ApplicableOccurrence = ApplicableOccurrence;
  29700. this.HasPropertySets = HasPropertySets;
  29701. this.RepresentationMaps = RepresentationMaps;
  29702. this.Tag = Tag;
  29703. this.ElementType = ElementType;
  29704. this.PredefinedType = PredefinedType;
  29705. }
  29706. static FromTape(expressID, type, tape) {
  29707. let ptr = 0;
  29708. let GlobalId = tape[ptr++];
  29709. let OwnerHistory = tape[ptr++];
  29710. let Name = tape[ptr++];
  29711. let Description = tape[ptr++];
  29712. let ApplicableOccurrence = tape[ptr++];
  29713. let HasPropertySets = tape[ptr++];
  29714. let RepresentationMaps = tape[ptr++];
  29715. let Tag = tape[ptr++];
  29716. let ElementType = tape[ptr++];
  29717. let PredefinedType = tape[ptr++];
  29718. return new IfcEngineType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  29719. }
  29720. ToTape() {
  29721. let args = [];
  29722. args.push(this.GlobalId);
  29723. ;
  29724. args.push(this.OwnerHistory);
  29725. ;
  29726. args.push(this.Name);
  29727. ;
  29728. args.push(this.Description);
  29729. ;
  29730. args.push(this.ApplicableOccurrence);
  29731. ;
  29732. args.push(this.HasPropertySets);
  29733. ;
  29734. args.push(this.RepresentationMaps);
  29735. ;
  29736. args.push(this.Tag);
  29737. ;
  29738. args.push(this.ElementType);
  29739. ;
  29740. args.push(this.PredefinedType);
  29741. ;
  29742. return args;
  29743. }
  29744. };
  29745. var IfcEvaporativeCooler = class {
  29746. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  29747. this.expressID = expressID;
  29748. this.type = type;
  29749. this.GlobalId = GlobalId;
  29750. this.OwnerHistory = OwnerHistory;
  29751. this.Name = Name;
  29752. this.Description = Description;
  29753. this.ObjectType = ObjectType;
  29754. this.ObjectPlacement = ObjectPlacement;
  29755. this.Representation = Representation;
  29756. this.Tag = Tag;
  29757. this.PredefinedType = PredefinedType;
  29758. }
  29759. static FromTape(expressID, type, tape) {
  29760. let ptr = 0;
  29761. let GlobalId = tape[ptr++];
  29762. let OwnerHistory = tape[ptr++];
  29763. let Name = tape[ptr++];
  29764. let Description = tape[ptr++];
  29765. let ObjectType = tape[ptr++];
  29766. let ObjectPlacement = tape[ptr++];
  29767. let Representation = tape[ptr++];
  29768. let Tag = tape[ptr++];
  29769. let PredefinedType = tape[ptr++];
  29770. return new IfcEvaporativeCooler(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  29771. }
  29772. ToTape() {
  29773. let args = [];
  29774. args.push(this.GlobalId);
  29775. ;
  29776. args.push(this.OwnerHistory);
  29777. ;
  29778. args.push(this.Name);
  29779. ;
  29780. args.push(this.Description);
  29781. ;
  29782. args.push(this.ObjectType);
  29783. ;
  29784. args.push(this.ObjectPlacement);
  29785. ;
  29786. args.push(this.Representation);
  29787. ;
  29788. args.push(this.Tag);
  29789. ;
  29790. args.push(this.PredefinedType);
  29791. ;
  29792. return args;
  29793. }
  29794. };
  29795. var IfcEvaporativeCoolerType = class {
  29796. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  29797. this.expressID = expressID;
  29798. this.type = type;
  29799. this.GlobalId = GlobalId;
  29800. this.OwnerHistory = OwnerHistory;
  29801. this.Name = Name;
  29802. this.Description = Description;
  29803. this.ApplicableOccurrence = ApplicableOccurrence;
  29804. this.HasPropertySets = HasPropertySets;
  29805. this.RepresentationMaps = RepresentationMaps;
  29806. this.Tag = Tag;
  29807. this.ElementType = ElementType;
  29808. this.PredefinedType = PredefinedType;
  29809. }
  29810. static FromTape(expressID, type, tape) {
  29811. let ptr = 0;
  29812. let GlobalId = tape[ptr++];
  29813. let OwnerHistory = tape[ptr++];
  29814. let Name = tape[ptr++];
  29815. let Description = tape[ptr++];
  29816. let ApplicableOccurrence = tape[ptr++];
  29817. let HasPropertySets = tape[ptr++];
  29818. let RepresentationMaps = tape[ptr++];
  29819. let Tag = tape[ptr++];
  29820. let ElementType = tape[ptr++];
  29821. let PredefinedType = tape[ptr++];
  29822. return new IfcEvaporativeCoolerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  29823. }
  29824. ToTape() {
  29825. let args = [];
  29826. args.push(this.GlobalId);
  29827. ;
  29828. args.push(this.OwnerHistory);
  29829. ;
  29830. args.push(this.Name);
  29831. ;
  29832. args.push(this.Description);
  29833. ;
  29834. args.push(this.ApplicableOccurrence);
  29835. ;
  29836. args.push(this.HasPropertySets);
  29837. ;
  29838. args.push(this.RepresentationMaps);
  29839. ;
  29840. args.push(this.Tag);
  29841. ;
  29842. args.push(this.ElementType);
  29843. ;
  29844. args.push(this.PredefinedType);
  29845. ;
  29846. return args;
  29847. }
  29848. };
  29849. var IfcEvaporator = class {
  29850. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  29851. this.expressID = expressID;
  29852. this.type = type;
  29853. this.GlobalId = GlobalId;
  29854. this.OwnerHistory = OwnerHistory;
  29855. this.Name = Name;
  29856. this.Description = Description;
  29857. this.ObjectType = ObjectType;
  29858. this.ObjectPlacement = ObjectPlacement;
  29859. this.Representation = Representation;
  29860. this.Tag = Tag;
  29861. this.PredefinedType = PredefinedType;
  29862. }
  29863. static FromTape(expressID, type, tape) {
  29864. let ptr = 0;
  29865. let GlobalId = tape[ptr++];
  29866. let OwnerHistory = tape[ptr++];
  29867. let Name = tape[ptr++];
  29868. let Description = tape[ptr++];
  29869. let ObjectType = tape[ptr++];
  29870. let ObjectPlacement = tape[ptr++];
  29871. let Representation = tape[ptr++];
  29872. let Tag = tape[ptr++];
  29873. let PredefinedType = tape[ptr++];
  29874. return new IfcEvaporator(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  29875. }
  29876. ToTape() {
  29877. let args = [];
  29878. args.push(this.GlobalId);
  29879. ;
  29880. args.push(this.OwnerHistory);
  29881. ;
  29882. args.push(this.Name);
  29883. ;
  29884. args.push(this.Description);
  29885. ;
  29886. args.push(this.ObjectType);
  29887. ;
  29888. args.push(this.ObjectPlacement);
  29889. ;
  29890. args.push(this.Representation);
  29891. ;
  29892. args.push(this.Tag);
  29893. ;
  29894. args.push(this.PredefinedType);
  29895. ;
  29896. return args;
  29897. }
  29898. };
  29899. var IfcEvaporatorType = class {
  29900. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  29901. this.expressID = expressID;
  29902. this.type = type;
  29903. this.GlobalId = GlobalId;
  29904. this.OwnerHistory = OwnerHistory;
  29905. this.Name = Name;
  29906. this.Description = Description;
  29907. this.ApplicableOccurrence = ApplicableOccurrence;
  29908. this.HasPropertySets = HasPropertySets;
  29909. this.RepresentationMaps = RepresentationMaps;
  29910. this.Tag = Tag;
  29911. this.ElementType = ElementType;
  29912. this.PredefinedType = PredefinedType;
  29913. }
  29914. static FromTape(expressID, type, tape) {
  29915. let ptr = 0;
  29916. let GlobalId = tape[ptr++];
  29917. let OwnerHistory = tape[ptr++];
  29918. let Name = tape[ptr++];
  29919. let Description = tape[ptr++];
  29920. let ApplicableOccurrence = tape[ptr++];
  29921. let HasPropertySets = tape[ptr++];
  29922. let RepresentationMaps = tape[ptr++];
  29923. let Tag = tape[ptr++];
  29924. let ElementType = tape[ptr++];
  29925. let PredefinedType = tape[ptr++];
  29926. return new IfcEvaporatorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  29927. }
  29928. ToTape() {
  29929. let args = [];
  29930. args.push(this.GlobalId);
  29931. ;
  29932. args.push(this.OwnerHistory);
  29933. ;
  29934. args.push(this.Name);
  29935. ;
  29936. args.push(this.Description);
  29937. ;
  29938. args.push(this.ApplicableOccurrence);
  29939. ;
  29940. args.push(this.HasPropertySets);
  29941. ;
  29942. args.push(this.RepresentationMaps);
  29943. ;
  29944. args.push(this.Tag);
  29945. ;
  29946. args.push(this.ElementType);
  29947. ;
  29948. args.push(this.PredefinedType);
  29949. ;
  29950. return args;
  29951. }
  29952. };
  29953. var IfcEvent = class {
  29954. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, PredefinedType, EventTriggerType, UserDefinedEventTriggerType, EventOccurenceTime) {
  29955. this.expressID = expressID;
  29956. this.type = type;
  29957. this.GlobalId = GlobalId;
  29958. this.OwnerHistory = OwnerHistory;
  29959. this.Name = Name;
  29960. this.Description = Description;
  29961. this.ObjectType = ObjectType;
  29962. this.Identification = Identification;
  29963. this.LongDescription = LongDescription;
  29964. this.PredefinedType = PredefinedType;
  29965. this.EventTriggerType = EventTriggerType;
  29966. this.UserDefinedEventTriggerType = UserDefinedEventTriggerType;
  29967. this.EventOccurenceTime = EventOccurenceTime;
  29968. }
  29969. static FromTape(expressID, type, tape) {
  29970. let ptr = 0;
  29971. let GlobalId = tape[ptr++];
  29972. let OwnerHistory = tape[ptr++];
  29973. let Name = tape[ptr++];
  29974. let Description = tape[ptr++];
  29975. let ObjectType = tape[ptr++];
  29976. let Identification = tape[ptr++];
  29977. let LongDescription = tape[ptr++];
  29978. let PredefinedType = tape[ptr++];
  29979. let EventTriggerType = tape[ptr++];
  29980. let UserDefinedEventTriggerType = tape[ptr++];
  29981. let EventOccurenceTime = tape[ptr++];
  29982. return new IfcEvent(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, PredefinedType, EventTriggerType, UserDefinedEventTriggerType, EventOccurenceTime);
  29983. }
  29984. ToTape() {
  29985. let args = [];
  29986. args.push(this.GlobalId);
  29987. ;
  29988. args.push(this.OwnerHistory);
  29989. ;
  29990. args.push(this.Name);
  29991. ;
  29992. args.push(this.Description);
  29993. ;
  29994. args.push(this.ObjectType);
  29995. ;
  29996. args.push(this.Identification);
  29997. ;
  29998. args.push(this.LongDescription);
  29999. ;
  30000. args.push(this.PredefinedType);
  30001. ;
  30002. args.push(this.EventTriggerType);
  30003. ;
  30004. args.push(this.UserDefinedEventTriggerType);
  30005. ;
  30006. args.push(this.EventOccurenceTime);
  30007. ;
  30008. return args;
  30009. }
  30010. };
  30011. var IfcEventTime = class {
  30012. constructor(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, ActualDate, EarlyDate, LateDate, ScheduleDate) {
  30013. this.expressID = expressID;
  30014. this.type = type;
  30015. this.Name = Name;
  30016. this.DataOrigin = DataOrigin;
  30017. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  30018. this.ActualDate = ActualDate;
  30019. this.EarlyDate = EarlyDate;
  30020. this.LateDate = LateDate;
  30021. this.ScheduleDate = ScheduleDate;
  30022. }
  30023. static FromTape(expressID, type, tape) {
  30024. let ptr = 0;
  30025. let Name = tape[ptr++];
  30026. let DataOrigin = tape[ptr++];
  30027. let UserDefinedDataOrigin = tape[ptr++];
  30028. let ActualDate = tape[ptr++];
  30029. let EarlyDate = tape[ptr++];
  30030. let LateDate = tape[ptr++];
  30031. let ScheduleDate = tape[ptr++];
  30032. return new IfcEventTime(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, ActualDate, EarlyDate, LateDate, ScheduleDate);
  30033. }
  30034. ToTape() {
  30035. let args = [];
  30036. args.push(this.Name);
  30037. ;
  30038. args.push(this.DataOrigin);
  30039. ;
  30040. args.push(this.UserDefinedDataOrigin);
  30041. ;
  30042. args.push(this.ActualDate);
  30043. ;
  30044. args.push(this.EarlyDate);
  30045. ;
  30046. args.push(this.LateDate);
  30047. ;
  30048. args.push(this.ScheduleDate);
  30049. ;
  30050. return args;
  30051. }
  30052. };
  30053. var IfcEventType = class {
  30054. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ProcessType, PredefinedType, EventTriggerType, UserDefinedEventTriggerType) {
  30055. this.expressID = expressID;
  30056. this.type = type;
  30057. this.GlobalId = GlobalId;
  30058. this.OwnerHistory = OwnerHistory;
  30059. this.Name = Name;
  30060. this.Description = Description;
  30061. this.ApplicableOccurrence = ApplicableOccurrence;
  30062. this.HasPropertySets = HasPropertySets;
  30063. this.Identification = Identification;
  30064. this.LongDescription = LongDescription;
  30065. this.ProcessType = ProcessType;
  30066. this.PredefinedType = PredefinedType;
  30067. this.EventTriggerType = EventTriggerType;
  30068. this.UserDefinedEventTriggerType = UserDefinedEventTriggerType;
  30069. }
  30070. static FromTape(expressID, type, tape) {
  30071. let ptr = 0;
  30072. let GlobalId = tape[ptr++];
  30073. let OwnerHistory = tape[ptr++];
  30074. let Name = tape[ptr++];
  30075. let Description = tape[ptr++];
  30076. let ApplicableOccurrence = tape[ptr++];
  30077. let HasPropertySets = tape[ptr++];
  30078. let Identification = tape[ptr++];
  30079. let LongDescription = tape[ptr++];
  30080. let ProcessType = tape[ptr++];
  30081. let PredefinedType = tape[ptr++];
  30082. let EventTriggerType = tape[ptr++];
  30083. let UserDefinedEventTriggerType = tape[ptr++];
  30084. return new IfcEventType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ProcessType, PredefinedType, EventTriggerType, UserDefinedEventTriggerType);
  30085. }
  30086. ToTape() {
  30087. let args = [];
  30088. args.push(this.GlobalId);
  30089. ;
  30090. args.push(this.OwnerHistory);
  30091. ;
  30092. args.push(this.Name);
  30093. ;
  30094. args.push(this.Description);
  30095. ;
  30096. args.push(this.ApplicableOccurrence);
  30097. ;
  30098. args.push(this.HasPropertySets);
  30099. ;
  30100. args.push(this.Identification);
  30101. ;
  30102. args.push(this.LongDescription);
  30103. ;
  30104. args.push(this.ProcessType);
  30105. ;
  30106. args.push(this.PredefinedType);
  30107. ;
  30108. args.push(this.EventTriggerType);
  30109. ;
  30110. args.push(this.UserDefinedEventTriggerType);
  30111. ;
  30112. return args;
  30113. }
  30114. };
  30115. var IfcExtendedProperties = class {
  30116. constructor(expressID, type, Name, Description, Properties2) {
  30117. this.expressID = expressID;
  30118. this.type = type;
  30119. this.Name = Name;
  30120. this.Description = Description;
  30121. this.Properties = Properties2;
  30122. }
  30123. static FromTape(expressID, type, tape) {
  30124. let ptr = 0;
  30125. let Name = tape[ptr++];
  30126. let Description = tape[ptr++];
  30127. let Properties2 = tape[ptr++];
  30128. return new IfcExtendedProperties(expressID, type, Name, Description, Properties2);
  30129. }
  30130. ToTape() {
  30131. let args = [];
  30132. args.push(this.Name);
  30133. ;
  30134. args.push(this.Description);
  30135. ;
  30136. args.push(this.Properties);
  30137. ;
  30138. return args;
  30139. }
  30140. };
  30141. var IfcExternalInformation = class {
  30142. constructor(expressID, type) {
  30143. this.expressID = expressID;
  30144. this.type = type;
  30145. }
  30146. static FromTape(expressID, type, tape) {
  30147. let ptr = 0;
  30148. return new IfcExternalInformation(expressID, type);
  30149. }
  30150. ToTape() {
  30151. let args = [];
  30152. return args;
  30153. }
  30154. };
  30155. var IfcExternalReference = class {
  30156. constructor(expressID, type, Location, Identification, Name) {
  30157. this.expressID = expressID;
  30158. this.type = type;
  30159. this.Location = Location;
  30160. this.Identification = Identification;
  30161. this.Name = Name;
  30162. }
  30163. static FromTape(expressID, type, tape) {
  30164. let ptr = 0;
  30165. let Location = tape[ptr++];
  30166. let Identification = tape[ptr++];
  30167. let Name = tape[ptr++];
  30168. return new IfcExternalReference(expressID, type, Location, Identification, Name);
  30169. }
  30170. ToTape() {
  30171. let args = [];
  30172. args.push(this.Location);
  30173. ;
  30174. args.push(this.Identification);
  30175. ;
  30176. args.push(this.Name);
  30177. ;
  30178. return args;
  30179. }
  30180. };
  30181. var IfcExternalReferenceRelationship = class {
  30182. constructor(expressID, type, Name, Description, RelatingReference, RelatedResourceObjects) {
  30183. this.expressID = expressID;
  30184. this.type = type;
  30185. this.Name = Name;
  30186. this.Description = Description;
  30187. this.RelatingReference = RelatingReference;
  30188. this.RelatedResourceObjects = RelatedResourceObjects;
  30189. }
  30190. static FromTape(expressID, type, tape) {
  30191. let ptr = 0;
  30192. let Name = tape[ptr++];
  30193. let Description = tape[ptr++];
  30194. let RelatingReference = tape[ptr++];
  30195. let RelatedResourceObjects = tape[ptr++];
  30196. return new IfcExternalReferenceRelationship(expressID, type, Name, Description, RelatingReference, RelatedResourceObjects);
  30197. }
  30198. ToTape() {
  30199. let args = [];
  30200. args.push(this.Name);
  30201. ;
  30202. args.push(this.Description);
  30203. ;
  30204. args.push(this.RelatingReference);
  30205. ;
  30206. args.push(this.RelatedResourceObjects);
  30207. ;
  30208. return args;
  30209. }
  30210. };
  30211. var IfcExternalSpatialElement = class {
  30212. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, PredefinedType) {
  30213. this.expressID = expressID;
  30214. this.type = type;
  30215. this.GlobalId = GlobalId;
  30216. this.OwnerHistory = OwnerHistory;
  30217. this.Name = Name;
  30218. this.Description = Description;
  30219. this.ObjectType = ObjectType;
  30220. this.ObjectPlacement = ObjectPlacement;
  30221. this.Representation = Representation;
  30222. this.LongName = LongName;
  30223. this.PredefinedType = PredefinedType;
  30224. }
  30225. static FromTape(expressID, type, tape) {
  30226. let ptr = 0;
  30227. let GlobalId = tape[ptr++];
  30228. let OwnerHistory = tape[ptr++];
  30229. let Name = tape[ptr++];
  30230. let Description = tape[ptr++];
  30231. let ObjectType = tape[ptr++];
  30232. let ObjectPlacement = tape[ptr++];
  30233. let Representation = tape[ptr++];
  30234. let LongName = tape[ptr++];
  30235. let PredefinedType = tape[ptr++];
  30236. return new IfcExternalSpatialElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, PredefinedType);
  30237. }
  30238. ToTape() {
  30239. let args = [];
  30240. args.push(this.GlobalId);
  30241. ;
  30242. args.push(this.OwnerHistory);
  30243. ;
  30244. args.push(this.Name);
  30245. ;
  30246. args.push(this.Description);
  30247. ;
  30248. args.push(this.ObjectType);
  30249. ;
  30250. args.push(this.ObjectPlacement);
  30251. ;
  30252. args.push(this.Representation);
  30253. ;
  30254. args.push(this.LongName);
  30255. ;
  30256. args.push(this.PredefinedType);
  30257. ;
  30258. return args;
  30259. }
  30260. };
  30261. var IfcExternalSpatialStructureElement = class {
  30262. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName) {
  30263. this.expressID = expressID;
  30264. this.type = type;
  30265. this.GlobalId = GlobalId;
  30266. this.OwnerHistory = OwnerHistory;
  30267. this.Name = Name;
  30268. this.Description = Description;
  30269. this.ObjectType = ObjectType;
  30270. this.ObjectPlacement = ObjectPlacement;
  30271. this.Representation = Representation;
  30272. this.LongName = LongName;
  30273. }
  30274. static FromTape(expressID, type, tape) {
  30275. let ptr = 0;
  30276. let GlobalId = tape[ptr++];
  30277. let OwnerHistory = tape[ptr++];
  30278. let Name = tape[ptr++];
  30279. let Description = tape[ptr++];
  30280. let ObjectType = tape[ptr++];
  30281. let ObjectPlacement = tape[ptr++];
  30282. let Representation = tape[ptr++];
  30283. let LongName = tape[ptr++];
  30284. return new IfcExternalSpatialStructureElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName);
  30285. }
  30286. ToTape() {
  30287. let args = [];
  30288. args.push(this.GlobalId);
  30289. ;
  30290. args.push(this.OwnerHistory);
  30291. ;
  30292. args.push(this.Name);
  30293. ;
  30294. args.push(this.Description);
  30295. ;
  30296. args.push(this.ObjectType);
  30297. ;
  30298. args.push(this.ObjectPlacement);
  30299. ;
  30300. args.push(this.Representation);
  30301. ;
  30302. args.push(this.LongName);
  30303. ;
  30304. return args;
  30305. }
  30306. };
  30307. var IfcExternallyDefinedHatchStyle = class {
  30308. constructor(expressID, type, Location, Identification, Name) {
  30309. this.expressID = expressID;
  30310. this.type = type;
  30311. this.Location = Location;
  30312. this.Identification = Identification;
  30313. this.Name = Name;
  30314. }
  30315. static FromTape(expressID, type, tape) {
  30316. let ptr = 0;
  30317. let Location = tape[ptr++];
  30318. let Identification = tape[ptr++];
  30319. let Name = tape[ptr++];
  30320. return new IfcExternallyDefinedHatchStyle(expressID, type, Location, Identification, Name);
  30321. }
  30322. ToTape() {
  30323. let args = [];
  30324. args.push(this.Location);
  30325. ;
  30326. args.push(this.Identification);
  30327. ;
  30328. args.push(this.Name);
  30329. ;
  30330. return args;
  30331. }
  30332. };
  30333. var IfcExternallyDefinedSurfaceStyle = class {
  30334. constructor(expressID, type, Location, Identification, Name) {
  30335. this.expressID = expressID;
  30336. this.type = type;
  30337. this.Location = Location;
  30338. this.Identification = Identification;
  30339. this.Name = Name;
  30340. }
  30341. static FromTape(expressID, type, tape) {
  30342. let ptr = 0;
  30343. let Location = tape[ptr++];
  30344. let Identification = tape[ptr++];
  30345. let Name = tape[ptr++];
  30346. return new IfcExternallyDefinedSurfaceStyle(expressID, type, Location, Identification, Name);
  30347. }
  30348. ToTape() {
  30349. let args = [];
  30350. args.push(this.Location);
  30351. ;
  30352. args.push(this.Identification);
  30353. ;
  30354. args.push(this.Name);
  30355. ;
  30356. return args;
  30357. }
  30358. };
  30359. var IfcExternallyDefinedTextFont = class {
  30360. constructor(expressID, type, Location, Identification, Name) {
  30361. this.expressID = expressID;
  30362. this.type = type;
  30363. this.Location = Location;
  30364. this.Identification = Identification;
  30365. this.Name = Name;
  30366. }
  30367. static FromTape(expressID, type, tape) {
  30368. let ptr = 0;
  30369. let Location = tape[ptr++];
  30370. let Identification = tape[ptr++];
  30371. let Name = tape[ptr++];
  30372. return new IfcExternallyDefinedTextFont(expressID, type, Location, Identification, Name);
  30373. }
  30374. ToTape() {
  30375. let args = [];
  30376. args.push(this.Location);
  30377. ;
  30378. args.push(this.Identification);
  30379. ;
  30380. args.push(this.Name);
  30381. ;
  30382. return args;
  30383. }
  30384. };
  30385. var IfcExtrudedAreaSolid = class {
  30386. constructor(expressID, type, SweptArea, Position, ExtrudedDirection, Depth) {
  30387. this.expressID = expressID;
  30388. this.type = type;
  30389. this.SweptArea = SweptArea;
  30390. this.Position = Position;
  30391. this.ExtrudedDirection = ExtrudedDirection;
  30392. this.Depth = Depth;
  30393. }
  30394. static FromTape(expressID, type, tape) {
  30395. let ptr = 0;
  30396. let SweptArea = tape[ptr++];
  30397. let Position = tape[ptr++];
  30398. let ExtrudedDirection = tape[ptr++];
  30399. let Depth = tape[ptr++];
  30400. return new IfcExtrudedAreaSolid(expressID, type, SweptArea, Position, ExtrudedDirection, Depth);
  30401. }
  30402. ToTape() {
  30403. let args = [];
  30404. args.push(this.SweptArea);
  30405. ;
  30406. args.push(this.Position);
  30407. ;
  30408. args.push(this.ExtrudedDirection);
  30409. ;
  30410. args.push(this.Depth);
  30411. ;
  30412. return args;
  30413. }
  30414. };
  30415. var IfcExtrudedAreaSolidTapered = class {
  30416. constructor(expressID, type, SweptArea, Position, ExtrudedDirection, Depth, EndSweptArea) {
  30417. this.expressID = expressID;
  30418. this.type = type;
  30419. this.SweptArea = SweptArea;
  30420. this.Position = Position;
  30421. this.ExtrudedDirection = ExtrudedDirection;
  30422. this.Depth = Depth;
  30423. this.EndSweptArea = EndSweptArea;
  30424. }
  30425. static FromTape(expressID, type, tape) {
  30426. let ptr = 0;
  30427. let SweptArea = tape[ptr++];
  30428. let Position = tape[ptr++];
  30429. let ExtrudedDirection = tape[ptr++];
  30430. let Depth = tape[ptr++];
  30431. let EndSweptArea = tape[ptr++];
  30432. return new IfcExtrudedAreaSolidTapered(expressID, type, SweptArea, Position, ExtrudedDirection, Depth, EndSweptArea);
  30433. }
  30434. ToTape() {
  30435. let args = [];
  30436. args.push(this.SweptArea);
  30437. ;
  30438. args.push(this.Position);
  30439. ;
  30440. args.push(this.ExtrudedDirection);
  30441. ;
  30442. args.push(this.Depth);
  30443. ;
  30444. args.push(this.EndSweptArea);
  30445. ;
  30446. return args;
  30447. }
  30448. };
  30449. var IfcFace = class {
  30450. constructor(expressID, type, Bounds) {
  30451. this.expressID = expressID;
  30452. this.type = type;
  30453. this.Bounds = Bounds;
  30454. }
  30455. static FromTape(expressID, type, tape) {
  30456. let ptr = 0;
  30457. let Bounds = tape[ptr++];
  30458. return new IfcFace(expressID, type, Bounds);
  30459. }
  30460. ToTape() {
  30461. let args = [];
  30462. args.push(this.Bounds);
  30463. ;
  30464. return args;
  30465. }
  30466. };
  30467. var IfcFaceBasedSurfaceModel = class {
  30468. constructor(expressID, type, FbsmFaces) {
  30469. this.expressID = expressID;
  30470. this.type = type;
  30471. this.FbsmFaces = FbsmFaces;
  30472. }
  30473. static FromTape(expressID, type, tape) {
  30474. let ptr = 0;
  30475. let FbsmFaces = tape[ptr++];
  30476. return new IfcFaceBasedSurfaceModel(expressID, type, FbsmFaces);
  30477. }
  30478. ToTape() {
  30479. let args = [];
  30480. args.push(this.FbsmFaces);
  30481. ;
  30482. return args;
  30483. }
  30484. };
  30485. var IfcFaceBound = class {
  30486. constructor(expressID, type, Bound, Orientation) {
  30487. this.expressID = expressID;
  30488. this.type = type;
  30489. this.Bound = Bound;
  30490. this.Orientation = Orientation;
  30491. }
  30492. static FromTape(expressID, type, tape) {
  30493. let ptr = 0;
  30494. let Bound = tape[ptr++];
  30495. let Orientation = tape[ptr++];
  30496. return new IfcFaceBound(expressID, type, Bound, Orientation);
  30497. }
  30498. ToTape() {
  30499. let args = [];
  30500. args.push(this.Bound);
  30501. ;
  30502. args.push(this.Orientation);
  30503. ;
  30504. return args;
  30505. }
  30506. };
  30507. var IfcFaceOuterBound = class {
  30508. constructor(expressID, type, Bound, Orientation) {
  30509. this.expressID = expressID;
  30510. this.type = type;
  30511. this.Bound = Bound;
  30512. this.Orientation = Orientation;
  30513. }
  30514. static FromTape(expressID, type, tape) {
  30515. let ptr = 0;
  30516. let Bound = tape[ptr++];
  30517. let Orientation = tape[ptr++];
  30518. return new IfcFaceOuterBound(expressID, type, Bound, Orientation);
  30519. }
  30520. ToTape() {
  30521. let args = [];
  30522. args.push(this.Bound);
  30523. ;
  30524. args.push(this.Orientation);
  30525. ;
  30526. return args;
  30527. }
  30528. };
  30529. var IfcFaceSurface = class {
  30530. constructor(expressID, type, Bounds, FaceSurface, SameSense) {
  30531. this.expressID = expressID;
  30532. this.type = type;
  30533. this.Bounds = Bounds;
  30534. this.FaceSurface = FaceSurface;
  30535. this.SameSense = SameSense;
  30536. }
  30537. static FromTape(expressID, type, tape) {
  30538. let ptr = 0;
  30539. let Bounds = tape[ptr++];
  30540. let FaceSurface = tape[ptr++];
  30541. let SameSense = tape[ptr++];
  30542. return new IfcFaceSurface(expressID, type, Bounds, FaceSurface, SameSense);
  30543. }
  30544. ToTape() {
  30545. let args = [];
  30546. args.push(this.Bounds);
  30547. ;
  30548. args.push(this.FaceSurface);
  30549. ;
  30550. args.push(this.SameSense);
  30551. ;
  30552. return args;
  30553. }
  30554. };
  30555. var IfcFacetedBrep = class {
  30556. constructor(expressID, type, Outer) {
  30557. this.expressID = expressID;
  30558. this.type = type;
  30559. this.Outer = Outer;
  30560. }
  30561. static FromTape(expressID, type, tape) {
  30562. let ptr = 0;
  30563. let Outer = tape[ptr++];
  30564. return new IfcFacetedBrep(expressID, type, Outer);
  30565. }
  30566. ToTape() {
  30567. let args = [];
  30568. args.push(this.Outer);
  30569. ;
  30570. return args;
  30571. }
  30572. };
  30573. var IfcFacetedBrepWithVoids = class {
  30574. constructor(expressID, type, Outer, Voids) {
  30575. this.expressID = expressID;
  30576. this.type = type;
  30577. this.Outer = Outer;
  30578. this.Voids = Voids;
  30579. }
  30580. static FromTape(expressID, type, tape) {
  30581. let ptr = 0;
  30582. let Outer = tape[ptr++];
  30583. let Voids = tape[ptr++];
  30584. return new IfcFacetedBrepWithVoids(expressID, type, Outer, Voids);
  30585. }
  30586. ToTape() {
  30587. let args = [];
  30588. args.push(this.Outer);
  30589. ;
  30590. args.push(this.Voids);
  30591. ;
  30592. return args;
  30593. }
  30594. };
  30595. var IfcFacility = class {
  30596. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType) {
  30597. this.expressID = expressID;
  30598. this.type = type;
  30599. this.GlobalId = GlobalId;
  30600. this.OwnerHistory = OwnerHistory;
  30601. this.Name = Name;
  30602. this.Description = Description;
  30603. this.ObjectType = ObjectType;
  30604. this.ObjectPlacement = ObjectPlacement;
  30605. this.Representation = Representation;
  30606. this.LongName = LongName;
  30607. this.CompositionType = CompositionType;
  30608. }
  30609. static FromTape(expressID, type, tape) {
  30610. let ptr = 0;
  30611. let GlobalId = tape[ptr++];
  30612. let OwnerHistory = tape[ptr++];
  30613. let Name = tape[ptr++];
  30614. let Description = tape[ptr++];
  30615. let ObjectType = tape[ptr++];
  30616. let ObjectPlacement = tape[ptr++];
  30617. let Representation = tape[ptr++];
  30618. let LongName = tape[ptr++];
  30619. let CompositionType = tape[ptr++];
  30620. return new IfcFacility(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType);
  30621. }
  30622. ToTape() {
  30623. let args = [];
  30624. args.push(this.GlobalId);
  30625. ;
  30626. args.push(this.OwnerHistory);
  30627. ;
  30628. args.push(this.Name);
  30629. ;
  30630. args.push(this.Description);
  30631. ;
  30632. args.push(this.ObjectType);
  30633. ;
  30634. args.push(this.ObjectPlacement);
  30635. ;
  30636. args.push(this.Representation);
  30637. ;
  30638. args.push(this.LongName);
  30639. ;
  30640. args.push(this.CompositionType);
  30641. ;
  30642. return args;
  30643. }
  30644. };
  30645. var IfcFacilityPart = class {
  30646. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType) {
  30647. this.expressID = expressID;
  30648. this.type = type;
  30649. this.GlobalId = GlobalId;
  30650. this.OwnerHistory = OwnerHistory;
  30651. this.Name = Name;
  30652. this.Description = Description;
  30653. this.ObjectType = ObjectType;
  30654. this.ObjectPlacement = ObjectPlacement;
  30655. this.Representation = Representation;
  30656. this.LongName = LongName;
  30657. this.CompositionType = CompositionType;
  30658. }
  30659. static FromTape(expressID, type, tape) {
  30660. let ptr = 0;
  30661. let GlobalId = tape[ptr++];
  30662. let OwnerHistory = tape[ptr++];
  30663. let Name = tape[ptr++];
  30664. let Description = tape[ptr++];
  30665. let ObjectType = tape[ptr++];
  30666. let ObjectPlacement = tape[ptr++];
  30667. let Representation = tape[ptr++];
  30668. let LongName = tape[ptr++];
  30669. let CompositionType = tape[ptr++];
  30670. return new IfcFacilityPart(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType);
  30671. }
  30672. ToTape() {
  30673. let args = [];
  30674. args.push(this.GlobalId);
  30675. ;
  30676. args.push(this.OwnerHistory);
  30677. ;
  30678. args.push(this.Name);
  30679. ;
  30680. args.push(this.Description);
  30681. ;
  30682. args.push(this.ObjectType);
  30683. ;
  30684. args.push(this.ObjectPlacement);
  30685. ;
  30686. args.push(this.Representation);
  30687. ;
  30688. args.push(this.LongName);
  30689. ;
  30690. args.push(this.CompositionType);
  30691. ;
  30692. return args;
  30693. }
  30694. };
  30695. var IfcFailureConnectionCondition = class {
  30696. constructor(expressID, type, Name, TensionFailureX, TensionFailureY, TensionFailureZ, CompressionFailureX, CompressionFailureY, CompressionFailureZ) {
  30697. this.expressID = expressID;
  30698. this.type = type;
  30699. this.Name = Name;
  30700. this.TensionFailureX = TensionFailureX;
  30701. this.TensionFailureY = TensionFailureY;
  30702. this.TensionFailureZ = TensionFailureZ;
  30703. this.CompressionFailureX = CompressionFailureX;
  30704. this.CompressionFailureY = CompressionFailureY;
  30705. this.CompressionFailureZ = CompressionFailureZ;
  30706. }
  30707. static FromTape(expressID, type, tape) {
  30708. let ptr = 0;
  30709. let Name = tape[ptr++];
  30710. let TensionFailureX = tape[ptr++];
  30711. let TensionFailureY = tape[ptr++];
  30712. let TensionFailureZ = tape[ptr++];
  30713. let CompressionFailureX = tape[ptr++];
  30714. let CompressionFailureY = tape[ptr++];
  30715. let CompressionFailureZ = tape[ptr++];
  30716. return new IfcFailureConnectionCondition(expressID, type, Name, TensionFailureX, TensionFailureY, TensionFailureZ, CompressionFailureX, CompressionFailureY, CompressionFailureZ);
  30717. }
  30718. ToTape() {
  30719. let args = [];
  30720. args.push(this.Name);
  30721. ;
  30722. args.push(this.TensionFailureX);
  30723. ;
  30724. args.push(this.TensionFailureY);
  30725. ;
  30726. args.push(this.TensionFailureZ);
  30727. ;
  30728. args.push(this.CompressionFailureX);
  30729. ;
  30730. args.push(this.CompressionFailureY);
  30731. ;
  30732. args.push(this.CompressionFailureZ);
  30733. ;
  30734. return args;
  30735. }
  30736. };
  30737. var IfcFan = class {
  30738. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  30739. this.expressID = expressID;
  30740. this.type = type;
  30741. this.GlobalId = GlobalId;
  30742. this.OwnerHistory = OwnerHistory;
  30743. this.Name = Name;
  30744. this.Description = Description;
  30745. this.ObjectType = ObjectType;
  30746. this.ObjectPlacement = ObjectPlacement;
  30747. this.Representation = Representation;
  30748. this.Tag = Tag;
  30749. this.PredefinedType = PredefinedType;
  30750. }
  30751. static FromTape(expressID, type, tape) {
  30752. let ptr = 0;
  30753. let GlobalId = tape[ptr++];
  30754. let OwnerHistory = tape[ptr++];
  30755. let Name = tape[ptr++];
  30756. let Description = tape[ptr++];
  30757. let ObjectType = tape[ptr++];
  30758. let ObjectPlacement = tape[ptr++];
  30759. let Representation = tape[ptr++];
  30760. let Tag = tape[ptr++];
  30761. let PredefinedType = tape[ptr++];
  30762. return new IfcFan(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  30763. }
  30764. ToTape() {
  30765. let args = [];
  30766. args.push(this.GlobalId);
  30767. ;
  30768. args.push(this.OwnerHistory);
  30769. ;
  30770. args.push(this.Name);
  30771. ;
  30772. args.push(this.Description);
  30773. ;
  30774. args.push(this.ObjectType);
  30775. ;
  30776. args.push(this.ObjectPlacement);
  30777. ;
  30778. args.push(this.Representation);
  30779. ;
  30780. args.push(this.Tag);
  30781. ;
  30782. args.push(this.PredefinedType);
  30783. ;
  30784. return args;
  30785. }
  30786. };
  30787. var IfcFanType = class {
  30788. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  30789. this.expressID = expressID;
  30790. this.type = type;
  30791. this.GlobalId = GlobalId;
  30792. this.OwnerHistory = OwnerHistory;
  30793. this.Name = Name;
  30794. this.Description = Description;
  30795. this.ApplicableOccurrence = ApplicableOccurrence;
  30796. this.HasPropertySets = HasPropertySets;
  30797. this.RepresentationMaps = RepresentationMaps;
  30798. this.Tag = Tag;
  30799. this.ElementType = ElementType;
  30800. this.PredefinedType = PredefinedType;
  30801. }
  30802. static FromTape(expressID, type, tape) {
  30803. let ptr = 0;
  30804. let GlobalId = tape[ptr++];
  30805. let OwnerHistory = tape[ptr++];
  30806. let Name = tape[ptr++];
  30807. let Description = tape[ptr++];
  30808. let ApplicableOccurrence = tape[ptr++];
  30809. let HasPropertySets = tape[ptr++];
  30810. let RepresentationMaps = tape[ptr++];
  30811. let Tag = tape[ptr++];
  30812. let ElementType = tape[ptr++];
  30813. let PredefinedType = tape[ptr++];
  30814. return new IfcFanType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  30815. }
  30816. ToTape() {
  30817. let args = [];
  30818. args.push(this.GlobalId);
  30819. ;
  30820. args.push(this.OwnerHistory);
  30821. ;
  30822. args.push(this.Name);
  30823. ;
  30824. args.push(this.Description);
  30825. ;
  30826. args.push(this.ApplicableOccurrence);
  30827. ;
  30828. args.push(this.HasPropertySets);
  30829. ;
  30830. args.push(this.RepresentationMaps);
  30831. ;
  30832. args.push(this.Tag);
  30833. ;
  30834. args.push(this.ElementType);
  30835. ;
  30836. args.push(this.PredefinedType);
  30837. ;
  30838. return args;
  30839. }
  30840. };
  30841. var IfcFastener = class {
  30842. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  30843. this.expressID = expressID;
  30844. this.type = type;
  30845. this.GlobalId = GlobalId;
  30846. this.OwnerHistory = OwnerHistory;
  30847. this.Name = Name;
  30848. this.Description = Description;
  30849. this.ObjectType = ObjectType;
  30850. this.ObjectPlacement = ObjectPlacement;
  30851. this.Representation = Representation;
  30852. this.Tag = Tag;
  30853. this.PredefinedType = PredefinedType;
  30854. }
  30855. static FromTape(expressID, type, tape) {
  30856. let ptr = 0;
  30857. let GlobalId = tape[ptr++];
  30858. let OwnerHistory = tape[ptr++];
  30859. let Name = tape[ptr++];
  30860. let Description = tape[ptr++];
  30861. let ObjectType = tape[ptr++];
  30862. let ObjectPlacement = tape[ptr++];
  30863. let Representation = tape[ptr++];
  30864. let Tag = tape[ptr++];
  30865. let PredefinedType = tape[ptr++];
  30866. return new IfcFastener(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  30867. }
  30868. ToTape() {
  30869. let args = [];
  30870. args.push(this.GlobalId);
  30871. ;
  30872. args.push(this.OwnerHistory);
  30873. ;
  30874. args.push(this.Name);
  30875. ;
  30876. args.push(this.Description);
  30877. ;
  30878. args.push(this.ObjectType);
  30879. ;
  30880. args.push(this.ObjectPlacement);
  30881. ;
  30882. args.push(this.Representation);
  30883. ;
  30884. args.push(this.Tag);
  30885. ;
  30886. args.push(this.PredefinedType);
  30887. ;
  30888. return args;
  30889. }
  30890. };
  30891. var IfcFastenerType = class {
  30892. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  30893. this.expressID = expressID;
  30894. this.type = type;
  30895. this.GlobalId = GlobalId;
  30896. this.OwnerHistory = OwnerHistory;
  30897. this.Name = Name;
  30898. this.Description = Description;
  30899. this.ApplicableOccurrence = ApplicableOccurrence;
  30900. this.HasPropertySets = HasPropertySets;
  30901. this.RepresentationMaps = RepresentationMaps;
  30902. this.Tag = Tag;
  30903. this.ElementType = ElementType;
  30904. this.PredefinedType = PredefinedType;
  30905. }
  30906. static FromTape(expressID, type, tape) {
  30907. let ptr = 0;
  30908. let GlobalId = tape[ptr++];
  30909. let OwnerHistory = tape[ptr++];
  30910. let Name = tape[ptr++];
  30911. let Description = tape[ptr++];
  30912. let ApplicableOccurrence = tape[ptr++];
  30913. let HasPropertySets = tape[ptr++];
  30914. let RepresentationMaps = tape[ptr++];
  30915. let Tag = tape[ptr++];
  30916. let ElementType = tape[ptr++];
  30917. let PredefinedType = tape[ptr++];
  30918. return new IfcFastenerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  30919. }
  30920. ToTape() {
  30921. let args = [];
  30922. args.push(this.GlobalId);
  30923. ;
  30924. args.push(this.OwnerHistory);
  30925. ;
  30926. args.push(this.Name);
  30927. ;
  30928. args.push(this.Description);
  30929. ;
  30930. args.push(this.ApplicableOccurrence);
  30931. ;
  30932. args.push(this.HasPropertySets);
  30933. ;
  30934. args.push(this.RepresentationMaps);
  30935. ;
  30936. args.push(this.Tag);
  30937. ;
  30938. args.push(this.ElementType);
  30939. ;
  30940. args.push(this.PredefinedType);
  30941. ;
  30942. return args;
  30943. }
  30944. };
  30945. var IfcFeatureElement = class {
  30946. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  30947. this.expressID = expressID;
  30948. this.type = type;
  30949. this.GlobalId = GlobalId;
  30950. this.OwnerHistory = OwnerHistory;
  30951. this.Name = Name;
  30952. this.Description = Description;
  30953. this.ObjectType = ObjectType;
  30954. this.ObjectPlacement = ObjectPlacement;
  30955. this.Representation = Representation;
  30956. this.Tag = Tag;
  30957. }
  30958. static FromTape(expressID, type, tape) {
  30959. let ptr = 0;
  30960. let GlobalId = tape[ptr++];
  30961. let OwnerHistory = tape[ptr++];
  30962. let Name = tape[ptr++];
  30963. let Description = tape[ptr++];
  30964. let ObjectType = tape[ptr++];
  30965. let ObjectPlacement = tape[ptr++];
  30966. let Representation = tape[ptr++];
  30967. let Tag = tape[ptr++];
  30968. return new IfcFeatureElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  30969. }
  30970. ToTape() {
  30971. let args = [];
  30972. args.push(this.GlobalId);
  30973. ;
  30974. args.push(this.OwnerHistory);
  30975. ;
  30976. args.push(this.Name);
  30977. ;
  30978. args.push(this.Description);
  30979. ;
  30980. args.push(this.ObjectType);
  30981. ;
  30982. args.push(this.ObjectPlacement);
  30983. ;
  30984. args.push(this.Representation);
  30985. ;
  30986. args.push(this.Tag);
  30987. ;
  30988. return args;
  30989. }
  30990. };
  30991. var IfcFeatureElementAddition = class {
  30992. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  30993. this.expressID = expressID;
  30994. this.type = type;
  30995. this.GlobalId = GlobalId;
  30996. this.OwnerHistory = OwnerHistory;
  30997. this.Name = Name;
  30998. this.Description = Description;
  30999. this.ObjectType = ObjectType;
  31000. this.ObjectPlacement = ObjectPlacement;
  31001. this.Representation = Representation;
  31002. this.Tag = Tag;
  31003. }
  31004. static FromTape(expressID, type, tape) {
  31005. let ptr = 0;
  31006. let GlobalId = tape[ptr++];
  31007. let OwnerHistory = tape[ptr++];
  31008. let Name = tape[ptr++];
  31009. let Description = tape[ptr++];
  31010. let ObjectType = tape[ptr++];
  31011. let ObjectPlacement = tape[ptr++];
  31012. let Representation = tape[ptr++];
  31013. let Tag = tape[ptr++];
  31014. return new IfcFeatureElementAddition(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  31015. }
  31016. ToTape() {
  31017. let args = [];
  31018. args.push(this.GlobalId);
  31019. ;
  31020. args.push(this.OwnerHistory);
  31021. ;
  31022. args.push(this.Name);
  31023. ;
  31024. args.push(this.Description);
  31025. ;
  31026. args.push(this.ObjectType);
  31027. ;
  31028. args.push(this.ObjectPlacement);
  31029. ;
  31030. args.push(this.Representation);
  31031. ;
  31032. args.push(this.Tag);
  31033. ;
  31034. return args;
  31035. }
  31036. };
  31037. var IfcFeatureElementSubtraction = class {
  31038. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  31039. this.expressID = expressID;
  31040. this.type = type;
  31041. this.GlobalId = GlobalId;
  31042. this.OwnerHistory = OwnerHistory;
  31043. this.Name = Name;
  31044. this.Description = Description;
  31045. this.ObjectType = ObjectType;
  31046. this.ObjectPlacement = ObjectPlacement;
  31047. this.Representation = Representation;
  31048. this.Tag = Tag;
  31049. }
  31050. static FromTape(expressID, type, tape) {
  31051. let ptr = 0;
  31052. let GlobalId = tape[ptr++];
  31053. let OwnerHistory = tape[ptr++];
  31054. let Name = tape[ptr++];
  31055. let Description = tape[ptr++];
  31056. let ObjectType = tape[ptr++];
  31057. let ObjectPlacement = tape[ptr++];
  31058. let Representation = tape[ptr++];
  31059. let Tag = tape[ptr++];
  31060. return new IfcFeatureElementSubtraction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  31061. }
  31062. ToTape() {
  31063. let args = [];
  31064. args.push(this.GlobalId);
  31065. ;
  31066. args.push(this.OwnerHistory);
  31067. ;
  31068. args.push(this.Name);
  31069. ;
  31070. args.push(this.Description);
  31071. ;
  31072. args.push(this.ObjectType);
  31073. ;
  31074. args.push(this.ObjectPlacement);
  31075. ;
  31076. args.push(this.Representation);
  31077. ;
  31078. args.push(this.Tag);
  31079. ;
  31080. return args;
  31081. }
  31082. };
  31083. var IfcFillAreaStyle = class {
  31084. constructor(expressID, type, Name, FillStyles, ModelorDraughting) {
  31085. this.expressID = expressID;
  31086. this.type = type;
  31087. this.Name = Name;
  31088. this.FillStyles = FillStyles;
  31089. this.ModelorDraughting = ModelorDraughting;
  31090. }
  31091. static FromTape(expressID, type, tape) {
  31092. let ptr = 0;
  31093. let Name = tape[ptr++];
  31094. let FillStyles = tape[ptr++];
  31095. let ModelorDraughting = tape[ptr++];
  31096. return new IfcFillAreaStyle(expressID, type, Name, FillStyles, ModelorDraughting);
  31097. }
  31098. ToTape() {
  31099. let args = [];
  31100. args.push(this.Name);
  31101. ;
  31102. args.push(this.FillStyles);
  31103. ;
  31104. args.push(this.ModelorDraughting);
  31105. ;
  31106. return args;
  31107. }
  31108. };
  31109. var IfcFillAreaStyleHatching = class {
  31110. constructor(expressID, type, HatchLineAppearance, StartOfNextHatchLine, PointOfReferenceHatchLine, PatternStart, HatchLineAngle) {
  31111. this.expressID = expressID;
  31112. this.type = type;
  31113. this.HatchLineAppearance = HatchLineAppearance;
  31114. this.StartOfNextHatchLine = StartOfNextHatchLine;
  31115. this.PointOfReferenceHatchLine = PointOfReferenceHatchLine;
  31116. this.PatternStart = PatternStart;
  31117. this.HatchLineAngle = HatchLineAngle;
  31118. }
  31119. static FromTape(expressID, type, tape) {
  31120. let ptr = 0;
  31121. let HatchLineAppearance = tape[ptr++];
  31122. let StartOfNextHatchLine = tape[ptr++];
  31123. let PointOfReferenceHatchLine = tape[ptr++];
  31124. let PatternStart = tape[ptr++];
  31125. let HatchLineAngle = tape[ptr++];
  31126. return new IfcFillAreaStyleHatching(expressID, type, HatchLineAppearance, StartOfNextHatchLine, PointOfReferenceHatchLine, PatternStart, HatchLineAngle);
  31127. }
  31128. ToTape() {
  31129. let args = [];
  31130. args.push(this.HatchLineAppearance);
  31131. ;
  31132. args.push(this.StartOfNextHatchLine);
  31133. ;
  31134. args.push(this.PointOfReferenceHatchLine);
  31135. ;
  31136. args.push(this.PatternStart);
  31137. ;
  31138. args.push(this.HatchLineAngle);
  31139. ;
  31140. return args;
  31141. }
  31142. };
  31143. var IfcFillAreaStyleTiles = class {
  31144. constructor(expressID, type, TilingPattern, Tiles, TilingScale) {
  31145. this.expressID = expressID;
  31146. this.type = type;
  31147. this.TilingPattern = TilingPattern;
  31148. this.Tiles = Tiles;
  31149. this.TilingScale = TilingScale;
  31150. }
  31151. static FromTape(expressID, type, tape) {
  31152. let ptr = 0;
  31153. let TilingPattern = tape[ptr++];
  31154. let Tiles = tape[ptr++];
  31155. let TilingScale = tape[ptr++];
  31156. return new IfcFillAreaStyleTiles(expressID, type, TilingPattern, Tiles, TilingScale);
  31157. }
  31158. ToTape() {
  31159. let args = [];
  31160. args.push(this.TilingPattern);
  31161. ;
  31162. args.push(this.Tiles);
  31163. ;
  31164. args.push(this.TilingScale);
  31165. ;
  31166. return args;
  31167. }
  31168. };
  31169. var IfcFilter = class {
  31170. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  31171. this.expressID = expressID;
  31172. this.type = type;
  31173. this.GlobalId = GlobalId;
  31174. this.OwnerHistory = OwnerHistory;
  31175. this.Name = Name;
  31176. this.Description = Description;
  31177. this.ObjectType = ObjectType;
  31178. this.ObjectPlacement = ObjectPlacement;
  31179. this.Representation = Representation;
  31180. this.Tag = Tag;
  31181. this.PredefinedType = PredefinedType;
  31182. }
  31183. static FromTape(expressID, type, tape) {
  31184. let ptr = 0;
  31185. let GlobalId = tape[ptr++];
  31186. let OwnerHistory = tape[ptr++];
  31187. let Name = tape[ptr++];
  31188. let Description = tape[ptr++];
  31189. let ObjectType = tape[ptr++];
  31190. let ObjectPlacement = tape[ptr++];
  31191. let Representation = tape[ptr++];
  31192. let Tag = tape[ptr++];
  31193. let PredefinedType = tape[ptr++];
  31194. return new IfcFilter(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  31195. }
  31196. ToTape() {
  31197. let args = [];
  31198. args.push(this.GlobalId);
  31199. ;
  31200. args.push(this.OwnerHistory);
  31201. ;
  31202. args.push(this.Name);
  31203. ;
  31204. args.push(this.Description);
  31205. ;
  31206. args.push(this.ObjectType);
  31207. ;
  31208. args.push(this.ObjectPlacement);
  31209. ;
  31210. args.push(this.Representation);
  31211. ;
  31212. args.push(this.Tag);
  31213. ;
  31214. args.push(this.PredefinedType);
  31215. ;
  31216. return args;
  31217. }
  31218. };
  31219. var IfcFilterType = class {
  31220. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  31221. this.expressID = expressID;
  31222. this.type = type;
  31223. this.GlobalId = GlobalId;
  31224. this.OwnerHistory = OwnerHistory;
  31225. this.Name = Name;
  31226. this.Description = Description;
  31227. this.ApplicableOccurrence = ApplicableOccurrence;
  31228. this.HasPropertySets = HasPropertySets;
  31229. this.RepresentationMaps = RepresentationMaps;
  31230. this.Tag = Tag;
  31231. this.ElementType = ElementType;
  31232. this.PredefinedType = PredefinedType;
  31233. }
  31234. static FromTape(expressID, type, tape) {
  31235. let ptr = 0;
  31236. let GlobalId = tape[ptr++];
  31237. let OwnerHistory = tape[ptr++];
  31238. let Name = tape[ptr++];
  31239. let Description = tape[ptr++];
  31240. let ApplicableOccurrence = tape[ptr++];
  31241. let HasPropertySets = tape[ptr++];
  31242. let RepresentationMaps = tape[ptr++];
  31243. let Tag = tape[ptr++];
  31244. let ElementType = tape[ptr++];
  31245. let PredefinedType = tape[ptr++];
  31246. return new IfcFilterType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  31247. }
  31248. ToTape() {
  31249. let args = [];
  31250. args.push(this.GlobalId);
  31251. ;
  31252. args.push(this.OwnerHistory);
  31253. ;
  31254. args.push(this.Name);
  31255. ;
  31256. args.push(this.Description);
  31257. ;
  31258. args.push(this.ApplicableOccurrence);
  31259. ;
  31260. args.push(this.HasPropertySets);
  31261. ;
  31262. args.push(this.RepresentationMaps);
  31263. ;
  31264. args.push(this.Tag);
  31265. ;
  31266. args.push(this.ElementType);
  31267. ;
  31268. args.push(this.PredefinedType);
  31269. ;
  31270. return args;
  31271. }
  31272. };
  31273. var IfcFireSuppressionTerminal = class {
  31274. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  31275. this.expressID = expressID;
  31276. this.type = type;
  31277. this.GlobalId = GlobalId;
  31278. this.OwnerHistory = OwnerHistory;
  31279. this.Name = Name;
  31280. this.Description = Description;
  31281. this.ObjectType = ObjectType;
  31282. this.ObjectPlacement = ObjectPlacement;
  31283. this.Representation = Representation;
  31284. this.Tag = Tag;
  31285. this.PredefinedType = PredefinedType;
  31286. }
  31287. static FromTape(expressID, type, tape) {
  31288. let ptr = 0;
  31289. let GlobalId = tape[ptr++];
  31290. let OwnerHistory = tape[ptr++];
  31291. let Name = tape[ptr++];
  31292. let Description = tape[ptr++];
  31293. let ObjectType = tape[ptr++];
  31294. let ObjectPlacement = tape[ptr++];
  31295. let Representation = tape[ptr++];
  31296. let Tag = tape[ptr++];
  31297. let PredefinedType = tape[ptr++];
  31298. return new IfcFireSuppressionTerminal(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  31299. }
  31300. ToTape() {
  31301. let args = [];
  31302. args.push(this.GlobalId);
  31303. ;
  31304. args.push(this.OwnerHistory);
  31305. ;
  31306. args.push(this.Name);
  31307. ;
  31308. args.push(this.Description);
  31309. ;
  31310. args.push(this.ObjectType);
  31311. ;
  31312. args.push(this.ObjectPlacement);
  31313. ;
  31314. args.push(this.Representation);
  31315. ;
  31316. args.push(this.Tag);
  31317. ;
  31318. args.push(this.PredefinedType);
  31319. ;
  31320. return args;
  31321. }
  31322. };
  31323. var IfcFireSuppressionTerminalType = class {
  31324. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  31325. this.expressID = expressID;
  31326. this.type = type;
  31327. this.GlobalId = GlobalId;
  31328. this.OwnerHistory = OwnerHistory;
  31329. this.Name = Name;
  31330. this.Description = Description;
  31331. this.ApplicableOccurrence = ApplicableOccurrence;
  31332. this.HasPropertySets = HasPropertySets;
  31333. this.RepresentationMaps = RepresentationMaps;
  31334. this.Tag = Tag;
  31335. this.ElementType = ElementType;
  31336. this.PredefinedType = PredefinedType;
  31337. }
  31338. static FromTape(expressID, type, tape) {
  31339. let ptr = 0;
  31340. let GlobalId = tape[ptr++];
  31341. let OwnerHistory = tape[ptr++];
  31342. let Name = tape[ptr++];
  31343. let Description = tape[ptr++];
  31344. let ApplicableOccurrence = tape[ptr++];
  31345. let HasPropertySets = tape[ptr++];
  31346. let RepresentationMaps = tape[ptr++];
  31347. let Tag = tape[ptr++];
  31348. let ElementType = tape[ptr++];
  31349. let PredefinedType = tape[ptr++];
  31350. return new IfcFireSuppressionTerminalType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  31351. }
  31352. ToTape() {
  31353. let args = [];
  31354. args.push(this.GlobalId);
  31355. ;
  31356. args.push(this.OwnerHistory);
  31357. ;
  31358. args.push(this.Name);
  31359. ;
  31360. args.push(this.Description);
  31361. ;
  31362. args.push(this.ApplicableOccurrence);
  31363. ;
  31364. args.push(this.HasPropertySets);
  31365. ;
  31366. args.push(this.RepresentationMaps);
  31367. ;
  31368. args.push(this.Tag);
  31369. ;
  31370. args.push(this.ElementType);
  31371. ;
  31372. args.push(this.PredefinedType);
  31373. ;
  31374. return args;
  31375. }
  31376. };
  31377. var IfcFixedReferenceSweptAreaSolid = class {
  31378. constructor(expressID, type, SweptArea, Position, Directrix, StartParam, EndParam, FixedReference) {
  31379. this.expressID = expressID;
  31380. this.type = type;
  31381. this.SweptArea = SweptArea;
  31382. this.Position = Position;
  31383. this.Directrix = Directrix;
  31384. this.StartParam = StartParam;
  31385. this.EndParam = EndParam;
  31386. this.FixedReference = FixedReference;
  31387. }
  31388. static FromTape(expressID, type, tape) {
  31389. let ptr = 0;
  31390. let SweptArea = tape[ptr++];
  31391. let Position = tape[ptr++];
  31392. let Directrix = tape[ptr++];
  31393. let StartParam = tape[ptr++];
  31394. let EndParam = tape[ptr++];
  31395. let FixedReference = tape[ptr++];
  31396. return new IfcFixedReferenceSweptAreaSolid(expressID, type, SweptArea, Position, Directrix, StartParam, EndParam, FixedReference);
  31397. }
  31398. ToTape() {
  31399. let args = [];
  31400. args.push(this.SweptArea);
  31401. ;
  31402. args.push(this.Position);
  31403. ;
  31404. args.push(this.Directrix);
  31405. ;
  31406. args.push(this.StartParam);
  31407. ;
  31408. args.push(this.EndParam);
  31409. ;
  31410. args.push(this.FixedReference);
  31411. ;
  31412. return args;
  31413. }
  31414. };
  31415. var IfcFlowController = class {
  31416. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  31417. this.expressID = expressID;
  31418. this.type = type;
  31419. this.GlobalId = GlobalId;
  31420. this.OwnerHistory = OwnerHistory;
  31421. this.Name = Name;
  31422. this.Description = Description;
  31423. this.ObjectType = ObjectType;
  31424. this.ObjectPlacement = ObjectPlacement;
  31425. this.Representation = Representation;
  31426. this.Tag = Tag;
  31427. }
  31428. static FromTape(expressID, type, tape) {
  31429. let ptr = 0;
  31430. let GlobalId = tape[ptr++];
  31431. let OwnerHistory = tape[ptr++];
  31432. let Name = tape[ptr++];
  31433. let Description = tape[ptr++];
  31434. let ObjectType = tape[ptr++];
  31435. let ObjectPlacement = tape[ptr++];
  31436. let Representation = tape[ptr++];
  31437. let Tag = tape[ptr++];
  31438. return new IfcFlowController(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  31439. }
  31440. ToTape() {
  31441. let args = [];
  31442. args.push(this.GlobalId);
  31443. ;
  31444. args.push(this.OwnerHistory);
  31445. ;
  31446. args.push(this.Name);
  31447. ;
  31448. args.push(this.Description);
  31449. ;
  31450. args.push(this.ObjectType);
  31451. ;
  31452. args.push(this.ObjectPlacement);
  31453. ;
  31454. args.push(this.Representation);
  31455. ;
  31456. args.push(this.Tag);
  31457. ;
  31458. return args;
  31459. }
  31460. };
  31461. var IfcFlowControllerType = class {
  31462. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  31463. this.expressID = expressID;
  31464. this.type = type;
  31465. this.GlobalId = GlobalId;
  31466. this.OwnerHistory = OwnerHistory;
  31467. this.Name = Name;
  31468. this.Description = Description;
  31469. this.ApplicableOccurrence = ApplicableOccurrence;
  31470. this.HasPropertySets = HasPropertySets;
  31471. this.RepresentationMaps = RepresentationMaps;
  31472. this.Tag = Tag;
  31473. this.ElementType = ElementType;
  31474. }
  31475. static FromTape(expressID, type, tape) {
  31476. let ptr = 0;
  31477. let GlobalId = tape[ptr++];
  31478. let OwnerHistory = tape[ptr++];
  31479. let Name = tape[ptr++];
  31480. let Description = tape[ptr++];
  31481. let ApplicableOccurrence = tape[ptr++];
  31482. let HasPropertySets = tape[ptr++];
  31483. let RepresentationMaps = tape[ptr++];
  31484. let Tag = tape[ptr++];
  31485. let ElementType = tape[ptr++];
  31486. return new IfcFlowControllerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  31487. }
  31488. ToTape() {
  31489. let args = [];
  31490. args.push(this.GlobalId);
  31491. ;
  31492. args.push(this.OwnerHistory);
  31493. ;
  31494. args.push(this.Name);
  31495. ;
  31496. args.push(this.Description);
  31497. ;
  31498. args.push(this.ApplicableOccurrence);
  31499. ;
  31500. args.push(this.HasPropertySets);
  31501. ;
  31502. args.push(this.RepresentationMaps);
  31503. ;
  31504. args.push(this.Tag);
  31505. ;
  31506. args.push(this.ElementType);
  31507. ;
  31508. return args;
  31509. }
  31510. };
  31511. var IfcFlowFitting = class {
  31512. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  31513. this.expressID = expressID;
  31514. this.type = type;
  31515. this.GlobalId = GlobalId;
  31516. this.OwnerHistory = OwnerHistory;
  31517. this.Name = Name;
  31518. this.Description = Description;
  31519. this.ObjectType = ObjectType;
  31520. this.ObjectPlacement = ObjectPlacement;
  31521. this.Representation = Representation;
  31522. this.Tag = Tag;
  31523. }
  31524. static FromTape(expressID, type, tape) {
  31525. let ptr = 0;
  31526. let GlobalId = tape[ptr++];
  31527. let OwnerHistory = tape[ptr++];
  31528. let Name = tape[ptr++];
  31529. let Description = tape[ptr++];
  31530. let ObjectType = tape[ptr++];
  31531. let ObjectPlacement = tape[ptr++];
  31532. let Representation = tape[ptr++];
  31533. let Tag = tape[ptr++];
  31534. return new IfcFlowFitting(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  31535. }
  31536. ToTape() {
  31537. let args = [];
  31538. args.push(this.GlobalId);
  31539. ;
  31540. args.push(this.OwnerHistory);
  31541. ;
  31542. args.push(this.Name);
  31543. ;
  31544. args.push(this.Description);
  31545. ;
  31546. args.push(this.ObjectType);
  31547. ;
  31548. args.push(this.ObjectPlacement);
  31549. ;
  31550. args.push(this.Representation);
  31551. ;
  31552. args.push(this.Tag);
  31553. ;
  31554. return args;
  31555. }
  31556. };
  31557. var IfcFlowFittingType = class {
  31558. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  31559. this.expressID = expressID;
  31560. this.type = type;
  31561. this.GlobalId = GlobalId;
  31562. this.OwnerHistory = OwnerHistory;
  31563. this.Name = Name;
  31564. this.Description = Description;
  31565. this.ApplicableOccurrence = ApplicableOccurrence;
  31566. this.HasPropertySets = HasPropertySets;
  31567. this.RepresentationMaps = RepresentationMaps;
  31568. this.Tag = Tag;
  31569. this.ElementType = ElementType;
  31570. }
  31571. static FromTape(expressID, type, tape) {
  31572. let ptr = 0;
  31573. let GlobalId = tape[ptr++];
  31574. let OwnerHistory = tape[ptr++];
  31575. let Name = tape[ptr++];
  31576. let Description = tape[ptr++];
  31577. let ApplicableOccurrence = tape[ptr++];
  31578. let HasPropertySets = tape[ptr++];
  31579. let RepresentationMaps = tape[ptr++];
  31580. let Tag = tape[ptr++];
  31581. let ElementType = tape[ptr++];
  31582. return new IfcFlowFittingType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  31583. }
  31584. ToTape() {
  31585. let args = [];
  31586. args.push(this.GlobalId);
  31587. ;
  31588. args.push(this.OwnerHistory);
  31589. ;
  31590. args.push(this.Name);
  31591. ;
  31592. args.push(this.Description);
  31593. ;
  31594. args.push(this.ApplicableOccurrence);
  31595. ;
  31596. args.push(this.HasPropertySets);
  31597. ;
  31598. args.push(this.RepresentationMaps);
  31599. ;
  31600. args.push(this.Tag);
  31601. ;
  31602. args.push(this.ElementType);
  31603. ;
  31604. return args;
  31605. }
  31606. };
  31607. var IfcFlowInstrument = class {
  31608. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  31609. this.expressID = expressID;
  31610. this.type = type;
  31611. this.GlobalId = GlobalId;
  31612. this.OwnerHistory = OwnerHistory;
  31613. this.Name = Name;
  31614. this.Description = Description;
  31615. this.ObjectType = ObjectType;
  31616. this.ObjectPlacement = ObjectPlacement;
  31617. this.Representation = Representation;
  31618. this.Tag = Tag;
  31619. this.PredefinedType = PredefinedType;
  31620. }
  31621. static FromTape(expressID, type, tape) {
  31622. let ptr = 0;
  31623. let GlobalId = tape[ptr++];
  31624. let OwnerHistory = tape[ptr++];
  31625. let Name = tape[ptr++];
  31626. let Description = tape[ptr++];
  31627. let ObjectType = tape[ptr++];
  31628. let ObjectPlacement = tape[ptr++];
  31629. let Representation = tape[ptr++];
  31630. let Tag = tape[ptr++];
  31631. let PredefinedType = tape[ptr++];
  31632. return new IfcFlowInstrument(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  31633. }
  31634. ToTape() {
  31635. let args = [];
  31636. args.push(this.GlobalId);
  31637. ;
  31638. args.push(this.OwnerHistory);
  31639. ;
  31640. args.push(this.Name);
  31641. ;
  31642. args.push(this.Description);
  31643. ;
  31644. args.push(this.ObjectType);
  31645. ;
  31646. args.push(this.ObjectPlacement);
  31647. ;
  31648. args.push(this.Representation);
  31649. ;
  31650. args.push(this.Tag);
  31651. ;
  31652. args.push(this.PredefinedType);
  31653. ;
  31654. return args;
  31655. }
  31656. };
  31657. var IfcFlowInstrumentType = class {
  31658. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  31659. this.expressID = expressID;
  31660. this.type = type;
  31661. this.GlobalId = GlobalId;
  31662. this.OwnerHistory = OwnerHistory;
  31663. this.Name = Name;
  31664. this.Description = Description;
  31665. this.ApplicableOccurrence = ApplicableOccurrence;
  31666. this.HasPropertySets = HasPropertySets;
  31667. this.RepresentationMaps = RepresentationMaps;
  31668. this.Tag = Tag;
  31669. this.ElementType = ElementType;
  31670. this.PredefinedType = PredefinedType;
  31671. }
  31672. static FromTape(expressID, type, tape) {
  31673. let ptr = 0;
  31674. let GlobalId = tape[ptr++];
  31675. let OwnerHistory = tape[ptr++];
  31676. let Name = tape[ptr++];
  31677. let Description = tape[ptr++];
  31678. let ApplicableOccurrence = tape[ptr++];
  31679. let HasPropertySets = tape[ptr++];
  31680. let RepresentationMaps = tape[ptr++];
  31681. let Tag = tape[ptr++];
  31682. let ElementType = tape[ptr++];
  31683. let PredefinedType = tape[ptr++];
  31684. return new IfcFlowInstrumentType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  31685. }
  31686. ToTape() {
  31687. let args = [];
  31688. args.push(this.GlobalId);
  31689. ;
  31690. args.push(this.OwnerHistory);
  31691. ;
  31692. args.push(this.Name);
  31693. ;
  31694. args.push(this.Description);
  31695. ;
  31696. args.push(this.ApplicableOccurrence);
  31697. ;
  31698. args.push(this.HasPropertySets);
  31699. ;
  31700. args.push(this.RepresentationMaps);
  31701. ;
  31702. args.push(this.Tag);
  31703. ;
  31704. args.push(this.ElementType);
  31705. ;
  31706. args.push(this.PredefinedType);
  31707. ;
  31708. return args;
  31709. }
  31710. };
  31711. var IfcFlowMeter = class {
  31712. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  31713. this.expressID = expressID;
  31714. this.type = type;
  31715. this.GlobalId = GlobalId;
  31716. this.OwnerHistory = OwnerHistory;
  31717. this.Name = Name;
  31718. this.Description = Description;
  31719. this.ObjectType = ObjectType;
  31720. this.ObjectPlacement = ObjectPlacement;
  31721. this.Representation = Representation;
  31722. this.Tag = Tag;
  31723. this.PredefinedType = PredefinedType;
  31724. }
  31725. static FromTape(expressID, type, tape) {
  31726. let ptr = 0;
  31727. let GlobalId = tape[ptr++];
  31728. let OwnerHistory = tape[ptr++];
  31729. let Name = tape[ptr++];
  31730. let Description = tape[ptr++];
  31731. let ObjectType = tape[ptr++];
  31732. let ObjectPlacement = tape[ptr++];
  31733. let Representation = tape[ptr++];
  31734. let Tag = tape[ptr++];
  31735. let PredefinedType = tape[ptr++];
  31736. return new IfcFlowMeter(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  31737. }
  31738. ToTape() {
  31739. let args = [];
  31740. args.push(this.GlobalId);
  31741. ;
  31742. args.push(this.OwnerHistory);
  31743. ;
  31744. args.push(this.Name);
  31745. ;
  31746. args.push(this.Description);
  31747. ;
  31748. args.push(this.ObjectType);
  31749. ;
  31750. args.push(this.ObjectPlacement);
  31751. ;
  31752. args.push(this.Representation);
  31753. ;
  31754. args.push(this.Tag);
  31755. ;
  31756. args.push(this.PredefinedType);
  31757. ;
  31758. return args;
  31759. }
  31760. };
  31761. var IfcFlowMeterType = class {
  31762. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  31763. this.expressID = expressID;
  31764. this.type = type;
  31765. this.GlobalId = GlobalId;
  31766. this.OwnerHistory = OwnerHistory;
  31767. this.Name = Name;
  31768. this.Description = Description;
  31769. this.ApplicableOccurrence = ApplicableOccurrence;
  31770. this.HasPropertySets = HasPropertySets;
  31771. this.RepresentationMaps = RepresentationMaps;
  31772. this.Tag = Tag;
  31773. this.ElementType = ElementType;
  31774. this.PredefinedType = PredefinedType;
  31775. }
  31776. static FromTape(expressID, type, tape) {
  31777. let ptr = 0;
  31778. let GlobalId = tape[ptr++];
  31779. let OwnerHistory = tape[ptr++];
  31780. let Name = tape[ptr++];
  31781. let Description = tape[ptr++];
  31782. let ApplicableOccurrence = tape[ptr++];
  31783. let HasPropertySets = tape[ptr++];
  31784. let RepresentationMaps = tape[ptr++];
  31785. let Tag = tape[ptr++];
  31786. let ElementType = tape[ptr++];
  31787. let PredefinedType = tape[ptr++];
  31788. return new IfcFlowMeterType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  31789. }
  31790. ToTape() {
  31791. let args = [];
  31792. args.push(this.GlobalId);
  31793. ;
  31794. args.push(this.OwnerHistory);
  31795. ;
  31796. args.push(this.Name);
  31797. ;
  31798. args.push(this.Description);
  31799. ;
  31800. args.push(this.ApplicableOccurrence);
  31801. ;
  31802. args.push(this.HasPropertySets);
  31803. ;
  31804. args.push(this.RepresentationMaps);
  31805. ;
  31806. args.push(this.Tag);
  31807. ;
  31808. args.push(this.ElementType);
  31809. ;
  31810. args.push(this.PredefinedType);
  31811. ;
  31812. return args;
  31813. }
  31814. };
  31815. var IfcFlowMovingDevice = class {
  31816. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  31817. this.expressID = expressID;
  31818. this.type = type;
  31819. this.GlobalId = GlobalId;
  31820. this.OwnerHistory = OwnerHistory;
  31821. this.Name = Name;
  31822. this.Description = Description;
  31823. this.ObjectType = ObjectType;
  31824. this.ObjectPlacement = ObjectPlacement;
  31825. this.Representation = Representation;
  31826. this.Tag = Tag;
  31827. }
  31828. static FromTape(expressID, type, tape) {
  31829. let ptr = 0;
  31830. let GlobalId = tape[ptr++];
  31831. let OwnerHistory = tape[ptr++];
  31832. let Name = tape[ptr++];
  31833. let Description = tape[ptr++];
  31834. let ObjectType = tape[ptr++];
  31835. let ObjectPlacement = tape[ptr++];
  31836. let Representation = tape[ptr++];
  31837. let Tag = tape[ptr++];
  31838. return new IfcFlowMovingDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  31839. }
  31840. ToTape() {
  31841. let args = [];
  31842. args.push(this.GlobalId);
  31843. ;
  31844. args.push(this.OwnerHistory);
  31845. ;
  31846. args.push(this.Name);
  31847. ;
  31848. args.push(this.Description);
  31849. ;
  31850. args.push(this.ObjectType);
  31851. ;
  31852. args.push(this.ObjectPlacement);
  31853. ;
  31854. args.push(this.Representation);
  31855. ;
  31856. args.push(this.Tag);
  31857. ;
  31858. return args;
  31859. }
  31860. };
  31861. var IfcFlowMovingDeviceType = class {
  31862. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  31863. this.expressID = expressID;
  31864. this.type = type;
  31865. this.GlobalId = GlobalId;
  31866. this.OwnerHistory = OwnerHistory;
  31867. this.Name = Name;
  31868. this.Description = Description;
  31869. this.ApplicableOccurrence = ApplicableOccurrence;
  31870. this.HasPropertySets = HasPropertySets;
  31871. this.RepresentationMaps = RepresentationMaps;
  31872. this.Tag = Tag;
  31873. this.ElementType = ElementType;
  31874. }
  31875. static FromTape(expressID, type, tape) {
  31876. let ptr = 0;
  31877. let GlobalId = tape[ptr++];
  31878. let OwnerHistory = tape[ptr++];
  31879. let Name = tape[ptr++];
  31880. let Description = tape[ptr++];
  31881. let ApplicableOccurrence = tape[ptr++];
  31882. let HasPropertySets = tape[ptr++];
  31883. let RepresentationMaps = tape[ptr++];
  31884. let Tag = tape[ptr++];
  31885. let ElementType = tape[ptr++];
  31886. return new IfcFlowMovingDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  31887. }
  31888. ToTape() {
  31889. let args = [];
  31890. args.push(this.GlobalId);
  31891. ;
  31892. args.push(this.OwnerHistory);
  31893. ;
  31894. args.push(this.Name);
  31895. ;
  31896. args.push(this.Description);
  31897. ;
  31898. args.push(this.ApplicableOccurrence);
  31899. ;
  31900. args.push(this.HasPropertySets);
  31901. ;
  31902. args.push(this.RepresentationMaps);
  31903. ;
  31904. args.push(this.Tag);
  31905. ;
  31906. args.push(this.ElementType);
  31907. ;
  31908. return args;
  31909. }
  31910. };
  31911. var IfcFlowSegment = class {
  31912. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  31913. this.expressID = expressID;
  31914. this.type = type;
  31915. this.GlobalId = GlobalId;
  31916. this.OwnerHistory = OwnerHistory;
  31917. this.Name = Name;
  31918. this.Description = Description;
  31919. this.ObjectType = ObjectType;
  31920. this.ObjectPlacement = ObjectPlacement;
  31921. this.Representation = Representation;
  31922. this.Tag = Tag;
  31923. }
  31924. static FromTape(expressID, type, tape) {
  31925. let ptr = 0;
  31926. let GlobalId = tape[ptr++];
  31927. let OwnerHistory = tape[ptr++];
  31928. let Name = tape[ptr++];
  31929. let Description = tape[ptr++];
  31930. let ObjectType = tape[ptr++];
  31931. let ObjectPlacement = tape[ptr++];
  31932. let Representation = tape[ptr++];
  31933. let Tag = tape[ptr++];
  31934. return new IfcFlowSegment(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  31935. }
  31936. ToTape() {
  31937. let args = [];
  31938. args.push(this.GlobalId);
  31939. ;
  31940. args.push(this.OwnerHistory);
  31941. ;
  31942. args.push(this.Name);
  31943. ;
  31944. args.push(this.Description);
  31945. ;
  31946. args.push(this.ObjectType);
  31947. ;
  31948. args.push(this.ObjectPlacement);
  31949. ;
  31950. args.push(this.Representation);
  31951. ;
  31952. args.push(this.Tag);
  31953. ;
  31954. return args;
  31955. }
  31956. };
  31957. var IfcFlowSegmentType = class {
  31958. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  31959. this.expressID = expressID;
  31960. this.type = type;
  31961. this.GlobalId = GlobalId;
  31962. this.OwnerHistory = OwnerHistory;
  31963. this.Name = Name;
  31964. this.Description = Description;
  31965. this.ApplicableOccurrence = ApplicableOccurrence;
  31966. this.HasPropertySets = HasPropertySets;
  31967. this.RepresentationMaps = RepresentationMaps;
  31968. this.Tag = Tag;
  31969. this.ElementType = ElementType;
  31970. }
  31971. static FromTape(expressID, type, tape) {
  31972. let ptr = 0;
  31973. let GlobalId = tape[ptr++];
  31974. let OwnerHistory = tape[ptr++];
  31975. let Name = tape[ptr++];
  31976. let Description = tape[ptr++];
  31977. let ApplicableOccurrence = tape[ptr++];
  31978. let HasPropertySets = tape[ptr++];
  31979. let RepresentationMaps = tape[ptr++];
  31980. let Tag = tape[ptr++];
  31981. let ElementType = tape[ptr++];
  31982. return new IfcFlowSegmentType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  31983. }
  31984. ToTape() {
  31985. let args = [];
  31986. args.push(this.GlobalId);
  31987. ;
  31988. args.push(this.OwnerHistory);
  31989. ;
  31990. args.push(this.Name);
  31991. ;
  31992. args.push(this.Description);
  31993. ;
  31994. args.push(this.ApplicableOccurrence);
  31995. ;
  31996. args.push(this.HasPropertySets);
  31997. ;
  31998. args.push(this.RepresentationMaps);
  31999. ;
  32000. args.push(this.Tag);
  32001. ;
  32002. args.push(this.ElementType);
  32003. ;
  32004. return args;
  32005. }
  32006. };
  32007. var IfcFlowStorageDevice = class {
  32008. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  32009. this.expressID = expressID;
  32010. this.type = type;
  32011. this.GlobalId = GlobalId;
  32012. this.OwnerHistory = OwnerHistory;
  32013. this.Name = Name;
  32014. this.Description = Description;
  32015. this.ObjectType = ObjectType;
  32016. this.ObjectPlacement = ObjectPlacement;
  32017. this.Representation = Representation;
  32018. this.Tag = Tag;
  32019. }
  32020. static FromTape(expressID, type, tape) {
  32021. let ptr = 0;
  32022. let GlobalId = tape[ptr++];
  32023. let OwnerHistory = tape[ptr++];
  32024. let Name = tape[ptr++];
  32025. let Description = tape[ptr++];
  32026. let ObjectType = tape[ptr++];
  32027. let ObjectPlacement = tape[ptr++];
  32028. let Representation = tape[ptr++];
  32029. let Tag = tape[ptr++];
  32030. return new IfcFlowStorageDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  32031. }
  32032. ToTape() {
  32033. let args = [];
  32034. args.push(this.GlobalId);
  32035. ;
  32036. args.push(this.OwnerHistory);
  32037. ;
  32038. args.push(this.Name);
  32039. ;
  32040. args.push(this.Description);
  32041. ;
  32042. args.push(this.ObjectType);
  32043. ;
  32044. args.push(this.ObjectPlacement);
  32045. ;
  32046. args.push(this.Representation);
  32047. ;
  32048. args.push(this.Tag);
  32049. ;
  32050. return args;
  32051. }
  32052. };
  32053. var IfcFlowStorageDeviceType = class {
  32054. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  32055. this.expressID = expressID;
  32056. this.type = type;
  32057. this.GlobalId = GlobalId;
  32058. this.OwnerHistory = OwnerHistory;
  32059. this.Name = Name;
  32060. this.Description = Description;
  32061. this.ApplicableOccurrence = ApplicableOccurrence;
  32062. this.HasPropertySets = HasPropertySets;
  32063. this.RepresentationMaps = RepresentationMaps;
  32064. this.Tag = Tag;
  32065. this.ElementType = ElementType;
  32066. }
  32067. static FromTape(expressID, type, tape) {
  32068. let ptr = 0;
  32069. let GlobalId = tape[ptr++];
  32070. let OwnerHistory = tape[ptr++];
  32071. let Name = tape[ptr++];
  32072. let Description = tape[ptr++];
  32073. let ApplicableOccurrence = tape[ptr++];
  32074. let HasPropertySets = tape[ptr++];
  32075. let RepresentationMaps = tape[ptr++];
  32076. let Tag = tape[ptr++];
  32077. let ElementType = tape[ptr++];
  32078. return new IfcFlowStorageDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  32079. }
  32080. ToTape() {
  32081. let args = [];
  32082. args.push(this.GlobalId);
  32083. ;
  32084. args.push(this.OwnerHistory);
  32085. ;
  32086. args.push(this.Name);
  32087. ;
  32088. args.push(this.Description);
  32089. ;
  32090. args.push(this.ApplicableOccurrence);
  32091. ;
  32092. args.push(this.HasPropertySets);
  32093. ;
  32094. args.push(this.RepresentationMaps);
  32095. ;
  32096. args.push(this.Tag);
  32097. ;
  32098. args.push(this.ElementType);
  32099. ;
  32100. return args;
  32101. }
  32102. };
  32103. var IfcFlowTerminal = class {
  32104. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  32105. this.expressID = expressID;
  32106. this.type = type;
  32107. this.GlobalId = GlobalId;
  32108. this.OwnerHistory = OwnerHistory;
  32109. this.Name = Name;
  32110. this.Description = Description;
  32111. this.ObjectType = ObjectType;
  32112. this.ObjectPlacement = ObjectPlacement;
  32113. this.Representation = Representation;
  32114. this.Tag = Tag;
  32115. }
  32116. static FromTape(expressID, type, tape) {
  32117. let ptr = 0;
  32118. let GlobalId = tape[ptr++];
  32119. let OwnerHistory = tape[ptr++];
  32120. let Name = tape[ptr++];
  32121. let Description = tape[ptr++];
  32122. let ObjectType = tape[ptr++];
  32123. let ObjectPlacement = tape[ptr++];
  32124. let Representation = tape[ptr++];
  32125. let Tag = tape[ptr++];
  32126. return new IfcFlowTerminal(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  32127. }
  32128. ToTape() {
  32129. let args = [];
  32130. args.push(this.GlobalId);
  32131. ;
  32132. args.push(this.OwnerHistory);
  32133. ;
  32134. args.push(this.Name);
  32135. ;
  32136. args.push(this.Description);
  32137. ;
  32138. args.push(this.ObjectType);
  32139. ;
  32140. args.push(this.ObjectPlacement);
  32141. ;
  32142. args.push(this.Representation);
  32143. ;
  32144. args.push(this.Tag);
  32145. ;
  32146. return args;
  32147. }
  32148. };
  32149. var IfcFlowTerminalType = class {
  32150. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  32151. this.expressID = expressID;
  32152. this.type = type;
  32153. this.GlobalId = GlobalId;
  32154. this.OwnerHistory = OwnerHistory;
  32155. this.Name = Name;
  32156. this.Description = Description;
  32157. this.ApplicableOccurrence = ApplicableOccurrence;
  32158. this.HasPropertySets = HasPropertySets;
  32159. this.RepresentationMaps = RepresentationMaps;
  32160. this.Tag = Tag;
  32161. this.ElementType = ElementType;
  32162. }
  32163. static FromTape(expressID, type, tape) {
  32164. let ptr = 0;
  32165. let GlobalId = tape[ptr++];
  32166. let OwnerHistory = tape[ptr++];
  32167. let Name = tape[ptr++];
  32168. let Description = tape[ptr++];
  32169. let ApplicableOccurrence = tape[ptr++];
  32170. let HasPropertySets = tape[ptr++];
  32171. let RepresentationMaps = tape[ptr++];
  32172. let Tag = tape[ptr++];
  32173. let ElementType = tape[ptr++];
  32174. return new IfcFlowTerminalType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  32175. }
  32176. ToTape() {
  32177. let args = [];
  32178. args.push(this.GlobalId);
  32179. ;
  32180. args.push(this.OwnerHistory);
  32181. ;
  32182. args.push(this.Name);
  32183. ;
  32184. args.push(this.Description);
  32185. ;
  32186. args.push(this.ApplicableOccurrence);
  32187. ;
  32188. args.push(this.HasPropertySets);
  32189. ;
  32190. args.push(this.RepresentationMaps);
  32191. ;
  32192. args.push(this.Tag);
  32193. ;
  32194. args.push(this.ElementType);
  32195. ;
  32196. return args;
  32197. }
  32198. };
  32199. var IfcFlowTreatmentDevice = class {
  32200. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  32201. this.expressID = expressID;
  32202. this.type = type;
  32203. this.GlobalId = GlobalId;
  32204. this.OwnerHistory = OwnerHistory;
  32205. this.Name = Name;
  32206. this.Description = Description;
  32207. this.ObjectType = ObjectType;
  32208. this.ObjectPlacement = ObjectPlacement;
  32209. this.Representation = Representation;
  32210. this.Tag = Tag;
  32211. }
  32212. static FromTape(expressID, type, tape) {
  32213. let ptr = 0;
  32214. let GlobalId = tape[ptr++];
  32215. let OwnerHistory = tape[ptr++];
  32216. let Name = tape[ptr++];
  32217. let Description = tape[ptr++];
  32218. let ObjectType = tape[ptr++];
  32219. let ObjectPlacement = tape[ptr++];
  32220. let Representation = tape[ptr++];
  32221. let Tag = tape[ptr++];
  32222. return new IfcFlowTreatmentDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  32223. }
  32224. ToTape() {
  32225. let args = [];
  32226. args.push(this.GlobalId);
  32227. ;
  32228. args.push(this.OwnerHistory);
  32229. ;
  32230. args.push(this.Name);
  32231. ;
  32232. args.push(this.Description);
  32233. ;
  32234. args.push(this.ObjectType);
  32235. ;
  32236. args.push(this.ObjectPlacement);
  32237. ;
  32238. args.push(this.Representation);
  32239. ;
  32240. args.push(this.Tag);
  32241. ;
  32242. return args;
  32243. }
  32244. };
  32245. var IfcFlowTreatmentDeviceType = class {
  32246. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  32247. this.expressID = expressID;
  32248. this.type = type;
  32249. this.GlobalId = GlobalId;
  32250. this.OwnerHistory = OwnerHistory;
  32251. this.Name = Name;
  32252. this.Description = Description;
  32253. this.ApplicableOccurrence = ApplicableOccurrence;
  32254. this.HasPropertySets = HasPropertySets;
  32255. this.RepresentationMaps = RepresentationMaps;
  32256. this.Tag = Tag;
  32257. this.ElementType = ElementType;
  32258. }
  32259. static FromTape(expressID, type, tape) {
  32260. let ptr = 0;
  32261. let GlobalId = tape[ptr++];
  32262. let OwnerHistory = tape[ptr++];
  32263. let Name = tape[ptr++];
  32264. let Description = tape[ptr++];
  32265. let ApplicableOccurrence = tape[ptr++];
  32266. let HasPropertySets = tape[ptr++];
  32267. let RepresentationMaps = tape[ptr++];
  32268. let Tag = tape[ptr++];
  32269. let ElementType = tape[ptr++];
  32270. return new IfcFlowTreatmentDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  32271. }
  32272. ToTape() {
  32273. let args = [];
  32274. args.push(this.GlobalId);
  32275. ;
  32276. args.push(this.OwnerHistory);
  32277. ;
  32278. args.push(this.Name);
  32279. ;
  32280. args.push(this.Description);
  32281. ;
  32282. args.push(this.ApplicableOccurrence);
  32283. ;
  32284. args.push(this.HasPropertySets);
  32285. ;
  32286. args.push(this.RepresentationMaps);
  32287. ;
  32288. args.push(this.Tag);
  32289. ;
  32290. args.push(this.ElementType);
  32291. ;
  32292. return args;
  32293. }
  32294. };
  32295. var IfcFooting = class {
  32296. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  32297. this.expressID = expressID;
  32298. this.type = type;
  32299. this.GlobalId = GlobalId;
  32300. this.OwnerHistory = OwnerHistory;
  32301. this.Name = Name;
  32302. this.Description = Description;
  32303. this.ObjectType = ObjectType;
  32304. this.ObjectPlacement = ObjectPlacement;
  32305. this.Representation = Representation;
  32306. this.Tag = Tag;
  32307. this.PredefinedType = PredefinedType;
  32308. }
  32309. static FromTape(expressID, type, tape) {
  32310. let ptr = 0;
  32311. let GlobalId = tape[ptr++];
  32312. let OwnerHistory = tape[ptr++];
  32313. let Name = tape[ptr++];
  32314. let Description = tape[ptr++];
  32315. let ObjectType = tape[ptr++];
  32316. let ObjectPlacement = tape[ptr++];
  32317. let Representation = tape[ptr++];
  32318. let Tag = tape[ptr++];
  32319. let PredefinedType = tape[ptr++];
  32320. return new IfcFooting(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  32321. }
  32322. ToTape() {
  32323. let args = [];
  32324. args.push(this.GlobalId);
  32325. ;
  32326. args.push(this.OwnerHistory);
  32327. ;
  32328. args.push(this.Name);
  32329. ;
  32330. args.push(this.Description);
  32331. ;
  32332. args.push(this.ObjectType);
  32333. ;
  32334. args.push(this.ObjectPlacement);
  32335. ;
  32336. args.push(this.Representation);
  32337. ;
  32338. args.push(this.Tag);
  32339. ;
  32340. args.push(this.PredefinedType);
  32341. ;
  32342. return args;
  32343. }
  32344. };
  32345. var IfcFootingType = class {
  32346. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  32347. this.expressID = expressID;
  32348. this.type = type;
  32349. this.GlobalId = GlobalId;
  32350. this.OwnerHistory = OwnerHistory;
  32351. this.Name = Name;
  32352. this.Description = Description;
  32353. this.ApplicableOccurrence = ApplicableOccurrence;
  32354. this.HasPropertySets = HasPropertySets;
  32355. this.RepresentationMaps = RepresentationMaps;
  32356. this.Tag = Tag;
  32357. this.ElementType = ElementType;
  32358. this.PredefinedType = PredefinedType;
  32359. }
  32360. static FromTape(expressID, type, tape) {
  32361. let ptr = 0;
  32362. let GlobalId = tape[ptr++];
  32363. let OwnerHistory = tape[ptr++];
  32364. let Name = tape[ptr++];
  32365. let Description = tape[ptr++];
  32366. let ApplicableOccurrence = tape[ptr++];
  32367. let HasPropertySets = tape[ptr++];
  32368. let RepresentationMaps = tape[ptr++];
  32369. let Tag = tape[ptr++];
  32370. let ElementType = tape[ptr++];
  32371. let PredefinedType = tape[ptr++];
  32372. return new IfcFootingType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  32373. }
  32374. ToTape() {
  32375. let args = [];
  32376. args.push(this.GlobalId);
  32377. ;
  32378. args.push(this.OwnerHistory);
  32379. ;
  32380. args.push(this.Name);
  32381. ;
  32382. args.push(this.Description);
  32383. ;
  32384. args.push(this.ApplicableOccurrence);
  32385. ;
  32386. args.push(this.HasPropertySets);
  32387. ;
  32388. args.push(this.RepresentationMaps);
  32389. ;
  32390. args.push(this.Tag);
  32391. ;
  32392. args.push(this.ElementType);
  32393. ;
  32394. args.push(this.PredefinedType);
  32395. ;
  32396. return args;
  32397. }
  32398. };
  32399. var IfcFurnishingElement = class {
  32400. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  32401. this.expressID = expressID;
  32402. this.type = type;
  32403. this.GlobalId = GlobalId;
  32404. this.OwnerHistory = OwnerHistory;
  32405. this.Name = Name;
  32406. this.Description = Description;
  32407. this.ObjectType = ObjectType;
  32408. this.ObjectPlacement = ObjectPlacement;
  32409. this.Representation = Representation;
  32410. this.Tag = Tag;
  32411. }
  32412. static FromTape(expressID, type, tape) {
  32413. let ptr = 0;
  32414. let GlobalId = tape[ptr++];
  32415. let OwnerHistory = tape[ptr++];
  32416. let Name = tape[ptr++];
  32417. let Description = tape[ptr++];
  32418. let ObjectType = tape[ptr++];
  32419. let ObjectPlacement = tape[ptr++];
  32420. let Representation = tape[ptr++];
  32421. let Tag = tape[ptr++];
  32422. return new IfcFurnishingElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  32423. }
  32424. ToTape() {
  32425. let args = [];
  32426. args.push(this.GlobalId);
  32427. ;
  32428. args.push(this.OwnerHistory);
  32429. ;
  32430. args.push(this.Name);
  32431. ;
  32432. args.push(this.Description);
  32433. ;
  32434. args.push(this.ObjectType);
  32435. ;
  32436. args.push(this.ObjectPlacement);
  32437. ;
  32438. args.push(this.Representation);
  32439. ;
  32440. args.push(this.Tag);
  32441. ;
  32442. return args;
  32443. }
  32444. };
  32445. var IfcFurnishingElementType = class {
  32446. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  32447. this.expressID = expressID;
  32448. this.type = type;
  32449. this.GlobalId = GlobalId;
  32450. this.OwnerHistory = OwnerHistory;
  32451. this.Name = Name;
  32452. this.Description = Description;
  32453. this.ApplicableOccurrence = ApplicableOccurrence;
  32454. this.HasPropertySets = HasPropertySets;
  32455. this.RepresentationMaps = RepresentationMaps;
  32456. this.Tag = Tag;
  32457. this.ElementType = ElementType;
  32458. }
  32459. static FromTape(expressID, type, tape) {
  32460. let ptr = 0;
  32461. let GlobalId = tape[ptr++];
  32462. let OwnerHistory = tape[ptr++];
  32463. let Name = tape[ptr++];
  32464. let Description = tape[ptr++];
  32465. let ApplicableOccurrence = tape[ptr++];
  32466. let HasPropertySets = tape[ptr++];
  32467. let RepresentationMaps = tape[ptr++];
  32468. let Tag = tape[ptr++];
  32469. let ElementType = tape[ptr++];
  32470. return new IfcFurnishingElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  32471. }
  32472. ToTape() {
  32473. let args = [];
  32474. args.push(this.GlobalId);
  32475. ;
  32476. args.push(this.OwnerHistory);
  32477. ;
  32478. args.push(this.Name);
  32479. ;
  32480. args.push(this.Description);
  32481. ;
  32482. args.push(this.ApplicableOccurrence);
  32483. ;
  32484. args.push(this.HasPropertySets);
  32485. ;
  32486. args.push(this.RepresentationMaps);
  32487. ;
  32488. args.push(this.Tag);
  32489. ;
  32490. args.push(this.ElementType);
  32491. ;
  32492. return args;
  32493. }
  32494. };
  32495. var IfcFurniture = class {
  32496. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  32497. this.expressID = expressID;
  32498. this.type = type;
  32499. this.GlobalId = GlobalId;
  32500. this.OwnerHistory = OwnerHistory;
  32501. this.Name = Name;
  32502. this.Description = Description;
  32503. this.ObjectType = ObjectType;
  32504. this.ObjectPlacement = ObjectPlacement;
  32505. this.Representation = Representation;
  32506. this.Tag = Tag;
  32507. this.PredefinedType = PredefinedType;
  32508. }
  32509. static FromTape(expressID, type, tape) {
  32510. let ptr = 0;
  32511. let GlobalId = tape[ptr++];
  32512. let OwnerHistory = tape[ptr++];
  32513. let Name = tape[ptr++];
  32514. let Description = tape[ptr++];
  32515. let ObjectType = tape[ptr++];
  32516. let ObjectPlacement = tape[ptr++];
  32517. let Representation = tape[ptr++];
  32518. let Tag = tape[ptr++];
  32519. let PredefinedType = tape[ptr++];
  32520. return new IfcFurniture(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  32521. }
  32522. ToTape() {
  32523. let args = [];
  32524. args.push(this.GlobalId);
  32525. ;
  32526. args.push(this.OwnerHistory);
  32527. ;
  32528. args.push(this.Name);
  32529. ;
  32530. args.push(this.Description);
  32531. ;
  32532. args.push(this.ObjectType);
  32533. ;
  32534. args.push(this.ObjectPlacement);
  32535. ;
  32536. args.push(this.Representation);
  32537. ;
  32538. args.push(this.Tag);
  32539. ;
  32540. args.push(this.PredefinedType);
  32541. ;
  32542. return args;
  32543. }
  32544. };
  32545. var IfcFurnitureType = class {
  32546. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, AssemblyPlace, PredefinedType) {
  32547. this.expressID = expressID;
  32548. this.type = type;
  32549. this.GlobalId = GlobalId;
  32550. this.OwnerHistory = OwnerHistory;
  32551. this.Name = Name;
  32552. this.Description = Description;
  32553. this.ApplicableOccurrence = ApplicableOccurrence;
  32554. this.HasPropertySets = HasPropertySets;
  32555. this.RepresentationMaps = RepresentationMaps;
  32556. this.Tag = Tag;
  32557. this.ElementType = ElementType;
  32558. this.AssemblyPlace = AssemblyPlace;
  32559. this.PredefinedType = PredefinedType;
  32560. }
  32561. static FromTape(expressID, type, tape) {
  32562. let ptr = 0;
  32563. let GlobalId = tape[ptr++];
  32564. let OwnerHistory = tape[ptr++];
  32565. let Name = tape[ptr++];
  32566. let Description = tape[ptr++];
  32567. let ApplicableOccurrence = tape[ptr++];
  32568. let HasPropertySets = tape[ptr++];
  32569. let RepresentationMaps = tape[ptr++];
  32570. let Tag = tape[ptr++];
  32571. let ElementType = tape[ptr++];
  32572. let AssemblyPlace = tape[ptr++];
  32573. let PredefinedType = tape[ptr++];
  32574. return new IfcFurnitureType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, AssemblyPlace, PredefinedType);
  32575. }
  32576. ToTape() {
  32577. let args = [];
  32578. args.push(this.GlobalId);
  32579. ;
  32580. args.push(this.OwnerHistory);
  32581. ;
  32582. args.push(this.Name);
  32583. ;
  32584. args.push(this.Description);
  32585. ;
  32586. args.push(this.ApplicableOccurrence);
  32587. ;
  32588. args.push(this.HasPropertySets);
  32589. ;
  32590. args.push(this.RepresentationMaps);
  32591. ;
  32592. args.push(this.Tag);
  32593. ;
  32594. args.push(this.ElementType);
  32595. ;
  32596. args.push(this.AssemblyPlace);
  32597. ;
  32598. args.push(this.PredefinedType);
  32599. ;
  32600. return args;
  32601. }
  32602. };
  32603. var IfcGeographicElement = class {
  32604. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  32605. this.expressID = expressID;
  32606. this.type = type;
  32607. this.GlobalId = GlobalId;
  32608. this.OwnerHistory = OwnerHistory;
  32609. this.Name = Name;
  32610. this.Description = Description;
  32611. this.ObjectType = ObjectType;
  32612. this.ObjectPlacement = ObjectPlacement;
  32613. this.Representation = Representation;
  32614. this.Tag = Tag;
  32615. this.PredefinedType = PredefinedType;
  32616. }
  32617. static FromTape(expressID, type, tape) {
  32618. let ptr = 0;
  32619. let GlobalId = tape[ptr++];
  32620. let OwnerHistory = tape[ptr++];
  32621. let Name = tape[ptr++];
  32622. let Description = tape[ptr++];
  32623. let ObjectType = tape[ptr++];
  32624. let ObjectPlacement = tape[ptr++];
  32625. let Representation = tape[ptr++];
  32626. let Tag = tape[ptr++];
  32627. let PredefinedType = tape[ptr++];
  32628. return new IfcGeographicElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  32629. }
  32630. ToTape() {
  32631. let args = [];
  32632. args.push(this.GlobalId);
  32633. ;
  32634. args.push(this.OwnerHistory);
  32635. ;
  32636. args.push(this.Name);
  32637. ;
  32638. args.push(this.Description);
  32639. ;
  32640. args.push(this.ObjectType);
  32641. ;
  32642. args.push(this.ObjectPlacement);
  32643. ;
  32644. args.push(this.Representation);
  32645. ;
  32646. args.push(this.Tag);
  32647. ;
  32648. args.push(this.PredefinedType);
  32649. ;
  32650. return args;
  32651. }
  32652. };
  32653. var IfcGeographicElementType = class {
  32654. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  32655. this.expressID = expressID;
  32656. this.type = type;
  32657. this.GlobalId = GlobalId;
  32658. this.OwnerHistory = OwnerHistory;
  32659. this.Name = Name;
  32660. this.Description = Description;
  32661. this.ApplicableOccurrence = ApplicableOccurrence;
  32662. this.HasPropertySets = HasPropertySets;
  32663. this.RepresentationMaps = RepresentationMaps;
  32664. this.Tag = Tag;
  32665. this.ElementType = ElementType;
  32666. this.PredefinedType = PredefinedType;
  32667. }
  32668. static FromTape(expressID, type, tape) {
  32669. let ptr = 0;
  32670. let GlobalId = tape[ptr++];
  32671. let OwnerHistory = tape[ptr++];
  32672. let Name = tape[ptr++];
  32673. let Description = tape[ptr++];
  32674. let ApplicableOccurrence = tape[ptr++];
  32675. let HasPropertySets = tape[ptr++];
  32676. let RepresentationMaps = tape[ptr++];
  32677. let Tag = tape[ptr++];
  32678. let ElementType = tape[ptr++];
  32679. let PredefinedType = tape[ptr++];
  32680. return new IfcGeographicElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  32681. }
  32682. ToTape() {
  32683. let args = [];
  32684. args.push(this.GlobalId);
  32685. ;
  32686. args.push(this.OwnerHistory);
  32687. ;
  32688. args.push(this.Name);
  32689. ;
  32690. args.push(this.Description);
  32691. ;
  32692. args.push(this.ApplicableOccurrence);
  32693. ;
  32694. args.push(this.HasPropertySets);
  32695. ;
  32696. args.push(this.RepresentationMaps);
  32697. ;
  32698. args.push(this.Tag);
  32699. ;
  32700. args.push(this.ElementType);
  32701. ;
  32702. args.push(this.PredefinedType);
  32703. ;
  32704. return args;
  32705. }
  32706. };
  32707. var IfcGeometricCurveSet = class {
  32708. constructor(expressID, type, Elements) {
  32709. this.expressID = expressID;
  32710. this.type = type;
  32711. this.Elements = Elements;
  32712. }
  32713. static FromTape(expressID, type, tape) {
  32714. let ptr = 0;
  32715. let Elements = tape[ptr++];
  32716. return new IfcGeometricCurveSet(expressID, type, Elements);
  32717. }
  32718. ToTape() {
  32719. let args = [];
  32720. args.push(this.Elements);
  32721. ;
  32722. return args;
  32723. }
  32724. };
  32725. var IfcGeometricRepresentationContext = class {
  32726. constructor(expressID, type, ContextIdentifier, ContextType, CoordinateSpaceDimension, Precision, WorldCoordinateSystem, TrueNorth) {
  32727. this.expressID = expressID;
  32728. this.type = type;
  32729. this.ContextIdentifier = ContextIdentifier;
  32730. this.ContextType = ContextType;
  32731. this.CoordinateSpaceDimension = CoordinateSpaceDimension;
  32732. this.Precision = Precision;
  32733. this.WorldCoordinateSystem = WorldCoordinateSystem;
  32734. this.TrueNorth = TrueNorth;
  32735. }
  32736. static FromTape(expressID, type, tape) {
  32737. let ptr = 0;
  32738. let ContextIdentifier = tape[ptr++];
  32739. let ContextType = tape[ptr++];
  32740. let CoordinateSpaceDimension = tape[ptr++];
  32741. let Precision = tape[ptr++];
  32742. let WorldCoordinateSystem = tape[ptr++];
  32743. let TrueNorth = tape[ptr++];
  32744. return new IfcGeometricRepresentationContext(expressID, type, ContextIdentifier, ContextType, CoordinateSpaceDimension, Precision, WorldCoordinateSystem, TrueNorth);
  32745. }
  32746. ToTape() {
  32747. let args = [];
  32748. args.push(this.ContextIdentifier);
  32749. ;
  32750. args.push(this.ContextType);
  32751. ;
  32752. args.push(this.CoordinateSpaceDimension);
  32753. ;
  32754. args.push(this.Precision);
  32755. ;
  32756. args.push(this.WorldCoordinateSystem);
  32757. ;
  32758. args.push(this.TrueNorth);
  32759. ;
  32760. return args;
  32761. }
  32762. };
  32763. var IfcGeometricRepresentationItem = class {
  32764. constructor(expressID, type) {
  32765. this.expressID = expressID;
  32766. this.type = type;
  32767. }
  32768. static FromTape(expressID, type, tape) {
  32769. let ptr = 0;
  32770. return new IfcGeometricRepresentationItem(expressID, type);
  32771. }
  32772. ToTape() {
  32773. let args = [];
  32774. return args;
  32775. }
  32776. };
  32777. var IfcGeometricRepresentationSubContext = class {
  32778. constructor(expressID, type, ContextIdentifier, ContextType, CoordinateSpaceDimension, Precision, WorldCoordinateSystem, TrueNorth, ParentContext, TargetScale, TargetView, UserDefinedTargetView) {
  32779. this.expressID = expressID;
  32780. this.type = type;
  32781. this.ContextIdentifier = ContextIdentifier;
  32782. this.ContextType = ContextType;
  32783. this.CoordinateSpaceDimension = CoordinateSpaceDimension;
  32784. this.Precision = Precision;
  32785. this.WorldCoordinateSystem = WorldCoordinateSystem;
  32786. this.TrueNorth = TrueNorth;
  32787. this.ParentContext = ParentContext;
  32788. this.TargetScale = TargetScale;
  32789. this.TargetView = TargetView;
  32790. this.UserDefinedTargetView = UserDefinedTargetView;
  32791. }
  32792. static FromTape(expressID, type, tape) {
  32793. let ptr = 0;
  32794. let ContextIdentifier = tape[ptr++];
  32795. let ContextType = tape[ptr++];
  32796. let CoordinateSpaceDimension = tape[ptr++];
  32797. let Precision = tape[ptr++];
  32798. let WorldCoordinateSystem = tape[ptr++];
  32799. let TrueNorth = tape[ptr++];
  32800. let ParentContext = tape[ptr++];
  32801. let TargetScale = tape[ptr++];
  32802. let TargetView = tape[ptr++];
  32803. let UserDefinedTargetView = tape[ptr++];
  32804. return new IfcGeometricRepresentationSubContext(expressID, type, ContextIdentifier, ContextType, CoordinateSpaceDimension, Precision, WorldCoordinateSystem, TrueNorth, ParentContext, TargetScale, TargetView, UserDefinedTargetView);
  32805. }
  32806. ToTape() {
  32807. let args = [];
  32808. args.push(this.ContextIdentifier);
  32809. ;
  32810. args.push(this.ContextType);
  32811. ;
  32812. args.push(this.CoordinateSpaceDimension);
  32813. ;
  32814. args.push(this.Precision);
  32815. ;
  32816. args.push(this.WorldCoordinateSystem);
  32817. ;
  32818. args.push(this.TrueNorth);
  32819. ;
  32820. args.push(this.ParentContext);
  32821. ;
  32822. args.push(this.TargetScale);
  32823. ;
  32824. args.push(this.TargetView);
  32825. ;
  32826. args.push(this.UserDefinedTargetView);
  32827. ;
  32828. return args;
  32829. }
  32830. };
  32831. var IfcGeometricSet = class {
  32832. constructor(expressID, type, Elements) {
  32833. this.expressID = expressID;
  32834. this.type = type;
  32835. this.Elements = Elements;
  32836. }
  32837. static FromTape(expressID, type, tape) {
  32838. let ptr = 0;
  32839. let Elements = tape[ptr++];
  32840. return new IfcGeometricSet(expressID, type, Elements);
  32841. }
  32842. ToTape() {
  32843. let args = [];
  32844. args.push(this.Elements);
  32845. ;
  32846. return args;
  32847. }
  32848. };
  32849. var IfcGrid = class {
  32850. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, UAxes, VAxes, WAxes, PredefinedType) {
  32851. this.expressID = expressID;
  32852. this.type = type;
  32853. this.GlobalId = GlobalId;
  32854. this.OwnerHistory = OwnerHistory;
  32855. this.Name = Name;
  32856. this.Description = Description;
  32857. this.ObjectType = ObjectType;
  32858. this.ObjectPlacement = ObjectPlacement;
  32859. this.Representation = Representation;
  32860. this.UAxes = UAxes;
  32861. this.VAxes = VAxes;
  32862. this.WAxes = WAxes;
  32863. this.PredefinedType = PredefinedType;
  32864. }
  32865. static FromTape(expressID, type, tape) {
  32866. let ptr = 0;
  32867. let GlobalId = tape[ptr++];
  32868. let OwnerHistory = tape[ptr++];
  32869. let Name = tape[ptr++];
  32870. let Description = tape[ptr++];
  32871. let ObjectType = tape[ptr++];
  32872. let ObjectPlacement = tape[ptr++];
  32873. let Representation = tape[ptr++];
  32874. let UAxes = tape[ptr++];
  32875. let VAxes = tape[ptr++];
  32876. let WAxes = tape[ptr++];
  32877. let PredefinedType = tape[ptr++];
  32878. return new IfcGrid(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, UAxes, VAxes, WAxes, PredefinedType);
  32879. }
  32880. ToTape() {
  32881. let args = [];
  32882. args.push(this.GlobalId);
  32883. ;
  32884. args.push(this.OwnerHistory);
  32885. ;
  32886. args.push(this.Name);
  32887. ;
  32888. args.push(this.Description);
  32889. ;
  32890. args.push(this.ObjectType);
  32891. ;
  32892. args.push(this.ObjectPlacement);
  32893. ;
  32894. args.push(this.Representation);
  32895. ;
  32896. args.push(this.UAxes);
  32897. ;
  32898. args.push(this.VAxes);
  32899. ;
  32900. args.push(this.WAxes);
  32901. ;
  32902. args.push(this.PredefinedType);
  32903. ;
  32904. return args;
  32905. }
  32906. };
  32907. var IfcGridAxis = class {
  32908. constructor(expressID, type, AxisTag, AxisCurve, SameSense) {
  32909. this.expressID = expressID;
  32910. this.type = type;
  32911. this.AxisTag = AxisTag;
  32912. this.AxisCurve = AxisCurve;
  32913. this.SameSense = SameSense;
  32914. }
  32915. static FromTape(expressID, type, tape) {
  32916. let ptr = 0;
  32917. let AxisTag = tape[ptr++];
  32918. let AxisCurve = tape[ptr++];
  32919. let SameSense = tape[ptr++];
  32920. return new IfcGridAxis(expressID, type, AxisTag, AxisCurve, SameSense);
  32921. }
  32922. ToTape() {
  32923. let args = [];
  32924. args.push(this.AxisTag);
  32925. ;
  32926. args.push(this.AxisCurve);
  32927. ;
  32928. args.push(this.SameSense);
  32929. ;
  32930. return args;
  32931. }
  32932. };
  32933. var IfcGridPlacement = class {
  32934. constructor(expressID, type, PlacementRelTo, PlacementLocation, PlacementRefDirection) {
  32935. this.expressID = expressID;
  32936. this.type = type;
  32937. this.PlacementRelTo = PlacementRelTo;
  32938. this.PlacementLocation = PlacementLocation;
  32939. this.PlacementRefDirection = PlacementRefDirection;
  32940. }
  32941. static FromTape(expressID, type, tape) {
  32942. let ptr = 0;
  32943. let PlacementRelTo = tape[ptr++];
  32944. let PlacementLocation = tape[ptr++];
  32945. let PlacementRefDirection = tape[ptr++];
  32946. return new IfcGridPlacement(expressID, type, PlacementRelTo, PlacementLocation, PlacementRefDirection);
  32947. }
  32948. ToTape() {
  32949. let args = [];
  32950. args.push(this.PlacementRelTo);
  32951. ;
  32952. args.push(this.PlacementLocation);
  32953. ;
  32954. args.push(this.PlacementRefDirection);
  32955. ;
  32956. return args;
  32957. }
  32958. };
  32959. var IfcGroup = class {
  32960. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType) {
  32961. this.expressID = expressID;
  32962. this.type = type;
  32963. this.GlobalId = GlobalId;
  32964. this.OwnerHistory = OwnerHistory;
  32965. this.Name = Name;
  32966. this.Description = Description;
  32967. this.ObjectType = ObjectType;
  32968. }
  32969. static FromTape(expressID, type, tape) {
  32970. let ptr = 0;
  32971. let GlobalId = tape[ptr++];
  32972. let OwnerHistory = tape[ptr++];
  32973. let Name = tape[ptr++];
  32974. let Description = tape[ptr++];
  32975. let ObjectType = tape[ptr++];
  32976. return new IfcGroup(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType);
  32977. }
  32978. ToTape() {
  32979. let args = [];
  32980. args.push(this.GlobalId);
  32981. ;
  32982. args.push(this.OwnerHistory);
  32983. ;
  32984. args.push(this.Name);
  32985. ;
  32986. args.push(this.Description);
  32987. ;
  32988. args.push(this.ObjectType);
  32989. ;
  32990. return args;
  32991. }
  32992. };
  32993. var IfcHalfSpaceSolid = class {
  32994. constructor(expressID, type, BaseSurface, AgreementFlag) {
  32995. this.expressID = expressID;
  32996. this.type = type;
  32997. this.BaseSurface = BaseSurface;
  32998. this.AgreementFlag = AgreementFlag;
  32999. }
  33000. static FromTape(expressID, type, tape) {
  33001. let ptr = 0;
  33002. let BaseSurface = tape[ptr++];
  33003. let AgreementFlag = tape[ptr++];
  33004. return new IfcHalfSpaceSolid(expressID, type, BaseSurface, AgreementFlag);
  33005. }
  33006. ToTape() {
  33007. let args = [];
  33008. args.push(this.BaseSurface);
  33009. ;
  33010. args.push(this.AgreementFlag);
  33011. ;
  33012. return args;
  33013. }
  33014. };
  33015. var IfcHeatExchanger = class {
  33016. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  33017. this.expressID = expressID;
  33018. this.type = type;
  33019. this.GlobalId = GlobalId;
  33020. this.OwnerHistory = OwnerHistory;
  33021. this.Name = Name;
  33022. this.Description = Description;
  33023. this.ObjectType = ObjectType;
  33024. this.ObjectPlacement = ObjectPlacement;
  33025. this.Representation = Representation;
  33026. this.Tag = Tag;
  33027. this.PredefinedType = PredefinedType;
  33028. }
  33029. static FromTape(expressID, type, tape) {
  33030. let ptr = 0;
  33031. let GlobalId = tape[ptr++];
  33032. let OwnerHistory = tape[ptr++];
  33033. let Name = tape[ptr++];
  33034. let Description = tape[ptr++];
  33035. let ObjectType = tape[ptr++];
  33036. let ObjectPlacement = tape[ptr++];
  33037. let Representation = tape[ptr++];
  33038. let Tag = tape[ptr++];
  33039. let PredefinedType = tape[ptr++];
  33040. return new IfcHeatExchanger(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  33041. }
  33042. ToTape() {
  33043. let args = [];
  33044. args.push(this.GlobalId);
  33045. ;
  33046. args.push(this.OwnerHistory);
  33047. ;
  33048. args.push(this.Name);
  33049. ;
  33050. args.push(this.Description);
  33051. ;
  33052. args.push(this.ObjectType);
  33053. ;
  33054. args.push(this.ObjectPlacement);
  33055. ;
  33056. args.push(this.Representation);
  33057. ;
  33058. args.push(this.Tag);
  33059. ;
  33060. args.push(this.PredefinedType);
  33061. ;
  33062. return args;
  33063. }
  33064. };
  33065. var IfcHeatExchangerType = class {
  33066. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  33067. this.expressID = expressID;
  33068. this.type = type;
  33069. this.GlobalId = GlobalId;
  33070. this.OwnerHistory = OwnerHistory;
  33071. this.Name = Name;
  33072. this.Description = Description;
  33073. this.ApplicableOccurrence = ApplicableOccurrence;
  33074. this.HasPropertySets = HasPropertySets;
  33075. this.RepresentationMaps = RepresentationMaps;
  33076. this.Tag = Tag;
  33077. this.ElementType = ElementType;
  33078. this.PredefinedType = PredefinedType;
  33079. }
  33080. static FromTape(expressID, type, tape) {
  33081. let ptr = 0;
  33082. let GlobalId = tape[ptr++];
  33083. let OwnerHistory = tape[ptr++];
  33084. let Name = tape[ptr++];
  33085. let Description = tape[ptr++];
  33086. let ApplicableOccurrence = tape[ptr++];
  33087. let HasPropertySets = tape[ptr++];
  33088. let RepresentationMaps = tape[ptr++];
  33089. let Tag = tape[ptr++];
  33090. let ElementType = tape[ptr++];
  33091. let PredefinedType = tape[ptr++];
  33092. return new IfcHeatExchangerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  33093. }
  33094. ToTape() {
  33095. let args = [];
  33096. args.push(this.GlobalId);
  33097. ;
  33098. args.push(this.OwnerHistory);
  33099. ;
  33100. args.push(this.Name);
  33101. ;
  33102. args.push(this.Description);
  33103. ;
  33104. args.push(this.ApplicableOccurrence);
  33105. ;
  33106. args.push(this.HasPropertySets);
  33107. ;
  33108. args.push(this.RepresentationMaps);
  33109. ;
  33110. args.push(this.Tag);
  33111. ;
  33112. args.push(this.ElementType);
  33113. ;
  33114. args.push(this.PredefinedType);
  33115. ;
  33116. return args;
  33117. }
  33118. };
  33119. var IfcHumidifier = class {
  33120. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  33121. this.expressID = expressID;
  33122. this.type = type;
  33123. this.GlobalId = GlobalId;
  33124. this.OwnerHistory = OwnerHistory;
  33125. this.Name = Name;
  33126. this.Description = Description;
  33127. this.ObjectType = ObjectType;
  33128. this.ObjectPlacement = ObjectPlacement;
  33129. this.Representation = Representation;
  33130. this.Tag = Tag;
  33131. this.PredefinedType = PredefinedType;
  33132. }
  33133. static FromTape(expressID, type, tape) {
  33134. let ptr = 0;
  33135. let GlobalId = tape[ptr++];
  33136. let OwnerHistory = tape[ptr++];
  33137. let Name = tape[ptr++];
  33138. let Description = tape[ptr++];
  33139. let ObjectType = tape[ptr++];
  33140. let ObjectPlacement = tape[ptr++];
  33141. let Representation = tape[ptr++];
  33142. let Tag = tape[ptr++];
  33143. let PredefinedType = tape[ptr++];
  33144. return new IfcHumidifier(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  33145. }
  33146. ToTape() {
  33147. let args = [];
  33148. args.push(this.GlobalId);
  33149. ;
  33150. args.push(this.OwnerHistory);
  33151. ;
  33152. args.push(this.Name);
  33153. ;
  33154. args.push(this.Description);
  33155. ;
  33156. args.push(this.ObjectType);
  33157. ;
  33158. args.push(this.ObjectPlacement);
  33159. ;
  33160. args.push(this.Representation);
  33161. ;
  33162. args.push(this.Tag);
  33163. ;
  33164. args.push(this.PredefinedType);
  33165. ;
  33166. return args;
  33167. }
  33168. };
  33169. var IfcHumidifierType = class {
  33170. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  33171. this.expressID = expressID;
  33172. this.type = type;
  33173. this.GlobalId = GlobalId;
  33174. this.OwnerHistory = OwnerHistory;
  33175. this.Name = Name;
  33176. this.Description = Description;
  33177. this.ApplicableOccurrence = ApplicableOccurrence;
  33178. this.HasPropertySets = HasPropertySets;
  33179. this.RepresentationMaps = RepresentationMaps;
  33180. this.Tag = Tag;
  33181. this.ElementType = ElementType;
  33182. this.PredefinedType = PredefinedType;
  33183. }
  33184. static FromTape(expressID, type, tape) {
  33185. let ptr = 0;
  33186. let GlobalId = tape[ptr++];
  33187. let OwnerHistory = tape[ptr++];
  33188. let Name = tape[ptr++];
  33189. let Description = tape[ptr++];
  33190. let ApplicableOccurrence = tape[ptr++];
  33191. let HasPropertySets = tape[ptr++];
  33192. let RepresentationMaps = tape[ptr++];
  33193. let Tag = tape[ptr++];
  33194. let ElementType = tape[ptr++];
  33195. let PredefinedType = tape[ptr++];
  33196. return new IfcHumidifierType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  33197. }
  33198. ToTape() {
  33199. let args = [];
  33200. args.push(this.GlobalId);
  33201. ;
  33202. args.push(this.OwnerHistory);
  33203. ;
  33204. args.push(this.Name);
  33205. ;
  33206. args.push(this.Description);
  33207. ;
  33208. args.push(this.ApplicableOccurrence);
  33209. ;
  33210. args.push(this.HasPropertySets);
  33211. ;
  33212. args.push(this.RepresentationMaps);
  33213. ;
  33214. args.push(this.Tag);
  33215. ;
  33216. args.push(this.ElementType);
  33217. ;
  33218. args.push(this.PredefinedType);
  33219. ;
  33220. return args;
  33221. }
  33222. };
  33223. var IfcIShapeProfileDef = class {
  33224. constructor(expressID, type, ProfileType, ProfileName, Position, OverallWidth, OverallDepth, WebThickness, FlangeThickness, FilletRadius, FlangeEdgeRadius, FlangeSlope) {
  33225. this.expressID = expressID;
  33226. this.type = type;
  33227. this.ProfileType = ProfileType;
  33228. this.ProfileName = ProfileName;
  33229. this.Position = Position;
  33230. this.OverallWidth = OverallWidth;
  33231. this.OverallDepth = OverallDepth;
  33232. this.WebThickness = WebThickness;
  33233. this.FlangeThickness = FlangeThickness;
  33234. this.FilletRadius = FilletRadius;
  33235. this.FlangeEdgeRadius = FlangeEdgeRadius;
  33236. this.FlangeSlope = FlangeSlope;
  33237. }
  33238. static FromTape(expressID, type, tape) {
  33239. let ptr = 0;
  33240. let ProfileType = tape[ptr++];
  33241. let ProfileName = tape[ptr++];
  33242. let Position = tape[ptr++];
  33243. let OverallWidth = tape[ptr++];
  33244. let OverallDepth = tape[ptr++];
  33245. let WebThickness = tape[ptr++];
  33246. let FlangeThickness = tape[ptr++];
  33247. let FilletRadius = tape[ptr++];
  33248. let FlangeEdgeRadius = tape[ptr++];
  33249. let FlangeSlope = tape[ptr++];
  33250. return new IfcIShapeProfileDef(expressID, type, ProfileType, ProfileName, Position, OverallWidth, OverallDepth, WebThickness, FlangeThickness, FilletRadius, FlangeEdgeRadius, FlangeSlope);
  33251. }
  33252. ToTape() {
  33253. let args = [];
  33254. args.push(this.ProfileType);
  33255. ;
  33256. args.push(this.ProfileName);
  33257. ;
  33258. args.push(this.Position);
  33259. ;
  33260. args.push(this.OverallWidth);
  33261. ;
  33262. args.push(this.OverallDepth);
  33263. ;
  33264. args.push(this.WebThickness);
  33265. ;
  33266. args.push(this.FlangeThickness);
  33267. ;
  33268. args.push(this.FilletRadius);
  33269. ;
  33270. args.push(this.FlangeEdgeRadius);
  33271. ;
  33272. args.push(this.FlangeSlope);
  33273. ;
  33274. return args;
  33275. }
  33276. };
  33277. var IfcImageTexture = class {
  33278. constructor(expressID, type, RepeatS, RepeatT, Mode, TextureTransform, Parameter, URLReference) {
  33279. this.expressID = expressID;
  33280. this.type = type;
  33281. this.RepeatS = RepeatS;
  33282. this.RepeatT = RepeatT;
  33283. this.Mode = Mode;
  33284. this.TextureTransform = TextureTransform;
  33285. this.Parameter = Parameter;
  33286. this.URLReference = URLReference;
  33287. }
  33288. static FromTape(expressID, type, tape) {
  33289. let ptr = 0;
  33290. let RepeatS = tape[ptr++];
  33291. let RepeatT = tape[ptr++];
  33292. let Mode = tape[ptr++];
  33293. let TextureTransform = tape[ptr++];
  33294. let Parameter = tape[ptr++];
  33295. let URLReference = tape[ptr++];
  33296. return new IfcImageTexture(expressID, type, RepeatS, RepeatT, Mode, TextureTransform, Parameter, URLReference);
  33297. }
  33298. ToTape() {
  33299. let args = [];
  33300. args.push(this.RepeatS);
  33301. ;
  33302. args.push(this.RepeatT);
  33303. ;
  33304. args.push(this.Mode);
  33305. ;
  33306. args.push(this.TextureTransform);
  33307. ;
  33308. args.push(this.Parameter);
  33309. ;
  33310. args.push(this.URLReference);
  33311. ;
  33312. return args;
  33313. }
  33314. };
  33315. var IfcIndexedColourMap = class {
  33316. constructor(expressID, type, MappedTo, Opacity, Colours, ColourIndex) {
  33317. this.expressID = expressID;
  33318. this.type = type;
  33319. this.MappedTo = MappedTo;
  33320. this.Opacity = Opacity;
  33321. this.Colours = Colours;
  33322. this.ColourIndex = ColourIndex;
  33323. }
  33324. static FromTape(expressID, type, tape) {
  33325. let ptr = 0;
  33326. let MappedTo = tape[ptr++];
  33327. let Opacity = tape[ptr++];
  33328. let Colours = tape[ptr++];
  33329. let ColourIndex = tape[ptr++];
  33330. return new IfcIndexedColourMap(expressID, type, MappedTo, Opacity, Colours, ColourIndex);
  33331. }
  33332. ToTape() {
  33333. let args = [];
  33334. args.push(this.MappedTo);
  33335. ;
  33336. args.push(this.Opacity);
  33337. ;
  33338. args.push(this.Colours);
  33339. ;
  33340. args.push(this.ColourIndex);
  33341. ;
  33342. return args;
  33343. }
  33344. };
  33345. var IfcIndexedPolyCurve = class {
  33346. constructor(expressID, type, Points, Segments, SelfIntersect) {
  33347. this.expressID = expressID;
  33348. this.type = type;
  33349. this.Points = Points;
  33350. this.Segments = Segments;
  33351. this.SelfIntersect = SelfIntersect;
  33352. }
  33353. static FromTape(expressID, type, tape) {
  33354. let ptr = 0;
  33355. let Points = tape[ptr++];
  33356. let Segments = tape[ptr++];
  33357. let SelfIntersect = tape[ptr++];
  33358. return new IfcIndexedPolyCurve(expressID, type, Points, Segments, SelfIntersect);
  33359. }
  33360. ToTape() {
  33361. let args = [];
  33362. args.push(this.Points);
  33363. ;
  33364. args.push(this.Segments);
  33365. ;
  33366. args.push(this.SelfIntersect);
  33367. ;
  33368. return args;
  33369. }
  33370. };
  33371. var IfcIndexedPolygonalFace = class {
  33372. constructor(expressID, type, CoordIndex) {
  33373. this.expressID = expressID;
  33374. this.type = type;
  33375. this.CoordIndex = CoordIndex;
  33376. }
  33377. static FromTape(expressID, type, tape) {
  33378. let ptr = 0;
  33379. let CoordIndex = tape[ptr++];
  33380. return new IfcIndexedPolygonalFace(expressID, type, CoordIndex);
  33381. }
  33382. ToTape() {
  33383. let args = [];
  33384. args.push(this.CoordIndex);
  33385. ;
  33386. return args;
  33387. }
  33388. };
  33389. var IfcIndexedPolygonalFaceWithVoids = class {
  33390. constructor(expressID, type, CoordIndex, InnerCoordIndices) {
  33391. this.expressID = expressID;
  33392. this.type = type;
  33393. this.CoordIndex = CoordIndex;
  33394. this.InnerCoordIndices = InnerCoordIndices;
  33395. }
  33396. static FromTape(expressID, type, tape) {
  33397. let ptr = 0;
  33398. let CoordIndex = tape[ptr++];
  33399. let InnerCoordIndices = tape[ptr++];
  33400. return new IfcIndexedPolygonalFaceWithVoids(expressID, type, CoordIndex, InnerCoordIndices);
  33401. }
  33402. ToTape() {
  33403. let args = [];
  33404. args.push(this.CoordIndex);
  33405. ;
  33406. args.push(this.InnerCoordIndices);
  33407. ;
  33408. return args;
  33409. }
  33410. };
  33411. var IfcIndexedTextureMap = class {
  33412. constructor(expressID, type, Maps, MappedTo, TexCoords) {
  33413. this.expressID = expressID;
  33414. this.type = type;
  33415. this.Maps = Maps;
  33416. this.MappedTo = MappedTo;
  33417. this.TexCoords = TexCoords;
  33418. }
  33419. static FromTape(expressID, type, tape) {
  33420. let ptr = 0;
  33421. let Maps = tape[ptr++];
  33422. let MappedTo = tape[ptr++];
  33423. let TexCoords = tape[ptr++];
  33424. return new IfcIndexedTextureMap(expressID, type, Maps, MappedTo, TexCoords);
  33425. }
  33426. ToTape() {
  33427. let args = [];
  33428. args.push(this.Maps);
  33429. ;
  33430. args.push(this.MappedTo);
  33431. ;
  33432. args.push(this.TexCoords);
  33433. ;
  33434. return args;
  33435. }
  33436. };
  33437. var IfcIndexedTriangleTextureMap = class {
  33438. constructor(expressID, type, Maps, MappedTo, TexCoords, TexCoordIndex) {
  33439. this.expressID = expressID;
  33440. this.type = type;
  33441. this.Maps = Maps;
  33442. this.MappedTo = MappedTo;
  33443. this.TexCoords = TexCoords;
  33444. this.TexCoordIndex = TexCoordIndex;
  33445. }
  33446. static FromTape(expressID, type, tape) {
  33447. let ptr = 0;
  33448. let Maps = tape[ptr++];
  33449. let MappedTo = tape[ptr++];
  33450. let TexCoords = tape[ptr++];
  33451. let TexCoordIndex = tape[ptr++];
  33452. return new IfcIndexedTriangleTextureMap(expressID, type, Maps, MappedTo, TexCoords, TexCoordIndex);
  33453. }
  33454. ToTape() {
  33455. let args = [];
  33456. args.push(this.Maps);
  33457. ;
  33458. args.push(this.MappedTo);
  33459. ;
  33460. args.push(this.TexCoords);
  33461. ;
  33462. args.push(this.TexCoordIndex);
  33463. ;
  33464. return args;
  33465. }
  33466. };
  33467. var IfcInterceptor = class {
  33468. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  33469. this.expressID = expressID;
  33470. this.type = type;
  33471. this.GlobalId = GlobalId;
  33472. this.OwnerHistory = OwnerHistory;
  33473. this.Name = Name;
  33474. this.Description = Description;
  33475. this.ObjectType = ObjectType;
  33476. this.ObjectPlacement = ObjectPlacement;
  33477. this.Representation = Representation;
  33478. this.Tag = Tag;
  33479. this.PredefinedType = PredefinedType;
  33480. }
  33481. static FromTape(expressID, type, tape) {
  33482. let ptr = 0;
  33483. let GlobalId = tape[ptr++];
  33484. let OwnerHistory = tape[ptr++];
  33485. let Name = tape[ptr++];
  33486. let Description = tape[ptr++];
  33487. let ObjectType = tape[ptr++];
  33488. let ObjectPlacement = tape[ptr++];
  33489. let Representation = tape[ptr++];
  33490. let Tag = tape[ptr++];
  33491. let PredefinedType = tape[ptr++];
  33492. return new IfcInterceptor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  33493. }
  33494. ToTape() {
  33495. let args = [];
  33496. args.push(this.GlobalId);
  33497. ;
  33498. args.push(this.OwnerHistory);
  33499. ;
  33500. args.push(this.Name);
  33501. ;
  33502. args.push(this.Description);
  33503. ;
  33504. args.push(this.ObjectType);
  33505. ;
  33506. args.push(this.ObjectPlacement);
  33507. ;
  33508. args.push(this.Representation);
  33509. ;
  33510. args.push(this.Tag);
  33511. ;
  33512. args.push(this.PredefinedType);
  33513. ;
  33514. return args;
  33515. }
  33516. };
  33517. var IfcInterceptorType = class {
  33518. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  33519. this.expressID = expressID;
  33520. this.type = type;
  33521. this.GlobalId = GlobalId;
  33522. this.OwnerHistory = OwnerHistory;
  33523. this.Name = Name;
  33524. this.Description = Description;
  33525. this.ApplicableOccurrence = ApplicableOccurrence;
  33526. this.HasPropertySets = HasPropertySets;
  33527. this.RepresentationMaps = RepresentationMaps;
  33528. this.Tag = Tag;
  33529. this.ElementType = ElementType;
  33530. this.PredefinedType = PredefinedType;
  33531. }
  33532. static FromTape(expressID, type, tape) {
  33533. let ptr = 0;
  33534. let GlobalId = tape[ptr++];
  33535. let OwnerHistory = tape[ptr++];
  33536. let Name = tape[ptr++];
  33537. let Description = tape[ptr++];
  33538. let ApplicableOccurrence = tape[ptr++];
  33539. let HasPropertySets = tape[ptr++];
  33540. let RepresentationMaps = tape[ptr++];
  33541. let Tag = tape[ptr++];
  33542. let ElementType = tape[ptr++];
  33543. let PredefinedType = tape[ptr++];
  33544. return new IfcInterceptorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  33545. }
  33546. ToTape() {
  33547. let args = [];
  33548. args.push(this.GlobalId);
  33549. ;
  33550. args.push(this.OwnerHistory);
  33551. ;
  33552. args.push(this.Name);
  33553. ;
  33554. args.push(this.Description);
  33555. ;
  33556. args.push(this.ApplicableOccurrence);
  33557. ;
  33558. args.push(this.HasPropertySets);
  33559. ;
  33560. args.push(this.RepresentationMaps);
  33561. ;
  33562. args.push(this.Tag);
  33563. ;
  33564. args.push(this.ElementType);
  33565. ;
  33566. args.push(this.PredefinedType);
  33567. ;
  33568. return args;
  33569. }
  33570. };
  33571. var IfcIntersectionCurve = class {
  33572. constructor(expressID, type, Curve3D, AssociatedGeometry, MasterRepresentation) {
  33573. this.expressID = expressID;
  33574. this.type = type;
  33575. this.Curve3D = Curve3D;
  33576. this.AssociatedGeometry = AssociatedGeometry;
  33577. this.MasterRepresentation = MasterRepresentation;
  33578. }
  33579. static FromTape(expressID, type, tape) {
  33580. let ptr = 0;
  33581. let Curve3D = tape[ptr++];
  33582. let AssociatedGeometry = tape[ptr++];
  33583. let MasterRepresentation = tape[ptr++];
  33584. return new IfcIntersectionCurve(expressID, type, Curve3D, AssociatedGeometry, MasterRepresentation);
  33585. }
  33586. ToTape() {
  33587. let args = [];
  33588. args.push(this.Curve3D);
  33589. ;
  33590. args.push(this.AssociatedGeometry);
  33591. ;
  33592. args.push(this.MasterRepresentation);
  33593. ;
  33594. return args;
  33595. }
  33596. };
  33597. var IfcInventory = class {
  33598. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, Jurisdiction, ResponsiblePersons, LastUpdateDate, CurrentValue, OriginalValue) {
  33599. this.expressID = expressID;
  33600. this.type = type;
  33601. this.GlobalId = GlobalId;
  33602. this.OwnerHistory = OwnerHistory;
  33603. this.Name = Name;
  33604. this.Description = Description;
  33605. this.ObjectType = ObjectType;
  33606. this.PredefinedType = PredefinedType;
  33607. this.Jurisdiction = Jurisdiction;
  33608. this.ResponsiblePersons = ResponsiblePersons;
  33609. this.LastUpdateDate = LastUpdateDate;
  33610. this.CurrentValue = CurrentValue;
  33611. this.OriginalValue = OriginalValue;
  33612. }
  33613. static FromTape(expressID, type, tape) {
  33614. let ptr = 0;
  33615. let GlobalId = tape[ptr++];
  33616. let OwnerHistory = tape[ptr++];
  33617. let Name = tape[ptr++];
  33618. let Description = tape[ptr++];
  33619. let ObjectType = tape[ptr++];
  33620. let PredefinedType = tape[ptr++];
  33621. let Jurisdiction = tape[ptr++];
  33622. let ResponsiblePersons = tape[ptr++];
  33623. let LastUpdateDate = tape[ptr++];
  33624. let CurrentValue = tape[ptr++];
  33625. let OriginalValue = tape[ptr++];
  33626. return new IfcInventory(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, Jurisdiction, ResponsiblePersons, LastUpdateDate, CurrentValue, OriginalValue);
  33627. }
  33628. ToTape() {
  33629. let args = [];
  33630. args.push(this.GlobalId);
  33631. ;
  33632. args.push(this.OwnerHistory);
  33633. ;
  33634. args.push(this.Name);
  33635. ;
  33636. args.push(this.Description);
  33637. ;
  33638. args.push(this.ObjectType);
  33639. ;
  33640. args.push(this.PredefinedType);
  33641. ;
  33642. args.push(this.Jurisdiction);
  33643. ;
  33644. args.push(this.ResponsiblePersons);
  33645. ;
  33646. args.push(this.LastUpdateDate);
  33647. ;
  33648. args.push(this.CurrentValue);
  33649. ;
  33650. args.push(this.OriginalValue);
  33651. ;
  33652. return args;
  33653. }
  33654. };
  33655. var IfcIrregularTimeSeries = class {
  33656. constructor(expressID, type, Name, Description, StartTime, EndTime, TimeSeriesDataType, DataOrigin, UserDefinedDataOrigin, Unit, Values) {
  33657. this.expressID = expressID;
  33658. this.type = type;
  33659. this.Name = Name;
  33660. this.Description = Description;
  33661. this.StartTime = StartTime;
  33662. this.EndTime = EndTime;
  33663. this.TimeSeriesDataType = TimeSeriesDataType;
  33664. this.DataOrigin = DataOrigin;
  33665. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  33666. this.Unit = Unit;
  33667. this.Values = Values;
  33668. }
  33669. static FromTape(expressID, type, tape) {
  33670. let ptr = 0;
  33671. let Name = tape[ptr++];
  33672. let Description = tape[ptr++];
  33673. let StartTime = tape[ptr++];
  33674. let EndTime = tape[ptr++];
  33675. let TimeSeriesDataType = tape[ptr++];
  33676. let DataOrigin = tape[ptr++];
  33677. let UserDefinedDataOrigin = tape[ptr++];
  33678. let Unit = tape[ptr++];
  33679. let Values = tape[ptr++];
  33680. return new IfcIrregularTimeSeries(expressID, type, Name, Description, StartTime, EndTime, TimeSeriesDataType, DataOrigin, UserDefinedDataOrigin, Unit, Values);
  33681. }
  33682. ToTape() {
  33683. let args = [];
  33684. args.push(this.Name);
  33685. ;
  33686. args.push(this.Description);
  33687. ;
  33688. args.push(this.StartTime);
  33689. ;
  33690. args.push(this.EndTime);
  33691. ;
  33692. args.push(this.TimeSeriesDataType);
  33693. ;
  33694. args.push(this.DataOrigin);
  33695. ;
  33696. args.push(this.UserDefinedDataOrigin);
  33697. ;
  33698. args.push(this.Unit);
  33699. ;
  33700. args.push(this.Values);
  33701. ;
  33702. return args;
  33703. }
  33704. };
  33705. var IfcIrregularTimeSeriesValue = class {
  33706. constructor(expressID, type, TimeStamp, ListValues) {
  33707. this.expressID = expressID;
  33708. this.type = type;
  33709. this.TimeStamp = TimeStamp;
  33710. this.ListValues = ListValues;
  33711. }
  33712. static FromTape(expressID, type, tape) {
  33713. let ptr = 0;
  33714. let TimeStamp = tape[ptr++];
  33715. let ListValues = tape[ptr++];
  33716. return new IfcIrregularTimeSeriesValue(expressID, type, TimeStamp, ListValues);
  33717. }
  33718. ToTape() {
  33719. let args = [];
  33720. args.push(this.TimeStamp);
  33721. ;
  33722. args.push(this.ListValues);
  33723. ;
  33724. return args;
  33725. }
  33726. };
  33727. var IfcJunctionBox = class {
  33728. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  33729. this.expressID = expressID;
  33730. this.type = type;
  33731. this.GlobalId = GlobalId;
  33732. this.OwnerHistory = OwnerHistory;
  33733. this.Name = Name;
  33734. this.Description = Description;
  33735. this.ObjectType = ObjectType;
  33736. this.ObjectPlacement = ObjectPlacement;
  33737. this.Representation = Representation;
  33738. this.Tag = Tag;
  33739. this.PredefinedType = PredefinedType;
  33740. }
  33741. static FromTape(expressID, type, tape) {
  33742. let ptr = 0;
  33743. let GlobalId = tape[ptr++];
  33744. let OwnerHistory = tape[ptr++];
  33745. let Name = tape[ptr++];
  33746. let Description = tape[ptr++];
  33747. let ObjectType = tape[ptr++];
  33748. let ObjectPlacement = tape[ptr++];
  33749. let Representation = tape[ptr++];
  33750. let Tag = tape[ptr++];
  33751. let PredefinedType = tape[ptr++];
  33752. return new IfcJunctionBox(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  33753. }
  33754. ToTape() {
  33755. let args = [];
  33756. args.push(this.GlobalId);
  33757. ;
  33758. args.push(this.OwnerHistory);
  33759. ;
  33760. args.push(this.Name);
  33761. ;
  33762. args.push(this.Description);
  33763. ;
  33764. args.push(this.ObjectType);
  33765. ;
  33766. args.push(this.ObjectPlacement);
  33767. ;
  33768. args.push(this.Representation);
  33769. ;
  33770. args.push(this.Tag);
  33771. ;
  33772. args.push(this.PredefinedType);
  33773. ;
  33774. return args;
  33775. }
  33776. };
  33777. var IfcJunctionBoxType = class {
  33778. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  33779. this.expressID = expressID;
  33780. this.type = type;
  33781. this.GlobalId = GlobalId;
  33782. this.OwnerHistory = OwnerHistory;
  33783. this.Name = Name;
  33784. this.Description = Description;
  33785. this.ApplicableOccurrence = ApplicableOccurrence;
  33786. this.HasPropertySets = HasPropertySets;
  33787. this.RepresentationMaps = RepresentationMaps;
  33788. this.Tag = Tag;
  33789. this.ElementType = ElementType;
  33790. this.PredefinedType = PredefinedType;
  33791. }
  33792. static FromTape(expressID, type, tape) {
  33793. let ptr = 0;
  33794. let GlobalId = tape[ptr++];
  33795. let OwnerHistory = tape[ptr++];
  33796. let Name = tape[ptr++];
  33797. let Description = tape[ptr++];
  33798. let ApplicableOccurrence = tape[ptr++];
  33799. let HasPropertySets = tape[ptr++];
  33800. let RepresentationMaps = tape[ptr++];
  33801. let Tag = tape[ptr++];
  33802. let ElementType = tape[ptr++];
  33803. let PredefinedType = tape[ptr++];
  33804. return new IfcJunctionBoxType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  33805. }
  33806. ToTape() {
  33807. let args = [];
  33808. args.push(this.GlobalId);
  33809. ;
  33810. args.push(this.OwnerHistory);
  33811. ;
  33812. args.push(this.Name);
  33813. ;
  33814. args.push(this.Description);
  33815. ;
  33816. args.push(this.ApplicableOccurrence);
  33817. ;
  33818. args.push(this.HasPropertySets);
  33819. ;
  33820. args.push(this.RepresentationMaps);
  33821. ;
  33822. args.push(this.Tag);
  33823. ;
  33824. args.push(this.ElementType);
  33825. ;
  33826. args.push(this.PredefinedType);
  33827. ;
  33828. return args;
  33829. }
  33830. };
  33831. var IfcLShapeProfileDef = class {
  33832. constructor(expressID, type, ProfileType, ProfileName, Position, Depth, Width, Thickness, FilletRadius, EdgeRadius, LegSlope) {
  33833. this.expressID = expressID;
  33834. this.type = type;
  33835. this.ProfileType = ProfileType;
  33836. this.ProfileName = ProfileName;
  33837. this.Position = Position;
  33838. this.Depth = Depth;
  33839. this.Width = Width;
  33840. this.Thickness = Thickness;
  33841. this.FilletRadius = FilletRadius;
  33842. this.EdgeRadius = EdgeRadius;
  33843. this.LegSlope = LegSlope;
  33844. }
  33845. static FromTape(expressID, type, tape) {
  33846. let ptr = 0;
  33847. let ProfileType = tape[ptr++];
  33848. let ProfileName = tape[ptr++];
  33849. let Position = tape[ptr++];
  33850. let Depth = tape[ptr++];
  33851. let Width = tape[ptr++];
  33852. let Thickness = tape[ptr++];
  33853. let FilletRadius = tape[ptr++];
  33854. let EdgeRadius = tape[ptr++];
  33855. let LegSlope = tape[ptr++];
  33856. return new IfcLShapeProfileDef(expressID, type, ProfileType, ProfileName, Position, Depth, Width, Thickness, FilletRadius, EdgeRadius, LegSlope);
  33857. }
  33858. ToTape() {
  33859. let args = [];
  33860. args.push(this.ProfileType);
  33861. ;
  33862. args.push(this.ProfileName);
  33863. ;
  33864. args.push(this.Position);
  33865. ;
  33866. args.push(this.Depth);
  33867. ;
  33868. args.push(this.Width);
  33869. ;
  33870. args.push(this.Thickness);
  33871. ;
  33872. args.push(this.FilletRadius);
  33873. ;
  33874. args.push(this.EdgeRadius);
  33875. ;
  33876. args.push(this.LegSlope);
  33877. ;
  33878. return args;
  33879. }
  33880. };
  33881. var IfcLaborResource = class {
  33882. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType) {
  33883. this.expressID = expressID;
  33884. this.type = type;
  33885. this.GlobalId = GlobalId;
  33886. this.OwnerHistory = OwnerHistory;
  33887. this.Name = Name;
  33888. this.Description = Description;
  33889. this.ObjectType = ObjectType;
  33890. this.Identification = Identification;
  33891. this.LongDescription = LongDescription;
  33892. this.Usage = Usage;
  33893. this.BaseCosts = BaseCosts;
  33894. this.BaseQuantity = BaseQuantity;
  33895. this.PredefinedType = PredefinedType;
  33896. }
  33897. static FromTape(expressID, type, tape) {
  33898. let ptr = 0;
  33899. let GlobalId = tape[ptr++];
  33900. let OwnerHistory = tape[ptr++];
  33901. let Name = tape[ptr++];
  33902. let Description = tape[ptr++];
  33903. let ObjectType = tape[ptr++];
  33904. let Identification = tape[ptr++];
  33905. let LongDescription = tape[ptr++];
  33906. let Usage = tape[ptr++];
  33907. let BaseCosts = tape[ptr++];
  33908. let BaseQuantity = tape[ptr++];
  33909. let PredefinedType = tape[ptr++];
  33910. return new IfcLaborResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType);
  33911. }
  33912. ToTape() {
  33913. let args = [];
  33914. args.push(this.GlobalId);
  33915. ;
  33916. args.push(this.OwnerHistory);
  33917. ;
  33918. args.push(this.Name);
  33919. ;
  33920. args.push(this.Description);
  33921. ;
  33922. args.push(this.ObjectType);
  33923. ;
  33924. args.push(this.Identification);
  33925. ;
  33926. args.push(this.LongDescription);
  33927. ;
  33928. args.push(this.Usage);
  33929. ;
  33930. args.push(this.BaseCosts);
  33931. ;
  33932. args.push(this.BaseQuantity);
  33933. ;
  33934. args.push(this.PredefinedType);
  33935. ;
  33936. return args;
  33937. }
  33938. };
  33939. var IfcLaborResourceType = class {
  33940. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType) {
  33941. this.expressID = expressID;
  33942. this.type = type;
  33943. this.GlobalId = GlobalId;
  33944. this.OwnerHistory = OwnerHistory;
  33945. this.Name = Name;
  33946. this.Description = Description;
  33947. this.ApplicableOccurrence = ApplicableOccurrence;
  33948. this.HasPropertySets = HasPropertySets;
  33949. this.Identification = Identification;
  33950. this.LongDescription = LongDescription;
  33951. this.ResourceType = ResourceType;
  33952. this.BaseCosts = BaseCosts;
  33953. this.BaseQuantity = BaseQuantity;
  33954. this.PredefinedType = PredefinedType;
  33955. }
  33956. static FromTape(expressID, type, tape) {
  33957. let ptr = 0;
  33958. let GlobalId = tape[ptr++];
  33959. let OwnerHistory = tape[ptr++];
  33960. let Name = tape[ptr++];
  33961. let Description = tape[ptr++];
  33962. let ApplicableOccurrence = tape[ptr++];
  33963. let HasPropertySets = tape[ptr++];
  33964. let Identification = tape[ptr++];
  33965. let LongDescription = tape[ptr++];
  33966. let ResourceType = tape[ptr++];
  33967. let BaseCosts = tape[ptr++];
  33968. let BaseQuantity = tape[ptr++];
  33969. let PredefinedType = tape[ptr++];
  33970. return new IfcLaborResourceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType);
  33971. }
  33972. ToTape() {
  33973. let args = [];
  33974. args.push(this.GlobalId);
  33975. ;
  33976. args.push(this.OwnerHistory);
  33977. ;
  33978. args.push(this.Name);
  33979. ;
  33980. args.push(this.Description);
  33981. ;
  33982. args.push(this.ApplicableOccurrence);
  33983. ;
  33984. args.push(this.HasPropertySets);
  33985. ;
  33986. args.push(this.Identification);
  33987. ;
  33988. args.push(this.LongDescription);
  33989. ;
  33990. args.push(this.ResourceType);
  33991. ;
  33992. args.push(this.BaseCosts);
  33993. ;
  33994. args.push(this.BaseQuantity);
  33995. ;
  33996. args.push(this.PredefinedType);
  33997. ;
  33998. return args;
  33999. }
  34000. };
  34001. var IfcLagTime = class {
  34002. constructor(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, LagValue, DurationType) {
  34003. this.expressID = expressID;
  34004. this.type = type;
  34005. this.Name = Name;
  34006. this.DataOrigin = DataOrigin;
  34007. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  34008. this.LagValue = LagValue;
  34009. this.DurationType = DurationType;
  34010. }
  34011. static FromTape(expressID, type, tape) {
  34012. let ptr = 0;
  34013. let Name = tape[ptr++];
  34014. let DataOrigin = tape[ptr++];
  34015. let UserDefinedDataOrigin = tape[ptr++];
  34016. let LagValue = tape[ptr++];
  34017. let DurationType = tape[ptr++];
  34018. return new IfcLagTime(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, LagValue, DurationType);
  34019. }
  34020. ToTape() {
  34021. let args = [];
  34022. args.push(this.Name);
  34023. ;
  34024. args.push(this.DataOrigin);
  34025. ;
  34026. args.push(this.UserDefinedDataOrigin);
  34027. ;
  34028. args.push(this.LagValue);
  34029. ;
  34030. args.push(this.DurationType);
  34031. ;
  34032. return args;
  34033. }
  34034. };
  34035. var IfcLamp = class {
  34036. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  34037. this.expressID = expressID;
  34038. this.type = type;
  34039. this.GlobalId = GlobalId;
  34040. this.OwnerHistory = OwnerHistory;
  34041. this.Name = Name;
  34042. this.Description = Description;
  34043. this.ObjectType = ObjectType;
  34044. this.ObjectPlacement = ObjectPlacement;
  34045. this.Representation = Representation;
  34046. this.Tag = Tag;
  34047. this.PredefinedType = PredefinedType;
  34048. }
  34049. static FromTape(expressID, type, tape) {
  34050. let ptr = 0;
  34051. let GlobalId = tape[ptr++];
  34052. let OwnerHistory = tape[ptr++];
  34053. let Name = tape[ptr++];
  34054. let Description = tape[ptr++];
  34055. let ObjectType = tape[ptr++];
  34056. let ObjectPlacement = tape[ptr++];
  34057. let Representation = tape[ptr++];
  34058. let Tag = tape[ptr++];
  34059. let PredefinedType = tape[ptr++];
  34060. return new IfcLamp(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  34061. }
  34062. ToTape() {
  34063. let args = [];
  34064. args.push(this.GlobalId);
  34065. ;
  34066. args.push(this.OwnerHistory);
  34067. ;
  34068. args.push(this.Name);
  34069. ;
  34070. args.push(this.Description);
  34071. ;
  34072. args.push(this.ObjectType);
  34073. ;
  34074. args.push(this.ObjectPlacement);
  34075. ;
  34076. args.push(this.Representation);
  34077. ;
  34078. args.push(this.Tag);
  34079. ;
  34080. args.push(this.PredefinedType);
  34081. ;
  34082. return args;
  34083. }
  34084. };
  34085. var IfcLampType = class {
  34086. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  34087. this.expressID = expressID;
  34088. this.type = type;
  34089. this.GlobalId = GlobalId;
  34090. this.OwnerHistory = OwnerHistory;
  34091. this.Name = Name;
  34092. this.Description = Description;
  34093. this.ApplicableOccurrence = ApplicableOccurrence;
  34094. this.HasPropertySets = HasPropertySets;
  34095. this.RepresentationMaps = RepresentationMaps;
  34096. this.Tag = Tag;
  34097. this.ElementType = ElementType;
  34098. this.PredefinedType = PredefinedType;
  34099. }
  34100. static FromTape(expressID, type, tape) {
  34101. let ptr = 0;
  34102. let GlobalId = tape[ptr++];
  34103. let OwnerHistory = tape[ptr++];
  34104. let Name = tape[ptr++];
  34105. let Description = tape[ptr++];
  34106. let ApplicableOccurrence = tape[ptr++];
  34107. let HasPropertySets = tape[ptr++];
  34108. let RepresentationMaps = tape[ptr++];
  34109. let Tag = tape[ptr++];
  34110. let ElementType = tape[ptr++];
  34111. let PredefinedType = tape[ptr++];
  34112. return new IfcLampType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  34113. }
  34114. ToTape() {
  34115. let args = [];
  34116. args.push(this.GlobalId);
  34117. ;
  34118. args.push(this.OwnerHistory);
  34119. ;
  34120. args.push(this.Name);
  34121. ;
  34122. args.push(this.Description);
  34123. ;
  34124. args.push(this.ApplicableOccurrence);
  34125. ;
  34126. args.push(this.HasPropertySets);
  34127. ;
  34128. args.push(this.RepresentationMaps);
  34129. ;
  34130. args.push(this.Tag);
  34131. ;
  34132. args.push(this.ElementType);
  34133. ;
  34134. args.push(this.PredefinedType);
  34135. ;
  34136. return args;
  34137. }
  34138. };
  34139. var IfcLibraryInformation = class {
  34140. constructor(expressID, type, Name, Version, Publisher, VersionDate, Location, Description) {
  34141. this.expressID = expressID;
  34142. this.type = type;
  34143. this.Name = Name;
  34144. this.Version = Version;
  34145. this.Publisher = Publisher;
  34146. this.VersionDate = VersionDate;
  34147. this.Location = Location;
  34148. this.Description = Description;
  34149. }
  34150. static FromTape(expressID, type, tape) {
  34151. let ptr = 0;
  34152. let Name = tape[ptr++];
  34153. let Version = tape[ptr++];
  34154. let Publisher = tape[ptr++];
  34155. let VersionDate = tape[ptr++];
  34156. let Location = tape[ptr++];
  34157. let Description = tape[ptr++];
  34158. return new IfcLibraryInformation(expressID, type, Name, Version, Publisher, VersionDate, Location, Description);
  34159. }
  34160. ToTape() {
  34161. let args = [];
  34162. args.push(this.Name);
  34163. ;
  34164. args.push(this.Version);
  34165. ;
  34166. args.push(this.Publisher);
  34167. ;
  34168. args.push(this.VersionDate);
  34169. ;
  34170. args.push(this.Location);
  34171. ;
  34172. args.push(this.Description);
  34173. ;
  34174. return args;
  34175. }
  34176. };
  34177. var IfcLibraryReference = class {
  34178. constructor(expressID, type, Location, Identification, Name, Description, Language, ReferencedLibrary) {
  34179. this.expressID = expressID;
  34180. this.type = type;
  34181. this.Location = Location;
  34182. this.Identification = Identification;
  34183. this.Name = Name;
  34184. this.Description = Description;
  34185. this.Language = Language;
  34186. this.ReferencedLibrary = ReferencedLibrary;
  34187. }
  34188. static FromTape(expressID, type, tape) {
  34189. let ptr = 0;
  34190. let Location = tape[ptr++];
  34191. let Identification = tape[ptr++];
  34192. let Name = tape[ptr++];
  34193. let Description = tape[ptr++];
  34194. let Language = tape[ptr++];
  34195. let ReferencedLibrary = tape[ptr++];
  34196. return new IfcLibraryReference(expressID, type, Location, Identification, Name, Description, Language, ReferencedLibrary);
  34197. }
  34198. ToTape() {
  34199. let args = [];
  34200. args.push(this.Location);
  34201. ;
  34202. args.push(this.Identification);
  34203. ;
  34204. args.push(this.Name);
  34205. ;
  34206. args.push(this.Description);
  34207. ;
  34208. args.push(this.Language);
  34209. ;
  34210. args.push(this.ReferencedLibrary);
  34211. ;
  34212. return args;
  34213. }
  34214. };
  34215. var IfcLightDistributionData = class {
  34216. constructor(expressID, type, MainPlaneAngle, SecondaryPlaneAngle, LuminousIntensity) {
  34217. this.expressID = expressID;
  34218. this.type = type;
  34219. this.MainPlaneAngle = MainPlaneAngle;
  34220. this.SecondaryPlaneAngle = SecondaryPlaneAngle;
  34221. this.LuminousIntensity = LuminousIntensity;
  34222. }
  34223. static FromTape(expressID, type, tape) {
  34224. let ptr = 0;
  34225. let MainPlaneAngle = tape[ptr++];
  34226. let SecondaryPlaneAngle = tape[ptr++];
  34227. let LuminousIntensity = tape[ptr++];
  34228. return new IfcLightDistributionData(expressID, type, MainPlaneAngle, SecondaryPlaneAngle, LuminousIntensity);
  34229. }
  34230. ToTape() {
  34231. let args = [];
  34232. args.push(this.MainPlaneAngle);
  34233. ;
  34234. args.push(this.SecondaryPlaneAngle);
  34235. ;
  34236. args.push(this.LuminousIntensity);
  34237. ;
  34238. return args;
  34239. }
  34240. };
  34241. var IfcLightFixture = class {
  34242. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  34243. this.expressID = expressID;
  34244. this.type = type;
  34245. this.GlobalId = GlobalId;
  34246. this.OwnerHistory = OwnerHistory;
  34247. this.Name = Name;
  34248. this.Description = Description;
  34249. this.ObjectType = ObjectType;
  34250. this.ObjectPlacement = ObjectPlacement;
  34251. this.Representation = Representation;
  34252. this.Tag = Tag;
  34253. this.PredefinedType = PredefinedType;
  34254. }
  34255. static FromTape(expressID, type, tape) {
  34256. let ptr = 0;
  34257. let GlobalId = tape[ptr++];
  34258. let OwnerHistory = tape[ptr++];
  34259. let Name = tape[ptr++];
  34260. let Description = tape[ptr++];
  34261. let ObjectType = tape[ptr++];
  34262. let ObjectPlacement = tape[ptr++];
  34263. let Representation = tape[ptr++];
  34264. let Tag = tape[ptr++];
  34265. let PredefinedType = tape[ptr++];
  34266. return new IfcLightFixture(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  34267. }
  34268. ToTape() {
  34269. let args = [];
  34270. args.push(this.GlobalId);
  34271. ;
  34272. args.push(this.OwnerHistory);
  34273. ;
  34274. args.push(this.Name);
  34275. ;
  34276. args.push(this.Description);
  34277. ;
  34278. args.push(this.ObjectType);
  34279. ;
  34280. args.push(this.ObjectPlacement);
  34281. ;
  34282. args.push(this.Representation);
  34283. ;
  34284. args.push(this.Tag);
  34285. ;
  34286. args.push(this.PredefinedType);
  34287. ;
  34288. return args;
  34289. }
  34290. };
  34291. var IfcLightFixtureType = class {
  34292. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  34293. this.expressID = expressID;
  34294. this.type = type;
  34295. this.GlobalId = GlobalId;
  34296. this.OwnerHistory = OwnerHistory;
  34297. this.Name = Name;
  34298. this.Description = Description;
  34299. this.ApplicableOccurrence = ApplicableOccurrence;
  34300. this.HasPropertySets = HasPropertySets;
  34301. this.RepresentationMaps = RepresentationMaps;
  34302. this.Tag = Tag;
  34303. this.ElementType = ElementType;
  34304. this.PredefinedType = PredefinedType;
  34305. }
  34306. static FromTape(expressID, type, tape) {
  34307. let ptr = 0;
  34308. let GlobalId = tape[ptr++];
  34309. let OwnerHistory = tape[ptr++];
  34310. let Name = tape[ptr++];
  34311. let Description = tape[ptr++];
  34312. let ApplicableOccurrence = tape[ptr++];
  34313. let HasPropertySets = tape[ptr++];
  34314. let RepresentationMaps = tape[ptr++];
  34315. let Tag = tape[ptr++];
  34316. let ElementType = tape[ptr++];
  34317. let PredefinedType = tape[ptr++];
  34318. return new IfcLightFixtureType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  34319. }
  34320. ToTape() {
  34321. let args = [];
  34322. args.push(this.GlobalId);
  34323. ;
  34324. args.push(this.OwnerHistory);
  34325. ;
  34326. args.push(this.Name);
  34327. ;
  34328. args.push(this.Description);
  34329. ;
  34330. args.push(this.ApplicableOccurrence);
  34331. ;
  34332. args.push(this.HasPropertySets);
  34333. ;
  34334. args.push(this.RepresentationMaps);
  34335. ;
  34336. args.push(this.Tag);
  34337. ;
  34338. args.push(this.ElementType);
  34339. ;
  34340. args.push(this.PredefinedType);
  34341. ;
  34342. return args;
  34343. }
  34344. };
  34345. var IfcLightIntensityDistribution = class {
  34346. constructor(expressID, type, LightDistributionCurve, DistributionData) {
  34347. this.expressID = expressID;
  34348. this.type = type;
  34349. this.LightDistributionCurve = LightDistributionCurve;
  34350. this.DistributionData = DistributionData;
  34351. }
  34352. static FromTape(expressID, type, tape) {
  34353. let ptr = 0;
  34354. let LightDistributionCurve = tape[ptr++];
  34355. let DistributionData = tape[ptr++];
  34356. return new IfcLightIntensityDistribution(expressID, type, LightDistributionCurve, DistributionData);
  34357. }
  34358. ToTape() {
  34359. let args = [];
  34360. args.push(this.LightDistributionCurve);
  34361. ;
  34362. args.push(this.DistributionData);
  34363. ;
  34364. return args;
  34365. }
  34366. };
  34367. var IfcLightSource = class {
  34368. constructor(expressID, type, Name, LightColour, AmbientIntensity, Intensity) {
  34369. this.expressID = expressID;
  34370. this.type = type;
  34371. this.Name = Name;
  34372. this.LightColour = LightColour;
  34373. this.AmbientIntensity = AmbientIntensity;
  34374. this.Intensity = Intensity;
  34375. }
  34376. static FromTape(expressID, type, tape) {
  34377. let ptr = 0;
  34378. let Name = tape[ptr++];
  34379. let LightColour = tape[ptr++];
  34380. let AmbientIntensity = tape[ptr++];
  34381. let Intensity = tape[ptr++];
  34382. return new IfcLightSource(expressID, type, Name, LightColour, AmbientIntensity, Intensity);
  34383. }
  34384. ToTape() {
  34385. let args = [];
  34386. args.push(this.Name);
  34387. ;
  34388. args.push(this.LightColour);
  34389. ;
  34390. args.push(this.AmbientIntensity);
  34391. ;
  34392. args.push(this.Intensity);
  34393. ;
  34394. return args;
  34395. }
  34396. };
  34397. var IfcLightSourceAmbient = class {
  34398. constructor(expressID, type, Name, LightColour, AmbientIntensity, Intensity) {
  34399. this.expressID = expressID;
  34400. this.type = type;
  34401. this.Name = Name;
  34402. this.LightColour = LightColour;
  34403. this.AmbientIntensity = AmbientIntensity;
  34404. this.Intensity = Intensity;
  34405. }
  34406. static FromTape(expressID, type, tape) {
  34407. let ptr = 0;
  34408. let Name = tape[ptr++];
  34409. let LightColour = tape[ptr++];
  34410. let AmbientIntensity = tape[ptr++];
  34411. let Intensity = tape[ptr++];
  34412. return new IfcLightSourceAmbient(expressID, type, Name, LightColour, AmbientIntensity, Intensity);
  34413. }
  34414. ToTape() {
  34415. let args = [];
  34416. args.push(this.Name);
  34417. ;
  34418. args.push(this.LightColour);
  34419. ;
  34420. args.push(this.AmbientIntensity);
  34421. ;
  34422. args.push(this.Intensity);
  34423. ;
  34424. return args;
  34425. }
  34426. };
  34427. var IfcLightSourceDirectional = class {
  34428. constructor(expressID, type, Name, LightColour, AmbientIntensity, Intensity, Orientation) {
  34429. this.expressID = expressID;
  34430. this.type = type;
  34431. this.Name = Name;
  34432. this.LightColour = LightColour;
  34433. this.AmbientIntensity = AmbientIntensity;
  34434. this.Intensity = Intensity;
  34435. this.Orientation = Orientation;
  34436. }
  34437. static FromTape(expressID, type, tape) {
  34438. let ptr = 0;
  34439. let Name = tape[ptr++];
  34440. let LightColour = tape[ptr++];
  34441. let AmbientIntensity = tape[ptr++];
  34442. let Intensity = tape[ptr++];
  34443. let Orientation = tape[ptr++];
  34444. return new IfcLightSourceDirectional(expressID, type, Name, LightColour, AmbientIntensity, Intensity, Orientation);
  34445. }
  34446. ToTape() {
  34447. let args = [];
  34448. args.push(this.Name);
  34449. ;
  34450. args.push(this.LightColour);
  34451. ;
  34452. args.push(this.AmbientIntensity);
  34453. ;
  34454. args.push(this.Intensity);
  34455. ;
  34456. args.push(this.Orientation);
  34457. ;
  34458. return args;
  34459. }
  34460. };
  34461. var IfcLightSourceGoniometric = class {
  34462. constructor(expressID, type, Name, LightColour, AmbientIntensity, Intensity, Position, ColourAppearance, ColourTemperature, LuminousFlux, LightEmissionSource, LightDistributionDataSource) {
  34463. this.expressID = expressID;
  34464. this.type = type;
  34465. this.Name = Name;
  34466. this.LightColour = LightColour;
  34467. this.AmbientIntensity = AmbientIntensity;
  34468. this.Intensity = Intensity;
  34469. this.Position = Position;
  34470. this.ColourAppearance = ColourAppearance;
  34471. this.ColourTemperature = ColourTemperature;
  34472. this.LuminousFlux = LuminousFlux;
  34473. this.LightEmissionSource = LightEmissionSource;
  34474. this.LightDistributionDataSource = LightDistributionDataSource;
  34475. }
  34476. static FromTape(expressID, type, tape) {
  34477. let ptr = 0;
  34478. let Name = tape[ptr++];
  34479. let LightColour = tape[ptr++];
  34480. let AmbientIntensity = tape[ptr++];
  34481. let Intensity = tape[ptr++];
  34482. let Position = tape[ptr++];
  34483. let ColourAppearance = tape[ptr++];
  34484. let ColourTemperature = tape[ptr++];
  34485. let LuminousFlux = tape[ptr++];
  34486. let LightEmissionSource = tape[ptr++];
  34487. let LightDistributionDataSource = tape[ptr++];
  34488. return new IfcLightSourceGoniometric(expressID, type, Name, LightColour, AmbientIntensity, Intensity, Position, ColourAppearance, ColourTemperature, LuminousFlux, LightEmissionSource, LightDistributionDataSource);
  34489. }
  34490. ToTape() {
  34491. let args = [];
  34492. args.push(this.Name);
  34493. ;
  34494. args.push(this.LightColour);
  34495. ;
  34496. args.push(this.AmbientIntensity);
  34497. ;
  34498. args.push(this.Intensity);
  34499. ;
  34500. args.push(this.Position);
  34501. ;
  34502. args.push(this.ColourAppearance);
  34503. ;
  34504. args.push(this.ColourTemperature);
  34505. ;
  34506. args.push(this.LuminousFlux);
  34507. ;
  34508. args.push(this.LightEmissionSource);
  34509. ;
  34510. args.push(this.LightDistributionDataSource);
  34511. ;
  34512. return args;
  34513. }
  34514. };
  34515. var IfcLightSourcePositional = class {
  34516. constructor(expressID, type, Name, LightColour, AmbientIntensity, Intensity, Position, Radius, ConstantAttenuation, DistanceAttenuation, QuadricAttenuation) {
  34517. this.expressID = expressID;
  34518. this.type = type;
  34519. this.Name = Name;
  34520. this.LightColour = LightColour;
  34521. this.AmbientIntensity = AmbientIntensity;
  34522. this.Intensity = Intensity;
  34523. this.Position = Position;
  34524. this.Radius = Radius;
  34525. this.ConstantAttenuation = ConstantAttenuation;
  34526. this.DistanceAttenuation = DistanceAttenuation;
  34527. this.QuadricAttenuation = QuadricAttenuation;
  34528. }
  34529. static FromTape(expressID, type, tape) {
  34530. let ptr = 0;
  34531. let Name = tape[ptr++];
  34532. let LightColour = tape[ptr++];
  34533. let AmbientIntensity = tape[ptr++];
  34534. let Intensity = tape[ptr++];
  34535. let Position = tape[ptr++];
  34536. let Radius = tape[ptr++];
  34537. let ConstantAttenuation = tape[ptr++];
  34538. let DistanceAttenuation = tape[ptr++];
  34539. let QuadricAttenuation = tape[ptr++];
  34540. return new IfcLightSourcePositional(expressID, type, Name, LightColour, AmbientIntensity, Intensity, Position, Radius, ConstantAttenuation, DistanceAttenuation, QuadricAttenuation);
  34541. }
  34542. ToTape() {
  34543. let args = [];
  34544. args.push(this.Name);
  34545. ;
  34546. args.push(this.LightColour);
  34547. ;
  34548. args.push(this.AmbientIntensity);
  34549. ;
  34550. args.push(this.Intensity);
  34551. ;
  34552. args.push(this.Position);
  34553. ;
  34554. args.push(this.Radius);
  34555. ;
  34556. args.push(this.ConstantAttenuation);
  34557. ;
  34558. args.push(this.DistanceAttenuation);
  34559. ;
  34560. args.push(this.QuadricAttenuation);
  34561. ;
  34562. return args;
  34563. }
  34564. };
  34565. var IfcLightSourceSpot = class {
  34566. constructor(expressID, type, Name, LightColour, AmbientIntensity, Intensity, Position, Radius, ConstantAttenuation, DistanceAttenuation, QuadricAttenuation, Orientation, ConcentrationExponent, SpreadAngle, BeamWidthAngle) {
  34567. this.expressID = expressID;
  34568. this.type = type;
  34569. this.Name = Name;
  34570. this.LightColour = LightColour;
  34571. this.AmbientIntensity = AmbientIntensity;
  34572. this.Intensity = Intensity;
  34573. this.Position = Position;
  34574. this.Radius = Radius;
  34575. this.ConstantAttenuation = ConstantAttenuation;
  34576. this.DistanceAttenuation = DistanceAttenuation;
  34577. this.QuadricAttenuation = QuadricAttenuation;
  34578. this.Orientation = Orientation;
  34579. this.ConcentrationExponent = ConcentrationExponent;
  34580. this.SpreadAngle = SpreadAngle;
  34581. this.BeamWidthAngle = BeamWidthAngle;
  34582. }
  34583. static FromTape(expressID, type, tape) {
  34584. let ptr = 0;
  34585. let Name = tape[ptr++];
  34586. let LightColour = tape[ptr++];
  34587. let AmbientIntensity = tape[ptr++];
  34588. let Intensity = tape[ptr++];
  34589. let Position = tape[ptr++];
  34590. let Radius = tape[ptr++];
  34591. let ConstantAttenuation = tape[ptr++];
  34592. let DistanceAttenuation = tape[ptr++];
  34593. let QuadricAttenuation = tape[ptr++];
  34594. let Orientation = tape[ptr++];
  34595. let ConcentrationExponent = tape[ptr++];
  34596. let SpreadAngle = tape[ptr++];
  34597. let BeamWidthAngle = tape[ptr++];
  34598. return new IfcLightSourceSpot(expressID, type, Name, LightColour, AmbientIntensity, Intensity, Position, Radius, ConstantAttenuation, DistanceAttenuation, QuadricAttenuation, Orientation, ConcentrationExponent, SpreadAngle, BeamWidthAngle);
  34599. }
  34600. ToTape() {
  34601. let args = [];
  34602. args.push(this.Name);
  34603. ;
  34604. args.push(this.LightColour);
  34605. ;
  34606. args.push(this.AmbientIntensity);
  34607. ;
  34608. args.push(this.Intensity);
  34609. ;
  34610. args.push(this.Position);
  34611. ;
  34612. args.push(this.Radius);
  34613. ;
  34614. args.push(this.ConstantAttenuation);
  34615. ;
  34616. args.push(this.DistanceAttenuation);
  34617. ;
  34618. args.push(this.QuadricAttenuation);
  34619. ;
  34620. args.push(this.Orientation);
  34621. ;
  34622. args.push(this.ConcentrationExponent);
  34623. ;
  34624. args.push(this.SpreadAngle);
  34625. ;
  34626. args.push(this.BeamWidthAngle);
  34627. ;
  34628. return args;
  34629. }
  34630. };
  34631. var IfcLine = class {
  34632. constructor(expressID, type, Pnt, Dir) {
  34633. this.expressID = expressID;
  34634. this.type = type;
  34635. this.Pnt = Pnt;
  34636. this.Dir = Dir;
  34637. }
  34638. static FromTape(expressID, type, tape) {
  34639. let ptr = 0;
  34640. let Pnt = tape[ptr++];
  34641. let Dir = tape[ptr++];
  34642. return new IfcLine(expressID, type, Pnt, Dir);
  34643. }
  34644. ToTape() {
  34645. let args = [];
  34646. args.push(this.Pnt);
  34647. ;
  34648. args.push(this.Dir);
  34649. ;
  34650. return args;
  34651. }
  34652. };
  34653. var IfcLineSegment2D = class {
  34654. constructor(expressID, type, StartPoint, StartDirection, SegmentLength) {
  34655. this.expressID = expressID;
  34656. this.type = type;
  34657. this.StartPoint = StartPoint;
  34658. this.StartDirection = StartDirection;
  34659. this.SegmentLength = SegmentLength;
  34660. }
  34661. static FromTape(expressID, type, tape) {
  34662. let ptr = 0;
  34663. let StartPoint = tape[ptr++];
  34664. let StartDirection = tape[ptr++];
  34665. let SegmentLength = tape[ptr++];
  34666. return new IfcLineSegment2D(expressID, type, StartPoint, StartDirection, SegmentLength);
  34667. }
  34668. ToTape() {
  34669. let args = [];
  34670. args.push(this.StartPoint);
  34671. ;
  34672. args.push(this.StartDirection);
  34673. ;
  34674. args.push(this.SegmentLength);
  34675. ;
  34676. return args;
  34677. }
  34678. };
  34679. var IfcLinearPlacement = class {
  34680. constructor(expressID, type, PlacementRelTo, PlacementMeasuredAlong, Distance, Orientation, CartesianPosition) {
  34681. this.expressID = expressID;
  34682. this.type = type;
  34683. this.PlacementRelTo = PlacementRelTo;
  34684. this.PlacementMeasuredAlong = PlacementMeasuredAlong;
  34685. this.Distance = Distance;
  34686. this.Orientation = Orientation;
  34687. this.CartesianPosition = CartesianPosition;
  34688. }
  34689. static FromTape(expressID, type, tape) {
  34690. let ptr = 0;
  34691. let PlacementRelTo = tape[ptr++];
  34692. let PlacementMeasuredAlong = tape[ptr++];
  34693. let Distance = tape[ptr++];
  34694. let Orientation = tape[ptr++];
  34695. let CartesianPosition = tape[ptr++];
  34696. return new IfcLinearPlacement(expressID, type, PlacementRelTo, PlacementMeasuredAlong, Distance, Orientation, CartesianPosition);
  34697. }
  34698. ToTape() {
  34699. let args = [];
  34700. args.push(this.PlacementRelTo);
  34701. ;
  34702. args.push(this.PlacementMeasuredAlong);
  34703. ;
  34704. args.push(this.Distance);
  34705. ;
  34706. args.push(this.Orientation);
  34707. ;
  34708. args.push(this.CartesianPosition);
  34709. ;
  34710. return args;
  34711. }
  34712. };
  34713. var IfcLinearPositioningElement = class {
  34714. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Axis) {
  34715. this.expressID = expressID;
  34716. this.type = type;
  34717. this.GlobalId = GlobalId;
  34718. this.OwnerHistory = OwnerHistory;
  34719. this.Name = Name;
  34720. this.Description = Description;
  34721. this.ObjectType = ObjectType;
  34722. this.ObjectPlacement = ObjectPlacement;
  34723. this.Representation = Representation;
  34724. this.Axis = Axis;
  34725. }
  34726. static FromTape(expressID, type, tape) {
  34727. let ptr = 0;
  34728. let GlobalId = tape[ptr++];
  34729. let OwnerHistory = tape[ptr++];
  34730. let Name = tape[ptr++];
  34731. let Description = tape[ptr++];
  34732. let ObjectType = tape[ptr++];
  34733. let ObjectPlacement = tape[ptr++];
  34734. let Representation = tape[ptr++];
  34735. let Axis = tape[ptr++];
  34736. return new IfcLinearPositioningElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Axis);
  34737. }
  34738. ToTape() {
  34739. let args = [];
  34740. args.push(this.GlobalId);
  34741. ;
  34742. args.push(this.OwnerHistory);
  34743. ;
  34744. args.push(this.Name);
  34745. ;
  34746. args.push(this.Description);
  34747. ;
  34748. args.push(this.ObjectType);
  34749. ;
  34750. args.push(this.ObjectPlacement);
  34751. ;
  34752. args.push(this.Representation);
  34753. ;
  34754. args.push(this.Axis);
  34755. ;
  34756. return args;
  34757. }
  34758. };
  34759. var IfcLocalPlacement = class {
  34760. constructor(expressID, type, PlacementRelTo, RelativePlacement) {
  34761. this.expressID = expressID;
  34762. this.type = type;
  34763. this.PlacementRelTo = PlacementRelTo;
  34764. this.RelativePlacement = RelativePlacement;
  34765. }
  34766. static FromTape(expressID, type, tape) {
  34767. let ptr = 0;
  34768. let PlacementRelTo = tape[ptr++];
  34769. let RelativePlacement = tape[ptr++];
  34770. return new IfcLocalPlacement(expressID, type, PlacementRelTo, RelativePlacement);
  34771. }
  34772. ToTape() {
  34773. let args = [];
  34774. args.push(this.PlacementRelTo);
  34775. ;
  34776. args.push(this.RelativePlacement);
  34777. ;
  34778. return args;
  34779. }
  34780. };
  34781. var IfcLoop = class {
  34782. constructor(expressID, type) {
  34783. this.expressID = expressID;
  34784. this.type = type;
  34785. }
  34786. static FromTape(expressID, type, tape) {
  34787. let ptr = 0;
  34788. return new IfcLoop(expressID, type);
  34789. }
  34790. ToTape() {
  34791. let args = [];
  34792. return args;
  34793. }
  34794. };
  34795. var IfcManifoldSolidBrep = class {
  34796. constructor(expressID, type, Outer) {
  34797. this.expressID = expressID;
  34798. this.type = type;
  34799. this.Outer = Outer;
  34800. }
  34801. static FromTape(expressID, type, tape) {
  34802. let ptr = 0;
  34803. let Outer = tape[ptr++];
  34804. return new IfcManifoldSolidBrep(expressID, type, Outer);
  34805. }
  34806. ToTape() {
  34807. let args = [];
  34808. args.push(this.Outer);
  34809. ;
  34810. return args;
  34811. }
  34812. };
  34813. var IfcMapConversion = class {
  34814. constructor(expressID, type, SourceCRS, TargetCRS, Eastings, Northings, OrthogonalHeight, XAxisAbscissa, XAxisOrdinate, Scale) {
  34815. this.expressID = expressID;
  34816. this.type = type;
  34817. this.SourceCRS = SourceCRS;
  34818. this.TargetCRS = TargetCRS;
  34819. this.Eastings = Eastings;
  34820. this.Northings = Northings;
  34821. this.OrthogonalHeight = OrthogonalHeight;
  34822. this.XAxisAbscissa = XAxisAbscissa;
  34823. this.XAxisOrdinate = XAxisOrdinate;
  34824. this.Scale = Scale;
  34825. }
  34826. static FromTape(expressID, type, tape) {
  34827. let ptr = 0;
  34828. let SourceCRS = tape[ptr++];
  34829. let TargetCRS = tape[ptr++];
  34830. let Eastings = tape[ptr++];
  34831. let Northings = tape[ptr++];
  34832. let OrthogonalHeight = tape[ptr++];
  34833. let XAxisAbscissa = tape[ptr++];
  34834. let XAxisOrdinate = tape[ptr++];
  34835. let Scale = tape[ptr++];
  34836. return new IfcMapConversion(expressID, type, SourceCRS, TargetCRS, Eastings, Northings, OrthogonalHeight, XAxisAbscissa, XAxisOrdinate, Scale);
  34837. }
  34838. ToTape() {
  34839. let args = [];
  34840. args.push(this.SourceCRS);
  34841. ;
  34842. args.push(this.TargetCRS);
  34843. ;
  34844. args.push(this.Eastings);
  34845. ;
  34846. args.push(this.Northings);
  34847. ;
  34848. args.push(this.OrthogonalHeight);
  34849. ;
  34850. args.push(this.XAxisAbscissa);
  34851. ;
  34852. args.push(this.XAxisOrdinate);
  34853. ;
  34854. args.push(this.Scale);
  34855. ;
  34856. return args;
  34857. }
  34858. };
  34859. var IfcMappedItem = class {
  34860. constructor(expressID, type, MappingSource, MappingTarget) {
  34861. this.expressID = expressID;
  34862. this.type = type;
  34863. this.MappingSource = MappingSource;
  34864. this.MappingTarget = MappingTarget;
  34865. }
  34866. static FromTape(expressID, type, tape) {
  34867. let ptr = 0;
  34868. let MappingSource = tape[ptr++];
  34869. let MappingTarget = tape[ptr++];
  34870. return new IfcMappedItem(expressID, type, MappingSource, MappingTarget);
  34871. }
  34872. ToTape() {
  34873. let args = [];
  34874. args.push(this.MappingSource);
  34875. ;
  34876. args.push(this.MappingTarget);
  34877. ;
  34878. return args;
  34879. }
  34880. };
  34881. var IfcMaterial = class {
  34882. constructor(expressID, type, Name, Description, Category) {
  34883. this.expressID = expressID;
  34884. this.type = type;
  34885. this.Name = Name;
  34886. this.Description = Description;
  34887. this.Category = Category;
  34888. }
  34889. static FromTape(expressID, type, tape) {
  34890. let ptr = 0;
  34891. let Name = tape[ptr++];
  34892. let Description = tape[ptr++];
  34893. let Category = tape[ptr++];
  34894. return new IfcMaterial(expressID, type, Name, Description, Category);
  34895. }
  34896. ToTape() {
  34897. let args = [];
  34898. args.push(this.Name);
  34899. ;
  34900. args.push(this.Description);
  34901. ;
  34902. args.push(this.Category);
  34903. ;
  34904. return args;
  34905. }
  34906. };
  34907. var IfcMaterialClassificationRelationship = class {
  34908. constructor(expressID, type, MaterialClassifications, ClassifiedMaterial) {
  34909. this.expressID = expressID;
  34910. this.type = type;
  34911. this.MaterialClassifications = MaterialClassifications;
  34912. this.ClassifiedMaterial = ClassifiedMaterial;
  34913. }
  34914. static FromTape(expressID, type, tape) {
  34915. let ptr = 0;
  34916. let MaterialClassifications = tape[ptr++];
  34917. let ClassifiedMaterial = tape[ptr++];
  34918. return new IfcMaterialClassificationRelationship(expressID, type, MaterialClassifications, ClassifiedMaterial);
  34919. }
  34920. ToTape() {
  34921. let args = [];
  34922. args.push(this.MaterialClassifications);
  34923. ;
  34924. args.push(this.ClassifiedMaterial);
  34925. ;
  34926. return args;
  34927. }
  34928. };
  34929. var IfcMaterialConstituent = class {
  34930. constructor(expressID, type, Name, Description, Material, Fraction, Category) {
  34931. this.expressID = expressID;
  34932. this.type = type;
  34933. this.Name = Name;
  34934. this.Description = Description;
  34935. this.Material = Material;
  34936. this.Fraction = Fraction;
  34937. this.Category = Category;
  34938. }
  34939. static FromTape(expressID, type, tape) {
  34940. let ptr = 0;
  34941. let Name = tape[ptr++];
  34942. let Description = tape[ptr++];
  34943. let Material = tape[ptr++];
  34944. let Fraction = tape[ptr++];
  34945. let Category = tape[ptr++];
  34946. return new IfcMaterialConstituent(expressID, type, Name, Description, Material, Fraction, Category);
  34947. }
  34948. ToTape() {
  34949. let args = [];
  34950. args.push(this.Name);
  34951. ;
  34952. args.push(this.Description);
  34953. ;
  34954. args.push(this.Material);
  34955. ;
  34956. args.push(this.Fraction);
  34957. ;
  34958. args.push(this.Category);
  34959. ;
  34960. return args;
  34961. }
  34962. };
  34963. var IfcMaterialConstituentSet = class {
  34964. constructor(expressID, type, Name, Description, MaterialConstituents) {
  34965. this.expressID = expressID;
  34966. this.type = type;
  34967. this.Name = Name;
  34968. this.Description = Description;
  34969. this.MaterialConstituents = MaterialConstituents;
  34970. }
  34971. static FromTape(expressID, type, tape) {
  34972. let ptr = 0;
  34973. let Name = tape[ptr++];
  34974. let Description = tape[ptr++];
  34975. let MaterialConstituents = tape[ptr++];
  34976. return new IfcMaterialConstituentSet(expressID, type, Name, Description, MaterialConstituents);
  34977. }
  34978. ToTape() {
  34979. let args = [];
  34980. args.push(this.Name);
  34981. ;
  34982. args.push(this.Description);
  34983. ;
  34984. args.push(this.MaterialConstituents);
  34985. ;
  34986. return args;
  34987. }
  34988. };
  34989. var IfcMaterialDefinition = class {
  34990. constructor(expressID, type) {
  34991. this.expressID = expressID;
  34992. this.type = type;
  34993. }
  34994. static FromTape(expressID, type, tape) {
  34995. let ptr = 0;
  34996. return new IfcMaterialDefinition(expressID, type);
  34997. }
  34998. ToTape() {
  34999. let args = [];
  35000. return args;
  35001. }
  35002. };
  35003. var IfcMaterialDefinitionRepresentation = class {
  35004. constructor(expressID, type, Name, Description, Representations, RepresentedMaterial) {
  35005. this.expressID = expressID;
  35006. this.type = type;
  35007. this.Name = Name;
  35008. this.Description = Description;
  35009. this.Representations = Representations;
  35010. this.RepresentedMaterial = RepresentedMaterial;
  35011. }
  35012. static FromTape(expressID, type, tape) {
  35013. let ptr = 0;
  35014. let Name = tape[ptr++];
  35015. let Description = tape[ptr++];
  35016. let Representations = tape[ptr++];
  35017. let RepresentedMaterial = tape[ptr++];
  35018. return new IfcMaterialDefinitionRepresentation(expressID, type, Name, Description, Representations, RepresentedMaterial);
  35019. }
  35020. ToTape() {
  35021. let args = [];
  35022. args.push(this.Name);
  35023. ;
  35024. args.push(this.Description);
  35025. ;
  35026. args.push(this.Representations);
  35027. ;
  35028. args.push(this.RepresentedMaterial);
  35029. ;
  35030. return args;
  35031. }
  35032. };
  35033. var IfcMaterialLayer = class {
  35034. constructor(expressID, type, Material, LayerThickness, IsVentilated, Name, Description, Category, Priority) {
  35035. this.expressID = expressID;
  35036. this.type = type;
  35037. this.Material = Material;
  35038. this.LayerThickness = LayerThickness;
  35039. this.IsVentilated = IsVentilated;
  35040. this.Name = Name;
  35041. this.Description = Description;
  35042. this.Category = Category;
  35043. this.Priority = Priority;
  35044. }
  35045. static FromTape(expressID, type, tape) {
  35046. let ptr = 0;
  35047. let Material = tape[ptr++];
  35048. let LayerThickness = tape[ptr++];
  35049. let IsVentilated = tape[ptr++];
  35050. let Name = tape[ptr++];
  35051. let Description = tape[ptr++];
  35052. let Category = tape[ptr++];
  35053. let Priority = tape[ptr++];
  35054. return new IfcMaterialLayer(expressID, type, Material, LayerThickness, IsVentilated, Name, Description, Category, Priority);
  35055. }
  35056. ToTape() {
  35057. let args = [];
  35058. args.push(this.Material);
  35059. ;
  35060. args.push(this.LayerThickness);
  35061. ;
  35062. args.push(this.IsVentilated);
  35063. ;
  35064. args.push(this.Name);
  35065. ;
  35066. args.push(this.Description);
  35067. ;
  35068. args.push(this.Category);
  35069. ;
  35070. args.push(this.Priority);
  35071. ;
  35072. return args;
  35073. }
  35074. };
  35075. var IfcMaterialLayerSet = class {
  35076. constructor(expressID, type, MaterialLayers, LayerSetName, Description) {
  35077. this.expressID = expressID;
  35078. this.type = type;
  35079. this.MaterialLayers = MaterialLayers;
  35080. this.LayerSetName = LayerSetName;
  35081. this.Description = Description;
  35082. }
  35083. static FromTape(expressID, type, tape) {
  35084. let ptr = 0;
  35085. let MaterialLayers = tape[ptr++];
  35086. let LayerSetName = tape[ptr++];
  35087. let Description = tape[ptr++];
  35088. return new IfcMaterialLayerSet(expressID, type, MaterialLayers, LayerSetName, Description);
  35089. }
  35090. ToTape() {
  35091. let args = [];
  35092. args.push(this.MaterialLayers);
  35093. ;
  35094. args.push(this.LayerSetName);
  35095. ;
  35096. args.push(this.Description);
  35097. ;
  35098. return args;
  35099. }
  35100. };
  35101. var IfcMaterialLayerSetUsage = class {
  35102. constructor(expressID, type, ForLayerSet, LayerSetDirection, DirectionSense, OffsetFromReferenceLine, ReferenceExtent) {
  35103. this.expressID = expressID;
  35104. this.type = type;
  35105. this.ForLayerSet = ForLayerSet;
  35106. this.LayerSetDirection = LayerSetDirection;
  35107. this.DirectionSense = DirectionSense;
  35108. this.OffsetFromReferenceLine = OffsetFromReferenceLine;
  35109. this.ReferenceExtent = ReferenceExtent;
  35110. }
  35111. static FromTape(expressID, type, tape) {
  35112. let ptr = 0;
  35113. let ForLayerSet = tape[ptr++];
  35114. let LayerSetDirection = tape[ptr++];
  35115. let DirectionSense = tape[ptr++];
  35116. let OffsetFromReferenceLine = tape[ptr++];
  35117. let ReferenceExtent = tape[ptr++];
  35118. return new IfcMaterialLayerSetUsage(expressID, type, ForLayerSet, LayerSetDirection, DirectionSense, OffsetFromReferenceLine, ReferenceExtent);
  35119. }
  35120. ToTape() {
  35121. let args = [];
  35122. args.push(this.ForLayerSet);
  35123. ;
  35124. args.push(this.LayerSetDirection);
  35125. ;
  35126. args.push(this.DirectionSense);
  35127. ;
  35128. args.push(this.OffsetFromReferenceLine);
  35129. ;
  35130. args.push(this.ReferenceExtent);
  35131. ;
  35132. return args;
  35133. }
  35134. };
  35135. var IfcMaterialLayerWithOffsets = class {
  35136. constructor(expressID, type, Material, LayerThickness, IsVentilated, Name, Description, Category, Priority, OffsetDirection, OffsetValues) {
  35137. this.expressID = expressID;
  35138. this.type = type;
  35139. this.Material = Material;
  35140. this.LayerThickness = LayerThickness;
  35141. this.IsVentilated = IsVentilated;
  35142. this.Name = Name;
  35143. this.Description = Description;
  35144. this.Category = Category;
  35145. this.Priority = Priority;
  35146. this.OffsetDirection = OffsetDirection;
  35147. this.OffsetValues = OffsetValues;
  35148. }
  35149. static FromTape(expressID, type, tape) {
  35150. let ptr = 0;
  35151. let Material = tape[ptr++];
  35152. let LayerThickness = tape[ptr++];
  35153. let IsVentilated = tape[ptr++];
  35154. let Name = tape[ptr++];
  35155. let Description = tape[ptr++];
  35156. let Category = tape[ptr++];
  35157. let Priority = tape[ptr++];
  35158. let OffsetDirection = tape[ptr++];
  35159. let OffsetValues = tape[ptr++];
  35160. return new IfcMaterialLayerWithOffsets(expressID, type, Material, LayerThickness, IsVentilated, Name, Description, Category, Priority, OffsetDirection, OffsetValues);
  35161. }
  35162. ToTape() {
  35163. let args = [];
  35164. args.push(this.Material);
  35165. ;
  35166. args.push(this.LayerThickness);
  35167. ;
  35168. args.push(this.IsVentilated);
  35169. ;
  35170. args.push(this.Name);
  35171. ;
  35172. args.push(this.Description);
  35173. ;
  35174. args.push(this.Category);
  35175. ;
  35176. args.push(this.Priority);
  35177. ;
  35178. args.push(this.OffsetDirection);
  35179. ;
  35180. args.push(this.OffsetValues);
  35181. ;
  35182. return args;
  35183. }
  35184. };
  35185. var IfcMaterialList = class {
  35186. constructor(expressID, type, Materials) {
  35187. this.expressID = expressID;
  35188. this.type = type;
  35189. this.Materials = Materials;
  35190. }
  35191. static FromTape(expressID, type, tape) {
  35192. let ptr = 0;
  35193. let Materials = tape[ptr++];
  35194. return new IfcMaterialList(expressID, type, Materials);
  35195. }
  35196. ToTape() {
  35197. let args = [];
  35198. args.push(this.Materials);
  35199. ;
  35200. return args;
  35201. }
  35202. };
  35203. var IfcMaterialProfile = class {
  35204. constructor(expressID, type, Name, Description, Material, Profile, Priority, Category) {
  35205. this.expressID = expressID;
  35206. this.type = type;
  35207. this.Name = Name;
  35208. this.Description = Description;
  35209. this.Material = Material;
  35210. this.Profile = Profile;
  35211. this.Priority = Priority;
  35212. this.Category = Category;
  35213. }
  35214. static FromTape(expressID, type, tape) {
  35215. let ptr = 0;
  35216. let Name = tape[ptr++];
  35217. let Description = tape[ptr++];
  35218. let Material = tape[ptr++];
  35219. let Profile = tape[ptr++];
  35220. let Priority = tape[ptr++];
  35221. let Category = tape[ptr++];
  35222. return new IfcMaterialProfile(expressID, type, Name, Description, Material, Profile, Priority, Category);
  35223. }
  35224. ToTape() {
  35225. let args = [];
  35226. args.push(this.Name);
  35227. ;
  35228. args.push(this.Description);
  35229. ;
  35230. args.push(this.Material);
  35231. ;
  35232. args.push(this.Profile);
  35233. ;
  35234. args.push(this.Priority);
  35235. ;
  35236. args.push(this.Category);
  35237. ;
  35238. return args;
  35239. }
  35240. };
  35241. var IfcMaterialProfileSet = class {
  35242. constructor(expressID, type, Name, Description, MaterialProfiles, CompositeProfile) {
  35243. this.expressID = expressID;
  35244. this.type = type;
  35245. this.Name = Name;
  35246. this.Description = Description;
  35247. this.MaterialProfiles = MaterialProfiles;
  35248. this.CompositeProfile = CompositeProfile;
  35249. }
  35250. static FromTape(expressID, type, tape) {
  35251. let ptr = 0;
  35252. let Name = tape[ptr++];
  35253. let Description = tape[ptr++];
  35254. let MaterialProfiles = tape[ptr++];
  35255. let CompositeProfile = tape[ptr++];
  35256. return new IfcMaterialProfileSet(expressID, type, Name, Description, MaterialProfiles, CompositeProfile);
  35257. }
  35258. ToTape() {
  35259. let args = [];
  35260. args.push(this.Name);
  35261. ;
  35262. args.push(this.Description);
  35263. ;
  35264. args.push(this.MaterialProfiles);
  35265. ;
  35266. args.push(this.CompositeProfile);
  35267. ;
  35268. return args;
  35269. }
  35270. };
  35271. var IfcMaterialProfileSetUsage = class {
  35272. constructor(expressID, type, ForProfileSet, CardinalPoint, ReferenceExtent) {
  35273. this.expressID = expressID;
  35274. this.type = type;
  35275. this.ForProfileSet = ForProfileSet;
  35276. this.CardinalPoint = CardinalPoint;
  35277. this.ReferenceExtent = ReferenceExtent;
  35278. }
  35279. static FromTape(expressID, type, tape) {
  35280. let ptr = 0;
  35281. let ForProfileSet = tape[ptr++];
  35282. let CardinalPoint = tape[ptr++];
  35283. let ReferenceExtent = tape[ptr++];
  35284. return new IfcMaterialProfileSetUsage(expressID, type, ForProfileSet, CardinalPoint, ReferenceExtent);
  35285. }
  35286. ToTape() {
  35287. let args = [];
  35288. args.push(this.ForProfileSet);
  35289. ;
  35290. args.push(this.CardinalPoint);
  35291. ;
  35292. args.push(this.ReferenceExtent);
  35293. ;
  35294. return args;
  35295. }
  35296. };
  35297. var IfcMaterialProfileSetUsageTapering = class {
  35298. constructor(expressID, type, ForProfileSet, CardinalPoint, ReferenceExtent, ForProfileEndSet, CardinalEndPoint) {
  35299. this.expressID = expressID;
  35300. this.type = type;
  35301. this.ForProfileSet = ForProfileSet;
  35302. this.CardinalPoint = CardinalPoint;
  35303. this.ReferenceExtent = ReferenceExtent;
  35304. this.ForProfileEndSet = ForProfileEndSet;
  35305. this.CardinalEndPoint = CardinalEndPoint;
  35306. }
  35307. static FromTape(expressID, type, tape) {
  35308. let ptr = 0;
  35309. let ForProfileSet = tape[ptr++];
  35310. let CardinalPoint = tape[ptr++];
  35311. let ReferenceExtent = tape[ptr++];
  35312. let ForProfileEndSet = tape[ptr++];
  35313. let CardinalEndPoint = tape[ptr++];
  35314. return new IfcMaterialProfileSetUsageTapering(expressID, type, ForProfileSet, CardinalPoint, ReferenceExtent, ForProfileEndSet, CardinalEndPoint);
  35315. }
  35316. ToTape() {
  35317. let args = [];
  35318. args.push(this.ForProfileSet);
  35319. ;
  35320. args.push(this.CardinalPoint);
  35321. ;
  35322. args.push(this.ReferenceExtent);
  35323. ;
  35324. args.push(this.ForProfileEndSet);
  35325. ;
  35326. args.push(this.CardinalEndPoint);
  35327. ;
  35328. return args;
  35329. }
  35330. };
  35331. var IfcMaterialProfileWithOffsets = class {
  35332. constructor(expressID, type, Name, Description, Material, Profile, Priority, Category, OffsetValues) {
  35333. this.expressID = expressID;
  35334. this.type = type;
  35335. this.Name = Name;
  35336. this.Description = Description;
  35337. this.Material = Material;
  35338. this.Profile = Profile;
  35339. this.Priority = Priority;
  35340. this.Category = Category;
  35341. this.OffsetValues = OffsetValues;
  35342. }
  35343. static FromTape(expressID, type, tape) {
  35344. let ptr = 0;
  35345. let Name = tape[ptr++];
  35346. let Description = tape[ptr++];
  35347. let Material = tape[ptr++];
  35348. let Profile = tape[ptr++];
  35349. let Priority = tape[ptr++];
  35350. let Category = tape[ptr++];
  35351. let OffsetValues = tape[ptr++];
  35352. return new IfcMaterialProfileWithOffsets(expressID, type, Name, Description, Material, Profile, Priority, Category, OffsetValues);
  35353. }
  35354. ToTape() {
  35355. let args = [];
  35356. args.push(this.Name);
  35357. ;
  35358. args.push(this.Description);
  35359. ;
  35360. args.push(this.Material);
  35361. ;
  35362. args.push(this.Profile);
  35363. ;
  35364. args.push(this.Priority);
  35365. ;
  35366. args.push(this.Category);
  35367. ;
  35368. args.push(this.OffsetValues);
  35369. ;
  35370. return args;
  35371. }
  35372. };
  35373. var IfcMaterialProperties = class {
  35374. constructor(expressID, type, Name, Description, Properties2, Material) {
  35375. this.expressID = expressID;
  35376. this.type = type;
  35377. this.Name = Name;
  35378. this.Description = Description;
  35379. this.Properties = Properties2;
  35380. this.Material = Material;
  35381. }
  35382. static FromTape(expressID, type, tape) {
  35383. let ptr = 0;
  35384. let Name = tape[ptr++];
  35385. let Description = tape[ptr++];
  35386. let Properties2 = tape[ptr++];
  35387. let Material = tape[ptr++];
  35388. return new IfcMaterialProperties(expressID, type, Name, Description, Properties2, Material);
  35389. }
  35390. ToTape() {
  35391. let args = [];
  35392. args.push(this.Name);
  35393. ;
  35394. args.push(this.Description);
  35395. ;
  35396. args.push(this.Properties);
  35397. ;
  35398. args.push(this.Material);
  35399. ;
  35400. return args;
  35401. }
  35402. };
  35403. var IfcMaterialRelationship = class {
  35404. constructor(expressID, type, Name, Description, RelatingMaterial, RelatedMaterials, Expression) {
  35405. this.expressID = expressID;
  35406. this.type = type;
  35407. this.Name = Name;
  35408. this.Description = Description;
  35409. this.RelatingMaterial = RelatingMaterial;
  35410. this.RelatedMaterials = RelatedMaterials;
  35411. this.Expression = Expression;
  35412. }
  35413. static FromTape(expressID, type, tape) {
  35414. let ptr = 0;
  35415. let Name = tape[ptr++];
  35416. let Description = tape[ptr++];
  35417. let RelatingMaterial = tape[ptr++];
  35418. let RelatedMaterials = tape[ptr++];
  35419. let Expression = tape[ptr++];
  35420. return new IfcMaterialRelationship(expressID, type, Name, Description, RelatingMaterial, RelatedMaterials, Expression);
  35421. }
  35422. ToTape() {
  35423. let args = [];
  35424. args.push(this.Name);
  35425. ;
  35426. args.push(this.Description);
  35427. ;
  35428. args.push(this.RelatingMaterial);
  35429. ;
  35430. args.push(this.RelatedMaterials);
  35431. ;
  35432. args.push(this.Expression);
  35433. ;
  35434. return args;
  35435. }
  35436. };
  35437. var IfcMaterialUsageDefinition = class {
  35438. constructor(expressID, type) {
  35439. this.expressID = expressID;
  35440. this.type = type;
  35441. }
  35442. static FromTape(expressID, type, tape) {
  35443. let ptr = 0;
  35444. return new IfcMaterialUsageDefinition(expressID, type);
  35445. }
  35446. ToTape() {
  35447. let args = [];
  35448. return args;
  35449. }
  35450. };
  35451. var IfcMeasureWithUnit = class {
  35452. constructor(expressID, type, ValueComponent, UnitComponent) {
  35453. this.expressID = expressID;
  35454. this.type = type;
  35455. this.ValueComponent = ValueComponent;
  35456. this.UnitComponent = UnitComponent;
  35457. }
  35458. static FromTape(expressID, type, tape) {
  35459. let ptr = 0;
  35460. let ValueComponent = tape[ptr++];
  35461. let UnitComponent = tape[ptr++];
  35462. return new IfcMeasureWithUnit(expressID, type, ValueComponent, UnitComponent);
  35463. }
  35464. ToTape() {
  35465. let args = [];
  35466. args.push(this.ValueComponent);
  35467. ;
  35468. args.push(this.UnitComponent);
  35469. ;
  35470. return args;
  35471. }
  35472. };
  35473. var IfcMechanicalFastener = class {
  35474. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, NominalDiameter, NominalLength, PredefinedType) {
  35475. this.expressID = expressID;
  35476. this.type = type;
  35477. this.GlobalId = GlobalId;
  35478. this.OwnerHistory = OwnerHistory;
  35479. this.Name = Name;
  35480. this.Description = Description;
  35481. this.ObjectType = ObjectType;
  35482. this.ObjectPlacement = ObjectPlacement;
  35483. this.Representation = Representation;
  35484. this.Tag = Tag;
  35485. this.NominalDiameter = NominalDiameter;
  35486. this.NominalLength = NominalLength;
  35487. this.PredefinedType = PredefinedType;
  35488. }
  35489. static FromTape(expressID, type, tape) {
  35490. let ptr = 0;
  35491. let GlobalId = tape[ptr++];
  35492. let OwnerHistory = tape[ptr++];
  35493. let Name = tape[ptr++];
  35494. let Description = tape[ptr++];
  35495. let ObjectType = tape[ptr++];
  35496. let ObjectPlacement = tape[ptr++];
  35497. let Representation = tape[ptr++];
  35498. let Tag = tape[ptr++];
  35499. let NominalDiameter = tape[ptr++];
  35500. let NominalLength = tape[ptr++];
  35501. let PredefinedType = tape[ptr++];
  35502. return new IfcMechanicalFastener(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, NominalDiameter, NominalLength, PredefinedType);
  35503. }
  35504. ToTape() {
  35505. let args = [];
  35506. args.push(this.GlobalId);
  35507. ;
  35508. args.push(this.OwnerHistory);
  35509. ;
  35510. args.push(this.Name);
  35511. ;
  35512. args.push(this.Description);
  35513. ;
  35514. args.push(this.ObjectType);
  35515. ;
  35516. args.push(this.ObjectPlacement);
  35517. ;
  35518. args.push(this.Representation);
  35519. ;
  35520. args.push(this.Tag);
  35521. ;
  35522. args.push(this.NominalDiameter);
  35523. ;
  35524. args.push(this.NominalLength);
  35525. ;
  35526. args.push(this.PredefinedType);
  35527. ;
  35528. return args;
  35529. }
  35530. };
  35531. var IfcMechanicalFastenerType = class {
  35532. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, NominalDiameter, NominalLength) {
  35533. this.expressID = expressID;
  35534. this.type = type;
  35535. this.GlobalId = GlobalId;
  35536. this.OwnerHistory = OwnerHistory;
  35537. this.Name = Name;
  35538. this.Description = Description;
  35539. this.ApplicableOccurrence = ApplicableOccurrence;
  35540. this.HasPropertySets = HasPropertySets;
  35541. this.RepresentationMaps = RepresentationMaps;
  35542. this.Tag = Tag;
  35543. this.ElementType = ElementType;
  35544. this.PredefinedType = PredefinedType;
  35545. this.NominalDiameter = NominalDiameter;
  35546. this.NominalLength = NominalLength;
  35547. }
  35548. static FromTape(expressID, type, tape) {
  35549. let ptr = 0;
  35550. let GlobalId = tape[ptr++];
  35551. let OwnerHistory = tape[ptr++];
  35552. let Name = tape[ptr++];
  35553. let Description = tape[ptr++];
  35554. let ApplicableOccurrence = tape[ptr++];
  35555. let HasPropertySets = tape[ptr++];
  35556. let RepresentationMaps = tape[ptr++];
  35557. let Tag = tape[ptr++];
  35558. let ElementType = tape[ptr++];
  35559. let PredefinedType = tape[ptr++];
  35560. let NominalDiameter = tape[ptr++];
  35561. let NominalLength = tape[ptr++];
  35562. return new IfcMechanicalFastenerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, NominalDiameter, NominalLength);
  35563. }
  35564. ToTape() {
  35565. let args = [];
  35566. args.push(this.GlobalId);
  35567. ;
  35568. args.push(this.OwnerHistory);
  35569. ;
  35570. args.push(this.Name);
  35571. ;
  35572. args.push(this.Description);
  35573. ;
  35574. args.push(this.ApplicableOccurrence);
  35575. ;
  35576. args.push(this.HasPropertySets);
  35577. ;
  35578. args.push(this.RepresentationMaps);
  35579. ;
  35580. args.push(this.Tag);
  35581. ;
  35582. args.push(this.ElementType);
  35583. ;
  35584. args.push(this.PredefinedType);
  35585. ;
  35586. args.push(this.NominalDiameter);
  35587. ;
  35588. args.push(this.NominalLength);
  35589. ;
  35590. return args;
  35591. }
  35592. };
  35593. var IfcMedicalDevice = class {
  35594. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  35595. this.expressID = expressID;
  35596. this.type = type;
  35597. this.GlobalId = GlobalId;
  35598. this.OwnerHistory = OwnerHistory;
  35599. this.Name = Name;
  35600. this.Description = Description;
  35601. this.ObjectType = ObjectType;
  35602. this.ObjectPlacement = ObjectPlacement;
  35603. this.Representation = Representation;
  35604. this.Tag = Tag;
  35605. this.PredefinedType = PredefinedType;
  35606. }
  35607. static FromTape(expressID, type, tape) {
  35608. let ptr = 0;
  35609. let GlobalId = tape[ptr++];
  35610. let OwnerHistory = tape[ptr++];
  35611. let Name = tape[ptr++];
  35612. let Description = tape[ptr++];
  35613. let ObjectType = tape[ptr++];
  35614. let ObjectPlacement = tape[ptr++];
  35615. let Representation = tape[ptr++];
  35616. let Tag = tape[ptr++];
  35617. let PredefinedType = tape[ptr++];
  35618. return new IfcMedicalDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  35619. }
  35620. ToTape() {
  35621. let args = [];
  35622. args.push(this.GlobalId);
  35623. ;
  35624. args.push(this.OwnerHistory);
  35625. ;
  35626. args.push(this.Name);
  35627. ;
  35628. args.push(this.Description);
  35629. ;
  35630. args.push(this.ObjectType);
  35631. ;
  35632. args.push(this.ObjectPlacement);
  35633. ;
  35634. args.push(this.Representation);
  35635. ;
  35636. args.push(this.Tag);
  35637. ;
  35638. args.push(this.PredefinedType);
  35639. ;
  35640. return args;
  35641. }
  35642. };
  35643. var IfcMedicalDeviceType = class {
  35644. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  35645. this.expressID = expressID;
  35646. this.type = type;
  35647. this.GlobalId = GlobalId;
  35648. this.OwnerHistory = OwnerHistory;
  35649. this.Name = Name;
  35650. this.Description = Description;
  35651. this.ApplicableOccurrence = ApplicableOccurrence;
  35652. this.HasPropertySets = HasPropertySets;
  35653. this.RepresentationMaps = RepresentationMaps;
  35654. this.Tag = Tag;
  35655. this.ElementType = ElementType;
  35656. this.PredefinedType = PredefinedType;
  35657. }
  35658. static FromTape(expressID, type, tape) {
  35659. let ptr = 0;
  35660. let GlobalId = tape[ptr++];
  35661. let OwnerHistory = tape[ptr++];
  35662. let Name = tape[ptr++];
  35663. let Description = tape[ptr++];
  35664. let ApplicableOccurrence = tape[ptr++];
  35665. let HasPropertySets = tape[ptr++];
  35666. let RepresentationMaps = tape[ptr++];
  35667. let Tag = tape[ptr++];
  35668. let ElementType = tape[ptr++];
  35669. let PredefinedType = tape[ptr++];
  35670. return new IfcMedicalDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  35671. }
  35672. ToTape() {
  35673. let args = [];
  35674. args.push(this.GlobalId);
  35675. ;
  35676. args.push(this.OwnerHistory);
  35677. ;
  35678. args.push(this.Name);
  35679. ;
  35680. args.push(this.Description);
  35681. ;
  35682. args.push(this.ApplicableOccurrence);
  35683. ;
  35684. args.push(this.HasPropertySets);
  35685. ;
  35686. args.push(this.RepresentationMaps);
  35687. ;
  35688. args.push(this.Tag);
  35689. ;
  35690. args.push(this.ElementType);
  35691. ;
  35692. args.push(this.PredefinedType);
  35693. ;
  35694. return args;
  35695. }
  35696. };
  35697. var IfcMember = class {
  35698. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  35699. this.expressID = expressID;
  35700. this.type = type;
  35701. this.GlobalId = GlobalId;
  35702. this.OwnerHistory = OwnerHistory;
  35703. this.Name = Name;
  35704. this.Description = Description;
  35705. this.ObjectType = ObjectType;
  35706. this.ObjectPlacement = ObjectPlacement;
  35707. this.Representation = Representation;
  35708. this.Tag = Tag;
  35709. this.PredefinedType = PredefinedType;
  35710. }
  35711. static FromTape(expressID, type, tape) {
  35712. let ptr = 0;
  35713. let GlobalId = tape[ptr++];
  35714. let OwnerHistory = tape[ptr++];
  35715. let Name = tape[ptr++];
  35716. let Description = tape[ptr++];
  35717. let ObjectType = tape[ptr++];
  35718. let ObjectPlacement = tape[ptr++];
  35719. let Representation = tape[ptr++];
  35720. let Tag = tape[ptr++];
  35721. let PredefinedType = tape[ptr++];
  35722. return new IfcMember(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  35723. }
  35724. ToTape() {
  35725. let args = [];
  35726. args.push(this.GlobalId);
  35727. ;
  35728. args.push(this.OwnerHistory);
  35729. ;
  35730. args.push(this.Name);
  35731. ;
  35732. args.push(this.Description);
  35733. ;
  35734. args.push(this.ObjectType);
  35735. ;
  35736. args.push(this.ObjectPlacement);
  35737. ;
  35738. args.push(this.Representation);
  35739. ;
  35740. args.push(this.Tag);
  35741. ;
  35742. args.push(this.PredefinedType);
  35743. ;
  35744. return args;
  35745. }
  35746. };
  35747. var IfcMemberStandardCase = class {
  35748. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  35749. this.expressID = expressID;
  35750. this.type = type;
  35751. this.GlobalId = GlobalId;
  35752. this.OwnerHistory = OwnerHistory;
  35753. this.Name = Name;
  35754. this.Description = Description;
  35755. this.ObjectType = ObjectType;
  35756. this.ObjectPlacement = ObjectPlacement;
  35757. this.Representation = Representation;
  35758. this.Tag = Tag;
  35759. this.PredefinedType = PredefinedType;
  35760. }
  35761. static FromTape(expressID, type, tape) {
  35762. let ptr = 0;
  35763. let GlobalId = tape[ptr++];
  35764. let OwnerHistory = tape[ptr++];
  35765. let Name = tape[ptr++];
  35766. let Description = tape[ptr++];
  35767. let ObjectType = tape[ptr++];
  35768. let ObjectPlacement = tape[ptr++];
  35769. let Representation = tape[ptr++];
  35770. let Tag = tape[ptr++];
  35771. let PredefinedType = tape[ptr++];
  35772. return new IfcMemberStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  35773. }
  35774. ToTape() {
  35775. let args = [];
  35776. args.push(this.GlobalId);
  35777. ;
  35778. args.push(this.OwnerHistory);
  35779. ;
  35780. args.push(this.Name);
  35781. ;
  35782. args.push(this.Description);
  35783. ;
  35784. args.push(this.ObjectType);
  35785. ;
  35786. args.push(this.ObjectPlacement);
  35787. ;
  35788. args.push(this.Representation);
  35789. ;
  35790. args.push(this.Tag);
  35791. ;
  35792. args.push(this.PredefinedType);
  35793. ;
  35794. return args;
  35795. }
  35796. };
  35797. var IfcMemberType = class {
  35798. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  35799. this.expressID = expressID;
  35800. this.type = type;
  35801. this.GlobalId = GlobalId;
  35802. this.OwnerHistory = OwnerHistory;
  35803. this.Name = Name;
  35804. this.Description = Description;
  35805. this.ApplicableOccurrence = ApplicableOccurrence;
  35806. this.HasPropertySets = HasPropertySets;
  35807. this.RepresentationMaps = RepresentationMaps;
  35808. this.Tag = Tag;
  35809. this.ElementType = ElementType;
  35810. this.PredefinedType = PredefinedType;
  35811. }
  35812. static FromTape(expressID, type, tape) {
  35813. let ptr = 0;
  35814. let GlobalId = tape[ptr++];
  35815. let OwnerHistory = tape[ptr++];
  35816. let Name = tape[ptr++];
  35817. let Description = tape[ptr++];
  35818. let ApplicableOccurrence = tape[ptr++];
  35819. let HasPropertySets = tape[ptr++];
  35820. let RepresentationMaps = tape[ptr++];
  35821. let Tag = tape[ptr++];
  35822. let ElementType = tape[ptr++];
  35823. let PredefinedType = tape[ptr++];
  35824. return new IfcMemberType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  35825. }
  35826. ToTape() {
  35827. let args = [];
  35828. args.push(this.GlobalId);
  35829. ;
  35830. args.push(this.OwnerHistory);
  35831. ;
  35832. args.push(this.Name);
  35833. ;
  35834. args.push(this.Description);
  35835. ;
  35836. args.push(this.ApplicableOccurrence);
  35837. ;
  35838. args.push(this.HasPropertySets);
  35839. ;
  35840. args.push(this.RepresentationMaps);
  35841. ;
  35842. args.push(this.Tag);
  35843. ;
  35844. args.push(this.ElementType);
  35845. ;
  35846. args.push(this.PredefinedType);
  35847. ;
  35848. return args;
  35849. }
  35850. };
  35851. var IfcMetric = class {
  35852. constructor(expressID, type, Name, Description, ConstraintGrade, ConstraintSource, CreatingActor, CreationTime, UserDefinedGrade, Benchmark, ValueSource, DataValue, ReferencePath) {
  35853. this.expressID = expressID;
  35854. this.type = type;
  35855. this.Name = Name;
  35856. this.Description = Description;
  35857. this.ConstraintGrade = ConstraintGrade;
  35858. this.ConstraintSource = ConstraintSource;
  35859. this.CreatingActor = CreatingActor;
  35860. this.CreationTime = CreationTime;
  35861. this.UserDefinedGrade = UserDefinedGrade;
  35862. this.Benchmark = Benchmark;
  35863. this.ValueSource = ValueSource;
  35864. this.DataValue = DataValue;
  35865. this.ReferencePath = ReferencePath;
  35866. }
  35867. static FromTape(expressID, type, tape) {
  35868. let ptr = 0;
  35869. let Name = tape[ptr++];
  35870. let Description = tape[ptr++];
  35871. let ConstraintGrade = tape[ptr++];
  35872. let ConstraintSource = tape[ptr++];
  35873. let CreatingActor = tape[ptr++];
  35874. let CreationTime = tape[ptr++];
  35875. let UserDefinedGrade = tape[ptr++];
  35876. let Benchmark = tape[ptr++];
  35877. let ValueSource = tape[ptr++];
  35878. let DataValue = tape[ptr++];
  35879. let ReferencePath = tape[ptr++];
  35880. return new IfcMetric(expressID, type, Name, Description, ConstraintGrade, ConstraintSource, CreatingActor, CreationTime, UserDefinedGrade, Benchmark, ValueSource, DataValue, ReferencePath);
  35881. }
  35882. ToTape() {
  35883. let args = [];
  35884. args.push(this.Name);
  35885. ;
  35886. args.push(this.Description);
  35887. ;
  35888. args.push(this.ConstraintGrade);
  35889. ;
  35890. args.push(this.ConstraintSource);
  35891. ;
  35892. args.push(this.CreatingActor);
  35893. ;
  35894. args.push(this.CreationTime);
  35895. ;
  35896. args.push(this.UserDefinedGrade);
  35897. ;
  35898. args.push(this.Benchmark);
  35899. ;
  35900. args.push(this.ValueSource);
  35901. ;
  35902. args.push(this.DataValue);
  35903. ;
  35904. args.push(this.ReferencePath);
  35905. ;
  35906. return args;
  35907. }
  35908. };
  35909. var IfcMirroredProfileDef = class {
  35910. constructor(expressID, type, ProfileType, ProfileName, ParentProfile, Operator, Label) {
  35911. this.expressID = expressID;
  35912. this.type = type;
  35913. this.ProfileType = ProfileType;
  35914. this.ProfileName = ProfileName;
  35915. this.ParentProfile = ParentProfile;
  35916. this.Operator = Operator;
  35917. this.Label = Label;
  35918. }
  35919. static FromTape(expressID, type, tape) {
  35920. let ptr = 0;
  35921. let ProfileType = tape[ptr++];
  35922. let ProfileName = tape[ptr++];
  35923. let ParentProfile = tape[ptr++];
  35924. let Operator = tape[ptr++];
  35925. let Label = tape[ptr++];
  35926. return new IfcMirroredProfileDef(expressID, type, ProfileType, ProfileName, ParentProfile, Operator, Label);
  35927. }
  35928. ToTape() {
  35929. let args = [];
  35930. args.push(this.ProfileType);
  35931. ;
  35932. args.push(this.ProfileName);
  35933. ;
  35934. args.push(this.ParentProfile);
  35935. ;
  35936. args.push(this.Operator);
  35937. ;
  35938. args.push(this.Label);
  35939. ;
  35940. return args;
  35941. }
  35942. };
  35943. var IfcMonetaryUnit = class {
  35944. constructor(expressID, type, Currency) {
  35945. this.expressID = expressID;
  35946. this.type = type;
  35947. this.Currency = Currency;
  35948. }
  35949. static FromTape(expressID, type, tape) {
  35950. let ptr = 0;
  35951. let Currency = tape[ptr++];
  35952. return new IfcMonetaryUnit(expressID, type, Currency);
  35953. }
  35954. ToTape() {
  35955. let args = [];
  35956. args.push(this.Currency);
  35957. ;
  35958. return args;
  35959. }
  35960. };
  35961. var IfcMotorConnection = class {
  35962. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  35963. this.expressID = expressID;
  35964. this.type = type;
  35965. this.GlobalId = GlobalId;
  35966. this.OwnerHistory = OwnerHistory;
  35967. this.Name = Name;
  35968. this.Description = Description;
  35969. this.ObjectType = ObjectType;
  35970. this.ObjectPlacement = ObjectPlacement;
  35971. this.Representation = Representation;
  35972. this.Tag = Tag;
  35973. this.PredefinedType = PredefinedType;
  35974. }
  35975. static FromTape(expressID, type, tape) {
  35976. let ptr = 0;
  35977. let GlobalId = tape[ptr++];
  35978. let OwnerHistory = tape[ptr++];
  35979. let Name = tape[ptr++];
  35980. let Description = tape[ptr++];
  35981. let ObjectType = tape[ptr++];
  35982. let ObjectPlacement = tape[ptr++];
  35983. let Representation = tape[ptr++];
  35984. let Tag = tape[ptr++];
  35985. let PredefinedType = tape[ptr++];
  35986. return new IfcMotorConnection(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  35987. }
  35988. ToTape() {
  35989. let args = [];
  35990. args.push(this.GlobalId);
  35991. ;
  35992. args.push(this.OwnerHistory);
  35993. ;
  35994. args.push(this.Name);
  35995. ;
  35996. args.push(this.Description);
  35997. ;
  35998. args.push(this.ObjectType);
  35999. ;
  36000. args.push(this.ObjectPlacement);
  36001. ;
  36002. args.push(this.Representation);
  36003. ;
  36004. args.push(this.Tag);
  36005. ;
  36006. args.push(this.PredefinedType);
  36007. ;
  36008. return args;
  36009. }
  36010. };
  36011. var IfcMotorConnectionType = class {
  36012. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  36013. this.expressID = expressID;
  36014. this.type = type;
  36015. this.GlobalId = GlobalId;
  36016. this.OwnerHistory = OwnerHistory;
  36017. this.Name = Name;
  36018. this.Description = Description;
  36019. this.ApplicableOccurrence = ApplicableOccurrence;
  36020. this.HasPropertySets = HasPropertySets;
  36021. this.RepresentationMaps = RepresentationMaps;
  36022. this.Tag = Tag;
  36023. this.ElementType = ElementType;
  36024. this.PredefinedType = PredefinedType;
  36025. }
  36026. static FromTape(expressID, type, tape) {
  36027. let ptr = 0;
  36028. let GlobalId = tape[ptr++];
  36029. let OwnerHistory = tape[ptr++];
  36030. let Name = tape[ptr++];
  36031. let Description = tape[ptr++];
  36032. let ApplicableOccurrence = tape[ptr++];
  36033. let HasPropertySets = tape[ptr++];
  36034. let RepresentationMaps = tape[ptr++];
  36035. let Tag = tape[ptr++];
  36036. let ElementType = tape[ptr++];
  36037. let PredefinedType = tape[ptr++];
  36038. return new IfcMotorConnectionType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  36039. }
  36040. ToTape() {
  36041. let args = [];
  36042. args.push(this.GlobalId);
  36043. ;
  36044. args.push(this.OwnerHistory);
  36045. ;
  36046. args.push(this.Name);
  36047. ;
  36048. args.push(this.Description);
  36049. ;
  36050. args.push(this.ApplicableOccurrence);
  36051. ;
  36052. args.push(this.HasPropertySets);
  36053. ;
  36054. args.push(this.RepresentationMaps);
  36055. ;
  36056. args.push(this.Tag);
  36057. ;
  36058. args.push(this.ElementType);
  36059. ;
  36060. args.push(this.PredefinedType);
  36061. ;
  36062. return args;
  36063. }
  36064. };
  36065. var IfcNamedUnit = class {
  36066. constructor(expressID, type, Dimensions, UnitType) {
  36067. this.expressID = expressID;
  36068. this.type = type;
  36069. this.Dimensions = Dimensions;
  36070. this.UnitType = UnitType;
  36071. }
  36072. static FromTape(expressID, type, tape) {
  36073. let ptr = 0;
  36074. let Dimensions = tape[ptr++];
  36075. let UnitType = tape[ptr++];
  36076. return new IfcNamedUnit(expressID, type, Dimensions, UnitType);
  36077. }
  36078. ToTape() {
  36079. let args = [];
  36080. args.push(this.Dimensions);
  36081. ;
  36082. args.push(this.UnitType);
  36083. ;
  36084. return args;
  36085. }
  36086. };
  36087. var IfcObject = class {
  36088. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType) {
  36089. this.expressID = expressID;
  36090. this.type = type;
  36091. this.GlobalId = GlobalId;
  36092. this.OwnerHistory = OwnerHistory;
  36093. this.Name = Name;
  36094. this.Description = Description;
  36095. this.ObjectType = ObjectType;
  36096. }
  36097. static FromTape(expressID, type, tape) {
  36098. let ptr = 0;
  36099. let GlobalId = tape[ptr++];
  36100. let OwnerHistory = tape[ptr++];
  36101. let Name = tape[ptr++];
  36102. let Description = tape[ptr++];
  36103. let ObjectType = tape[ptr++];
  36104. return new IfcObject(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType);
  36105. }
  36106. ToTape() {
  36107. let args = [];
  36108. args.push(this.GlobalId);
  36109. ;
  36110. args.push(this.OwnerHistory);
  36111. ;
  36112. args.push(this.Name);
  36113. ;
  36114. args.push(this.Description);
  36115. ;
  36116. args.push(this.ObjectType);
  36117. ;
  36118. return args;
  36119. }
  36120. };
  36121. var IfcObjectDefinition = class {
  36122. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  36123. this.expressID = expressID;
  36124. this.type = type;
  36125. this.GlobalId = GlobalId;
  36126. this.OwnerHistory = OwnerHistory;
  36127. this.Name = Name;
  36128. this.Description = Description;
  36129. }
  36130. static FromTape(expressID, type, tape) {
  36131. let ptr = 0;
  36132. let GlobalId = tape[ptr++];
  36133. let OwnerHistory = tape[ptr++];
  36134. let Name = tape[ptr++];
  36135. let Description = tape[ptr++];
  36136. return new IfcObjectDefinition(expressID, type, GlobalId, OwnerHistory, Name, Description);
  36137. }
  36138. ToTape() {
  36139. let args = [];
  36140. args.push(this.GlobalId);
  36141. ;
  36142. args.push(this.OwnerHistory);
  36143. ;
  36144. args.push(this.Name);
  36145. ;
  36146. args.push(this.Description);
  36147. ;
  36148. return args;
  36149. }
  36150. };
  36151. var IfcObjectPlacement = class {
  36152. constructor(expressID, type, PlacementRelTo) {
  36153. this.expressID = expressID;
  36154. this.type = type;
  36155. this.PlacementRelTo = PlacementRelTo;
  36156. }
  36157. static FromTape(expressID, type, tape) {
  36158. let ptr = 0;
  36159. let PlacementRelTo = tape[ptr++];
  36160. return new IfcObjectPlacement(expressID, type, PlacementRelTo);
  36161. }
  36162. ToTape() {
  36163. let args = [];
  36164. args.push(this.PlacementRelTo);
  36165. ;
  36166. return args;
  36167. }
  36168. };
  36169. var IfcObjective = class {
  36170. constructor(expressID, type, Name, Description, ConstraintGrade, ConstraintSource, CreatingActor, CreationTime, UserDefinedGrade, BenchmarkValues, LogicalAggregator, ObjectiveQualifier, UserDefinedQualifier) {
  36171. this.expressID = expressID;
  36172. this.type = type;
  36173. this.Name = Name;
  36174. this.Description = Description;
  36175. this.ConstraintGrade = ConstraintGrade;
  36176. this.ConstraintSource = ConstraintSource;
  36177. this.CreatingActor = CreatingActor;
  36178. this.CreationTime = CreationTime;
  36179. this.UserDefinedGrade = UserDefinedGrade;
  36180. this.BenchmarkValues = BenchmarkValues;
  36181. this.LogicalAggregator = LogicalAggregator;
  36182. this.ObjectiveQualifier = ObjectiveQualifier;
  36183. this.UserDefinedQualifier = UserDefinedQualifier;
  36184. }
  36185. static FromTape(expressID, type, tape) {
  36186. let ptr = 0;
  36187. let Name = tape[ptr++];
  36188. let Description = tape[ptr++];
  36189. let ConstraintGrade = tape[ptr++];
  36190. let ConstraintSource = tape[ptr++];
  36191. let CreatingActor = tape[ptr++];
  36192. let CreationTime = tape[ptr++];
  36193. let UserDefinedGrade = tape[ptr++];
  36194. let BenchmarkValues = tape[ptr++];
  36195. let LogicalAggregator = tape[ptr++];
  36196. let ObjectiveQualifier = tape[ptr++];
  36197. let UserDefinedQualifier = tape[ptr++];
  36198. return new IfcObjective(expressID, type, Name, Description, ConstraintGrade, ConstraintSource, CreatingActor, CreationTime, UserDefinedGrade, BenchmarkValues, LogicalAggregator, ObjectiveQualifier, UserDefinedQualifier);
  36199. }
  36200. ToTape() {
  36201. let args = [];
  36202. args.push(this.Name);
  36203. ;
  36204. args.push(this.Description);
  36205. ;
  36206. args.push(this.ConstraintGrade);
  36207. ;
  36208. args.push(this.ConstraintSource);
  36209. ;
  36210. args.push(this.CreatingActor);
  36211. ;
  36212. args.push(this.CreationTime);
  36213. ;
  36214. args.push(this.UserDefinedGrade);
  36215. ;
  36216. args.push(this.BenchmarkValues);
  36217. ;
  36218. args.push(this.LogicalAggregator);
  36219. ;
  36220. args.push(this.ObjectiveQualifier);
  36221. ;
  36222. args.push(this.UserDefinedQualifier);
  36223. ;
  36224. return args;
  36225. }
  36226. };
  36227. var IfcOccupant = class {
  36228. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, TheActor, PredefinedType) {
  36229. this.expressID = expressID;
  36230. this.type = type;
  36231. this.GlobalId = GlobalId;
  36232. this.OwnerHistory = OwnerHistory;
  36233. this.Name = Name;
  36234. this.Description = Description;
  36235. this.ObjectType = ObjectType;
  36236. this.TheActor = TheActor;
  36237. this.PredefinedType = PredefinedType;
  36238. }
  36239. static FromTape(expressID, type, tape) {
  36240. let ptr = 0;
  36241. let GlobalId = tape[ptr++];
  36242. let OwnerHistory = tape[ptr++];
  36243. let Name = tape[ptr++];
  36244. let Description = tape[ptr++];
  36245. let ObjectType = tape[ptr++];
  36246. let TheActor = tape[ptr++];
  36247. let PredefinedType = tape[ptr++];
  36248. return new IfcOccupant(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, TheActor, PredefinedType);
  36249. }
  36250. ToTape() {
  36251. let args = [];
  36252. args.push(this.GlobalId);
  36253. ;
  36254. args.push(this.OwnerHistory);
  36255. ;
  36256. args.push(this.Name);
  36257. ;
  36258. args.push(this.Description);
  36259. ;
  36260. args.push(this.ObjectType);
  36261. ;
  36262. args.push(this.TheActor);
  36263. ;
  36264. args.push(this.PredefinedType);
  36265. ;
  36266. return args;
  36267. }
  36268. };
  36269. var IfcOffsetCurve = class {
  36270. constructor(expressID, type, BasisCurve) {
  36271. this.expressID = expressID;
  36272. this.type = type;
  36273. this.BasisCurve = BasisCurve;
  36274. }
  36275. static FromTape(expressID, type, tape) {
  36276. let ptr = 0;
  36277. let BasisCurve = tape[ptr++];
  36278. return new IfcOffsetCurve(expressID, type, BasisCurve);
  36279. }
  36280. ToTape() {
  36281. let args = [];
  36282. args.push(this.BasisCurve);
  36283. ;
  36284. return args;
  36285. }
  36286. };
  36287. var IfcOffsetCurve2D = class {
  36288. constructor(expressID, type, BasisCurve, Distance, SelfIntersect) {
  36289. this.expressID = expressID;
  36290. this.type = type;
  36291. this.BasisCurve = BasisCurve;
  36292. this.Distance = Distance;
  36293. this.SelfIntersect = SelfIntersect;
  36294. }
  36295. static FromTape(expressID, type, tape) {
  36296. let ptr = 0;
  36297. let BasisCurve = tape[ptr++];
  36298. let Distance = tape[ptr++];
  36299. let SelfIntersect = tape[ptr++];
  36300. return new IfcOffsetCurve2D(expressID, type, BasisCurve, Distance, SelfIntersect);
  36301. }
  36302. ToTape() {
  36303. let args = [];
  36304. args.push(this.BasisCurve);
  36305. ;
  36306. args.push(this.Distance);
  36307. ;
  36308. args.push(this.SelfIntersect);
  36309. ;
  36310. return args;
  36311. }
  36312. };
  36313. var IfcOffsetCurve3D = class {
  36314. constructor(expressID, type, BasisCurve, Distance, SelfIntersect, RefDirection) {
  36315. this.expressID = expressID;
  36316. this.type = type;
  36317. this.BasisCurve = BasisCurve;
  36318. this.Distance = Distance;
  36319. this.SelfIntersect = SelfIntersect;
  36320. this.RefDirection = RefDirection;
  36321. }
  36322. static FromTape(expressID, type, tape) {
  36323. let ptr = 0;
  36324. let BasisCurve = tape[ptr++];
  36325. let Distance = tape[ptr++];
  36326. let SelfIntersect = tape[ptr++];
  36327. let RefDirection = tape[ptr++];
  36328. return new IfcOffsetCurve3D(expressID, type, BasisCurve, Distance, SelfIntersect, RefDirection);
  36329. }
  36330. ToTape() {
  36331. let args = [];
  36332. args.push(this.BasisCurve);
  36333. ;
  36334. args.push(this.Distance);
  36335. ;
  36336. args.push(this.SelfIntersect);
  36337. ;
  36338. args.push(this.RefDirection);
  36339. ;
  36340. return args;
  36341. }
  36342. };
  36343. var IfcOffsetCurveByDistances = class {
  36344. constructor(expressID, type, BasisCurve, OffsetValues, Tag) {
  36345. this.expressID = expressID;
  36346. this.type = type;
  36347. this.BasisCurve = BasisCurve;
  36348. this.OffsetValues = OffsetValues;
  36349. this.Tag = Tag;
  36350. }
  36351. static FromTape(expressID, type, tape) {
  36352. let ptr = 0;
  36353. let BasisCurve = tape[ptr++];
  36354. let OffsetValues = tape[ptr++];
  36355. let Tag = tape[ptr++];
  36356. return new IfcOffsetCurveByDistances(expressID, type, BasisCurve, OffsetValues, Tag);
  36357. }
  36358. ToTape() {
  36359. let args = [];
  36360. args.push(this.BasisCurve);
  36361. ;
  36362. args.push(this.OffsetValues);
  36363. ;
  36364. args.push(this.Tag);
  36365. ;
  36366. return args;
  36367. }
  36368. };
  36369. var IfcOpenShell = class {
  36370. constructor(expressID, type, CfsFaces) {
  36371. this.expressID = expressID;
  36372. this.type = type;
  36373. this.CfsFaces = CfsFaces;
  36374. }
  36375. static FromTape(expressID, type, tape) {
  36376. let ptr = 0;
  36377. let CfsFaces = tape[ptr++];
  36378. return new IfcOpenShell(expressID, type, CfsFaces);
  36379. }
  36380. ToTape() {
  36381. let args = [];
  36382. args.push(this.CfsFaces);
  36383. ;
  36384. return args;
  36385. }
  36386. };
  36387. var IfcOpeningElement = class {
  36388. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  36389. this.expressID = expressID;
  36390. this.type = type;
  36391. this.GlobalId = GlobalId;
  36392. this.OwnerHistory = OwnerHistory;
  36393. this.Name = Name;
  36394. this.Description = Description;
  36395. this.ObjectType = ObjectType;
  36396. this.ObjectPlacement = ObjectPlacement;
  36397. this.Representation = Representation;
  36398. this.Tag = Tag;
  36399. this.PredefinedType = PredefinedType;
  36400. }
  36401. static FromTape(expressID, type, tape) {
  36402. let ptr = 0;
  36403. let GlobalId = tape[ptr++];
  36404. let OwnerHistory = tape[ptr++];
  36405. let Name = tape[ptr++];
  36406. let Description = tape[ptr++];
  36407. let ObjectType = tape[ptr++];
  36408. let ObjectPlacement = tape[ptr++];
  36409. let Representation = tape[ptr++];
  36410. let Tag = tape[ptr++];
  36411. let PredefinedType = tape[ptr++];
  36412. return new IfcOpeningElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  36413. }
  36414. ToTape() {
  36415. let args = [];
  36416. args.push(this.GlobalId);
  36417. ;
  36418. args.push(this.OwnerHistory);
  36419. ;
  36420. args.push(this.Name);
  36421. ;
  36422. args.push(this.Description);
  36423. ;
  36424. args.push(this.ObjectType);
  36425. ;
  36426. args.push(this.ObjectPlacement);
  36427. ;
  36428. args.push(this.Representation);
  36429. ;
  36430. args.push(this.Tag);
  36431. ;
  36432. args.push(this.PredefinedType);
  36433. ;
  36434. return args;
  36435. }
  36436. };
  36437. var IfcOpeningStandardCase = class {
  36438. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  36439. this.expressID = expressID;
  36440. this.type = type;
  36441. this.GlobalId = GlobalId;
  36442. this.OwnerHistory = OwnerHistory;
  36443. this.Name = Name;
  36444. this.Description = Description;
  36445. this.ObjectType = ObjectType;
  36446. this.ObjectPlacement = ObjectPlacement;
  36447. this.Representation = Representation;
  36448. this.Tag = Tag;
  36449. this.PredefinedType = PredefinedType;
  36450. }
  36451. static FromTape(expressID, type, tape) {
  36452. let ptr = 0;
  36453. let GlobalId = tape[ptr++];
  36454. let OwnerHistory = tape[ptr++];
  36455. let Name = tape[ptr++];
  36456. let Description = tape[ptr++];
  36457. let ObjectType = tape[ptr++];
  36458. let ObjectPlacement = tape[ptr++];
  36459. let Representation = tape[ptr++];
  36460. let Tag = tape[ptr++];
  36461. let PredefinedType = tape[ptr++];
  36462. return new IfcOpeningStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  36463. }
  36464. ToTape() {
  36465. let args = [];
  36466. args.push(this.GlobalId);
  36467. ;
  36468. args.push(this.OwnerHistory);
  36469. ;
  36470. args.push(this.Name);
  36471. ;
  36472. args.push(this.Description);
  36473. ;
  36474. args.push(this.ObjectType);
  36475. ;
  36476. args.push(this.ObjectPlacement);
  36477. ;
  36478. args.push(this.Representation);
  36479. ;
  36480. args.push(this.Tag);
  36481. ;
  36482. args.push(this.PredefinedType);
  36483. ;
  36484. return args;
  36485. }
  36486. };
  36487. var IfcOrganization = class {
  36488. constructor(expressID, type, Identification, Name, Description, Roles, Addresses) {
  36489. this.expressID = expressID;
  36490. this.type = type;
  36491. this.Identification = Identification;
  36492. this.Name = Name;
  36493. this.Description = Description;
  36494. this.Roles = Roles;
  36495. this.Addresses = Addresses;
  36496. }
  36497. static FromTape(expressID, type, tape) {
  36498. let ptr = 0;
  36499. let Identification = tape[ptr++];
  36500. let Name = tape[ptr++];
  36501. let Description = tape[ptr++];
  36502. let Roles = tape[ptr++];
  36503. let Addresses = tape[ptr++];
  36504. return new IfcOrganization(expressID, type, Identification, Name, Description, Roles, Addresses);
  36505. }
  36506. ToTape() {
  36507. let args = [];
  36508. args.push(this.Identification);
  36509. ;
  36510. args.push(this.Name);
  36511. ;
  36512. args.push(this.Description);
  36513. ;
  36514. args.push(this.Roles);
  36515. ;
  36516. args.push(this.Addresses);
  36517. ;
  36518. return args;
  36519. }
  36520. };
  36521. var IfcOrganizationRelationship = class {
  36522. constructor(expressID, type, Name, Description, RelatingOrganization, RelatedOrganizations) {
  36523. this.expressID = expressID;
  36524. this.type = type;
  36525. this.Name = Name;
  36526. this.Description = Description;
  36527. this.RelatingOrganization = RelatingOrganization;
  36528. this.RelatedOrganizations = RelatedOrganizations;
  36529. }
  36530. static FromTape(expressID, type, tape) {
  36531. let ptr = 0;
  36532. let Name = tape[ptr++];
  36533. let Description = tape[ptr++];
  36534. let RelatingOrganization = tape[ptr++];
  36535. let RelatedOrganizations = tape[ptr++];
  36536. return new IfcOrganizationRelationship(expressID, type, Name, Description, RelatingOrganization, RelatedOrganizations);
  36537. }
  36538. ToTape() {
  36539. let args = [];
  36540. args.push(this.Name);
  36541. ;
  36542. args.push(this.Description);
  36543. ;
  36544. args.push(this.RelatingOrganization);
  36545. ;
  36546. args.push(this.RelatedOrganizations);
  36547. ;
  36548. return args;
  36549. }
  36550. };
  36551. var IfcOrientationExpression = class {
  36552. constructor(expressID, type, LateralAxisDirection, VerticalAxisDirection) {
  36553. this.expressID = expressID;
  36554. this.type = type;
  36555. this.LateralAxisDirection = LateralAxisDirection;
  36556. this.VerticalAxisDirection = VerticalAxisDirection;
  36557. }
  36558. static FromTape(expressID, type, tape) {
  36559. let ptr = 0;
  36560. let LateralAxisDirection = tape[ptr++];
  36561. let VerticalAxisDirection = tape[ptr++];
  36562. return new IfcOrientationExpression(expressID, type, LateralAxisDirection, VerticalAxisDirection);
  36563. }
  36564. ToTape() {
  36565. let args = [];
  36566. args.push(this.LateralAxisDirection);
  36567. ;
  36568. args.push(this.VerticalAxisDirection);
  36569. ;
  36570. return args;
  36571. }
  36572. };
  36573. var IfcOrientedEdge = class {
  36574. constructor(expressID, type, EdgeStart, EdgeEnd, EdgeElement, Orientation) {
  36575. this.expressID = expressID;
  36576. this.type = type;
  36577. this.EdgeStart = EdgeStart;
  36578. this.EdgeEnd = EdgeEnd;
  36579. this.EdgeElement = EdgeElement;
  36580. this.Orientation = Orientation;
  36581. }
  36582. static FromTape(expressID, type, tape) {
  36583. let ptr = 0;
  36584. let EdgeStart = tape[ptr++];
  36585. let EdgeEnd = tape[ptr++];
  36586. let EdgeElement = tape[ptr++];
  36587. let Orientation = tape[ptr++];
  36588. return new IfcOrientedEdge(expressID, type, EdgeStart, EdgeEnd, EdgeElement, Orientation);
  36589. }
  36590. ToTape() {
  36591. let args = [];
  36592. args.push(this.EdgeStart);
  36593. ;
  36594. args.push(this.EdgeEnd);
  36595. ;
  36596. args.push(this.EdgeElement);
  36597. ;
  36598. args.push(this.Orientation);
  36599. ;
  36600. return args;
  36601. }
  36602. };
  36603. var IfcOuterBoundaryCurve = class {
  36604. constructor(expressID, type, Segments, SelfIntersect) {
  36605. this.expressID = expressID;
  36606. this.type = type;
  36607. this.Segments = Segments;
  36608. this.SelfIntersect = SelfIntersect;
  36609. }
  36610. static FromTape(expressID, type, tape) {
  36611. let ptr = 0;
  36612. let Segments = tape[ptr++];
  36613. let SelfIntersect = tape[ptr++];
  36614. return new IfcOuterBoundaryCurve(expressID, type, Segments, SelfIntersect);
  36615. }
  36616. ToTape() {
  36617. let args = [];
  36618. args.push(this.Segments);
  36619. ;
  36620. args.push(this.SelfIntersect);
  36621. ;
  36622. return args;
  36623. }
  36624. };
  36625. var IfcOutlet = class {
  36626. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  36627. this.expressID = expressID;
  36628. this.type = type;
  36629. this.GlobalId = GlobalId;
  36630. this.OwnerHistory = OwnerHistory;
  36631. this.Name = Name;
  36632. this.Description = Description;
  36633. this.ObjectType = ObjectType;
  36634. this.ObjectPlacement = ObjectPlacement;
  36635. this.Representation = Representation;
  36636. this.Tag = Tag;
  36637. this.PredefinedType = PredefinedType;
  36638. }
  36639. static FromTape(expressID, type, tape) {
  36640. let ptr = 0;
  36641. let GlobalId = tape[ptr++];
  36642. let OwnerHistory = tape[ptr++];
  36643. let Name = tape[ptr++];
  36644. let Description = tape[ptr++];
  36645. let ObjectType = tape[ptr++];
  36646. let ObjectPlacement = tape[ptr++];
  36647. let Representation = tape[ptr++];
  36648. let Tag = tape[ptr++];
  36649. let PredefinedType = tape[ptr++];
  36650. return new IfcOutlet(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  36651. }
  36652. ToTape() {
  36653. let args = [];
  36654. args.push(this.GlobalId);
  36655. ;
  36656. args.push(this.OwnerHistory);
  36657. ;
  36658. args.push(this.Name);
  36659. ;
  36660. args.push(this.Description);
  36661. ;
  36662. args.push(this.ObjectType);
  36663. ;
  36664. args.push(this.ObjectPlacement);
  36665. ;
  36666. args.push(this.Representation);
  36667. ;
  36668. args.push(this.Tag);
  36669. ;
  36670. args.push(this.PredefinedType);
  36671. ;
  36672. return args;
  36673. }
  36674. };
  36675. var IfcOutletType = class {
  36676. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  36677. this.expressID = expressID;
  36678. this.type = type;
  36679. this.GlobalId = GlobalId;
  36680. this.OwnerHistory = OwnerHistory;
  36681. this.Name = Name;
  36682. this.Description = Description;
  36683. this.ApplicableOccurrence = ApplicableOccurrence;
  36684. this.HasPropertySets = HasPropertySets;
  36685. this.RepresentationMaps = RepresentationMaps;
  36686. this.Tag = Tag;
  36687. this.ElementType = ElementType;
  36688. this.PredefinedType = PredefinedType;
  36689. }
  36690. static FromTape(expressID, type, tape) {
  36691. let ptr = 0;
  36692. let GlobalId = tape[ptr++];
  36693. let OwnerHistory = tape[ptr++];
  36694. let Name = tape[ptr++];
  36695. let Description = tape[ptr++];
  36696. let ApplicableOccurrence = tape[ptr++];
  36697. let HasPropertySets = tape[ptr++];
  36698. let RepresentationMaps = tape[ptr++];
  36699. let Tag = tape[ptr++];
  36700. let ElementType = tape[ptr++];
  36701. let PredefinedType = tape[ptr++];
  36702. return new IfcOutletType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  36703. }
  36704. ToTape() {
  36705. let args = [];
  36706. args.push(this.GlobalId);
  36707. ;
  36708. args.push(this.OwnerHistory);
  36709. ;
  36710. args.push(this.Name);
  36711. ;
  36712. args.push(this.Description);
  36713. ;
  36714. args.push(this.ApplicableOccurrence);
  36715. ;
  36716. args.push(this.HasPropertySets);
  36717. ;
  36718. args.push(this.RepresentationMaps);
  36719. ;
  36720. args.push(this.Tag);
  36721. ;
  36722. args.push(this.ElementType);
  36723. ;
  36724. args.push(this.PredefinedType);
  36725. ;
  36726. return args;
  36727. }
  36728. };
  36729. var IfcOwnerHistory = class {
  36730. constructor(expressID, type, OwningUser, OwningApplication, State, ChangeAction, LastModifiedDate, LastModifyingUser, LastModifyingApplication, CreationDate) {
  36731. this.expressID = expressID;
  36732. this.type = type;
  36733. this.OwningUser = OwningUser;
  36734. this.OwningApplication = OwningApplication;
  36735. this.State = State;
  36736. this.ChangeAction = ChangeAction;
  36737. this.LastModifiedDate = LastModifiedDate;
  36738. this.LastModifyingUser = LastModifyingUser;
  36739. this.LastModifyingApplication = LastModifyingApplication;
  36740. this.CreationDate = CreationDate;
  36741. }
  36742. static FromTape(expressID, type, tape) {
  36743. let ptr = 0;
  36744. let OwningUser = tape[ptr++];
  36745. let OwningApplication = tape[ptr++];
  36746. let State = tape[ptr++];
  36747. let ChangeAction = tape[ptr++];
  36748. let LastModifiedDate = tape[ptr++];
  36749. let LastModifyingUser = tape[ptr++];
  36750. let LastModifyingApplication = tape[ptr++];
  36751. let CreationDate = tape[ptr++];
  36752. return new IfcOwnerHistory(expressID, type, OwningUser, OwningApplication, State, ChangeAction, LastModifiedDate, LastModifyingUser, LastModifyingApplication, CreationDate);
  36753. }
  36754. ToTape() {
  36755. let args = [];
  36756. args.push(this.OwningUser);
  36757. ;
  36758. args.push(this.OwningApplication);
  36759. ;
  36760. args.push(this.State);
  36761. ;
  36762. args.push(this.ChangeAction);
  36763. ;
  36764. args.push(this.LastModifiedDate);
  36765. ;
  36766. args.push(this.LastModifyingUser);
  36767. ;
  36768. args.push(this.LastModifyingApplication);
  36769. ;
  36770. args.push(this.CreationDate);
  36771. ;
  36772. return args;
  36773. }
  36774. };
  36775. var IfcParameterizedProfileDef = class {
  36776. constructor(expressID, type, ProfileType, ProfileName, Position) {
  36777. this.expressID = expressID;
  36778. this.type = type;
  36779. this.ProfileType = ProfileType;
  36780. this.ProfileName = ProfileName;
  36781. this.Position = Position;
  36782. }
  36783. static FromTape(expressID, type, tape) {
  36784. let ptr = 0;
  36785. let ProfileType = tape[ptr++];
  36786. let ProfileName = tape[ptr++];
  36787. let Position = tape[ptr++];
  36788. return new IfcParameterizedProfileDef(expressID, type, ProfileType, ProfileName, Position);
  36789. }
  36790. ToTape() {
  36791. let args = [];
  36792. args.push(this.ProfileType);
  36793. ;
  36794. args.push(this.ProfileName);
  36795. ;
  36796. args.push(this.Position);
  36797. ;
  36798. return args;
  36799. }
  36800. };
  36801. var IfcPath = class {
  36802. constructor(expressID, type, EdgeList) {
  36803. this.expressID = expressID;
  36804. this.type = type;
  36805. this.EdgeList = EdgeList;
  36806. }
  36807. static FromTape(expressID, type, tape) {
  36808. let ptr = 0;
  36809. let EdgeList = tape[ptr++];
  36810. return new IfcPath(expressID, type, EdgeList);
  36811. }
  36812. ToTape() {
  36813. let args = [];
  36814. args.push(this.EdgeList);
  36815. ;
  36816. return args;
  36817. }
  36818. };
  36819. var IfcPcurve = class {
  36820. constructor(expressID, type, BasisSurface, ReferenceCurve) {
  36821. this.expressID = expressID;
  36822. this.type = type;
  36823. this.BasisSurface = BasisSurface;
  36824. this.ReferenceCurve = ReferenceCurve;
  36825. }
  36826. static FromTape(expressID, type, tape) {
  36827. let ptr = 0;
  36828. let BasisSurface = tape[ptr++];
  36829. let ReferenceCurve = tape[ptr++];
  36830. return new IfcPcurve(expressID, type, BasisSurface, ReferenceCurve);
  36831. }
  36832. ToTape() {
  36833. let args = [];
  36834. args.push(this.BasisSurface);
  36835. ;
  36836. args.push(this.ReferenceCurve);
  36837. ;
  36838. return args;
  36839. }
  36840. };
  36841. var IfcPerformanceHistory = class {
  36842. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LifeCyclePhase, PredefinedType) {
  36843. this.expressID = expressID;
  36844. this.type = type;
  36845. this.GlobalId = GlobalId;
  36846. this.OwnerHistory = OwnerHistory;
  36847. this.Name = Name;
  36848. this.Description = Description;
  36849. this.ObjectType = ObjectType;
  36850. this.Identification = Identification;
  36851. this.LifeCyclePhase = LifeCyclePhase;
  36852. this.PredefinedType = PredefinedType;
  36853. }
  36854. static FromTape(expressID, type, tape) {
  36855. let ptr = 0;
  36856. let GlobalId = tape[ptr++];
  36857. let OwnerHistory = tape[ptr++];
  36858. let Name = tape[ptr++];
  36859. let Description = tape[ptr++];
  36860. let ObjectType = tape[ptr++];
  36861. let Identification = tape[ptr++];
  36862. let LifeCyclePhase = tape[ptr++];
  36863. let PredefinedType = tape[ptr++];
  36864. return new IfcPerformanceHistory(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LifeCyclePhase, PredefinedType);
  36865. }
  36866. ToTape() {
  36867. let args = [];
  36868. args.push(this.GlobalId);
  36869. ;
  36870. args.push(this.OwnerHistory);
  36871. ;
  36872. args.push(this.Name);
  36873. ;
  36874. args.push(this.Description);
  36875. ;
  36876. args.push(this.ObjectType);
  36877. ;
  36878. args.push(this.Identification);
  36879. ;
  36880. args.push(this.LifeCyclePhase);
  36881. ;
  36882. args.push(this.PredefinedType);
  36883. ;
  36884. return args;
  36885. }
  36886. };
  36887. var IfcPermeableCoveringProperties = class {
  36888. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, OperationType, PanelPosition, FrameDepth, FrameThickness, ShapeAspectStyle) {
  36889. this.expressID = expressID;
  36890. this.type = type;
  36891. this.GlobalId = GlobalId;
  36892. this.OwnerHistory = OwnerHistory;
  36893. this.Name = Name;
  36894. this.Description = Description;
  36895. this.OperationType = OperationType;
  36896. this.PanelPosition = PanelPosition;
  36897. this.FrameDepth = FrameDepth;
  36898. this.FrameThickness = FrameThickness;
  36899. this.ShapeAspectStyle = ShapeAspectStyle;
  36900. }
  36901. static FromTape(expressID, type, tape) {
  36902. let ptr = 0;
  36903. let GlobalId = tape[ptr++];
  36904. let OwnerHistory = tape[ptr++];
  36905. let Name = tape[ptr++];
  36906. let Description = tape[ptr++];
  36907. let OperationType = tape[ptr++];
  36908. let PanelPosition = tape[ptr++];
  36909. let FrameDepth = tape[ptr++];
  36910. let FrameThickness = tape[ptr++];
  36911. let ShapeAspectStyle = tape[ptr++];
  36912. return new IfcPermeableCoveringProperties(expressID, type, GlobalId, OwnerHistory, Name, Description, OperationType, PanelPosition, FrameDepth, FrameThickness, ShapeAspectStyle);
  36913. }
  36914. ToTape() {
  36915. let args = [];
  36916. args.push(this.GlobalId);
  36917. ;
  36918. args.push(this.OwnerHistory);
  36919. ;
  36920. args.push(this.Name);
  36921. ;
  36922. args.push(this.Description);
  36923. ;
  36924. args.push(this.OperationType);
  36925. ;
  36926. args.push(this.PanelPosition);
  36927. ;
  36928. args.push(this.FrameDepth);
  36929. ;
  36930. args.push(this.FrameThickness);
  36931. ;
  36932. args.push(this.ShapeAspectStyle);
  36933. ;
  36934. return args;
  36935. }
  36936. };
  36937. var IfcPermit = class {
  36938. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, Status, LongDescription) {
  36939. this.expressID = expressID;
  36940. this.type = type;
  36941. this.GlobalId = GlobalId;
  36942. this.OwnerHistory = OwnerHistory;
  36943. this.Name = Name;
  36944. this.Description = Description;
  36945. this.ObjectType = ObjectType;
  36946. this.Identification = Identification;
  36947. this.PredefinedType = PredefinedType;
  36948. this.Status = Status;
  36949. this.LongDescription = LongDescription;
  36950. }
  36951. static FromTape(expressID, type, tape) {
  36952. let ptr = 0;
  36953. let GlobalId = tape[ptr++];
  36954. let OwnerHistory = tape[ptr++];
  36955. let Name = tape[ptr++];
  36956. let Description = tape[ptr++];
  36957. let ObjectType = tape[ptr++];
  36958. let Identification = tape[ptr++];
  36959. let PredefinedType = tape[ptr++];
  36960. let Status = tape[ptr++];
  36961. let LongDescription = tape[ptr++];
  36962. return new IfcPermit(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, Status, LongDescription);
  36963. }
  36964. ToTape() {
  36965. let args = [];
  36966. args.push(this.GlobalId);
  36967. ;
  36968. args.push(this.OwnerHistory);
  36969. ;
  36970. args.push(this.Name);
  36971. ;
  36972. args.push(this.Description);
  36973. ;
  36974. args.push(this.ObjectType);
  36975. ;
  36976. args.push(this.Identification);
  36977. ;
  36978. args.push(this.PredefinedType);
  36979. ;
  36980. args.push(this.Status);
  36981. ;
  36982. args.push(this.LongDescription);
  36983. ;
  36984. return args;
  36985. }
  36986. };
  36987. var IfcPerson = class {
  36988. constructor(expressID, type, Identification, FamilyName, GivenName, MiddleNames, PrefixTitles, SuffixTitles, Roles, Addresses) {
  36989. this.expressID = expressID;
  36990. this.type = type;
  36991. this.Identification = Identification;
  36992. this.FamilyName = FamilyName;
  36993. this.GivenName = GivenName;
  36994. this.MiddleNames = MiddleNames;
  36995. this.PrefixTitles = PrefixTitles;
  36996. this.SuffixTitles = SuffixTitles;
  36997. this.Roles = Roles;
  36998. this.Addresses = Addresses;
  36999. }
  37000. static FromTape(expressID, type, tape) {
  37001. let ptr = 0;
  37002. let Identification = tape[ptr++];
  37003. let FamilyName = tape[ptr++];
  37004. let GivenName = tape[ptr++];
  37005. let MiddleNames = tape[ptr++];
  37006. let PrefixTitles = tape[ptr++];
  37007. let SuffixTitles = tape[ptr++];
  37008. let Roles = tape[ptr++];
  37009. let Addresses = tape[ptr++];
  37010. return new IfcPerson(expressID, type, Identification, FamilyName, GivenName, MiddleNames, PrefixTitles, SuffixTitles, Roles, Addresses);
  37011. }
  37012. ToTape() {
  37013. let args = [];
  37014. args.push(this.Identification);
  37015. ;
  37016. args.push(this.FamilyName);
  37017. ;
  37018. args.push(this.GivenName);
  37019. ;
  37020. args.push(this.MiddleNames);
  37021. ;
  37022. args.push(this.PrefixTitles);
  37023. ;
  37024. args.push(this.SuffixTitles);
  37025. ;
  37026. args.push(this.Roles);
  37027. ;
  37028. args.push(this.Addresses);
  37029. ;
  37030. return args;
  37031. }
  37032. };
  37033. var IfcPersonAndOrganization = class {
  37034. constructor(expressID, type, ThePerson, TheOrganization, Roles) {
  37035. this.expressID = expressID;
  37036. this.type = type;
  37037. this.ThePerson = ThePerson;
  37038. this.TheOrganization = TheOrganization;
  37039. this.Roles = Roles;
  37040. }
  37041. static FromTape(expressID, type, tape) {
  37042. let ptr = 0;
  37043. let ThePerson = tape[ptr++];
  37044. let TheOrganization = tape[ptr++];
  37045. let Roles = tape[ptr++];
  37046. return new IfcPersonAndOrganization(expressID, type, ThePerson, TheOrganization, Roles);
  37047. }
  37048. ToTape() {
  37049. let args = [];
  37050. args.push(this.ThePerson);
  37051. ;
  37052. args.push(this.TheOrganization);
  37053. ;
  37054. args.push(this.Roles);
  37055. ;
  37056. return args;
  37057. }
  37058. };
  37059. var IfcPhysicalComplexQuantity = class {
  37060. constructor(expressID, type, Name, Description, HasQuantities, Discrimination, Quality, Usage) {
  37061. this.expressID = expressID;
  37062. this.type = type;
  37063. this.Name = Name;
  37064. this.Description = Description;
  37065. this.HasQuantities = HasQuantities;
  37066. this.Discrimination = Discrimination;
  37067. this.Quality = Quality;
  37068. this.Usage = Usage;
  37069. }
  37070. static FromTape(expressID, type, tape) {
  37071. let ptr = 0;
  37072. let Name = tape[ptr++];
  37073. let Description = tape[ptr++];
  37074. let HasQuantities = tape[ptr++];
  37075. let Discrimination = tape[ptr++];
  37076. let Quality = tape[ptr++];
  37077. let Usage = tape[ptr++];
  37078. return new IfcPhysicalComplexQuantity(expressID, type, Name, Description, HasQuantities, Discrimination, Quality, Usage);
  37079. }
  37080. ToTape() {
  37081. let args = [];
  37082. args.push(this.Name);
  37083. ;
  37084. args.push(this.Description);
  37085. ;
  37086. args.push(this.HasQuantities);
  37087. ;
  37088. args.push(this.Discrimination);
  37089. ;
  37090. args.push(this.Quality);
  37091. ;
  37092. args.push(this.Usage);
  37093. ;
  37094. return args;
  37095. }
  37096. };
  37097. var IfcPhysicalQuantity = class {
  37098. constructor(expressID, type, Name, Description) {
  37099. this.expressID = expressID;
  37100. this.type = type;
  37101. this.Name = Name;
  37102. this.Description = Description;
  37103. }
  37104. static FromTape(expressID, type, tape) {
  37105. let ptr = 0;
  37106. let Name = tape[ptr++];
  37107. let Description = tape[ptr++];
  37108. return new IfcPhysicalQuantity(expressID, type, Name, Description);
  37109. }
  37110. ToTape() {
  37111. let args = [];
  37112. args.push(this.Name);
  37113. ;
  37114. args.push(this.Description);
  37115. ;
  37116. return args;
  37117. }
  37118. };
  37119. var IfcPhysicalSimpleQuantity = class {
  37120. constructor(expressID, type, Name, Description, Unit) {
  37121. this.expressID = expressID;
  37122. this.type = type;
  37123. this.Name = Name;
  37124. this.Description = Description;
  37125. this.Unit = Unit;
  37126. }
  37127. static FromTape(expressID, type, tape) {
  37128. let ptr = 0;
  37129. let Name = tape[ptr++];
  37130. let Description = tape[ptr++];
  37131. let Unit = tape[ptr++];
  37132. return new IfcPhysicalSimpleQuantity(expressID, type, Name, Description, Unit);
  37133. }
  37134. ToTape() {
  37135. let args = [];
  37136. args.push(this.Name);
  37137. ;
  37138. args.push(this.Description);
  37139. ;
  37140. args.push(this.Unit);
  37141. ;
  37142. return args;
  37143. }
  37144. };
  37145. var IfcPile = class {
  37146. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType, ConstructionType) {
  37147. this.expressID = expressID;
  37148. this.type = type;
  37149. this.GlobalId = GlobalId;
  37150. this.OwnerHistory = OwnerHistory;
  37151. this.Name = Name;
  37152. this.Description = Description;
  37153. this.ObjectType = ObjectType;
  37154. this.ObjectPlacement = ObjectPlacement;
  37155. this.Representation = Representation;
  37156. this.Tag = Tag;
  37157. this.PredefinedType = PredefinedType;
  37158. this.ConstructionType = ConstructionType;
  37159. }
  37160. static FromTape(expressID, type, tape) {
  37161. let ptr = 0;
  37162. let GlobalId = tape[ptr++];
  37163. let OwnerHistory = tape[ptr++];
  37164. let Name = tape[ptr++];
  37165. let Description = tape[ptr++];
  37166. let ObjectType = tape[ptr++];
  37167. let ObjectPlacement = tape[ptr++];
  37168. let Representation = tape[ptr++];
  37169. let Tag = tape[ptr++];
  37170. let PredefinedType = tape[ptr++];
  37171. let ConstructionType = tape[ptr++];
  37172. return new IfcPile(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType, ConstructionType);
  37173. }
  37174. ToTape() {
  37175. let args = [];
  37176. args.push(this.GlobalId);
  37177. ;
  37178. args.push(this.OwnerHistory);
  37179. ;
  37180. args.push(this.Name);
  37181. ;
  37182. args.push(this.Description);
  37183. ;
  37184. args.push(this.ObjectType);
  37185. ;
  37186. args.push(this.ObjectPlacement);
  37187. ;
  37188. args.push(this.Representation);
  37189. ;
  37190. args.push(this.Tag);
  37191. ;
  37192. args.push(this.PredefinedType);
  37193. ;
  37194. args.push(this.ConstructionType);
  37195. ;
  37196. return args;
  37197. }
  37198. };
  37199. var IfcPileType = class {
  37200. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  37201. this.expressID = expressID;
  37202. this.type = type;
  37203. this.GlobalId = GlobalId;
  37204. this.OwnerHistory = OwnerHistory;
  37205. this.Name = Name;
  37206. this.Description = Description;
  37207. this.ApplicableOccurrence = ApplicableOccurrence;
  37208. this.HasPropertySets = HasPropertySets;
  37209. this.RepresentationMaps = RepresentationMaps;
  37210. this.Tag = Tag;
  37211. this.ElementType = ElementType;
  37212. this.PredefinedType = PredefinedType;
  37213. }
  37214. static FromTape(expressID, type, tape) {
  37215. let ptr = 0;
  37216. let GlobalId = tape[ptr++];
  37217. let OwnerHistory = tape[ptr++];
  37218. let Name = tape[ptr++];
  37219. let Description = tape[ptr++];
  37220. let ApplicableOccurrence = tape[ptr++];
  37221. let HasPropertySets = tape[ptr++];
  37222. let RepresentationMaps = tape[ptr++];
  37223. let Tag = tape[ptr++];
  37224. let ElementType = tape[ptr++];
  37225. let PredefinedType = tape[ptr++];
  37226. return new IfcPileType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  37227. }
  37228. ToTape() {
  37229. let args = [];
  37230. args.push(this.GlobalId);
  37231. ;
  37232. args.push(this.OwnerHistory);
  37233. ;
  37234. args.push(this.Name);
  37235. ;
  37236. args.push(this.Description);
  37237. ;
  37238. args.push(this.ApplicableOccurrence);
  37239. ;
  37240. args.push(this.HasPropertySets);
  37241. ;
  37242. args.push(this.RepresentationMaps);
  37243. ;
  37244. args.push(this.Tag);
  37245. ;
  37246. args.push(this.ElementType);
  37247. ;
  37248. args.push(this.PredefinedType);
  37249. ;
  37250. return args;
  37251. }
  37252. };
  37253. var IfcPipeFitting = class {
  37254. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  37255. this.expressID = expressID;
  37256. this.type = type;
  37257. this.GlobalId = GlobalId;
  37258. this.OwnerHistory = OwnerHistory;
  37259. this.Name = Name;
  37260. this.Description = Description;
  37261. this.ObjectType = ObjectType;
  37262. this.ObjectPlacement = ObjectPlacement;
  37263. this.Representation = Representation;
  37264. this.Tag = Tag;
  37265. this.PredefinedType = PredefinedType;
  37266. }
  37267. static FromTape(expressID, type, tape) {
  37268. let ptr = 0;
  37269. let GlobalId = tape[ptr++];
  37270. let OwnerHistory = tape[ptr++];
  37271. let Name = tape[ptr++];
  37272. let Description = tape[ptr++];
  37273. let ObjectType = tape[ptr++];
  37274. let ObjectPlacement = tape[ptr++];
  37275. let Representation = tape[ptr++];
  37276. let Tag = tape[ptr++];
  37277. let PredefinedType = tape[ptr++];
  37278. return new IfcPipeFitting(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  37279. }
  37280. ToTape() {
  37281. let args = [];
  37282. args.push(this.GlobalId);
  37283. ;
  37284. args.push(this.OwnerHistory);
  37285. ;
  37286. args.push(this.Name);
  37287. ;
  37288. args.push(this.Description);
  37289. ;
  37290. args.push(this.ObjectType);
  37291. ;
  37292. args.push(this.ObjectPlacement);
  37293. ;
  37294. args.push(this.Representation);
  37295. ;
  37296. args.push(this.Tag);
  37297. ;
  37298. args.push(this.PredefinedType);
  37299. ;
  37300. return args;
  37301. }
  37302. };
  37303. var IfcPipeFittingType = class {
  37304. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  37305. this.expressID = expressID;
  37306. this.type = type;
  37307. this.GlobalId = GlobalId;
  37308. this.OwnerHistory = OwnerHistory;
  37309. this.Name = Name;
  37310. this.Description = Description;
  37311. this.ApplicableOccurrence = ApplicableOccurrence;
  37312. this.HasPropertySets = HasPropertySets;
  37313. this.RepresentationMaps = RepresentationMaps;
  37314. this.Tag = Tag;
  37315. this.ElementType = ElementType;
  37316. this.PredefinedType = PredefinedType;
  37317. }
  37318. static FromTape(expressID, type, tape) {
  37319. let ptr = 0;
  37320. let GlobalId = tape[ptr++];
  37321. let OwnerHistory = tape[ptr++];
  37322. let Name = tape[ptr++];
  37323. let Description = tape[ptr++];
  37324. let ApplicableOccurrence = tape[ptr++];
  37325. let HasPropertySets = tape[ptr++];
  37326. let RepresentationMaps = tape[ptr++];
  37327. let Tag = tape[ptr++];
  37328. let ElementType = tape[ptr++];
  37329. let PredefinedType = tape[ptr++];
  37330. return new IfcPipeFittingType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  37331. }
  37332. ToTape() {
  37333. let args = [];
  37334. args.push(this.GlobalId);
  37335. ;
  37336. args.push(this.OwnerHistory);
  37337. ;
  37338. args.push(this.Name);
  37339. ;
  37340. args.push(this.Description);
  37341. ;
  37342. args.push(this.ApplicableOccurrence);
  37343. ;
  37344. args.push(this.HasPropertySets);
  37345. ;
  37346. args.push(this.RepresentationMaps);
  37347. ;
  37348. args.push(this.Tag);
  37349. ;
  37350. args.push(this.ElementType);
  37351. ;
  37352. args.push(this.PredefinedType);
  37353. ;
  37354. return args;
  37355. }
  37356. };
  37357. var IfcPipeSegment = class {
  37358. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  37359. this.expressID = expressID;
  37360. this.type = type;
  37361. this.GlobalId = GlobalId;
  37362. this.OwnerHistory = OwnerHistory;
  37363. this.Name = Name;
  37364. this.Description = Description;
  37365. this.ObjectType = ObjectType;
  37366. this.ObjectPlacement = ObjectPlacement;
  37367. this.Representation = Representation;
  37368. this.Tag = Tag;
  37369. this.PredefinedType = PredefinedType;
  37370. }
  37371. static FromTape(expressID, type, tape) {
  37372. let ptr = 0;
  37373. let GlobalId = tape[ptr++];
  37374. let OwnerHistory = tape[ptr++];
  37375. let Name = tape[ptr++];
  37376. let Description = tape[ptr++];
  37377. let ObjectType = tape[ptr++];
  37378. let ObjectPlacement = tape[ptr++];
  37379. let Representation = tape[ptr++];
  37380. let Tag = tape[ptr++];
  37381. let PredefinedType = tape[ptr++];
  37382. return new IfcPipeSegment(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  37383. }
  37384. ToTape() {
  37385. let args = [];
  37386. args.push(this.GlobalId);
  37387. ;
  37388. args.push(this.OwnerHistory);
  37389. ;
  37390. args.push(this.Name);
  37391. ;
  37392. args.push(this.Description);
  37393. ;
  37394. args.push(this.ObjectType);
  37395. ;
  37396. args.push(this.ObjectPlacement);
  37397. ;
  37398. args.push(this.Representation);
  37399. ;
  37400. args.push(this.Tag);
  37401. ;
  37402. args.push(this.PredefinedType);
  37403. ;
  37404. return args;
  37405. }
  37406. };
  37407. var IfcPipeSegmentType = class {
  37408. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  37409. this.expressID = expressID;
  37410. this.type = type;
  37411. this.GlobalId = GlobalId;
  37412. this.OwnerHistory = OwnerHistory;
  37413. this.Name = Name;
  37414. this.Description = Description;
  37415. this.ApplicableOccurrence = ApplicableOccurrence;
  37416. this.HasPropertySets = HasPropertySets;
  37417. this.RepresentationMaps = RepresentationMaps;
  37418. this.Tag = Tag;
  37419. this.ElementType = ElementType;
  37420. this.PredefinedType = PredefinedType;
  37421. }
  37422. static FromTape(expressID, type, tape) {
  37423. let ptr = 0;
  37424. let GlobalId = tape[ptr++];
  37425. let OwnerHistory = tape[ptr++];
  37426. let Name = tape[ptr++];
  37427. let Description = tape[ptr++];
  37428. let ApplicableOccurrence = tape[ptr++];
  37429. let HasPropertySets = tape[ptr++];
  37430. let RepresentationMaps = tape[ptr++];
  37431. let Tag = tape[ptr++];
  37432. let ElementType = tape[ptr++];
  37433. let PredefinedType = tape[ptr++];
  37434. return new IfcPipeSegmentType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  37435. }
  37436. ToTape() {
  37437. let args = [];
  37438. args.push(this.GlobalId);
  37439. ;
  37440. args.push(this.OwnerHistory);
  37441. ;
  37442. args.push(this.Name);
  37443. ;
  37444. args.push(this.Description);
  37445. ;
  37446. args.push(this.ApplicableOccurrence);
  37447. ;
  37448. args.push(this.HasPropertySets);
  37449. ;
  37450. args.push(this.RepresentationMaps);
  37451. ;
  37452. args.push(this.Tag);
  37453. ;
  37454. args.push(this.ElementType);
  37455. ;
  37456. args.push(this.PredefinedType);
  37457. ;
  37458. return args;
  37459. }
  37460. };
  37461. var IfcPixelTexture = class {
  37462. constructor(expressID, type, RepeatS, RepeatT, Mode, TextureTransform, Parameter, Width, Height, ColourComponents, Pixel) {
  37463. this.expressID = expressID;
  37464. this.type = type;
  37465. this.RepeatS = RepeatS;
  37466. this.RepeatT = RepeatT;
  37467. this.Mode = Mode;
  37468. this.TextureTransform = TextureTransform;
  37469. this.Parameter = Parameter;
  37470. this.Width = Width;
  37471. this.Height = Height;
  37472. this.ColourComponents = ColourComponents;
  37473. this.Pixel = Pixel;
  37474. }
  37475. static FromTape(expressID, type, tape) {
  37476. let ptr = 0;
  37477. let RepeatS = tape[ptr++];
  37478. let RepeatT = tape[ptr++];
  37479. let Mode = tape[ptr++];
  37480. let TextureTransform = tape[ptr++];
  37481. let Parameter = tape[ptr++];
  37482. let Width = tape[ptr++];
  37483. let Height = tape[ptr++];
  37484. let ColourComponents = tape[ptr++];
  37485. let Pixel = tape[ptr++];
  37486. return new IfcPixelTexture(expressID, type, RepeatS, RepeatT, Mode, TextureTransform, Parameter, Width, Height, ColourComponents, Pixel);
  37487. }
  37488. ToTape() {
  37489. let args = [];
  37490. args.push(this.RepeatS);
  37491. ;
  37492. args.push(this.RepeatT);
  37493. ;
  37494. args.push(this.Mode);
  37495. ;
  37496. args.push(this.TextureTransform);
  37497. ;
  37498. args.push(this.Parameter);
  37499. ;
  37500. args.push(this.Width);
  37501. ;
  37502. args.push(this.Height);
  37503. ;
  37504. args.push(this.ColourComponents);
  37505. ;
  37506. args.push(this.Pixel);
  37507. ;
  37508. return args;
  37509. }
  37510. };
  37511. var IfcPlacement = class {
  37512. constructor(expressID, type, Location) {
  37513. this.expressID = expressID;
  37514. this.type = type;
  37515. this.Location = Location;
  37516. }
  37517. static FromTape(expressID, type, tape) {
  37518. let ptr = 0;
  37519. let Location = tape[ptr++];
  37520. return new IfcPlacement(expressID, type, Location);
  37521. }
  37522. ToTape() {
  37523. let args = [];
  37524. args.push(this.Location);
  37525. ;
  37526. return args;
  37527. }
  37528. };
  37529. var IfcPlanarBox = class {
  37530. constructor(expressID, type, SizeInX, SizeInY, Placement) {
  37531. this.expressID = expressID;
  37532. this.type = type;
  37533. this.SizeInX = SizeInX;
  37534. this.SizeInY = SizeInY;
  37535. this.Placement = Placement;
  37536. }
  37537. static FromTape(expressID, type, tape) {
  37538. let ptr = 0;
  37539. let SizeInX = tape[ptr++];
  37540. let SizeInY = tape[ptr++];
  37541. let Placement = tape[ptr++];
  37542. return new IfcPlanarBox(expressID, type, SizeInX, SizeInY, Placement);
  37543. }
  37544. ToTape() {
  37545. let args = [];
  37546. args.push(this.SizeInX);
  37547. ;
  37548. args.push(this.SizeInY);
  37549. ;
  37550. args.push(this.Placement);
  37551. ;
  37552. return args;
  37553. }
  37554. };
  37555. var IfcPlanarExtent = class {
  37556. constructor(expressID, type, SizeInX, SizeInY) {
  37557. this.expressID = expressID;
  37558. this.type = type;
  37559. this.SizeInX = SizeInX;
  37560. this.SizeInY = SizeInY;
  37561. }
  37562. static FromTape(expressID, type, tape) {
  37563. let ptr = 0;
  37564. let SizeInX = tape[ptr++];
  37565. let SizeInY = tape[ptr++];
  37566. return new IfcPlanarExtent(expressID, type, SizeInX, SizeInY);
  37567. }
  37568. ToTape() {
  37569. let args = [];
  37570. args.push(this.SizeInX);
  37571. ;
  37572. args.push(this.SizeInY);
  37573. ;
  37574. return args;
  37575. }
  37576. };
  37577. var IfcPlane = class {
  37578. constructor(expressID, type, Position) {
  37579. this.expressID = expressID;
  37580. this.type = type;
  37581. this.Position = Position;
  37582. }
  37583. static FromTape(expressID, type, tape) {
  37584. let ptr = 0;
  37585. let Position = tape[ptr++];
  37586. return new IfcPlane(expressID, type, Position);
  37587. }
  37588. ToTape() {
  37589. let args = [];
  37590. args.push(this.Position);
  37591. ;
  37592. return args;
  37593. }
  37594. };
  37595. var IfcPlate = class {
  37596. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  37597. this.expressID = expressID;
  37598. this.type = type;
  37599. this.GlobalId = GlobalId;
  37600. this.OwnerHistory = OwnerHistory;
  37601. this.Name = Name;
  37602. this.Description = Description;
  37603. this.ObjectType = ObjectType;
  37604. this.ObjectPlacement = ObjectPlacement;
  37605. this.Representation = Representation;
  37606. this.Tag = Tag;
  37607. this.PredefinedType = PredefinedType;
  37608. }
  37609. static FromTape(expressID, type, tape) {
  37610. let ptr = 0;
  37611. let GlobalId = tape[ptr++];
  37612. let OwnerHistory = tape[ptr++];
  37613. let Name = tape[ptr++];
  37614. let Description = tape[ptr++];
  37615. let ObjectType = tape[ptr++];
  37616. let ObjectPlacement = tape[ptr++];
  37617. let Representation = tape[ptr++];
  37618. let Tag = tape[ptr++];
  37619. let PredefinedType = tape[ptr++];
  37620. return new IfcPlate(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  37621. }
  37622. ToTape() {
  37623. let args = [];
  37624. args.push(this.GlobalId);
  37625. ;
  37626. args.push(this.OwnerHistory);
  37627. ;
  37628. args.push(this.Name);
  37629. ;
  37630. args.push(this.Description);
  37631. ;
  37632. args.push(this.ObjectType);
  37633. ;
  37634. args.push(this.ObjectPlacement);
  37635. ;
  37636. args.push(this.Representation);
  37637. ;
  37638. args.push(this.Tag);
  37639. ;
  37640. args.push(this.PredefinedType);
  37641. ;
  37642. return args;
  37643. }
  37644. };
  37645. var IfcPlateStandardCase = class {
  37646. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  37647. this.expressID = expressID;
  37648. this.type = type;
  37649. this.GlobalId = GlobalId;
  37650. this.OwnerHistory = OwnerHistory;
  37651. this.Name = Name;
  37652. this.Description = Description;
  37653. this.ObjectType = ObjectType;
  37654. this.ObjectPlacement = ObjectPlacement;
  37655. this.Representation = Representation;
  37656. this.Tag = Tag;
  37657. this.PredefinedType = PredefinedType;
  37658. }
  37659. static FromTape(expressID, type, tape) {
  37660. let ptr = 0;
  37661. let GlobalId = tape[ptr++];
  37662. let OwnerHistory = tape[ptr++];
  37663. let Name = tape[ptr++];
  37664. let Description = tape[ptr++];
  37665. let ObjectType = tape[ptr++];
  37666. let ObjectPlacement = tape[ptr++];
  37667. let Representation = tape[ptr++];
  37668. let Tag = tape[ptr++];
  37669. let PredefinedType = tape[ptr++];
  37670. return new IfcPlateStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  37671. }
  37672. ToTape() {
  37673. let args = [];
  37674. args.push(this.GlobalId);
  37675. ;
  37676. args.push(this.OwnerHistory);
  37677. ;
  37678. args.push(this.Name);
  37679. ;
  37680. args.push(this.Description);
  37681. ;
  37682. args.push(this.ObjectType);
  37683. ;
  37684. args.push(this.ObjectPlacement);
  37685. ;
  37686. args.push(this.Representation);
  37687. ;
  37688. args.push(this.Tag);
  37689. ;
  37690. args.push(this.PredefinedType);
  37691. ;
  37692. return args;
  37693. }
  37694. };
  37695. var IfcPlateType = class {
  37696. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  37697. this.expressID = expressID;
  37698. this.type = type;
  37699. this.GlobalId = GlobalId;
  37700. this.OwnerHistory = OwnerHistory;
  37701. this.Name = Name;
  37702. this.Description = Description;
  37703. this.ApplicableOccurrence = ApplicableOccurrence;
  37704. this.HasPropertySets = HasPropertySets;
  37705. this.RepresentationMaps = RepresentationMaps;
  37706. this.Tag = Tag;
  37707. this.ElementType = ElementType;
  37708. this.PredefinedType = PredefinedType;
  37709. }
  37710. static FromTape(expressID, type, tape) {
  37711. let ptr = 0;
  37712. let GlobalId = tape[ptr++];
  37713. let OwnerHistory = tape[ptr++];
  37714. let Name = tape[ptr++];
  37715. let Description = tape[ptr++];
  37716. let ApplicableOccurrence = tape[ptr++];
  37717. let HasPropertySets = tape[ptr++];
  37718. let RepresentationMaps = tape[ptr++];
  37719. let Tag = tape[ptr++];
  37720. let ElementType = tape[ptr++];
  37721. let PredefinedType = tape[ptr++];
  37722. return new IfcPlateType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  37723. }
  37724. ToTape() {
  37725. let args = [];
  37726. args.push(this.GlobalId);
  37727. ;
  37728. args.push(this.OwnerHistory);
  37729. ;
  37730. args.push(this.Name);
  37731. ;
  37732. args.push(this.Description);
  37733. ;
  37734. args.push(this.ApplicableOccurrence);
  37735. ;
  37736. args.push(this.HasPropertySets);
  37737. ;
  37738. args.push(this.RepresentationMaps);
  37739. ;
  37740. args.push(this.Tag);
  37741. ;
  37742. args.push(this.ElementType);
  37743. ;
  37744. args.push(this.PredefinedType);
  37745. ;
  37746. return args;
  37747. }
  37748. };
  37749. var IfcPoint = class {
  37750. constructor(expressID, type) {
  37751. this.expressID = expressID;
  37752. this.type = type;
  37753. }
  37754. static FromTape(expressID, type, tape) {
  37755. let ptr = 0;
  37756. return new IfcPoint(expressID, type);
  37757. }
  37758. ToTape() {
  37759. let args = [];
  37760. return args;
  37761. }
  37762. };
  37763. var IfcPointOnCurve = class {
  37764. constructor(expressID, type, BasisCurve, PointParameter) {
  37765. this.expressID = expressID;
  37766. this.type = type;
  37767. this.BasisCurve = BasisCurve;
  37768. this.PointParameter = PointParameter;
  37769. }
  37770. static FromTape(expressID, type, tape) {
  37771. let ptr = 0;
  37772. let BasisCurve = tape[ptr++];
  37773. let PointParameter = tape[ptr++];
  37774. return new IfcPointOnCurve(expressID, type, BasisCurve, PointParameter);
  37775. }
  37776. ToTape() {
  37777. let args = [];
  37778. args.push(this.BasisCurve);
  37779. ;
  37780. args.push(this.PointParameter);
  37781. ;
  37782. return args;
  37783. }
  37784. };
  37785. var IfcPointOnSurface = class {
  37786. constructor(expressID, type, BasisSurface, PointParameterU, PointParameterV) {
  37787. this.expressID = expressID;
  37788. this.type = type;
  37789. this.BasisSurface = BasisSurface;
  37790. this.PointParameterU = PointParameterU;
  37791. this.PointParameterV = PointParameterV;
  37792. }
  37793. static FromTape(expressID, type, tape) {
  37794. let ptr = 0;
  37795. let BasisSurface = tape[ptr++];
  37796. let PointParameterU = tape[ptr++];
  37797. let PointParameterV = tape[ptr++];
  37798. return new IfcPointOnSurface(expressID, type, BasisSurface, PointParameterU, PointParameterV);
  37799. }
  37800. ToTape() {
  37801. let args = [];
  37802. args.push(this.BasisSurface);
  37803. ;
  37804. args.push(this.PointParameterU);
  37805. ;
  37806. args.push(this.PointParameterV);
  37807. ;
  37808. return args;
  37809. }
  37810. };
  37811. var IfcPolyLoop = class {
  37812. constructor(expressID, type, Polygon) {
  37813. this.expressID = expressID;
  37814. this.type = type;
  37815. this.Polygon = Polygon;
  37816. }
  37817. static FromTape(expressID, type, tape) {
  37818. let ptr = 0;
  37819. let Polygon = tape[ptr++];
  37820. return new IfcPolyLoop(expressID, type, Polygon);
  37821. }
  37822. ToTape() {
  37823. let args = [];
  37824. args.push(this.Polygon);
  37825. ;
  37826. return args;
  37827. }
  37828. };
  37829. var IfcPolygonalBoundedHalfSpace = class {
  37830. constructor(expressID, type, BaseSurface, AgreementFlag, Position, PolygonalBoundary) {
  37831. this.expressID = expressID;
  37832. this.type = type;
  37833. this.BaseSurface = BaseSurface;
  37834. this.AgreementFlag = AgreementFlag;
  37835. this.Position = Position;
  37836. this.PolygonalBoundary = PolygonalBoundary;
  37837. }
  37838. static FromTape(expressID, type, tape) {
  37839. let ptr = 0;
  37840. let BaseSurface = tape[ptr++];
  37841. let AgreementFlag = tape[ptr++];
  37842. let Position = tape[ptr++];
  37843. let PolygonalBoundary = tape[ptr++];
  37844. return new IfcPolygonalBoundedHalfSpace(expressID, type, BaseSurface, AgreementFlag, Position, PolygonalBoundary);
  37845. }
  37846. ToTape() {
  37847. let args = [];
  37848. args.push(this.BaseSurface);
  37849. ;
  37850. args.push(this.AgreementFlag);
  37851. ;
  37852. args.push(this.Position);
  37853. ;
  37854. args.push(this.PolygonalBoundary);
  37855. ;
  37856. return args;
  37857. }
  37858. };
  37859. var IfcPolygonalFaceSet = class {
  37860. constructor(expressID, type, Coordinates, Closed, Faces, PnIndex) {
  37861. this.expressID = expressID;
  37862. this.type = type;
  37863. this.Coordinates = Coordinates;
  37864. this.Closed = Closed;
  37865. this.Faces = Faces;
  37866. this.PnIndex = PnIndex;
  37867. }
  37868. static FromTape(expressID, type, tape) {
  37869. let ptr = 0;
  37870. let Coordinates = tape[ptr++];
  37871. let Closed = tape[ptr++];
  37872. let Faces = tape[ptr++];
  37873. let PnIndex = tape[ptr++];
  37874. return new IfcPolygonalFaceSet(expressID, type, Coordinates, Closed, Faces, PnIndex);
  37875. }
  37876. ToTape() {
  37877. let args = [];
  37878. args.push(this.Coordinates);
  37879. ;
  37880. args.push(this.Closed);
  37881. ;
  37882. args.push(this.Faces);
  37883. ;
  37884. args.push(this.PnIndex);
  37885. ;
  37886. return args;
  37887. }
  37888. };
  37889. var IfcPolyline = class {
  37890. constructor(expressID, type, Points) {
  37891. this.expressID = expressID;
  37892. this.type = type;
  37893. this.Points = Points;
  37894. }
  37895. static FromTape(expressID, type, tape) {
  37896. let ptr = 0;
  37897. let Points = tape[ptr++];
  37898. return new IfcPolyline(expressID, type, Points);
  37899. }
  37900. ToTape() {
  37901. let args = [];
  37902. args.push(this.Points);
  37903. ;
  37904. return args;
  37905. }
  37906. };
  37907. var IfcPort = class {
  37908. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation) {
  37909. this.expressID = expressID;
  37910. this.type = type;
  37911. this.GlobalId = GlobalId;
  37912. this.OwnerHistory = OwnerHistory;
  37913. this.Name = Name;
  37914. this.Description = Description;
  37915. this.ObjectType = ObjectType;
  37916. this.ObjectPlacement = ObjectPlacement;
  37917. this.Representation = Representation;
  37918. }
  37919. static FromTape(expressID, type, tape) {
  37920. let ptr = 0;
  37921. let GlobalId = tape[ptr++];
  37922. let OwnerHistory = tape[ptr++];
  37923. let Name = tape[ptr++];
  37924. let Description = tape[ptr++];
  37925. let ObjectType = tape[ptr++];
  37926. let ObjectPlacement = tape[ptr++];
  37927. let Representation = tape[ptr++];
  37928. return new IfcPort(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation);
  37929. }
  37930. ToTape() {
  37931. let args = [];
  37932. args.push(this.GlobalId);
  37933. ;
  37934. args.push(this.OwnerHistory);
  37935. ;
  37936. args.push(this.Name);
  37937. ;
  37938. args.push(this.Description);
  37939. ;
  37940. args.push(this.ObjectType);
  37941. ;
  37942. args.push(this.ObjectPlacement);
  37943. ;
  37944. args.push(this.Representation);
  37945. ;
  37946. return args;
  37947. }
  37948. };
  37949. var IfcPositioningElement = class {
  37950. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation) {
  37951. this.expressID = expressID;
  37952. this.type = type;
  37953. this.GlobalId = GlobalId;
  37954. this.OwnerHistory = OwnerHistory;
  37955. this.Name = Name;
  37956. this.Description = Description;
  37957. this.ObjectType = ObjectType;
  37958. this.ObjectPlacement = ObjectPlacement;
  37959. this.Representation = Representation;
  37960. }
  37961. static FromTape(expressID, type, tape) {
  37962. let ptr = 0;
  37963. let GlobalId = tape[ptr++];
  37964. let OwnerHistory = tape[ptr++];
  37965. let Name = tape[ptr++];
  37966. let Description = tape[ptr++];
  37967. let ObjectType = tape[ptr++];
  37968. let ObjectPlacement = tape[ptr++];
  37969. let Representation = tape[ptr++];
  37970. return new IfcPositioningElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation);
  37971. }
  37972. ToTape() {
  37973. let args = [];
  37974. args.push(this.GlobalId);
  37975. ;
  37976. args.push(this.OwnerHistory);
  37977. ;
  37978. args.push(this.Name);
  37979. ;
  37980. args.push(this.Description);
  37981. ;
  37982. args.push(this.ObjectType);
  37983. ;
  37984. args.push(this.ObjectPlacement);
  37985. ;
  37986. args.push(this.Representation);
  37987. ;
  37988. return args;
  37989. }
  37990. };
  37991. var IfcPostalAddress = class {
  37992. constructor(expressID, type, Purpose, Description, UserDefinedPurpose, InternalLocation, AddressLines, PostalBox, Town, Region, PostalCode, Country) {
  37993. this.expressID = expressID;
  37994. this.type = type;
  37995. this.Purpose = Purpose;
  37996. this.Description = Description;
  37997. this.UserDefinedPurpose = UserDefinedPurpose;
  37998. this.InternalLocation = InternalLocation;
  37999. this.AddressLines = AddressLines;
  38000. this.PostalBox = PostalBox;
  38001. this.Town = Town;
  38002. this.Region = Region;
  38003. this.PostalCode = PostalCode;
  38004. this.Country = Country;
  38005. }
  38006. static FromTape(expressID, type, tape) {
  38007. let ptr = 0;
  38008. let Purpose = tape[ptr++];
  38009. let Description = tape[ptr++];
  38010. let UserDefinedPurpose = tape[ptr++];
  38011. let InternalLocation = tape[ptr++];
  38012. let AddressLines = tape[ptr++];
  38013. let PostalBox = tape[ptr++];
  38014. let Town = tape[ptr++];
  38015. let Region = tape[ptr++];
  38016. let PostalCode = tape[ptr++];
  38017. let Country = tape[ptr++];
  38018. return new IfcPostalAddress(expressID, type, Purpose, Description, UserDefinedPurpose, InternalLocation, AddressLines, PostalBox, Town, Region, PostalCode, Country);
  38019. }
  38020. ToTape() {
  38021. let args = [];
  38022. args.push(this.Purpose);
  38023. ;
  38024. args.push(this.Description);
  38025. ;
  38026. args.push(this.UserDefinedPurpose);
  38027. ;
  38028. args.push(this.InternalLocation);
  38029. ;
  38030. args.push(this.AddressLines);
  38031. ;
  38032. args.push(this.PostalBox);
  38033. ;
  38034. args.push(this.Town);
  38035. ;
  38036. args.push(this.Region);
  38037. ;
  38038. args.push(this.PostalCode);
  38039. ;
  38040. args.push(this.Country);
  38041. ;
  38042. return args;
  38043. }
  38044. };
  38045. var IfcPreDefinedColour = class {
  38046. constructor(expressID, type, Name) {
  38047. this.expressID = expressID;
  38048. this.type = type;
  38049. this.Name = Name;
  38050. }
  38051. static FromTape(expressID, type, tape) {
  38052. let ptr = 0;
  38053. let Name = tape[ptr++];
  38054. return new IfcPreDefinedColour(expressID, type, Name);
  38055. }
  38056. ToTape() {
  38057. let args = [];
  38058. args.push(this.Name);
  38059. ;
  38060. return args;
  38061. }
  38062. };
  38063. var IfcPreDefinedCurveFont = class {
  38064. constructor(expressID, type, Name) {
  38065. this.expressID = expressID;
  38066. this.type = type;
  38067. this.Name = Name;
  38068. }
  38069. static FromTape(expressID, type, tape) {
  38070. let ptr = 0;
  38071. let Name = tape[ptr++];
  38072. return new IfcPreDefinedCurveFont(expressID, type, Name);
  38073. }
  38074. ToTape() {
  38075. let args = [];
  38076. args.push(this.Name);
  38077. ;
  38078. return args;
  38079. }
  38080. };
  38081. var IfcPreDefinedItem = class {
  38082. constructor(expressID, type, Name) {
  38083. this.expressID = expressID;
  38084. this.type = type;
  38085. this.Name = Name;
  38086. }
  38087. static FromTape(expressID, type, tape) {
  38088. let ptr = 0;
  38089. let Name = tape[ptr++];
  38090. return new IfcPreDefinedItem(expressID, type, Name);
  38091. }
  38092. ToTape() {
  38093. let args = [];
  38094. args.push(this.Name);
  38095. ;
  38096. return args;
  38097. }
  38098. };
  38099. var IfcPreDefinedProperties = class {
  38100. constructor(expressID, type) {
  38101. this.expressID = expressID;
  38102. this.type = type;
  38103. }
  38104. static FromTape(expressID, type, tape) {
  38105. let ptr = 0;
  38106. return new IfcPreDefinedProperties(expressID, type);
  38107. }
  38108. ToTape() {
  38109. let args = [];
  38110. return args;
  38111. }
  38112. };
  38113. var IfcPreDefinedPropertySet = class {
  38114. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  38115. this.expressID = expressID;
  38116. this.type = type;
  38117. this.GlobalId = GlobalId;
  38118. this.OwnerHistory = OwnerHistory;
  38119. this.Name = Name;
  38120. this.Description = Description;
  38121. }
  38122. static FromTape(expressID, type, tape) {
  38123. let ptr = 0;
  38124. let GlobalId = tape[ptr++];
  38125. let OwnerHistory = tape[ptr++];
  38126. let Name = tape[ptr++];
  38127. let Description = tape[ptr++];
  38128. return new IfcPreDefinedPropertySet(expressID, type, GlobalId, OwnerHistory, Name, Description);
  38129. }
  38130. ToTape() {
  38131. let args = [];
  38132. args.push(this.GlobalId);
  38133. ;
  38134. args.push(this.OwnerHistory);
  38135. ;
  38136. args.push(this.Name);
  38137. ;
  38138. args.push(this.Description);
  38139. ;
  38140. return args;
  38141. }
  38142. };
  38143. var IfcPreDefinedTextFont = class {
  38144. constructor(expressID, type, Name) {
  38145. this.expressID = expressID;
  38146. this.type = type;
  38147. this.Name = Name;
  38148. }
  38149. static FromTape(expressID, type, tape) {
  38150. let ptr = 0;
  38151. let Name = tape[ptr++];
  38152. return new IfcPreDefinedTextFont(expressID, type, Name);
  38153. }
  38154. ToTape() {
  38155. let args = [];
  38156. args.push(this.Name);
  38157. ;
  38158. return args;
  38159. }
  38160. };
  38161. var IfcPresentationItem = class {
  38162. constructor(expressID, type) {
  38163. this.expressID = expressID;
  38164. this.type = type;
  38165. }
  38166. static FromTape(expressID, type, tape) {
  38167. let ptr = 0;
  38168. return new IfcPresentationItem(expressID, type);
  38169. }
  38170. ToTape() {
  38171. let args = [];
  38172. return args;
  38173. }
  38174. };
  38175. var IfcPresentationLayerAssignment = class {
  38176. constructor(expressID, type, Name, Description, AssignedItems, Identifier) {
  38177. this.expressID = expressID;
  38178. this.type = type;
  38179. this.Name = Name;
  38180. this.Description = Description;
  38181. this.AssignedItems = AssignedItems;
  38182. this.Identifier = Identifier;
  38183. }
  38184. static FromTape(expressID, type, tape) {
  38185. let ptr = 0;
  38186. let Name = tape[ptr++];
  38187. let Description = tape[ptr++];
  38188. let AssignedItems = tape[ptr++];
  38189. let Identifier = tape[ptr++];
  38190. return new IfcPresentationLayerAssignment(expressID, type, Name, Description, AssignedItems, Identifier);
  38191. }
  38192. ToTape() {
  38193. let args = [];
  38194. args.push(this.Name);
  38195. ;
  38196. args.push(this.Description);
  38197. ;
  38198. args.push(this.AssignedItems);
  38199. ;
  38200. args.push(this.Identifier);
  38201. ;
  38202. return args;
  38203. }
  38204. };
  38205. var IfcPresentationLayerWithStyle = class {
  38206. constructor(expressID, type, Name, Description, AssignedItems, Identifier, LayerOn, LayerFrozen, LayerBlocked, LayerStyles) {
  38207. this.expressID = expressID;
  38208. this.type = type;
  38209. this.Name = Name;
  38210. this.Description = Description;
  38211. this.AssignedItems = AssignedItems;
  38212. this.Identifier = Identifier;
  38213. this.LayerOn = LayerOn;
  38214. this.LayerFrozen = LayerFrozen;
  38215. this.LayerBlocked = LayerBlocked;
  38216. this.LayerStyles = LayerStyles;
  38217. }
  38218. static FromTape(expressID, type, tape) {
  38219. let ptr = 0;
  38220. let Name = tape[ptr++];
  38221. let Description = tape[ptr++];
  38222. let AssignedItems = tape[ptr++];
  38223. let Identifier = tape[ptr++];
  38224. let LayerOn = tape[ptr++];
  38225. let LayerFrozen = tape[ptr++];
  38226. let LayerBlocked = tape[ptr++];
  38227. let LayerStyles = tape[ptr++];
  38228. return new IfcPresentationLayerWithStyle(expressID, type, Name, Description, AssignedItems, Identifier, LayerOn, LayerFrozen, LayerBlocked, LayerStyles);
  38229. }
  38230. ToTape() {
  38231. let args = [];
  38232. args.push(this.Name);
  38233. ;
  38234. args.push(this.Description);
  38235. ;
  38236. args.push(this.AssignedItems);
  38237. ;
  38238. args.push(this.Identifier);
  38239. ;
  38240. args.push(this.LayerOn);
  38241. ;
  38242. args.push(this.LayerFrozen);
  38243. ;
  38244. args.push(this.LayerBlocked);
  38245. ;
  38246. args.push(this.LayerStyles);
  38247. ;
  38248. return args;
  38249. }
  38250. };
  38251. var IfcPresentationStyle = class {
  38252. constructor(expressID, type, Name) {
  38253. this.expressID = expressID;
  38254. this.type = type;
  38255. this.Name = Name;
  38256. }
  38257. static FromTape(expressID, type, tape) {
  38258. let ptr = 0;
  38259. let Name = tape[ptr++];
  38260. return new IfcPresentationStyle(expressID, type, Name);
  38261. }
  38262. ToTape() {
  38263. let args = [];
  38264. args.push(this.Name);
  38265. ;
  38266. return args;
  38267. }
  38268. };
  38269. var IfcPresentationStyleAssignment = class {
  38270. constructor(expressID, type, Styles) {
  38271. this.expressID = expressID;
  38272. this.type = type;
  38273. this.Styles = Styles;
  38274. }
  38275. static FromTape(expressID, type, tape) {
  38276. let ptr = 0;
  38277. let Styles = tape[ptr++];
  38278. return new IfcPresentationStyleAssignment(expressID, type, Styles);
  38279. }
  38280. ToTape() {
  38281. let args = [];
  38282. args.push(this.Styles);
  38283. ;
  38284. return args;
  38285. }
  38286. };
  38287. var IfcProcedure = class {
  38288. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, PredefinedType) {
  38289. this.expressID = expressID;
  38290. this.type = type;
  38291. this.GlobalId = GlobalId;
  38292. this.OwnerHistory = OwnerHistory;
  38293. this.Name = Name;
  38294. this.Description = Description;
  38295. this.ObjectType = ObjectType;
  38296. this.Identification = Identification;
  38297. this.LongDescription = LongDescription;
  38298. this.PredefinedType = PredefinedType;
  38299. }
  38300. static FromTape(expressID, type, tape) {
  38301. let ptr = 0;
  38302. let GlobalId = tape[ptr++];
  38303. let OwnerHistory = tape[ptr++];
  38304. let Name = tape[ptr++];
  38305. let Description = tape[ptr++];
  38306. let ObjectType = tape[ptr++];
  38307. let Identification = tape[ptr++];
  38308. let LongDescription = tape[ptr++];
  38309. let PredefinedType = tape[ptr++];
  38310. return new IfcProcedure(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, PredefinedType);
  38311. }
  38312. ToTape() {
  38313. let args = [];
  38314. args.push(this.GlobalId);
  38315. ;
  38316. args.push(this.OwnerHistory);
  38317. ;
  38318. args.push(this.Name);
  38319. ;
  38320. args.push(this.Description);
  38321. ;
  38322. args.push(this.ObjectType);
  38323. ;
  38324. args.push(this.Identification);
  38325. ;
  38326. args.push(this.LongDescription);
  38327. ;
  38328. args.push(this.PredefinedType);
  38329. ;
  38330. return args;
  38331. }
  38332. };
  38333. var IfcProcedureType = class {
  38334. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ProcessType, PredefinedType) {
  38335. this.expressID = expressID;
  38336. this.type = type;
  38337. this.GlobalId = GlobalId;
  38338. this.OwnerHistory = OwnerHistory;
  38339. this.Name = Name;
  38340. this.Description = Description;
  38341. this.ApplicableOccurrence = ApplicableOccurrence;
  38342. this.HasPropertySets = HasPropertySets;
  38343. this.Identification = Identification;
  38344. this.LongDescription = LongDescription;
  38345. this.ProcessType = ProcessType;
  38346. this.PredefinedType = PredefinedType;
  38347. }
  38348. static FromTape(expressID, type, tape) {
  38349. let ptr = 0;
  38350. let GlobalId = tape[ptr++];
  38351. let OwnerHistory = tape[ptr++];
  38352. let Name = tape[ptr++];
  38353. let Description = tape[ptr++];
  38354. let ApplicableOccurrence = tape[ptr++];
  38355. let HasPropertySets = tape[ptr++];
  38356. let Identification = tape[ptr++];
  38357. let LongDescription = tape[ptr++];
  38358. let ProcessType = tape[ptr++];
  38359. let PredefinedType = tape[ptr++];
  38360. return new IfcProcedureType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ProcessType, PredefinedType);
  38361. }
  38362. ToTape() {
  38363. let args = [];
  38364. args.push(this.GlobalId);
  38365. ;
  38366. args.push(this.OwnerHistory);
  38367. ;
  38368. args.push(this.Name);
  38369. ;
  38370. args.push(this.Description);
  38371. ;
  38372. args.push(this.ApplicableOccurrence);
  38373. ;
  38374. args.push(this.HasPropertySets);
  38375. ;
  38376. args.push(this.Identification);
  38377. ;
  38378. args.push(this.LongDescription);
  38379. ;
  38380. args.push(this.ProcessType);
  38381. ;
  38382. args.push(this.PredefinedType);
  38383. ;
  38384. return args;
  38385. }
  38386. };
  38387. var IfcProcess = class {
  38388. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription) {
  38389. this.expressID = expressID;
  38390. this.type = type;
  38391. this.GlobalId = GlobalId;
  38392. this.OwnerHistory = OwnerHistory;
  38393. this.Name = Name;
  38394. this.Description = Description;
  38395. this.ObjectType = ObjectType;
  38396. this.Identification = Identification;
  38397. this.LongDescription = LongDescription;
  38398. }
  38399. static FromTape(expressID, type, tape) {
  38400. let ptr = 0;
  38401. let GlobalId = tape[ptr++];
  38402. let OwnerHistory = tape[ptr++];
  38403. let Name = tape[ptr++];
  38404. let Description = tape[ptr++];
  38405. let ObjectType = tape[ptr++];
  38406. let Identification = tape[ptr++];
  38407. let LongDescription = tape[ptr++];
  38408. return new IfcProcess(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription);
  38409. }
  38410. ToTape() {
  38411. let args = [];
  38412. args.push(this.GlobalId);
  38413. ;
  38414. args.push(this.OwnerHistory);
  38415. ;
  38416. args.push(this.Name);
  38417. ;
  38418. args.push(this.Description);
  38419. ;
  38420. args.push(this.ObjectType);
  38421. ;
  38422. args.push(this.Identification);
  38423. ;
  38424. args.push(this.LongDescription);
  38425. ;
  38426. return args;
  38427. }
  38428. };
  38429. var IfcProduct = class {
  38430. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation) {
  38431. this.expressID = expressID;
  38432. this.type = type;
  38433. this.GlobalId = GlobalId;
  38434. this.OwnerHistory = OwnerHistory;
  38435. this.Name = Name;
  38436. this.Description = Description;
  38437. this.ObjectType = ObjectType;
  38438. this.ObjectPlacement = ObjectPlacement;
  38439. this.Representation = Representation;
  38440. }
  38441. static FromTape(expressID, type, tape) {
  38442. let ptr = 0;
  38443. let GlobalId = tape[ptr++];
  38444. let OwnerHistory = tape[ptr++];
  38445. let Name = tape[ptr++];
  38446. let Description = tape[ptr++];
  38447. let ObjectType = tape[ptr++];
  38448. let ObjectPlacement = tape[ptr++];
  38449. let Representation = tape[ptr++];
  38450. return new IfcProduct(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation);
  38451. }
  38452. ToTape() {
  38453. let args = [];
  38454. args.push(this.GlobalId);
  38455. ;
  38456. args.push(this.OwnerHistory);
  38457. ;
  38458. args.push(this.Name);
  38459. ;
  38460. args.push(this.Description);
  38461. ;
  38462. args.push(this.ObjectType);
  38463. ;
  38464. args.push(this.ObjectPlacement);
  38465. ;
  38466. args.push(this.Representation);
  38467. ;
  38468. return args;
  38469. }
  38470. };
  38471. var IfcProductDefinitionShape = class {
  38472. constructor(expressID, type, Name, Description, Representations) {
  38473. this.expressID = expressID;
  38474. this.type = type;
  38475. this.Name = Name;
  38476. this.Description = Description;
  38477. this.Representations = Representations;
  38478. }
  38479. static FromTape(expressID, type, tape) {
  38480. let ptr = 0;
  38481. let Name = tape[ptr++];
  38482. let Description = tape[ptr++];
  38483. let Representations = tape[ptr++];
  38484. return new IfcProductDefinitionShape(expressID, type, Name, Description, Representations);
  38485. }
  38486. ToTape() {
  38487. let args = [];
  38488. args.push(this.Name);
  38489. ;
  38490. args.push(this.Description);
  38491. ;
  38492. args.push(this.Representations);
  38493. ;
  38494. return args;
  38495. }
  38496. };
  38497. var IfcProductRepresentation = class {
  38498. constructor(expressID, type, Name, Description, Representations) {
  38499. this.expressID = expressID;
  38500. this.type = type;
  38501. this.Name = Name;
  38502. this.Description = Description;
  38503. this.Representations = Representations;
  38504. }
  38505. static FromTape(expressID, type, tape) {
  38506. let ptr = 0;
  38507. let Name = tape[ptr++];
  38508. let Description = tape[ptr++];
  38509. let Representations = tape[ptr++];
  38510. return new IfcProductRepresentation(expressID, type, Name, Description, Representations);
  38511. }
  38512. ToTape() {
  38513. let args = [];
  38514. args.push(this.Name);
  38515. ;
  38516. args.push(this.Description);
  38517. ;
  38518. args.push(this.Representations);
  38519. ;
  38520. return args;
  38521. }
  38522. };
  38523. var IfcProfileDef = class {
  38524. constructor(expressID, type, ProfileType, ProfileName) {
  38525. this.expressID = expressID;
  38526. this.type = type;
  38527. this.ProfileType = ProfileType;
  38528. this.ProfileName = ProfileName;
  38529. }
  38530. static FromTape(expressID, type, tape) {
  38531. let ptr = 0;
  38532. let ProfileType = tape[ptr++];
  38533. let ProfileName = tape[ptr++];
  38534. return new IfcProfileDef(expressID, type, ProfileType, ProfileName);
  38535. }
  38536. ToTape() {
  38537. let args = [];
  38538. args.push(this.ProfileType);
  38539. ;
  38540. args.push(this.ProfileName);
  38541. ;
  38542. return args;
  38543. }
  38544. };
  38545. var IfcProfileProperties = class {
  38546. constructor(expressID, type, Name, Description, Properties2, ProfileDefinition) {
  38547. this.expressID = expressID;
  38548. this.type = type;
  38549. this.Name = Name;
  38550. this.Description = Description;
  38551. this.Properties = Properties2;
  38552. this.ProfileDefinition = ProfileDefinition;
  38553. }
  38554. static FromTape(expressID, type, tape) {
  38555. let ptr = 0;
  38556. let Name = tape[ptr++];
  38557. let Description = tape[ptr++];
  38558. let Properties2 = tape[ptr++];
  38559. let ProfileDefinition = tape[ptr++];
  38560. return new IfcProfileProperties(expressID, type, Name, Description, Properties2, ProfileDefinition);
  38561. }
  38562. ToTape() {
  38563. let args = [];
  38564. args.push(this.Name);
  38565. ;
  38566. args.push(this.Description);
  38567. ;
  38568. args.push(this.Properties);
  38569. ;
  38570. args.push(this.ProfileDefinition);
  38571. ;
  38572. return args;
  38573. }
  38574. };
  38575. var IfcProject = class {
  38576. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, Phase, RepresentationContexts, UnitsInContext) {
  38577. this.expressID = expressID;
  38578. this.type = type;
  38579. this.GlobalId = GlobalId;
  38580. this.OwnerHistory = OwnerHistory;
  38581. this.Name = Name;
  38582. this.Description = Description;
  38583. this.ObjectType = ObjectType;
  38584. this.LongName = LongName;
  38585. this.Phase = Phase;
  38586. this.RepresentationContexts = RepresentationContexts;
  38587. this.UnitsInContext = UnitsInContext;
  38588. }
  38589. static FromTape(expressID, type, tape) {
  38590. let ptr = 0;
  38591. let GlobalId = tape[ptr++];
  38592. let OwnerHistory = tape[ptr++];
  38593. let Name = tape[ptr++];
  38594. let Description = tape[ptr++];
  38595. let ObjectType = tape[ptr++];
  38596. let LongName = tape[ptr++];
  38597. let Phase = tape[ptr++];
  38598. let RepresentationContexts = tape[ptr++];
  38599. let UnitsInContext = tape[ptr++];
  38600. return new IfcProject(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, Phase, RepresentationContexts, UnitsInContext);
  38601. }
  38602. ToTape() {
  38603. let args = [];
  38604. args.push(this.GlobalId);
  38605. ;
  38606. args.push(this.OwnerHistory);
  38607. ;
  38608. args.push(this.Name);
  38609. ;
  38610. args.push(this.Description);
  38611. ;
  38612. args.push(this.ObjectType);
  38613. ;
  38614. args.push(this.LongName);
  38615. ;
  38616. args.push(this.Phase);
  38617. ;
  38618. args.push(this.RepresentationContexts);
  38619. ;
  38620. args.push(this.UnitsInContext);
  38621. ;
  38622. return args;
  38623. }
  38624. };
  38625. var IfcProjectLibrary = class {
  38626. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, Phase, RepresentationContexts, UnitsInContext) {
  38627. this.expressID = expressID;
  38628. this.type = type;
  38629. this.GlobalId = GlobalId;
  38630. this.OwnerHistory = OwnerHistory;
  38631. this.Name = Name;
  38632. this.Description = Description;
  38633. this.ObjectType = ObjectType;
  38634. this.LongName = LongName;
  38635. this.Phase = Phase;
  38636. this.RepresentationContexts = RepresentationContexts;
  38637. this.UnitsInContext = UnitsInContext;
  38638. }
  38639. static FromTape(expressID, type, tape) {
  38640. let ptr = 0;
  38641. let GlobalId = tape[ptr++];
  38642. let OwnerHistory = tape[ptr++];
  38643. let Name = tape[ptr++];
  38644. let Description = tape[ptr++];
  38645. let ObjectType = tape[ptr++];
  38646. let LongName = tape[ptr++];
  38647. let Phase = tape[ptr++];
  38648. let RepresentationContexts = tape[ptr++];
  38649. let UnitsInContext = tape[ptr++];
  38650. return new IfcProjectLibrary(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName, Phase, RepresentationContexts, UnitsInContext);
  38651. }
  38652. ToTape() {
  38653. let args = [];
  38654. args.push(this.GlobalId);
  38655. ;
  38656. args.push(this.OwnerHistory);
  38657. ;
  38658. args.push(this.Name);
  38659. ;
  38660. args.push(this.Description);
  38661. ;
  38662. args.push(this.ObjectType);
  38663. ;
  38664. args.push(this.LongName);
  38665. ;
  38666. args.push(this.Phase);
  38667. ;
  38668. args.push(this.RepresentationContexts);
  38669. ;
  38670. args.push(this.UnitsInContext);
  38671. ;
  38672. return args;
  38673. }
  38674. };
  38675. var IfcProjectOrder = class {
  38676. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, Status, LongDescription) {
  38677. this.expressID = expressID;
  38678. this.type = type;
  38679. this.GlobalId = GlobalId;
  38680. this.OwnerHistory = OwnerHistory;
  38681. this.Name = Name;
  38682. this.Description = Description;
  38683. this.ObjectType = ObjectType;
  38684. this.Identification = Identification;
  38685. this.PredefinedType = PredefinedType;
  38686. this.Status = Status;
  38687. this.LongDescription = LongDescription;
  38688. }
  38689. static FromTape(expressID, type, tape) {
  38690. let ptr = 0;
  38691. let GlobalId = tape[ptr++];
  38692. let OwnerHistory = tape[ptr++];
  38693. let Name = tape[ptr++];
  38694. let Description = tape[ptr++];
  38695. let ObjectType = tape[ptr++];
  38696. let Identification = tape[ptr++];
  38697. let PredefinedType = tape[ptr++];
  38698. let Status = tape[ptr++];
  38699. let LongDescription = tape[ptr++];
  38700. return new IfcProjectOrder(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, PredefinedType, Status, LongDescription);
  38701. }
  38702. ToTape() {
  38703. let args = [];
  38704. args.push(this.GlobalId);
  38705. ;
  38706. args.push(this.OwnerHistory);
  38707. ;
  38708. args.push(this.Name);
  38709. ;
  38710. args.push(this.Description);
  38711. ;
  38712. args.push(this.ObjectType);
  38713. ;
  38714. args.push(this.Identification);
  38715. ;
  38716. args.push(this.PredefinedType);
  38717. ;
  38718. args.push(this.Status);
  38719. ;
  38720. args.push(this.LongDescription);
  38721. ;
  38722. return args;
  38723. }
  38724. };
  38725. var IfcProjectedCRS = class {
  38726. constructor(expressID, type, Name, Description, GeodeticDatum, VerticalDatum, MapProjection, MapZone, MapUnit) {
  38727. this.expressID = expressID;
  38728. this.type = type;
  38729. this.Name = Name;
  38730. this.Description = Description;
  38731. this.GeodeticDatum = GeodeticDatum;
  38732. this.VerticalDatum = VerticalDatum;
  38733. this.MapProjection = MapProjection;
  38734. this.MapZone = MapZone;
  38735. this.MapUnit = MapUnit;
  38736. }
  38737. static FromTape(expressID, type, tape) {
  38738. let ptr = 0;
  38739. let Name = tape[ptr++];
  38740. let Description = tape[ptr++];
  38741. let GeodeticDatum = tape[ptr++];
  38742. let VerticalDatum = tape[ptr++];
  38743. let MapProjection = tape[ptr++];
  38744. let MapZone = tape[ptr++];
  38745. let MapUnit = tape[ptr++];
  38746. return new IfcProjectedCRS(expressID, type, Name, Description, GeodeticDatum, VerticalDatum, MapProjection, MapZone, MapUnit);
  38747. }
  38748. ToTape() {
  38749. let args = [];
  38750. args.push(this.Name);
  38751. ;
  38752. args.push(this.Description);
  38753. ;
  38754. args.push(this.GeodeticDatum);
  38755. ;
  38756. args.push(this.VerticalDatum);
  38757. ;
  38758. args.push(this.MapProjection);
  38759. ;
  38760. args.push(this.MapZone);
  38761. ;
  38762. args.push(this.MapUnit);
  38763. ;
  38764. return args;
  38765. }
  38766. };
  38767. var IfcProjectionElement = class {
  38768. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  38769. this.expressID = expressID;
  38770. this.type = type;
  38771. this.GlobalId = GlobalId;
  38772. this.OwnerHistory = OwnerHistory;
  38773. this.Name = Name;
  38774. this.Description = Description;
  38775. this.ObjectType = ObjectType;
  38776. this.ObjectPlacement = ObjectPlacement;
  38777. this.Representation = Representation;
  38778. this.Tag = Tag;
  38779. this.PredefinedType = PredefinedType;
  38780. }
  38781. static FromTape(expressID, type, tape) {
  38782. let ptr = 0;
  38783. let GlobalId = tape[ptr++];
  38784. let OwnerHistory = tape[ptr++];
  38785. let Name = tape[ptr++];
  38786. let Description = tape[ptr++];
  38787. let ObjectType = tape[ptr++];
  38788. let ObjectPlacement = tape[ptr++];
  38789. let Representation = tape[ptr++];
  38790. let Tag = tape[ptr++];
  38791. let PredefinedType = tape[ptr++];
  38792. return new IfcProjectionElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  38793. }
  38794. ToTape() {
  38795. let args = [];
  38796. args.push(this.GlobalId);
  38797. ;
  38798. args.push(this.OwnerHistory);
  38799. ;
  38800. args.push(this.Name);
  38801. ;
  38802. args.push(this.Description);
  38803. ;
  38804. args.push(this.ObjectType);
  38805. ;
  38806. args.push(this.ObjectPlacement);
  38807. ;
  38808. args.push(this.Representation);
  38809. ;
  38810. args.push(this.Tag);
  38811. ;
  38812. args.push(this.PredefinedType);
  38813. ;
  38814. return args;
  38815. }
  38816. };
  38817. var IfcProperty = class {
  38818. constructor(expressID, type, Name, Description) {
  38819. this.expressID = expressID;
  38820. this.type = type;
  38821. this.Name = Name;
  38822. this.Description = Description;
  38823. }
  38824. static FromTape(expressID, type, tape) {
  38825. let ptr = 0;
  38826. let Name = tape[ptr++];
  38827. let Description = tape[ptr++];
  38828. return new IfcProperty(expressID, type, Name, Description);
  38829. }
  38830. ToTape() {
  38831. let args = [];
  38832. args.push(this.Name);
  38833. ;
  38834. args.push(this.Description);
  38835. ;
  38836. return args;
  38837. }
  38838. };
  38839. var IfcPropertyAbstraction = class {
  38840. constructor(expressID, type) {
  38841. this.expressID = expressID;
  38842. this.type = type;
  38843. }
  38844. static FromTape(expressID, type, tape) {
  38845. let ptr = 0;
  38846. return new IfcPropertyAbstraction(expressID, type);
  38847. }
  38848. ToTape() {
  38849. let args = [];
  38850. return args;
  38851. }
  38852. };
  38853. var IfcPropertyBoundedValue = class {
  38854. constructor(expressID, type, Name, Description, UpperBoundValue, LowerBoundValue, Unit, SetPointValue) {
  38855. this.expressID = expressID;
  38856. this.type = type;
  38857. this.Name = Name;
  38858. this.Description = Description;
  38859. this.UpperBoundValue = UpperBoundValue;
  38860. this.LowerBoundValue = LowerBoundValue;
  38861. this.Unit = Unit;
  38862. this.SetPointValue = SetPointValue;
  38863. }
  38864. static FromTape(expressID, type, tape) {
  38865. let ptr = 0;
  38866. let Name = tape[ptr++];
  38867. let Description = tape[ptr++];
  38868. let UpperBoundValue = tape[ptr++];
  38869. let LowerBoundValue = tape[ptr++];
  38870. let Unit = tape[ptr++];
  38871. let SetPointValue = tape[ptr++];
  38872. return new IfcPropertyBoundedValue(expressID, type, Name, Description, UpperBoundValue, LowerBoundValue, Unit, SetPointValue);
  38873. }
  38874. ToTape() {
  38875. let args = [];
  38876. args.push(this.Name);
  38877. ;
  38878. args.push(this.Description);
  38879. ;
  38880. args.push(this.UpperBoundValue);
  38881. ;
  38882. args.push(this.LowerBoundValue);
  38883. ;
  38884. args.push(this.Unit);
  38885. ;
  38886. args.push(this.SetPointValue);
  38887. ;
  38888. return args;
  38889. }
  38890. };
  38891. var IfcPropertyDefinition = class {
  38892. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  38893. this.expressID = expressID;
  38894. this.type = type;
  38895. this.GlobalId = GlobalId;
  38896. this.OwnerHistory = OwnerHistory;
  38897. this.Name = Name;
  38898. this.Description = Description;
  38899. }
  38900. static FromTape(expressID, type, tape) {
  38901. let ptr = 0;
  38902. let GlobalId = tape[ptr++];
  38903. let OwnerHistory = tape[ptr++];
  38904. let Name = tape[ptr++];
  38905. let Description = tape[ptr++];
  38906. return new IfcPropertyDefinition(expressID, type, GlobalId, OwnerHistory, Name, Description);
  38907. }
  38908. ToTape() {
  38909. let args = [];
  38910. args.push(this.GlobalId);
  38911. ;
  38912. args.push(this.OwnerHistory);
  38913. ;
  38914. args.push(this.Name);
  38915. ;
  38916. args.push(this.Description);
  38917. ;
  38918. return args;
  38919. }
  38920. };
  38921. var IfcPropertyDependencyRelationship = class {
  38922. constructor(expressID, type, Name, Description, DependingProperty, DependantProperty, Expression) {
  38923. this.expressID = expressID;
  38924. this.type = type;
  38925. this.Name = Name;
  38926. this.Description = Description;
  38927. this.DependingProperty = DependingProperty;
  38928. this.DependantProperty = DependantProperty;
  38929. this.Expression = Expression;
  38930. }
  38931. static FromTape(expressID, type, tape) {
  38932. let ptr = 0;
  38933. let Name = tape[ptr++];
  38934. let Description = tape[ptr++];
  38935. let DependingProperty = tape[ptr++];
  38936. let DependantProperty = tape[ptr++];
  38937. let Expression = tape[ptr++];
  38938. return new IfcPropertyDependencyRelationship(expressID, type, Name, Description, DependingProperty, DependantProperty, Expression);
  38939. }
  38940. ToTape() {
  38941. let args = [];
  38942. args.push(this.Name);
  38943. ;
  38944. args.push(this.Description);
  38945. ;
  38946. args.push(this.DependingProperty);
  38947. ;
  38948. args.push(this.DependantProperty);
  38949. ;
  38950. args.push(this.Expression);
  38951. ;
  38952. return args;
  38953. }
  38954. };
  38955. var IfcPropertyEnumeratedValue = class {
  38956. constructor(expressID, type, Name, Description, EnumerationValues, EnumerationReference) {
  38957. this.expressID = expressID;
  38958. this.type = type;
  38959. this.Name = Name;
  38960. this.Description = Description;
  38961. this.EnumerationValues = EnumerationValues;
  38962. this.EnumerationReference = EnumerationReference;
  38963. }
  38964. static FromTape(expressID, type, tape) {
  38965. let ptr = 0;
  38966. let Name = tape[ptr++];
  38967. let Description = tape[ptr++];
  38968. let EnumerationValues = tape[ptr++];
  38969. let EnumerationReference = tape[ptr++];
  38970. return new IfcPropertyEnumeratedValue(expressID, type, Name, Description, EnumerationValues, EnumerationReference);
  38971. }
  38972. ToTape() {
  38973. let args = [];
  38974. args.push(this.Name);
  38975. ;
  38976. args.push(this.Description);
  38977. ;
  38978. args.push(this.EnumerationValues);
  38979. ;
  38980. args.push(this.EnumerationReference);
  38981. ;
  38982. return args;
  38983. }
  38984. };
  38985. var IfcPropertyEnumeration = class {
  38986. constructor(expressID, type, Name, EnumerationValues, Unit) {
  38987. this.expressID = expressID;
  38988. this.type = type;
  38989. this.Name = Name;
  38990. this.EnumerationValues = EnumerationValues;
  38991. this.Unit = Unit;
  38992. }
  38993. static FromTape(expressID, type, tape) {
  38994. let ptr = 0;
  38995. let Name = tape[ptr++];
  38996. let EnumerationValues = tape[ptr++];
  38997. let Unit = tape[ptr++];
  38998. return new IfcPropertyEnumeration(expressID, type, Name, EnumerationValues, Unit);
  38999. }
  39000. ToTape() {
  39001. let args = [];
  39002. args.push(this.Name);
  39003. ;
  39004. args.push(this.EnumerationValues);
  39005. ;
  39006. args.push(this.Unit);
  39007. ;
  39008. return args;
  39009. }
  39010. };
  39011. var IfcPropertyListValue = class {
  39012. constructor(expressID, type, Name, Description, ListValues, Unit) {
  39013. this.expressID = expressID;
  39014. this.type = type;
  39015. this.Name = Name;
  39016. this.Description = Description;
  39017. this.ListValues = ListValues;
  39018. this.Unit = Unit;
  39019. }
  39020. static FromTape(expressID, type, tape) {
  39021. let ptr = 0;
  39022. let Name = tape[ptr++];
  39023. let Description = tape[ptr++];
  39024. let ListValues = tape[ptr++];
  39025. let Unit = tape[ptr++];
  39026. return new IfcPropertyListValue(expressID, type, Name, Description, ListValues, Unit);
  39027. }
  39028. ToTape() {
  39029. let args = [];
  39030. args.push(this.Name);
  39031. ;
  39032. args.push(this.Description);
  39033. ;
  39034. args.push(this.ListValues);
  39035. ;
  39036. args.push(this.Unit);
  39037. ;
  39038. return args;
  39039. }
  39040. };
  39041. var IfcPropertyReferenceValue = class {
  39042. constructor(expressID, type, Name, Description, UsageName, PropertyReference) {
  39043. this.expressID = expressID;
  39044. this.type = type;
  39045. this.Name = Name;
  39046. this.Description = Description;
  39047. this.UsageName = UsageName;
  39048. this.PropertyReference = PropertyReference;
  39049. }
  39050. static FromTape(expressID, type, tape) {
  39051. let ptr = 0;
  39052. let Name = tape[ptr++];
  39053. let Description = tape[ptr++];
  39054. let UsageName = tape[ptr++];
  39055. let PropertyReference = tape[ptr++];
  39056. return new IfcPropertyReferenceValue(expressID, type, Name, Description, UsageName, PropertyReference);
  39057. }
  39058. ToTape() {
  39059. let args = [];
  39060. args.push(this.Name);
  39061. ;
  39062. args.push(this.Description);
  39063. ;
  39064. args.push(this.UsageName);
  39065. ;
  39066. args.push(this.PropertyReference);
  39067. ;
  39068. return args;
  39069. }
  39070. };
  39071. var IfcPropertySet = class {
  39072. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, HasProperties) {
  39073. this.expressID = expressID;
  39074. this.type = type;
  39075. this.GlobalId = GlobalId;
  39076. this.OwnerHistory = OwnerHistory;
  39077. this.Name = Name;
  39078. this.Description = Description;
  39079. this.HasProperties = HasProperties;
  39080. }
  39081. static FromTape(expressID, type, tape) {
  39082. let ptr = 0;
  39083. let GlobalId = tape[ptr++];
  39084. let OwnerHistory = tape[ptr++];
  39085. let Name = tape[ptr++];
  39086. let Description = tape[ptr++];
  39087. let HasProperties = tape[ptr++];
  39088. return new IfcPropertySet(expressID, type, GlobalId, OwnerHistory, Name, Description, HasProperties);
  39089. }
  39090. ToTape() {
  39091. let args = [];
  39092. args.push(this.GlobalId);
  39093. ;
  39094. args.push(this.OwnerHistory);
  39095. ;
  39096. args.push(this.Name);
  39097. ;
  39098. args.push(this.Description);
  39099. ;
  39100. args.push(this.HasProperties);
  39101. ;
  39102. return args;
  39103. }
  39104. };
  39105. var IfcPropertySetDefinition = class {
  39106. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  39107. this.expressID = expressID;
  39108. this.type = type;
  39109. this.GlobalId = GlobalId;
  39110. this.OwnerHistory = OwnerHistory;
  39111. this.Name = Name;
  39112. this.Description = Description;
  39113. }
  39114. static FromTape(expressID, type, tape) {
  39115. let ptr = 0;
  39116. let GlobalId = tape[ptr++];
  39117. let OwnerHistory = tape[ptr++];
  39118. let Name = tape[ptr++];
  39119. let Description = tape[ptr++];
  39120. return new IfcPropertySetDefinition(expressID, type, GlobalId, OwnerHistory, Name, Description);
  39121. }
  39122. ToTape() {
  39123. let args = [];
  39124. args.push(this.GlobalId);
  39125. ;
  39126. args.push(this.OwnerHistory);
  39127. ;
  39128. args.push(this.Name);
  39129. ;
  39130. args.push(this.Description);
  39131. ;
  39132. return args;
  39133. }
  39134. };
  39135. var IfcPropertySetTemplate = class {
  39136. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, TemplateType, ApplicableEntity, HasPropertyTemplates) {
  39137. this.expressID = expressID;
  39138. this.type = type;
  39139. this.GlobalId = GlobalId;
  39140. this.OwnerHistory = OwnerHistory;
  39141. this.Name = Name;
  39142. this.Description = Description;
  39143. this.TemplateType = TemplateType;
  39144. this.ApplicableEntity = ApplicableEntity;
  39145. this.HasPropertyTemplates = HasPropertyTemplates;
  39146. }
  39147. static FromTape(expressID, type, tape) {
  39148. let ptr = 0;
  39149. let GlobalId = tape[ptr++];
  39150. let OwnerHistory = tape[ptr++];
  39151. let Name = tape[ptr++];
  39152. let Description = tape[ptr++];
  39153. let TemplateType = tape[ptr++];
  39154. let ApplicableEntity = tape[ptr++];
  39155. let HasPropertyTemplates = tape[ptr++];
  39156. return new IfcPropertySetTemplate(expressID, type, GlobalId, OwnerHistory, Name, Description, TemplateType, ApplicableEntity, HasPropertyTemplates);
  39157. }
  39158. ToTape() {
  39159. let args = [];
  39160. args.push(this.GlobalId);
  39161. ;
  39162. args.push(this.OwnerHistory);
  39163. ;
  39164. args.push(this.Name);
  39165. ;
  39166. args.push(this.Description);
  39167. ;
  39168. args.push(this.TemplateType);
  39169. ;
  39170. args.push(this.ApplicableEntity);
  39171. ;
  39172. args.push(this.HasPropertyTemplates);
  39173. ;
  39174. return args;
  39175. }
  39176. };
  39177. var IfcPropertySingleValue = class {
  39178. constructor(expressID, type, Name, Description, NominalValue, Unit) {
  39179. this.expressID = expressID;
  39180. this.type = type;
  39181. this.Name = Name;
  39182. this.Description = Description;
  39183. this.NominalValue = NominalValue;
  39184. this.Unit = Unit;
  39185. }
  39186. static FromTape(expressID, type, tape) {
  39187. let ptr = 0;
  39188. let Name = tape[ptr++];
  39189. let Description = tape[ptr++];
  39190. let NominalValue = tape[ptr++];
  39191. let Unit = tape[ptr++];
  39192. return new IfcPropertySingleValue(expressID, type, Name, Description, NominalValue, Unit);
  39193. }
  39194. ToTape() {
  39195. let args = [];
  39196. args.push(this.Name);
  39197. ;
  39198. args.push(this.Description);
  39199. ;
  39200. args.push(this.NominalValue);
  39201. ;
  39202. args.push(this.Unit);
  39203. ;
  39204. return args;
  39205. }
  39206. };
  39207. var IfcPropertyTableValue = class {
  39208. constructor(expressID, type, Name, Description, DefiningValues, DefinedValues, Expression, DefiningUnit, DefinedUnit, CurveInterpolation) {
  39209. this.expressID = expressID;
  39210. this.type = type;
  39211. this.Name = Name;
  39212. this.Description = Description;
  39213. this.DefiningValues = DefiningValues;
  39214. this.DefinedValues = DefinedValues;
  39215. this.Expression = Expression;
  39216. this.DefiningUnit = DefiningUnit;
  39217. this.DefinedUnit = DefinedUnit;
  39218. this.CurveInterpolation = CurveInterpolation;
  39219. }
  39220. static FromTape(expressID, type, tape) {
  39221. let ptr = 0;
  39222. let Name = tape[ptr++];
  39223. let Description = tape[ptr++];
  39224. let DefiningValues = tape[ptr++];
  39225. let DefinedValues = tape[ptr++];
  39226. let Expression = tape[ptr++];
  39227. let DefiningUnit = tape[ptr++];
  39228. let DefinedUnit = tape[ptr++];
  39229. let CurveInterpolation = tape[ptr++];
  39230. return new IfcPropertyTableValue(expressID, type, Name, Description, DefiningValues, DefinedValues, Expression, DefiningUnit, DefinedUnit, CurveInterpolation);
  39231. }
  39232. ToTape() {
  39233. let args = [];
  39234. args.push(this.Name);
  39235. ;
  39236. args.push(this.Description);
  39237. ;
  39238. args.push(this.DefiningValues);
  39239. ;
  39240. args.push(this.DefinedValues);
  39241. ;
  39242. args.push(this.Expression);
  39243. ;
  39244. args.push(this.DefiningUnit);
  39245. ;
  39246. args.push(this.DefinedUnit);
  39247. ;
  39248. args.push(this.CurveInterpolation);
  39249. ;
  39250. return args;
  39251. }
  39252. };
  39253. var IfcPropertyTemplate = class {
  39254. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  39255. this.expressID = expressID;
  39256. this.type = type;
  39257. this.GlobalId = GlobalId;
  39258. this.OwnerHistory = OwnerHistory;
  39259. this.Name = Name;
  39260. this.Description = Description;
  39261. }
  39262. static FromTape(expressID, type, tape) {
  39263. let ptr = 0;
  39264. let GlobalId = tape[ptr++];
  39265. let OwnerHistory = tape[ptr++];
  39266. let Name = tape[ptr++];
  39267. let Description = tape[ptr++];
  39268. return new IfcPropertyTemplate(expressID, type, GlobalId, OwnerHistory, Name, Description);
  39269. }
  39270. ToTape() {
  39271. let args = [];
  39272. args.push(this.GlobalId);
  39273. ;
  39274. args.push(this.OwnerHistory);
  39275. ;
  39276. args.push(this.Name);
  39277. ;
  39278. args.push(this.Description);
  39279. ;
  39280. return args;
  39281. }
  39282. };
  39283. var IfcPropertyTemplateDefinition = class {
  39284. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  39285. this.expressID = expressID;
  39286. this.type = type;
  39287. this.GlobalId = GlobalId;
  39288. this.OwnerHistory = OwnerHistory;
  39289. this.Name = Name;
  39290. this.Description = Description;
  39291. }
  39292. static FromTape(expressID, type, tape) {
  39293. let ptr = 0;
  39294. let GlobalId = tape[ptr++];
  39295. let OwnerHistory = tape[ptr++];
  39296. let Name = tape[ptr++];
  39297. let Description = tape[ptr++];
  39298. return new IfcPropertyTemplateDefinition(expressID, type, GlobalId, OwnerHistory, Name, Description);
  39299. }
  39300. ToTape() {
  39301. let args = [];
  39302. args.push(this.GlobalId);
  39303. ;
  39304. args.push(this.OwnerHistory);
  39305. ;
  39306. args.push(this.Name);
  39307. ;
  39308. args.push(this.Description);
  39309. ;
  39310. return args;
  39311. }
  39312. };
  39313. var IfcProtectiveDevice = class {
  39314. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  39315. this.expressID = expressID;
  39316. this.type = type;
  39317. this.GlobalId = GlobalId;
  39318. this.OwnerHistory = OwnerHistory;
  39319. this.Name = Name;
  39320. this.Description = Description;
  39321. this.ObjectType = ObjectType;
  39322. this.ObjectPlacement = ObjectPlacement;
  39323. this.Representation = Representation;
  39324. this.Tag = Tag;
  39325. this.PredefinedType = PredefinedType;
  39326. }
  39327. static FromTape(expressID, type, tape) {
  39328. let ptr = 0;
  39329. let GlobalId = tape[ptr++];
  39330. let OwnerHistory = tape[ptr++];
  39331. let Name = tape[ptr++];
  39332. let Description = tape[ptr++];
  39333. let ObjectType = tape[ptr++];
  39334. let ObjectPlacement = tape[ptr++];
  39335. let Representation = tape[ptr++];
  39336. let Tag = tape[ptr++];
  39337. let PredefinedType = tape[ptr++];
  39338. return new IfcProtectiveDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  39339. }
  39340. ToTape() {
  39341. let args = [];
  39342. args.push(this.GlobalId);
  39343. ;
  39344. args.push(this.OwnerHistory);
  39345. ;
  39346. args.push(this.Name);
  39347. ;
  39348. args.push(this.Description);
  39349. ;
  39350. args.push(this.ObjectType);
  39351. ;
  39352. args.push(this.ObjectPlacement);
  39353. ;
  39354. args.push(this.Representation);
  39355. ;
  39356. args.push(this.Tag);
  39357. ;
  39358. args.push(this.PredefinedType);
  39359. ;
  39360. return args;
  39361. }
  39362. };
  39363. var IfcProtectiveDeviceTrippingUnit = class {
  39364. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  39365. this.expressID = expressID;
  39366. this.type = type;
  39367. this.GlobalId = GlobalId;
  39368. this.OwnerHistory = OwnerHistory;
  39369. this.Name = Name;
  39370. this.Description = Description;
  39371. this.ObjectType = ObjectType;
  39372. this.ObjectPlacement = ObjectPlacement;
  39373. this.Representation = Representation;
  39374. this.Tag = Tag;
  39375. this.PredefinedType = PredefinedType;
  39376. }
  39377. static FromTape(expressID, type, tape) {
  39378. let ptr = 0;
  39379. let GlobalId = tape[ptr++];
  39380. let OwnerHistory = tape[ptr++];
  39381. let Name = tape[ptr++];
  39382. let Description = tape[ptr++];
  39383. let ObjectType = tape[ptr++];
  39384. let ObjectPlacement = tape[ptr++];
  39385. let Representation = tape[ptr++];
  39386. let Tag = tape[ptr++];
  39387. let PredefinedType = tape[ptr++];
  39388. return new IfcProtectiveDeviceTrippingUnit(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  39389. }
  39390. ToTape() {
  39391. let args = [];
  39392. args.push(this.GlobalId);
  39393. ;
  39394. args.push(this.OwnerHistory);
  39395. ;
  39396. args.push(this.Name);
  39397. ;
  39398. args.push(this.Description);
  39399. ;
  39400. args.push(this.ObjectType);
  39401. ;
  39402. args.push(this.ObjectPlacement);
  39403. ;
  39404. args.push(this.Representation);
  39405. ;
  39406. args.push(this.Tag);
  39407. ;
  39408. args.push(this.PredefinedType);
  39409. ;
  39410. return args;
  39411. }
  39412. };
  39413. var IfcProtectiveDeviceTrippingUnitType = class {
  39414. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  39415. this.expressID = expressID;
  39416. this.type = type;
  39417. this.GlobalId = GlobalId;
  39418. this.OwnerHistory = OwnerHistory;
  39419. this.Name = Name;
  39420. this.Description = Description;
  39421. this.ApplicableOccurrence = ApplicableOccurrence;
  39422. this.HasPropertySets = HasPropertySets;
  39423. this.RepresentationMaps = RepresentationMaps;
  39424. this.Tag = Tag;
  39425. this.ElementType = ElementType;
  39426. this.PredefinedType = PredefinedType;
  39427. }
  39428. static FromTape(expressID, type, tape) {
  39429. let ptr = 0;
  39430. let GlobalId = tape[ptr++];
  39431. let OwnerHistory = tape[ptr++];
  39432. let Name = tape[ptr++];
  39433. let Description = tape[ptr++];
  39434. let ApplicableOccurrence = tape[ptr++];
  39435. let HasPropertySets = tape[ptr++];
  39436. let RepresentationMaps = tape[ptr++];
  39437. let Tag = tape[ptr++];
  39438. let ElementType = tape[ptr++];
  39439. let PredefinedType = tape[ptr++];
  39440. return new IfcProtectiveDeviceTrippingUnitType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  39441. }
  39442. ToTape() {
  39443. let args = [];
  39444. args.push(this.GlobalId);
  39445. ;
  39446. args.push(this.OwnerHistory);
  39447. ;
  39448. args.push(this.Name);
  39449. ;
  39450. args.push(this.Description);
  39451. ;
  39452. args.push(this.ApplicableOccurrence);
  39453. ;
  39454. args.push(this.HasPropertySets);
  39455. ;
  39456. args.push(this.RepresentationMaps);
  39457. ;
  39458. args.push(this.Tag);
  39459. ;
  39460. args.push(this.ElementType);
  39461. ;
  39462. args.push(this.PredefinedType);
  39463. ;
  39464. return args;
  39465. }
  39466. };
  39467. var IfcProtectiveDeviceType = class {
  39468. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  39469. this.expressID = expressID;
  39470. this.type = type;
  39471. this.GlobalId = GlobalId;
  39472. this.OwnerHistory = OwnerHistory;
  39473. this.Name = Name;
  39474. this.Description = Description;
  39475. this.ApplicableOccurrence = ApplicableOccurrence;
  39476. this.HasPropertySets = HasPropertySets;
  39477. this.RepresentationMaps = RepresentationMaps;
  39478. this.Tag = Tag;
  39479. this.ElementType = ElementType;
  39480. this.PredefinedType = PredefinedType;
  39481. }
  39482. static FromTape(expressID, type, tape) {
  39483. let ptr = 0;
  39484. let GlobalId = tape[ptr++];
  39485. let OwnerHistory = tape[ptr++];
  39486. let Name = tape[ptr++];
  39487. let Description = tape[ptr++];
  39488. let ApplicableOccurrence = tape[ptr++];
  39489. let HasPropertySets = tape[ptr++];
  39490. let RepresentationMaps = tape[ptr++];
  39491. let Tag = tape[ptr++];
  39492. let ElementType = tape[ptr++];
  39493. let PredefinedType = tape[ptr++];
  39494. return new IfcProtectiveDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  39495. }
  39496. ToTape() {
  39497. let args = [];
  39498. args.push(this.GlobalId);
  39499. ;
  39500. args.push(this.OwnerHistory);
  39501. ;
  39502. args.push(this.Name);
  39503. ;
  39504. args.push(this.Description);
  39505. ;
  39506. args.push(this.ApplicableOccurrence);
  39507. ;
  39508. args.push(this.HasPropertySets);
  39509. ;
  39510. args.push(this.RepresentationMaps);
  39511. ;
  39512. args.push(this.Tag);
  39513. ;
  39514. args.push(this.ElementType);
  39515. ;
  39516. args.push(this.PredefinedType);
  39517. ;
  39518. return args;
  39519. }
  39520. };
  39521. var IfcProxy = class {
  39522. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, ProxyType, Tag) {
  39523. this.expressID = expressID;
  39524. this.type = type;
  39525. this.GlobalId = GlobalId;
  39526. this.OwnerHistory = OwnerHistory;
  39527. this.Name = Name;
  39528. this.Description = Description;
  39529. this.ObjectType = ObjectType;
  39530. this.ObjectPlacement = ObjectPlacement;
  39531. this.Representation = Representation;
  39532. this.ProxyType = ProxyType;
  39533. this.Tag = Tag;
  39534. }
  39535. static FromTape(expressID, type, tape) {
  39536. let ptr = 0;
  39537. let GlobalId = tape[ptr++];
  39538. let OwnerHistory = tape[ptr++];
  39539. let Name = tape[ptr++];
  39540. let Description = tape[ptr++];
  39541. let ObjectType = tape[ptr++];
  39542. let ObjectPlacement = tape[ptr++];
  39543. let Representation = tape[ptr++];
  39544. let ProxyType = tape[ptr++];
  39545. let Tag = tape[ptr++];
  39546. return new IfcProxy(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, ProxyType, Tag);
  39547. }
  39548. ToTape() {
  39549. let args = [];
  39550. args.push(this.GlobalId);
  39551. ;
  39552. args.push(this.OwnerHistory);
  39553. ;
  39554. args.push(this.Name);
  39555. ;
  39556. args.push(this.Description);
  39557. ;
  39558. args.push(this.ObjectType);
  39559. ;
  39560. args.push(this.ObjectPlacement);
  39561. ;
  39562. args.push(this.Representation);
  39563. ;
  39564. args.push(this.ProxyType);
  39565. ;
  39566. args.push(this.Tag);
  39567. ;
  39568. return args;
  39569. }
  39570. };
  39571. var IfcPump = class {
  39572. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  39573. this.expressID = expressID;
  39574. this.type = type;
  39575. this.GlobalId = GlobalId;
  39576. this.OwnerHistory = OwnerHistory;
  39577. this.Name = Name;
  39578. this.Description = Description;
  39579. this.ObjectType = ObjectType;
  39580. this.ObjectPlacement = ObjectPlacement;
  39581. this.Representation = Representation;
  39582. this.Tag = Tag;
  39583. this.PredefinedType = PredefinedType;
  39584. }
  39585. static FromTape(expressID, type, tape) {
  39586. let ptr = 0;
  39587. let GlobalId = tape[ptr++];
  39588. let OwnerHistory = tape[ptr++];
  39589. let Name = tape[ptr++];
  39590. let Description = tape[ptr++];
  39591. let ObjectType = tape[ptr++];
  39592. let ObjectPlacement = tape[ptr++];
  39593. let Representation = tape[ptr++];
  39594. let Tag = tape[ptr++];
  39595. let PredefinedType = tape[ptr++];
  39596. return new IfcPump(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  39597. }
  39598. ToTape() {
  39599. let args = [];
  39600. args.push(this.GlobalId);
  39601. ;
  39602. args.push(this.OwnerHistory);
  39603. ;
  39604. args.push(this.Name);
  39605. ;
  39606. args.push(this.Description);
  39607. ;
  39608. args.push(this.ObjectType);
  39609. ;
  39610. args.push(this.ObjectPlacement);
  39611. ;
  39612. args.push(this.Representation);
  39613. ;
  39614. args.push(this.Tag);
  39615. ;
  39616. args.push(this.PredefinedType);
  39617. ;
  39618. return args;
  39619. }
  39620. };
  39621. var IfcPumpType = class {
  39622. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  39623. this.expressID = expressID;
  39624. this.type = type;
  39625. this.GlobalId = GlobalId;
  39626. this.OwnerHistory = OwnerHistory;
  39627. this.Name = Name;
  39628. this.Description = Description;
  39629. this.ApplicableOccurrence = ApplicableOccurrence;
  39630. this.HasPropertySets = HasPropertySets;
  39631. this.RepresentationMaps = RepresentationMaps;
  39632. this.Tag = Tag;
  39633. this.ElementType = ElementType;
  39634. this.PredefinedType = PredefinedType;
  39635. }
  39636. static FromTape(expressID, type, tape) {
  39637. let ptr = 0;
  39638. let GlobalId = tape[ptr++];
  39639. let OwnerHistory = tape[ptr++];
  39640. let Name = tape[ptr++];
  39641. let Description = tape[ptr++];
  39642. let ApplicableOccurrence = tape[ptr++];
  39643. let HasPropertySets = tape[ptr++];
  39644. let RepresentationMaps = tape[ptr++];
  39645. let Tag = tape[ptr++];
  39646. let ElementType = tape[ptr++];
  39647. let PredefinedType = tape[ptr++];
  39648. return new IfcPumpType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  39649. }
  39650. ToTape() {
  39651. let args = [];
  39652. args.push(this.GlobalId);
  39653. ;
  39654. args.push(this.OwnerHistory);
  39655. ;
  39656. args.push(this.Name);
  39657. ;
  39658. args.push(this.Description);
  39659. ;
  39660. args.push(this.ApplicableOccurrence);
  39661. ;
  39662. args.push(this.HasPropertySets);
  39663. ;
  39664. args.push(this.RepresentationMaps);
  39665. ;
  39666. args.push(this.Tag);
  39667. ;
  39668. args.push(this.ElementType);
  39669. ;
  39670. args.push(this.PredefinedType);
  39671. ;
  39672. return args;
  39673. }
  39674. };
  39675. var IfcQuantityArea = class {
  39676. constructor(expressID, type, Name, Description, Unit, AreaValue, Formula) {
  39677. this.expressID = expressID;
  39678. this.type = type;
  39679. this.Name = Name;
  39680. this.Description = Description;
  39681. this.Unit = Unit;
  39682. this.AreaValue = AreaValue;
  39683. this.Formula = Formula;
  39684. }
  39685. static FromTape(expressID, type, tape) {
  39686. let ptr = 0;
  39687. let Name = tape[ptr++];
  39688. let Description = tape[ptr++];
  39689. let Unit = tape[ptr++];
  39690. let AreaValue = tape[ptr++];
  39691. let Formula = tape[ptr++];
  39692. return new IfcQuantityArea(expressID, type, Name, Description, Unit, AreaValue, Formula);
  39693. }
  39694. ToTape() {
  39695. let args = [];
  39696. args.push(this.Name);
  39697. ;
  39698. args.push(this.Description);
  39699. ;
  39700. args.push(this.Unit);
  39701. ;
  39702. args.push(this.AreaValue);
  39703. ;
  39704. args.push(this.Formula);
  39705. ;
  39706. return args;
  39707. }
  39708. };
  39709. var IfcQuantityCount = class {
  39710. constructor(expressID, type, Name, Description, Unit, CountValue, Formula) {
  39711. this.expressID = expressID;
  39712. this.type = type;
  39713. this.Name = Name;
  39714. this.Description = Description;
  39715. this.Unit = Unit;
  39716. this.CountValue = CountValue;
  39717. this.Formula = Formula;
  39718. }
  39719. static FromTape(expressID, type, tape) {
  39720. let ptr = 0;
  39721. let Name = tape[ptr++];
  39722. let Description = tape[ptr++];
  39723. let Unit = tape[ptr++];
  39724. let CountValue = tape[ptr++];
  39725. let Formula = tape[ptr++];
  39726. return new IfcQuantityCount(expressID, type, Name, Description, Unit, CountValue, Formula);
  39727. }
  39728. ToTape() {
  39729. let args = [];
  39730. args.push(this.Name);
  39731. ;
  39732. args.push(this.Description);
  39733. ;
  39734. args.push(this.Unit);
  39735. ;
  39736. args.push(this.CountValue);
  39737. ;
  39738. args.push(this.Formula);
  39739. ;
  39740. return args;
  39741. }
  39742. };
  39743. var IfcQuantityLength = class {
  39744. constructor(expressID, type, Name, Description, Unit, LengthValue, Formula) {
  39745. this.expressID = expressID;
  39746. this.type = type;
  39747. this.Name = Name;
  39748. this.Description = Description;
  39749. this.Unit = Unit;
  39750. this.LengthValue = LengthValue;
  39751. this.Formula = Formula;
  39752. }
  39753. static FromTape(expressID, type, tape) {
  39754. let ptr = 0;
  39755. let Name = tape[ptr++];
  39756. let Description = tape[ptr++];
  39757. let Unit = tape[ptr++];
  39758. let LengthValue = tape[ptr++];
  39759. let Formula = tape[ptr++];
  39760. return new IfcQuantityLength(expressID, type, Name, Description, Unit, LengthValue, Formula);
  39761. }
  39762. ToTape() {
  39763. let args = [];
  39764. args.push(this.Name);
  39765. ;
  39766. args.push(this.Description);
  39767. ;
  39768. args.push(this.Unit);
  39769. ;
  39770. args.push(this.LengthValue);
  39771. ;
  39772. args.push(this.Formula);
  39773. ;
  39774. return args;
  39775. }
  39776. };
  39777. var IfcQuantitySet = class {
  39778. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  39779. this.expressID = expressID;
  39780. this.type = type;
  39781. this.GlobalId = GlobalId;
  39782. this.OwnerHistory = OwnerHistory;
  39783. this.Name = Name;
  39784. this.Description = Description;
  39785. }
  39786. static FromTape(expressID, type, tape) {
  39787. let ptr = 0;
  39788. let GlobalId = tape[ptr++];
  39789. let OwnerHistory = tape[ptr++];
  39790. let Name = tape[ptr++];
  39791. let Description = tape[ptr++];
  39792. return new IfcQuantitySet(expressID, type, GlobalId, OwnerHistory, Name, Description);
  39793. }
  39794. ToTape() {
  39795. let args = [];
  39796. args.push(this.GlobalId);
  39797. ;
  39798. args.push(this.OwnerHistory);
  39799. ;
  39800. args.push(this.Name);
  39801. ;
  39802. args.push(this.Description);
  39803. ;
  39804. return args;
  39805. }
  39806. };
  39807. var IfcQuantityTime = class {
  39808. constructor(expressID, type, Name, Description, Unit, TimeValue, Formula) {
  39809. this.expressID = expressID;
  39810. this.type = type;
  39811. this.Name = Name;
  39812. this.Description = Description;
  39813. this.Unit = Unit;
  39814. this.TimeValue = TimeValue;
  39815. this.Formula = Formula;
  39816. }
  39817. static FromTape(expressID, type, tape) {
  39818. let ptr = 0;
  39819. let Name = tape[ptr++];
  39820. let Description = tape[ptr++];
  39821. let Unit = tape[ptr++];
  39822. let TimeValue = tape[ptr++];
  39823. let Formula = tape[ptr++];
  39824. return new IfcQuantityTime(expressID, type, Name, Description, Unit, TimeValue, Formula);
  39825. }
  39826. ToTape() {
  39827. let args = [];
  39828. args.push(this.Name);
  39829. ;
  39830. args.push(this.Description);
  39831. ;
  39832. args.push(this.Unit);
  39833. ;
  39834. args.push(this.TimeValue);
  39835. ;
  39836. args.push(this.Formula);
  39837. ;
  39838. return args;
  39839. }
  39840. };
  39841. var IfcQuantityVolume = class {
  39842. constructor(expressID, type, Name, Description, Unit, VolumeValue, Formula) {
  39843. this.expressID = expressID;
  39844. this.type = type;
  39845. this.Name = Name;
  39846. this.Description = Description;
  39847. this.Unit = Unit;
  39848. this.VolumeValue = VolumeValue;
  39849. this.Formula = Formula;
  39850. }
  39851. static FromTape(expressID, type, tape) {
  39852. let ptr = 0;
  39853. let Name = tape[ptr++];
  39854. let Description = tape[ptr++];
  39855. let Unit = tape[ptr++];
  39856. let VolumeValue = tape[ptr++];
  39857. let Formula = tape[ptr++];
  39858. return new IfcQuantityVolume(expressID, type, Name, Description, Unit, VolumeValue, Formula);
  39859. }
  39860. ToTape() {
  39861. let args = [];
  39862. args.push(this.Name);
  39863. ;
  39864. args.push(this.Description);
  39865. ;
  39866. args.push(this.Unit);
  39867. ;
  39868. args.push(this.VolumeValue);
  39869. ;
  39870. args.push(this.Formula);
  39871. ;
  39872. return args;
  39873. }
  39874. };
  39875. var IfcQuantityWeight = class {
  39876. constructor(expressID, type, Name, Description, Unit, WeightValue, Formula) {
  39877. this.expressID = expressID;
  39878. this.type = type;
  39879. this.Name = Name;
  39880. this.Description = Description;
  39881. this.Unit = Unit;
  39882. this.WeightValue = WeightValue;
  39883. this.Formula = Formula;
  39884. }
  39885. static FromTape(expressID, type, tape) {
  39886. let ptr = 0;
  39887. let Name = tape[ptr++];
  39888. let Description = tape[ptr++];
  39889. let Unit = tape[ptr++];
  39890. let WeightValue = tape[ptr++];
  39891. let Formula = tape[ptr++];
  39892. return new IfcQuantityWeight(expressID, type, Name, Description, Unit, WeightValue, Formula);
  39893. }
  39894. ToTape() {
  39895. let args = [];
  39896. args.push(this.Name);
  39897. ;
  39898. args.push(this.Description);
  39899. ;
  39900. args.push(this.Unit);
  39901. ;
  39902. args.push(this.WeightValue);
  39903. ;
  39904. args.push(this.Formula);
  39905. ;
  39906. return args;
  39907. }
  39908. };
  39909. var IfcRailing = class {
  39910. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  39911. this.expressID = expressID;
  39912. this.type = type;
  39913. this.GlobalId = GlobalId;
  39914. this.OwnerHistory = OwnerHistory;
  39915. this.Name = Name;
  39916. this.Description = Description;
  39917. this.ObjectType = ObjectType;
  39918. this.ObjectPlacement = ObjectPlacement;
  39919. this.Representation = Representation;
  39920. this.Tag = Tag;
  39921. this.PredefinedType = PredefinedType;
  39922. }
  39923. static FromTape(expressID, type, tape) {
  39924. let ptr = 0;
  39925. let GlobalId = tape[ptr++];
  39926. let OwnerHistory = tape[ptr++];
  39927. let Name = tape[ptr++];
  39928. let Description = tape[ptr++];
  39929. let ObjectType = tape[ptr++];
  39930. let ObjectPlacement = tape[ptr++];
  39931. let Representation = tape[ptr++];
  39932. let Tag = tape[ptr++];
  39933. let PredefinedType = tape[ptr++];
  39934. return new IfcRailing(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  39935. }
  39936. ToTape() {
  39937. let args = [];
  39938. args.push(this.GlobalId);
  39939. ;
  39940. args.push(this.OwnerHistory);
  39941. ;
  39942. args.push(this.Name);
  39943. ;
  39944. args.push(this.Description);
  39945. ;
  39946. args.push(this.ObjectType);
  39947. ;
  39948. args.push(this.ObjectPlacement);
  39949. ;
  39950. args.push(this.Representation);
  39951. ;
  39952. args.push(this.Tag);
  39953. ;
  39954. args.push(this.PredefinedType);
  39955. ;
  39956. return args;
  39957. }
  39958. };
  39959. var IfcRailingType = class {
  39960. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  39961. this.expressID = expressID;
  39962. this.type = type;
  39963. this.GlobalId = GlobalId;
  39964. this.OwnerHistory = OwnerHistory;
  39965. this.Name = Name;
  39966. this.Description = Description;
  39967. this.ApplicableOccurrence = ApplicableOccurrence;
  39968. this.HasPropertySets = HasPropertySets;
  39969. this.RepresentationMaps = RepresentationMaps;
  39970. this.Tag = Tag;
  39971. this.ElementType = ElementType;
  39972. this.PredefinedType = PredefinedType;
  39973. }
  39974. static FromTape(expressID, type, tape) {
  39975. let ptr = 0;
  39976. let GlobalId = tape[ptr++];
  39977. let OwnerHistory = tape[ptr++];
  39978. let Name = tape[ptr++];
  39979. let Description = tape[ptr++];
  39980. let ApplicableOccurrence = tape[ptr++];
  39981. let HasPropertySets = tape[ptr++];
  39982. let RepresentationMaps = tape[ptr++];
  39983. let Tag = tape[ptr++];
  39984. let ElementType = tape[ptr++];
  39985. let PredefinedType = tape[ptr++];
  39986. return new IfcRailingType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  39987. }
  39988. ToTape() {
  39989. let args = [];
  39990. args.push(this.GlobalId);
  39991. ;
  39992. args.push(this.OwnerHistory);
  39993. ;
  39994. args.push(this.Name);
  39995. ;
  39996. args.push(this.Description);
  39997. ;
  39998. args.push(this.ApplicableOccurrence);
  39999. ;
  40000. args.push(this.HasPropertySets);
  40001. ;
  40002. args.push(this.RepresentationMaps);
  40003. ;
  40004. args.push(this.Tag);
  40005. ;
  40006. args.push(this.ElementType);
  40007. ;
  40008. args.push(this.PredefinedType);
  40009. ;
  40010. return args;
  40011. }
  40012. };
  40013. var IfcRamp = class {
  40014. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  40015. this.expressID = expressID;
  40016. this.type = type;
  40017. this.GlobalId = GlobalId;
  40018. this.OwnerHistory = OwnerHistory;
  40019. this.Name = Name;
  40020. this.Description = Description;
  40021. this.ObjectType = ObjectType;
  40022. this.ObjectPlacement = ObjectPlacement;
  40023. this.Representation = Representation;
  40024. this.Tag = Tag;
  40025. this.PredefinedType = PredefinedType;
  40026. }
  40027. static FromTape(expressID, type, tape) {
  40028. let ptr = 0;
  40029. let GlobalId = tape[ptr++];
  40030. let OwnerHistory = tape[ptr++];
  40031. let Name = tape[ptr++];
  40032. let Description = tape[ptr++];
  40033. let ObjectType = tape[ptr++];
  40034. let ObjectPlacement = tape[ptr++];
  40035. let Representation = tape[ptr++];
  40036. let Tag = tape[ptr++];
  40037. let PredefinedType = tape[ptr++];
  40038. return new IfcRamp(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  40039. }
  40040. ToTape() {
  40041. let args = [];
  40042. args.push(this.GlobalId);
  40043. ;
  40044. args.push(this.OwnerHistory);
  40045. ;
  40046. args.push(this.Name);
  40047. ;
  40048. args.push(this.Description);
  40049. ;
  40050. args.push(this.ObjectType);
  40051. ;
  40052. args.push(this.ObjectPlacement);
  40053. ;
  40054. args.push(this.Representation);
  40055. ;
  40056. args.push(this.Tag);
  40057. ;
  40058. args.push(this.PredefinedType);
  40059. ;
  40060. return args;
  40061. }
  40062. };
  40063. var IfcRampFlight = class {
  40064. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  40065. this.expressID = expressID;
  40066. this.type = type;
  40067. this.GlobalId = GlobalId;
  40068. this.OwnerHistory = OwnerHistory;
  40069. this.Name = Name;
  40070. this.Description = Description;
  40071. this.ObjectType = ObjectType;
  40072. this.ObjectPlacement = ObjectPlacement;
  40073. this.Representation = Representation;
  40074. this.Tag = Tag;
  40075. this.PredefinedType = PredefinedType;
  40076. }
  40077. static FromTape(expressID, type, tape) {
  40078. let ptr = 0;
  40079. let GlobalId = tape[ptr++];
  40080. let OwnerHistory = tape[ptr++];
  40081. let Name = tape[ptr++];
  40082. let Description = tape[ptr++];
  40083. let ObjectType = tape[ptr++];
  40084. let ObjectPlacement = tape[ptr++];
  40085. let Representation = tape[ptr++];
  40086. let Tag = tape[ptr++];
  40087. let PredefinedType = tape[ptr++];
  40088. return new IfcRampFlight(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  40089. }
  40090. ToTape() {
  40091. let args = [];
  40092. args.push(this.GlobalId);
  40093. ;
  40094. args.push(this.OwnerHistory);
  40095. ;
  40096. args.push(this.Name);
  40097. ;
  40098. args.push(this.Description);
  40099. ;
  40100. args.push(this.ObjectType);
  40101. ;
  40102. args.push(this.ObjectPlacement);
  40103. ;
  40104. args.push(this.Representation);
  40105. ;
  40106. args.push(this.Tag);
  40107. ;
  40108. args.push(this.PredefinedType);
  40109. ;
  40110. return args;
  40111. }
  40112. };
  40113. var IfcRampFlightType = class {
  40114. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  40115. this.expressID = expressID;
  40116. this.type = type;
  40117. this.GlobalId = GlobalId;
  40118. this.OwnerHistory = OwnerHistory;
  40119. this.Name = Name;
  40120. this.Description = Description;
  40121. this.ApplicableOccurrence = ApplicableOccurrence;
  40122. this.HasPropertySets = HasPropertySets;
  40123. this.RepresentationMaps = RepresentationMaps;
  40124. this.Tag = Tag;
  40125. this.ElementType = ElementType;
  40126. this.PredefinedType = PredefinedType;
  40127. }
  40128. static FromTape(expressID, type, tape) {
  40129. let ptr = 0;
  40130. let GlobalId = tape[ptr++];
  40131. let OwnerHistory = tape[ptr++];
  40132. let Name = tape[ptr++];
  40133. let Description = tape[ptr++];
  40134. let ApplicableOccurrence = tape[ptr++];
  40135. let HasPropertySets = tape[ptr++];
  40136. let RepresentationMaps = tape[ptr++];
  40137. let Tag = tape[ptr++];
  40138. let ElementType = tape[ptr++];
  40139. let PredefinedType = tape[ptr++];
  40140. return new IfcRampFlightType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  40141. }
  40142. ToTape() {
  40143. let args = [];
  40144. args.push(this.GlobalId);
  40145. ;
  40146. args.push(this.OwnerHistory);
  40147. ;
  40148. args.push(this.Name);
  40149. ;
  40150. args.push(this.Description);
  40151. ;
  40152. args.push(this.ApplicableOccurrence);
  40153. ;
  40154. args.push(this.HasPropertySets);
  40155. ;
  40156. args.push(this.RepresentationMaps);
  40157. ;
  40158. args.push(this.Tag);
  40159. ;
  40160. args.push(this.ElementType);
  40161. ;
  40162. args.push(this.PredefinedType);
  40163. ;
  40164. return args;
  40165. }
  40166. };
  40167. var IfcRampType = class {
  40168. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  40169. this.expressID = expressID;
  40170. this.type = type;
  40171. this.GlobalId = GlobalId;
  40172. this.OwnerHistory = OwnerHistory;
  40173. this.Name = Name;
  40174. this.Description = Description;
  40175. this.ApplicableOccurrence = ApplicableOccurrence;
  40176. this.HasPropertySets = HasPropertySets;
  40177. this.RepresentationMaps = RepresentationMaps;
  40178. this.Tag = Tag;
  40179. this.ElementType = ElementType;
  40180. this.PredefinedType = PredefinedType;
  40181. }
  40182. static FromTape(expressID, type, tape) {
  40183. let ptr = 0;
  40184. let GlobalId = tape[ptr++];
  40185. let OwnerHistory = tape[ptr++];
  40186. let Name = tape[ptr++];
  40187. let Description = tape[ptr++];
  40188. let ApplicableOccurrence = tape[ptr++];
  40189. let HasPropertySets = tape[ptr++];
  40190. let RepresentationMaps = tape[ptr++];
  40191. let Tag = tape[ptr++];
  40192. let ElementType = tape[ptr++];
  40193. let PredefinedType = tape[ptr++];
  40194. return new IfcRampType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  40195. }
  40196. ToTape() {
  40197. let args = [];
  40198. args.push(this.GlobalId);
  40199. ;
  40200. args.push(this.OwnerHistory);
  40201. ;
  40202. args.push(this.Name);
  40203. ;
  40204. args.push(this.Description);
  40205. ;
  40206. args.push(this.ApplicableOccurrence);
  40207. ;
  40208. args.push(this.HasPropertySets);
  40209. ;
  40210. args.push(this.RepresentationMaps);
  40211. ;
  40212. args.push(this.Tag);
  40213. ;
  40214. args.push(this.ElementType);
  40215. ;
  40216. args.push(this.PredefinedType);
  40217. ;
  40218. return args;
  40219. }
  40220. };
  40221. var IfcRationalBSplineCurveWithKnots = class {
  40222. constructor(expressID, type, Degree, ControlPointsList, CurveForm, ClosedCurve, SelfIntersect, KnotMultiplicities, Knots, KnotSpec, WeightsData) {
  40223. this.expressID = expressID;
  40224. this.type = type;
  40225. this.Degree = Degree;
  40226. this.ControlPointsList = ControlPointsList;
  40227. this.CurveForm = CurveForm;
  40228. this.ClosedCurve = ClosedCurve;
  40229. this.SelfIntersect = SelfIntersect;
  40230. this.KnotMultiplicities = KnotMultiplicities;
  40231. this.Knots = Knots;
  40232. this.KnotSpec = KnotSpec;
  40233. this.WeightsData = WeightsData;
  40234. }
  40235. static FromTape(expressID, type, tape) {
  40236. let ptr = 0;
  40237. let Degree = tape[ptr++];
  40238. let ControlPointsList = tape[ptr++];
  40239. let CurveForm = tape[ptr++];
  40240. let ClosedCurve = tape[ptr++];
  40241. let SelfIntersect = tape[ptr++];
  40242. let KnotMultiplicities = tape[ptr++];
  40243. let Knots = tape[ptr++];
  40244. let KnotSpec = tape[ptr++];
  40245. let WeightsData = tape[ptr++];
  40246. return new IfcRationalBSplineCurveWithKnots(expressID, type, Degree, ControlPointsList, CurveForm, ClosedCurve, SelfIntersect, KnotMultiplicities, Knots, KnotSpec, WeightsData);
  40247. }
  40248. ToTape() {
  40249. let args = [];
  40250. args.push(this.Degree);
  40251. ;
  40252. args.push(this.ControlPointsList);
  40253. ;
  40254. args.push(this.CurveForm);
  40255. ;
  40256. args.push(this.ClosedCurve);
  40257. ;
  40258. args.push(this.SelfIntersect);
  40259. ;
  40260. args.push(this.KnotMultiplicities);
  40261. ;
  40262. args.push(this.Knots);
  40263. ;
  40264. args.push(this.KnotSpec);
  40265. ;
  40266. args.push(this.WeightsData);
  40267. ;
  40268. return args;
  40269. }
  40270. };
  40271. var IfcRationalBSplineSurfaceWithKnots = class {
  40272. constructor(expressID, type, UDegree, VDegree, ControlPointsList, SurfaceForm, UClosed, VClosed, SelfIntersect, UMultiplicities, VMultiplicities, UKnots, VKnots, KnotSpec, WeightsData) {
  40273. this.expressID = expressID;
  40274. this.type = type;
  40275. this.UDegree = UDegree;
  40276. this.VDegree = VDegree;
  40277. this.ControlPointsList = ControlPointsList;
  40278. this.SurfaceForm = SurfaceForm;
  40279. this.UClosed = UClosed;
  40280. this.VClosed = VClosed;
  40281. this.SelfIntersect = SelfIntersect;
  40282. this.UMultiplicities = UMultiplicities;
  40283. this.VMultiplicities = VMultiplicities;
  40284. this.UKnots = UKnots;
  40285. this.VKnots = VKnots;
  40286. this.KnotSpec = KnotSpec;
  40287. this.WeightsData = WeightsData;
  40288. }
  40289. static FromTape(expressID, type, tape) {
  40290. let ptr = 0;
  40291. let UDegree = tape[ptr++];
  40292. let VDegree = tape[ptr++];
  40293. let ControlPointsList = tape[ptr++];
  40294. let SurfaceForm = tape[ptr++];
  40295. let UClosed = tape[ptr++];
  40296. let VClosed = tape[ptr++];
  40297. let SelfIntersect = tape[ptr++];
  40298. let UMultiplicities = tape[ptr++];
  40299. let VMultiplicities = tape[ptr++];
  40300. let UKnots = tape[ptr++];
  40301. let VKnots = tape[ptr++];
  40302. let KnotSpec = tape[ptr++];
  40303. let WeightsData = tape[ptr++];
  40304. return new IfcRationalBSplineSurfaceWithKnots(expressID, type, UDegree, VDegree, ControlPointsList, SurfaceForm, UClosed, VClosed, SelfIntersect, UMultiplicities, VMultiplicities, UKnots, VKnots, KnotSpec, WeightsData);
  40305. }
  40306. ToTape() {
  40307. let args = [];
  40308. args.push(this.UDegree);
  40309. ;
  40310. args.push(this.VDegree);
  40311. ;
  40312. args.push(this.ControlPointsList);
  40313. ;
  40314. args.push(this.SurfaceForm);
  40315. ;
  40316. args.push(this.UClosed);
  40317. ;
  40318. args.push(this.VClosed);
  40319. ;
  40320. args.push(this.SelfIntersect);
  40321. ;
  40322. args.push(this.UMultiplicities);
  40323. ;
  40324. args.push(this.VMultiplicities);
  40325. ;
  40326. args.push(this.UKnots);
  40327. ;
  40328. args.push(this.VKnots);
  40329. ;
  40330. args.push(this.KnotSpec);
  40331. ;
  40332. args.push(this.WeightsData);
  40333. ;
  40334. return args;
  40335. }
  40336. };
  40337. var IfcRectangleHollowProfileDef = class {
  40338. constructor(expressID, type, ProfileType, ProfileName, Position, XDim, YDim, WallThickness, InnerFilletRadius, OuterFilletRadius) {
  40339. this.expressID = expressID;
  40340. this.type = type;
  40341. this.ProfileType = ProfileType;
  40342. this.ProfileName = ProfileName;
  40343. this.Position = Position;
  40344. this.XDim = XDim;
  40345. this.YDim = YDim;
  40346. this.WallThickness = WallThickness;
  40347. this.InnerFilletRadius = InnerFilletRadius;
  40348. this.OuterFilletRadius = OuterFilletRadius;
  40349. }
  40350. static FromTape(expressID, type, tape) {
  40351. let ptr = 0;
  40352. let ProfileType = tape[ptr++];
  40353. let ProfileName = tape[ptr++];
  40354. let Position = tape[ptr++];
  40355. let XDim = tape[ptr++];
  40356. let YDim = tape[ptr++];
  40357. let WallThickness = tape[ptr++];
  40358. let InnerFilletRadius = tape[ptr++];
  40359. let OuterFilletRadius = tape[ptr++];
  40360. return new IfcRectangleHollowProfileDef(expressID, type, ProfileType, ProfileName, Position, XDim, YDim, WallThickness, InnerFilletRadius, OuterFilletRadius);
  40361. }
  40362. ToTape() {
  40363. let args = [];
  40364. args.push(this.ProfileType);
  40365. ;
  40366. args.push(this.ProfileName);
  40367. ;
  40368. args.push(this.Position);
  40369. ;
  40370. args.push(this.XDim);
  40371. ;
  40372. args.push(this.YDim);
  40373. ;
  40374. args.push(this.WallThickness);
  40375. ;
  40376. args.push(this.InnerFilletRadius);
  40377. ;
  40378. args.push(this.OuterFilletRadius);
  40379. ;
  40380. return args;
  40381. }
  40382. };
  40383. var IfcRectangleProfileDef = class {
  40384. constructor(expressID, type, ProfileType, ProfileName, Position, XDim, YDim) {
  40385. this.expressID = expressID;
  40386. this.type = type;
  40387. this.ProfileType = ProfileType;
  40388. this.ProfileName = ProfileName;
  40389. this.Position = Position;
  40390. this.XDim = XDim;
  40391. this.YDim = YDim;
  40392. }
  40393. static FromTape(expressID, type, tape) {
  40394. let ptr = 0;
  40395. let ProfileType = tape[ptr++];
  40396. let ProfileName = tape[ptr++];
  40397. let Position = tape[ptr++];
  40398. let XDim = tape[ptr++];
  40399. let YDim = tape[ptr++];
  40400. return new IfcRectangleProfileDef(expressID, type, ProfileType, ProfileName, Position, XDim, YDim);
  40401. }
  40402. ToTape() {
  40403. let args = [];
  40404. args.push(this.ProfileType);
  40405. ;
  40406. args.push(this.ProfileName);
  40407. ;
  40408. args.push(this.Position);
  40409. ;
  40410. args.push(this.XDim);
  40411. ;
  40412. args.push(this.YDim);
  40413. ;
  40414. return args;
  40415. }
  40416. };
  40417. var IfcRectangularPyramid = class {
  40418. constructor(expressID, type, Position, XLength, YLength, Height) {
  40419. this.expressID = expressID;
  40420. this.type = type;
  40421. this.Position = Position;
  40422. this.XLength = XLength;
  40423. this.YLength = YLength;
  40424. this.Height = Height;
  40425. }
  40426. static FromTape(expressID, type, tape) {
  40427. let ptr = 0;
  40428. let Position = tape[ptr++];
  40429. let XLength = tape[ptr++];
  40430. let YLength = tape[ptr++];
  40431. let Height = tape[ptr++];
  40432. return new IfcRectangularPyramid(expressID, type, Position, XLength, YLength, Height);
  40433. }
  40434. ToTape() {
  40435. let args = [];
  40436. args.push(this.Position);
  40437. ;
  40438. args.push(this.XLength);
  40439. ;
  40440. args.push(this.YLength);
  40441. ;
  40442. args.push(this.Height);
  40443. ;
  40444. return args;
  40445. }
  40446. };
  40447. var IfcRectangularTrimmedSurface = class {
  40448. constructor(expressID, type, BasisSurface, U1, V1, U2, V2, Usense, Vsense) {
  40449. this.expressID = expressID;
  40450. this.type = type;
  40451. this.BasisSurface = BasisSurface;
  40452. this.U1 = U1;
  40453. this.V1 = V1;
  40454. this.U2 = U2;
  40455. this.V2 = V2;
  40456. this.Usense = Usense;
  40457. this.Vsense = Vsense;
  40458. }
  40459. static FromTape(expressID, type, tape) {
  40460. let ptr = 0;
  40461. let BasisSurface = tape[ptr++];
  40462. let U1 = tape[ptr++];
  40463. let V1 = tape[ptr++];
  40464. let U2 = tape[ptr++];
  40465. let V2 = tape[ptr++];
  40466. let Usense = tape[ptr++];
  40467. let Vsense = tape[ptr++];
  40468. return new IfcRectangularTrimmedSurface(expressID, type, BasisSurface, U1, V1, U2, V2, Usense, Vsense);
  40469. }
  40470. ToTape() {
  40471. let args = [];
  40472. args.push(this.BasisSurface);
  40473. ;
  40474. args.push(this.U1);
  40475. ;
  40476. args.push(this.V1);
  40477. ;
  40478. args.push(this.U2);
  40479. ;
  40480. args.push(this.V2);
  40481. ;
  40482. args.push(this.Usense);
  40483. ;
  40484. args.push(this.Vsense);
  40485. ;
  40486. return args;
  40487. }
  40488. };
  40489. var IfcRecurrencePattern = class {
  40490. constructor(expressID, type, RecurrenceType, DayComponent, WeekdayComponent, MonthComponent, Position, Interval, Occurrences, TimePeriods) {
  40491. this.expressID = expressID;
  40492. this.type = type;
  40493. this.RecurrenceType = RecurrenceType;
  40494. this.DayComponent = DayComponent;
  40495. this.WeekdayComponent = WeekdayComponent;
  40496. this.MonthComponent = MonthComponent;
  40497. this.Position = Position;
  40498. this.Interval = Interval;
  40499. this.Occurrences = Occurrences;
  40500. this.TimePeriods = TimePeriods;
  40501. }
  40502. static FromTape(expressID, type, tape) {
  40503. let ptr = 0;
  40504. let RecurrenceType = tape[ptr++];
  40505. let DayComponent = tape[ptr++];
  40506. let WeekdayComponent = tape[ptr++];
  40507. let MonthComponent = tape[ptr++];
  40508. let Position = tape[ptr++];
  40509. let Interval = tape[ptr++];
  40510. let Occurrences = tape[ptr++];
  40511. let TimePeriods = tape[ptr++];
  40512. return new IfcRecurrencePattern(expressID, type, RecurrenceType, DayComponent, WeekdayComponent, MonthComponent, Position, Interval, Occurrences, TimePeriods);
  40513. }
  40514. ToTape() {
  40515. let args = [];
  40516. args.push(this.RecurrenceType);
  40517. ;
  40518. args.push(this.DayComponent);
  40519. ;
  40520. args.push(this.WeekdayComponent);
  40521. ;
  40522. args.push(this.MonthComponent);
  40523. ;
  40524. args.push(this.Position);
  40525. ;
  40526. args.push(this.Interval);
  40527. ;
  40528. args.push(this.Occurrences);
  40529. ;
  40530. args.push(this.TimePeriods);
  40531. ;
  40532. return args;
  40533. }
  40534. };
  40535. var IfcReference = class {
  40536. constructor(expressID, type, TypeIdentifier, AttributeIdentifier, InstanceName, ListPositions, InnerReference) {
  40537. this.expressID = expressID;
  40538. this.type = type;
  40539. this.TypeIdentifier = TypeIdentifier;
  40540. this.AttributeIdentifier = AttributeIdentifier;
  40541. this.InstanceName = InstanceName;
  40542. this.ListPositions = ListPositions;
  40543. this.InnerReference = InnerReference;
  40544. }
  40545. static FromTape(expressID, type, tape) {
  40546. let ptr = 0;
  40547. let TypeIdentifier = tape[ptr++];
  40548. let AttributeIdentifier = tape[ptr++];
  40549. let InstanceName = tape[ptr++];
  40550. let ListPositions = tape[ptr++];
  40551. let InnerReference = tape[ptr++];
  40552. return new IfcReference(expressID, type, TypeIdentifier, AttributeIdentifier, InstanceName, ListPositions, InnerReference);
  40553. }
  40554. ToTape() {
  40555. let args = [];
  40556. args.push(this.TypeIdentifier);
  40557. ;
  40558. args.push(this.AttributeIdentifier);
  40559. ;
  40560. args.push(this.InstanceName);
  40561. ;
  40562. args.push(this.ListPositions);
  40563. ;
  40564. args.push(this.InnerReference);
  40565. ;
  40566. return args;
  40567. }
  40568. };
  40569. var IfcReferent = class {
  40570. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, RestartDistance) {
  40571. this.expressID = expressID;
  40572. this.type = type;
  40573. this.GlobalId = GlobalId;
  40574. this.OwnerHistory = OwnerHistory;
  40575. this.Name = Name;
  40576. this.Description = Description;
  40577. this.ObjectType = ObjectType;
  40578. this.ObjectPlacement = ObjectPlacement;
  40579. this.Representation = Representation;
  40580. this.PredefinedType = PredefinedType;
  40581. this.RestartDistance = RestartDistance;
  40582. }
  40583. static FromTape(expressID, type, tape) {
  40584. let ptr = 0;
  40585. let GlobalId = tape[ptr++];
  40586. let OwnerHistory = tape[ptr++];
  40587. let Name = tape[ptr++];
  40588. let Description = tape[ptr++];
  40589. let ObjectType = tape[ptr++];
  40590. let ObjectPlacement = tape[ptr++];
  40591. let Representation = tape[ptr++];
  40592. let PredefinedType = tape[ptr++];
  40593. let RestartDistance = tape[ptr++];
  40594. return new IfcReferent(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, RestartDistance);
  40595. }
  40596. ToTape() {
  40597. let args = [];
  40598. args.push(this.GlobalId);
  40599. ;
  40600. args.push(this.OwnerHistory);
  40601. ;
  40602. args.push(this.Name);
  40603. ;
  40604. args.push(this.Description);
  40605. ;
  40606. args.push(this.ObjectType);
  40607. ;
  40608. args.push(this.ObjectPlacement);
  40609. ;
  40610. args.push(this.Representation);
  40611. ;
  40612. args.push(this.PredefinedType);
  40613. ;
  40614. args.push(this.RestartDistance);
  40615. ;
  40616. return args;
  40617. }
  40618. };
  40619. var IfcRegularTimeSeries = class {
  40620. constructor(expressID, type, Name, Description, StartTime, EndTime, TimeSeriesDataType, DataOrigin, UserDefinedDataOrigin, Unit, TimeStep, Values) {
  40621. this.expressID = expressID;
  40622. this.type = type;
  40623. this.Name = Name;
  40624. this.Description = Description;
  40625. this.StartTime = StartTime;
  40626. this.EndTime = EndTime;
  40627. this.TimeSeriesDataType = TimeSeriesDataType;
  40628. this.DataOrigin = DataOrigin;
  40629. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  40630. this.Unit = Unit;
  40631. this.TimeStep = TimeStep;
  40632. this.Values = Values;
  40633. }
  40634. static FromTape(expressID, type, tape) {
  40635. let ptr = 0;
  40636. let Name = tape[ptr++];
  40637. let Description = tape[ptr++];
  40638. let StartTime = tape[ptr++];
  40639. let EndTime = tape[ptr++];
  40640. let TimeSeriesDataType = tape[ptr++];
  40641. let DataOrigin = tape[ptr++];
  40642. let UserDefinedDataOrigin = tape[ptr++];
  40643. let Unit = tape[ptr++];
  40644. let TimeStep = tape[ptr++];
  40645. let Values = tape[ptr++];
  40646. return new IfcRegularTimeSeries(expressID, type, Name, Description, StartTime, EndTime, TimeSeriesDataType, DataOrigin, UserDefinedDataOrigin, Unit, TimeStep, Values);
  40647. }
  40648. ToTape() {
  40649. let args = [];
  40650. args.push(this.Name);
  40651. ;
  40652. args.push(this.Description);
  40653. ;
  40654. args.push(this.StartTime);
  40655. ;
  40656. args.push(this.EndTime);
  40657. ;
  40658. args.push(this.TimeSeriesDataType);
  40659. ;
  40660. args.push(this.DataOrigin);
  40661. ;
  40662. args.push(this.UserDefinedDataOrigin);
  40663. ;
  40664. args.push(this.Unit);
  40665. ;
  40666. args.push(this.TimeStep);
  40667. ;
  40668. args.push(this.Values);
  40669. ;
  40670. return args;
  40671. }
  40672. };
  40673. var IfcReinforcementBarProperties = class {
  40674. constructor(expressID, type, TotalCrossSectionArea, SteelGrade, BarSurface, EffectiveDepth, NominalBarDiameter, BarCount) {
  40675. this.expressID = expressID;
  40676. this.type = type;
  40677. this.TotalCrossSectionArea = TotalCrossSectionArea;
  40678. this.SteelGrade = SteelGrade;
  40679. this.BarSurface = BarSurface;
  40680. this.EffectiveDepth = EffectiveDepth;
  40681. this.NominalBarDiameter = NominalBarDiameter;
  40682. this.BarCount = BarCount;
  40683. }
  40684. static FromTape(expressID, type, tape) {
  40685. let ptr = 0;
  40686. let TotalCrossSectionArea = tape[ptr++];
  40687. let SteelGrade = tape[ptr++];
  40688. let BarSurface = tape[ptr++];
  40689. let EffectiveDepth = tape[ptr++];
  40690. let NominalBarDiameter = tape[ptr++];
  40691. let BarCount = tape[ptr++];
  40692. return new IfcReinforcementBarProperties(expressID, type, TotalCrossSectionArea, SteelGrade, BarSurface, EffectiveDepth, NominalBarDiameter, BarCount);
  40693. }
  40694. ToTape() {
  40695. let args = [];
  40696. args.push(this.TotalCrossSectionArea);
  40697. ;
  40698. args.push(this.SteelGrade);
  40699. ;
  40700. args.push(this.BarSurface);
  40701. ;
  40702. args.push(this.EffectiveDepth);
  40703. ;
  40704. args.push(this.NominalBarDiameter);
  40705. ;
  40706. args.push(this.BarCount);
  40707. ;
  40708. return args;
  40709. }
  40710. };
  40711. var IfcReinforcementDefinitionProperties = class {
  40712. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, DefinitionType, ReinforcementSectionDefinitions) {
  40713. this.expressID = expressID;
  40714. this.type = type;
  40715. this.GlobalId = GlobalId;
  40716. this.OwnerHistory = OwnerHistory;
  40717. this.Name = Name;
  40718. this.Description = Description;
  40719. this.DefinitionType = DefinitionType;
  40720. this.ReinforcementSectionDefinitions = ReinforcementSectionDefinitions;
  40721. }
  40722. static FromTape(expressID, type, tape) {
  40723. let ptr = 0;
  40724. let GlobalId = tape[ptr++];
  40725. let OwnerHistory = tape[ptr++];
  40726. let Name = tape[ptr++];
  40727. let Description = tape[ptr++];
  40728. let DefinitionType = tape[ptr++];
  40729. let ReinforcementSectionDefinitions = tape[ptr++];
  40730. return new IfcReinforcementDefinitionProperties(expressID, type, GlobalId, OwnerHistory, Name, Description, DefinitionType, ReinforcementSectionDefinitions);
  40731. }
  40732. ToTape() {
  40733. let args = [];
  40734. args.push(this.GlobalId);
  40735. ;
  40736. args.push(this.OwnerHistory);
  40737. ;
  40738. args.push(this.Name);
  40739. ;
  40740. args.push(this.Description);
  40741. ;
  40742. args.push(this.DefinitionType);
  40743. ;
  40744. args.push(this.ReinforcementSectionDefinitions);
  40745. ;
  40746. return args;
  40747. }
  40748. };
  40749. var IfcReinforcingBar = class {
  40750. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, NominalDiameter, CrossSectionArea, BarLength, PredefinedType, BarSurface) {
  40751. this.expressID = expressID;
  40752. this.type = type;
  40753. this.GlobalId = GlobalId;
  40754. this.OwnerHistory = OwnerHistory;
  40755. this.Name = Name;
  40756. this.Description = Description;
  40757. this.ObjectType = ObjectType;
  40758. this.ObjectPlacement = ObjectPlacement;
  40759. this.Representation = Representation;
  40760. this.Tag = Tag;
  40761. this.SteelGrade = SteelGrade;
  40762. this.NominalDiameter = NominalDiameter;
  40763. this.CrossSectionArea = CrossSectionArea;
  40764. this.BarLength = BarLength;
  40765. this.PredefinedType = PredefinedType;
  40766. this.BarSurface = BarSurface;
  40767. }
  40768. static FromTape(expressID, type, tape) {
  40769. let ptr = 0;
  40770. let GlobalId = tape[ptr++];
  40771. let OwnerHistory = tape[ptr++];
  40772. let Name = tape[ptr++];
  40773. let Description = tape[ptr++];
  40774. let ObjectType = tape[ptr++];
  40775. let ObjectPlacement = tape[ptr++];
  40776. let Representation = tape[ptr++];
  40777. let Tag = tape[ptr++];
  40778. let SteelGrade = tape[ptr++];
  40779. let NominalDiameter = tape[ptr++];
  40780. let CrossSectionArea = tape[ptr++];
  40781. let BarLength = tape[ptr++];
  40782. let PredefinedType = tape[ptr++];
  40783. let BarSurface = tape[ptr++];
  40784. return new IfcReinforcingBar(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, NominalDiameter, CrossSectionArea, BarLength, PredefinedType, BarSurface);
  40785. }
  40786. ToTape() {
  40787. let args = [];
  40788. args.push(this.GlobalId);
  40789. ;
  40790. args.push(this.OwnerHistory);
  40791. ;
  40792. args.push(this.Name);
  40793. ;
  40794. args.push(this.Description);
  40795. ;
  40796. args.push(this.ObjectType);
  40797. ;
  40798. args.push(this.ObjectPlacement);
  40799. ;
  40800. args.push(this.Representation);
  40801. ;
  40802. args.push(this.Tag);
  40803. ;
  40804. args.push(this.SteelGrade);
  40805. ;
  40806. args.push(this.NominalDiameter);
  40807. ;
  40808. args.push(this.CrossSectionArea);
  40809. ;
  40810. args.push(this.BarLength);
  40811. ;
  40812. args.push(this.PredefinedType);
  40813. ;
  40814. args.push(this.BarSurface);
  40815. ;
  40816. return args;
  40817. }
  40818. };
  40819. var IfcReinforcingBarType = class {
  40820. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, NominalDiameter, CrossSectionArea, BarLength, BarSurface, BendingShapeCode, BendingParameters) {
  40821. this.expressID = expressID;
  40822. this.type = type;
  40823. this.GlobalId = GlobalId;
  40824. this.OwnerHistory = OwnerHistory;
  40825. this.Name = Name;
  40826. this.Description = Description;
  40827. this.ApplicableOccurrence = ApplicableOccurrence;
  40828. this.HasPropertySets = HasPropertySets;
  40829. this.RepresentationMaps = RepresentationMaps;
  40830. this.Tag = Tag;
  40831. this.ElementType = ElementType;
  40832. this.PredefinedType = PredefinedType;
  40833. this.NominalDiameter = NominalDiameter;
  40834. this.CrossSectionArea = CrossSectionArea;
  40835. this.BarLength = BarLength;
  40836. this.BarSurface = BarSurface;
  40837. this.BendingShapeCode = BendingShapeCode;
  40838. this.BendingParameters = BendingParameters;
  40839. }
  40840. static FromTape(expressID, type, tape) {
  40841. let ptr = 0;
  40842. let GlobalId = tape[ptr++];
  40843. let OwnerHistory = tape[ptr++];
  40844. let Name = tape[ptr++];
  40845. let Description = tape[ptr++];
  40846. let ApplicableOccurrence = tape[ptr++];
  40847. let HasPropertySets = tape[ptr++];
  40848. let RepresentationMaps = tape[ptr++];
  40849. let Tag = tape[ptr++];
  40850. let ElementType = tape[ptr++];
  40851. let PredefinedType = tape[ptr++];
  40852. let NominalDiameter = tape[ptr++];
  40853. let CrossSectionArea = tape[ptr++];
  40854. let BarLength = tape[ptr++];
  40855. let BarSurface = tape[ptr++];
  40856. let BendingShapeCode = tape[ptr++];
  40857. let BendingParameters = tape[ptr++];
  40858. return new IfcReinforcingBarType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, NominalDiameter, CrossSectionArea, BarLength, BarSurface, BendingShapeCode, BendingParameters);
  40859. }
  40860. ToTape() {
  40861. let args = [];
  40862. args.push(this.GlobalId);
  40863. ;
  40864. args.push(this.OwnerHistory);
  40865. ;
  40866. args.push(this.Name);
  40867. ;
  40868. args.push(this.Description);
  40869. ;
  40870. args.push(this.ApplicableOccurrence);
  40871. ;
  40872. args.push(this.HasPropertySets);
  40873. ;
  40874. args.push(this.RepresentationMaps);
  40875. ;
  40876. args.push(this.Tag);
  40877. ;
  40878. args.push(this.ElementType);
  40879. ;
  40880. args.push(this.PredefinedType);
  40881. ;
  40882. args.push(this.NominalDiameter);
  40883. ;
  40884. args.push(this.CrossSectionArea);
  40885. ;
  40886. args.push(this.BarLength);
  40887. ;
  40888. args.push(this.BarSurface);
  40889. ;
  40890. args.push(this.BendingShapeCode);
  40891. ;
  40892. args.push(this.BendingParameters);
  40893. ;
  40894. return args;
  40895. }
  40896. };
  40897. var IfcReinforcingElement = class {
  40898. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade) {
  40899. this.expressID = expressID;
  40900. this.type = type;
  40901. this.GlobalId = GlobalId;
  40902. this.OwnerHistory = OwnerHistory;
  40903. this.Name = Name;
  40904. this.Description = Description;
  40905. this.ObjectType = ObjectType;
  40906. this.ObjectPlacement = ObjectPlacement;
  40907. this.Representation = Representation;
  40908. this.Tag = Tag;
  40909. this.SteelGrade = SteelGrade;
  40910. }
  40911. static FromTape(expressID, type, tape) {
  40912. let ptr = 0;
  40913. let GlobalId = tape[ptr++];
  40914. let OwnerHistory = tape[ptr++];
  40915. let Name = tape[ptr++];
  40916. let Description = tape[ptr++];
  40917. let ObjectType = tape[ptr++];
  40918. let ObjectPlacement = tape[ptr++];
  40919. let Representation = tape[ptr++];
  40920. let Tag = tape[ptr++];
  40921. let SteelGrade = tape[ptr++];
  40922. return new IfcReinforcingElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade);
  40923. }
  40924. ToTape() {
  40925. let args = [];
  40926. args.push(this.GlobalId);
  40927. ;
  40928. args.push(this.OwnerHistory);
  40929. ;
  40930. args.push(this.Name);
  40931. ;
  40932. args.push(this.Description);
  40933. ;
  40934. args.push(this.ObjectType);
  40935. ;
  40936. args.push(this.ObjectPlacement);
  40937. ;
  40938. args.push(this.Representation);
  40939. ;
  40940. args.push(this.Tag);
  40941. ;
  40942. args.push(this.SteelGrade);
  40943. ;
  40944. return args;
  40945. }
  40946. };
  40947. var IfcReinforcingElementType = class {
  40948. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  40949. this.expressID = expressID;
  40950. this.type = type;
  40951. this.GlobalId = GlobalId;
  40952. this.OwnerHistory = OwnerHistory;
  40953. this.Name = Name;
  40954. this.Description = Description;
  40955. this.ApplicableOccurrence = ApplicableOccurrence;
  40956. this.HasPropertySets = HasPropertySets;
  40957. this.RepresentationMaps = RepresentationMaps;
  40958. this.Tag = Tag;
  40959. this.ElementType = ElementType;
  40960. }
  40961. static FromTape(expressID, type, tape) {
  40962. let ptr = 0;
  40963. let GlobalId = tape[ptr++];
  40964. let OwnerHistory = tape[ptr++];
  40965. let Name = tape[ptr++];
  40966. let Description = tape[ptr++];
  40967. let ApplicableOccurrence = tape[ptr++];
  40968. let HasPropertySets = tape[ptr++];
  40969. let RepresentationMaps = tape[ptr++];
  40970. let Tag = tape[ptr++];
  40971. let ElementType = tape[ptr++];
  40972. return new IfcReinforcingElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  40973. }
  40974. ToTape() {
  40975. let args = [];
  40976. args.push(this.GlobalId);
  40977. ;
  40978. args.push(this.OwnerHistory);
  40979. ;
  40980. args.push(this.Name);
  40981. ;
  40982. args.push(this.Description);
  40983. ;
  40984. args.push(this.ApplicableOccurrence);
  40985. ;
  40986. args.push(this.HasPropertySets);
  40987. ;
  40988. args.push(this.RepresentationMaps);
  40989. ;
  40990. args.push(this.Tag);
  40991. ;
  40992. args.push(this.ElementType);
  40993. ;
  40994. return args;
  40995. }
  40996. };
  40997. var IfcReinforcingMesh = class {
  40998. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, MeshLength, MeshWidth, LongitudinalBarNominalDiameter, TransverseBarNominalDiameter, LongitudinalBarCrossSectionArea, TransverseBarCrossSectionArea, LongitudinalBarSpacing, TransverseBarSpacing, PredefinedType) {
  40999. this.expressID = expressID;
  41000. this.type = type;
  41001. this.GlobalId = GlobalId;
  41002. this.OwnerHistory = OwnerHistory;
  41003. this.Name = Name;
  41004. this.Description = Description;
  41005. this.ObjectType = ObjectType;
  41006. this.ObjectPlacement = ObjectPlacement;
  41007. this.Representation = Representation;
  41008. this.Tag = Tag;
  41009. this.SteelGrade = SteelGrade;
  41010. this.MeshLength = MeshLength;
  41011. this.MeshWidth = MeshWidth;
  41012. this.LongitudinalBarNominalDiameter = LongitudinalBarNominalDiameter;
  41013. this.TransverseBarNominalDiameter = TransverseBarNominalDiameter;
  41014. this.LongitudinalBarCrossSectionArea = LongitudinalBarCrossSectionArea;
  41015. this.TransverseBarCrossSectionArea = TransverseBarCrossSectionArea;
  41016. this.LongitudinalBarSpacing = LongitudinalBarSpacing;
  41017. this.TransverseBarSpacing = TransverseBarSpacing;
  41018. this.PredefinedType = PredefinedType;
  41019. }
  41020. static FromTape(expressID, type, tape) {
  41021. let ptr = 0;
  41022. let GlobalId = tape[ptr++];
  41023. let OwnerHistory = tape[ptr++];
  41024. let Name = tape[ptr++];
  41025. let Description = tape[ptr++];
  41026. let ObjectType = tape[ptr++];
  41027. let ObjectPlacement = tape[ptr++];
  41028. let Representation = tape[ptr++];
  41029. let Tag = tape[ptr++];
  41030. let SteelGrade = tape[ptr++];
  41031. let MeshLength = tape[ptr++];
  41032. let MeshWidth = tape[ptr++];
  41033. let LongitudinalBarNominalDiameter = tape[ptr++];
  41034. let TransverseBarNominalDiameter = tape[ptr++];
  41035. let LongitudinalBarCrossSectionArea = tape[ptr++];
  41036. let TransverseBarCrossSectionArea = tape[ptr++];
  41037. let LongitudinalBarSpacing = tape[ptr++];
  41038. let TransverseBarSpacing = tape[ptr++];
  41039. let PredefinedType = tape[ptr++];
  41040. return new IfcReinforcingMesh(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, MeshLength, MeshWidth, LongitudinalBarNominalDiameter, TransverseBarNominalDiameter, LongitudinalBarCrossSectionArea, TransverseBarCrossSectionArea, LongitudinalBarSpacing, TransverseBarSpacing, PredefinedType);
  41041. }
  41042. ToTape() {
  41043. let args = [];
  41044. args.push(this.GlobalId);
  41045. ;
  41046. args.push(this.OwnerHistory);
  41047. ;
  41048. args.push(this.Name);
  41049. ;
  41050. args.push(this.Description);
  41051. ;
  41052. args.push(this.ObjectType);
  41053. ;
  41054. args.push(this.ObjectPlacement);
  41055. ;
  41056. args.push(this.Representation);
  41057. ;
  41058. args.push(this.Tag);
  41059. ;
  41060. args.push(this.SteelGrade);
  41061. ;
  41062. args.push(this.MeshLength);
  41063. ;
  41064. args.push(this.MeshWidth);
  41065. ;
  41066. args.push(this.LongitudinalBarNominalDiameter);
  41067. ;
  41068. args.push(this.TransverseBarNominalDiameter);
  41069. ;
  41070. args.push(this.LongitudinalBarCrossSectionArea);
  41071. ;
  41072. args.push(this.TransverseBarCrossSectionArea);
  41073. ;
  41074. args.push(this.LongitudinalBarSpacing);
  41075. ;
  41076. args.push(this.TransverseBarSpacing);
  41077. ;
  41078. args.push(this.PredefinedType);
  41079. ;
  41080. return args;
  41081. }
  41082. };
  41083. var IfcReinforcingMeshType = class {
  41084. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, MeshLength, MeshWidth, LongitudinalBarNominalDiameter, TransverseBarNominalDiameter, LongitudinalBarCrossSectionArea, TransverseBarCrossSectionArea, LongitudinalBarSpacing, TransverseBarSpacing, BendingShapeCode, BendingParameters) {
  41085. this.expressID = expressID;
  41086. this.type = type;
  41087. this.GlobalId = GlobalId;
  41088. this.OwnerHistory = OwnerHistory;
  41089. this.Name = Name;
  41090. this.Description = Description;
  41091. this.ApplicableOccurrence = ApplicableOccurrence;
  41092. this.HasPropertySets = HasPropertySets;
  41093. this.RepresentationMaps = RepresentationMaps;
  41094. this.Tag = Tag;
  41095. this.ElementType = ElementType;
  41096. this.PredefinedType = PredefinedType;
  41097. this.MeshLength = MeshLength;
  41098. this.MeshWidth = MeshWidth;
  41099. this.LongitudinalBarNominalDiameter = LongitudinalBarNominalDiameter;
  41100. this.TransverseBarNominalDiameter = TransverseBarNominalDiameter;
  41101. this.LongitudinalBarCrossSectionArea = LongitudinalBarCrossSectionArea;
  41102. this.TransverseBarCrossSectionArea = TransverseBarCrossSectionArea;
  41103. this.LongitudinalBarSpacing = LongitudinalBarSpacing;
  41104. this.TransverseBarSpacing = TransverseBarSpacing;
  41105. this.BendingShapeCode = BendingShapeCode;
  41106. this.BendingParameters = BendingParameters;
  41107. }
  41108. static FromTape(expressID, type, tape) {
  41109. let ptr = 0;
  41110. let GlobalId = tape[ptr++];
  41111. let OwnerHistory = tape[ptr++];
  41112. let Name = tape[ptr++];
  41113. let Description = tape[ptr++];
  41114. let ApplicableOccurrence = tape[ptr++];
  41115. let HasPropertySets = tape[ptr++];
  41116. let RepresentationMaps = tape[ptr++];
  41117. let Tag = tape[ptr++];
  41118. let ElementType = tape[ptr++];
  41119. let PredefinedType = tape[ptr++];
  41120. let MeshLength = tape[ptr++];
  41121. let MeshWidth = tape[ptr++];
  41122. let LongitudinalBarNominalDiameter = tape[ptr++];
  41123. let TransverseBarNominalDiameter = tape[ptr++];
  41124. let LongitudinalBarCrossSectionArea = tape[ptr++];
  41125. let TransverseBarCrossSectionArea = tape[ptr++];
  41126. let LongitudinalBarSpacing = tape[ptr++];
  41127. let TransverseBarSpacing = tape[ptr++];
  41128. let BendingShapeCode = tape[ptr++];
  41129. let BendingParameters = tape[ptr++];
  41130. return new IfcReinforcingMeshType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, MeshLength, MeshWidth, LongitudinalBarNominalDiameter, TransverseBarNominalDiameter, LongitudinalBarCrossSectionArea, TransverseBarCrossSectionArea, LongitudinalBarSpacing, TransverseBarSpacing, BendingShapeCode, BendingParameters);
  41131. }
  41132. ToTape() {
  41133. let args = [];
  41134. args.push(this.GlobalId);
  41135. ;
  41136. args.push(this.OwnerHistory);
  41137. ;
  41138. args.push(this.Name);
  41139. ;
  41140. args.push(this.Description);
  41141. ;
  41142. args.push(this.ApplicableOccurrence);
  41143. ;
  41144. args.push(this.HasPropertySets);
  41145. ;
  41146. args.push(this.RepresentationMaps);
  41147. ;
  41148. args.push(this.Tag);
  41149. ;
  41150. args.push(this.ElementType);
  41151. ;
  41152. args.push(this.PredefinedType);
  41153. ;
  41154. args.push(this.MeshLength);
  41155. ;
  41156. args.push(this.MeshWidth);
  41157. ;
  41158. args.push(this.LongitudinalBarNominalDiameter);
  41159. ;
  41160. args.push(this.TransverseBarNominalDiameter);
  41161. ;
  41162. args.push(this.LongitudinalBarCrossSectionArea);
  41163. ;
  41164. args.push(this.TransverseBarCrossSectionArea);
  41165. ;
  41166. args.push(this.LongitudinalBarSpacing);
  41167. ;
  41168. args.push(this.TransverseBarSpacing);
  41169. ;
  41170. args.push(this.BendingShapeCode);
  41171. ;
  41172. args.push(this.BendingParameters);
  41173. ;
  41174. return args;
  41175. }
  41176. };
  41177. var IfcRelAggregates = class {
  41178. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingObject, RelatedObjects) {
  41179. this.expressID = expressID;
  41180. this.type = type;
  41181. this.GlobalId = GlobalId;
  41182. this.OwnerHistory = OwnerHistory;
  41183. this.Name = Name;
  41184. this.Description = Description;
  41185. this.RelatingObject = RelatingObject;
  41186. this.RelatedObjects = RelatedObjects;
  41187. }
  41188. static FromTape(expressID, type, tape) {
  41189. let ptr = 0;
  41190. let GlobalId = tape[ptr++];
  41191. let OwnerHistory = tape[ptr++];
  41192. let Name = tape[ptr++];
  41193. let Description = tape[ptr++];
  41194. let RelatingObject = tape[ptr++];
  41195. let RelatedObjects = tape[ptr++];
  41196. return new IfcRelAggregates(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingObject, RelatedObjects);
  41197. }
  41198. ToTape() {
  41199. let args = [];
  41200. args.push(this.GlobalId);
  41201. ;
  41202. args.push(this.OwnerHistory);
  41203. ;
  41204. args.push(this.Name);
  41205. ;
  41206. args.push(this.Description);
  41207. ;
  41208. args.push(this.RelatingObject);
  41209. ;
  41210. args.push(this.RelatedObjects);
  41211. ;
  41212. return args;
  41213. }
  41214. };
  41215. var IfcRelAssigns = class {
  41216. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType) {
  41217. this.expressID = expressID;
  41218. this.type = type;
  41219. this.GlobalId = GlobalId;
  41220. this.OwnerHistory = OwnerHistory;
  41221. this.Name = Name;
  41222. this.Description = Description;
  41223. this.RelatedObjects = RelatedObjects;
  41224. this.RelatedObjectsType = RelatedObjectsType;
  41225. }
  41226. static FromTape(expressID, type, tape) {
  41227. let ptr = 0;
  41228. let GlobalId = tape[ptr++];
  41229. let OwnerHistory = tape[ptr++];
  41230. let Name = tape[ptr++];
  41231. let Description = tape[ptr++];
  41232. let RelatedObjects = tape[ptr++];
  41233. let RelatedObjectsType = tape[ptr++];
  41234. return new IfcRelAssigns(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType);
  41235. }
  41236. ToTape() {
  41237. let args = [];
  41238. args.push(this.GlobalId);
  41239. ;
  41240. args.push(this.OwnerHistory);
  41241. ;
  41242. args.push(this.Name);
  41243. ;
  41244. args.push(this.Description);
  41245. ;
  41246. args.push(this.RelatedObjects);
  41247. ;
  41248. args.push(this.RelatedObjectsType);
  41249. ;
  41250. return args;
  41251. }
  41252. };
  41253. var IfcRelAssignsToActor = class {
  41254. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingActor, ActingRole) {
  41255. this.expressID = expressID;
  41256. this.type = type;
  41257. this.GlobalId = GlobalId;
  41258. this.OwnerHistory = OwnerHistory;
  41259. this.Name = Name;
  41260. this.Description = Description;
  41261. this.RelatedObjects = RelatedObjects;
  41262. this.RelatedObjectsType = RelatedObjectsType;
  41263. this.RelatingActor = RelatingActor;
  41264. this.ActingRole = ActingRole;
  41265. }
  41266. static FromTape(expressID, type, tape) {
  41267. let ptr = 0;
  41268. let GlobalId = tape[ptr++];
  41269. let OwnerHistory = tape[ptr++];
  41270. let Name = tape[ptr++];
  41271. let Description = tape[ptr++];
  41272. let RelatedObjects = tape[ptr++];
  41273. let RelatedObjectsType = tape[ptr++];
  41274. let RelatingActor = tape[ptr++];
  41275. let ActingRole = tape[ptr++];
  41276. return new IfcRelAssignsToActor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingActor, ActingRole);
  41277. }
  41278. ToTape() {
  41279. let args = [];
  41280. args.push(this.GlobalId);
  41281. ;
  41282. args.push(this.OwnerHistory);
  41283. ;
  41284. args.push(this.Name);
  41285. ;
  41286. args.push(this.Description);
  41287. ;
  41288. args.push(this.RelatedObjects);
  41289. ;
  41290. args.push(this.RelatedObjectsType);
  41291. ;
  41292. args.push(this.RelatingActor);
  41293. ;
  41294. args.push(this.ActingRole);
  41295. ;
  41296. return args;
  41297. }
  41298. };
  41299. var IfcRelAssignsToControl = class {
  41300. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingControl) {
  41301. this.expressID = expressID;
  41302. this.type = type;
  41303. this.GlobalId = GlobalId;
  41304. this.OwnerHistory = OwnerHistory;
  41305. this.Name = Name;
  41306. this.Description = Description;
  41307. this.RelatedObjects = RelatedObjects;
  41308. this.RelatedObjectsType = RelatedObjectsType;
  41309. this.RelatingControl = RelatingControl;
  41310. }
  41311. static FromTape(expressID, type, tape) {
  41312. let ptr = 0;
  41313. let GlobalId = tape[ptr++];
  41314. let OwnerHistory = tape[ptr++];
  41315. let Name = tape[ptr++];
  41316. let Description = tape[ptr++];
  41317. let RelatedObjects = tape[ptr++];
  41318. let RelatedObjectsType = tape[ptr++];
  41319. let RelatingControl = tape[ptr++];
  41320. return new IfcRelAssignsToControl(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingControl);
  41321. }
  41322. ToTape() {
  41323. let args = [];
  41324. args.push(this.GlobalId);
  41325. ;
  41326. args.push(this.OwnerHistory);
  41327. ;
  41328. args.push(this.Name);
  41329. ;
  41330. args.push(this.Description);
  41331. ;
  41332. args.push(this.RelatedObjects);
  41333. ;
  41334. args.push(this.RelatedObjectsType);
  41335. ;
  41336. args.push(this.RelatingControl);
  41337. ;
  41338. return args;
  41339. }
  41340. };
  41341. var IfcRelAssignsToGroup = class {
  41342. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingGroup) {
  41343. this.expressID = expressID;
  41344. this.type = type;
  41345. this.GlobalId = GlobalId;
  41346. this.OwnerHistory = OwnerHistory;
  41347. this.Name = Name;
  41348. this.Description = Description;
  41349. this.RelatedObjects = RelatedObjects;
  41350. this.RelatedObjectsType = RelatedObjectsType;
  41351. this.RelatingGroup = RelatingGroup;
  41352. }
  41353. static FromTape(expressID, type, tape) {
  41354. let ptr = 0;
  41355. let GlobalId = tape[ptr++];
  41356. let OwnerHistory = tape[ptr++];
  41357. let Name = tape[ptr++];
  41358. let Description = tape[ptr++];
  41359. let RelatedObjects = tape[ptr++];
  41360. let RelatedObjectsType = tape[ptr++];
  41361. let RelatingGroup = tape[ptr++];
  41362. return new IfcRelAssignsToGroup(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingGroup);
  41363. }
  41364. ToTape() {
  41365. let args = [];
  41366. args.push(this.GlobalId);
  41367. ;
  41368. args.push(this.OwnerHistory);
  41369. ;
  41370. args.push(this.Name);
  41371. ;
  41372. args.push(this.Description);
  41373. ;
  41374. args.push(this.RelatedObjects);
  41375. ;
  41376. args.push(this.RelatedObjectsType);
  41377. ;
  41378. args.push(this.RelatingGroup);
  41379. ;
  41380. return args;
  41381. }
  41382. };
  41383. var IfcRelAssignsToGroupByFactor = class {
  41384. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingGroup, Factor) {
  41385. this.expressID = expressID;
  41386. this.type = type;
  41387. this.GlobalId = GlobalId;
  41388. this.OwnerHistory = OwnerHistory;
  41389. this.Name = Name;
  41390. this.Description = Description;
  41391. this.RelatedObjects = RelatedObjects;
  41392. this.RelatedObjectsType = RelatedObjectsType;
  41393. this.RelatingGroup = RelatingGroup;
  41394. this.Factor = Factor;
  41395. }
  41396. static FromTape(expressID, type, tape) {
  41397. let ptr = 0;
  41398. let GlobalId = tape[ptr++];
  41399. let OwnerHistory = tape[ptr++];
  41400. let Name = tape[ptr++];
  41401. let Description = tape[ptr++];
  41402. let RelatedObjects = tape[ptr++];
  41403. let RelatedObjectsType = tape[ptr++];
  41404. let RelatingGroup = tape[ptr++];
  41405. let Factor = tape[ptr++];
  41406. return new IfcRelAssignsToGroupByFactor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingGroup, Factor);
  41407. }
  41408. ToTape() {
  41409. let args = [];
  41410. args.push(this.GlobalId);
  41411. ;
  41412. args.push(this.OwnerHistory);
  41413. ;
  41414. args.push(this.Name);
  41415. ;
  41416. args.push(this.Description);
  41417. ;
  41418. args.push(this.RelatedObjects);
  41419. ;
  41420. args.push(this.RelatedObjectsType);
  41421. ;
  41422. args.push(this.RelatingGroup);
  41423. ;
  41424. args.push(this.Factor);
  41425. ;
  41426. return args;
  41427. }
  41428. };
  41429. var IfcRelAssignsToProcess = class {
  41430. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingProcess, QuantityInProcess) {
  41431. this.expressID = expressID;
  41432. this.type = type;
  41433. this.GlobalId = GlobalId;
  41434. this.OwnerHistory = OwnerHistory;
  41435. this.Name = Name;
  41436. this.Description = Description;
  41437. this.RelatedObjects = RelatedObjects;
  41438. this.RelatedObjectsType = RelatedObjectsType;
  41439. this.RelatingProcess = RelatingProcess;
  41440. this.QuantityInProcess = QuantityInProcess;
  41441. }
  41442. static FromTape(expressID, type, tape) {
  41443. let ptr = 0;
  41444. let GlobalId = tape[ptr++];
  41445. let OwnerHistory = tape[ptr++];
  41446. let Name = tape[ptr++];
  41447. let Description = tape[ptr++];
  41448. let RelatedObjects = tape[ptr++];
  41449. let RelatedObjectsType = tape[ptr++];
  41450. let RelatingProcess = tape[ptr++];
  41451. let QuantityInProcess = tape[ptr++];
  41452. return new IfcRelAssignsToProcess(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingProcess, QuantityInProcess);
  41453. }
  41454. ToTape() {
  41455. let args = [];
  41456. args.push(this.GlobalId);
  41457. ;
  41458. args.push(this.OwnerHistory);
  41459. ;
  41460. args.push(this.Name);
  41461. ;
  41462. args.push(this.Description);
  41463. ;
  41464. args.push(this.RelatedObjects);
  41465. ;
  41466. args.push(this.RelatedObjectsType);
  41467. ;
  41468. args.push(this.RelatingProcess);
  41469. ;
  41470. args.push(this.QuantityInProcess);
  41471. ;
  41472. return args;
  41473. }
  41474. };
  41475. var IfcRelAssignsToProduct = class {
  41476. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingProduct) {
  41477. this.expressID = expressID;
  41478. this.type = type;
  41479. this.GlobalId = GlobalId;
  41480. this.OwnerHistory = OwnerHistory;
  41481. this.Name = Name;
  41482. this.Description = Description;
  41483. this.RelatedObjects = RelatedObjects;
  41484. this.RelatedObjectsType = RelatedObjectsType;
  41485. this.RelatingProduct = RelatingProduct;
  41486. }
  41487. static FromTape(expressID, type, tape) {
  41488. let ptr = 0;
  41489. let GlobalId = tape[ptr++];
  41490. let OwnerHistory = tape[ptr++];
  41491. let Name = tape[ptr++];
  41492. let Description = tape[ptr++];
  41493. let RelatedObjects = tape[ptr++];
  41494. let RelatedObjectsType = tape[ptr++];
  41495. let RelatingProduct = tape[ptr++];
  41496. return new IfcRelAssignsToProduct(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingProduct);
  41497. }
  41498. ToTape() {
  41499. let args = [];
  41500. args.push(this.GlobalId);
  41501. ;
  41502. args.push(this.OwnerHistory);
  41503. ;
  41504. args.push(this.Name);
  41505. ;
  41506. args.push(this.Description);
  41507. ;
  41508. args.push(this.RelatedObjects);
  41509. ;
  41510. args.push(this.RelatedObjectsType);
  41511. ;
  41512. args.push(this.RelatingProduct);
  41513. ;
  41514. return args;
  41515. }
  41516. };
  41517. var IfcRelAssignsToResource = class {
  41518. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingResource) {
  41519. this.expressID = expressID;
  41520. this.type = type;
  41521. this.GlobalId = GlobalId;
  41522. this.OwnerHistory = OwnerHistory;
  41523. this.Name = Name;
  41524. this.Description = Description;
  41525. this.RelatedObjects = RelatedObjects;
  41526. this.RelatedObjectsType = RelatedObjectsType;
  41527. this.RelatingResource = RelatingResource;
  41528. }
  41529. static FromTape(expressID, type, tape) {
  41530. let ptr = 0;
  41531. let GlobalId = tape[ptr++];
  41532. let OwnerHistory = tape[ptr++];
  41533. let Name = tape[ptr++];
  41534. let Description = tape[ptr++];
  41535. let RelatedObjects = tape[ptr++];
  41536. let RelatedObjectsType = tape[ptr++];
  41537. let RelatingResource = tape[ptr++];
  41538. return new IfcRelAssignsToResource(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatedObjectsType, RelatingResource);
  41539. }
  41540. ToTape() {
  41541. let args = [];
  41542. args.push(this.GlobalId);
  41543. ;
  41544. args.push(this.OwnerHistory);
  41545. ;
  41546. args.push(this.Name);
  41547. ;
  41548. args.push(this.Description);
  41549. ;
  41550. args.push(this.RelatedObjects);
  41551. ;
  41552. args.push(this.RelatedObjectsType);
  41553. ;
  41554. args.push(this.RelatingResource);
  41555. ;
  41556. return args;
  41557. }
  41558. };
  41559. var IfcRelAssociates = class {
  41560. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects) {
  41561. this.expressID = expressID;
  41562. this.type = type;
  41563. this.GlobalId = GlobalId;
  41564. this.OwnerHistory = OwnerHistory;
  41565. this.Name = Name;
  41566. this.Description = Description;
  41567. this.RelatedObjects = RelatedObjects;
  41568. }
  41569. static FromTape(expressID, type, tape) {
  41570. let ptr = 0;
  41571. let GlobalId = tape[ptr++];
  41572. let OwnerHistory = tape[ptr++];
  41573. let Name = tape[ptr++];
  41574. let Description = tape[ptr++];
  41575. let RelatedObjects = tape[ptr++];
  41576. return new IfcRelAssociates(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects);
  41577. }
  41578. ToTape() {
  41579. let args = [];
  41580. args.push(this.GlobalId);
  41581. ;
  41582. args.push(this.OwnerHistory);
  41583. ;
  41584. args.push(this.Name);
  41585. ;
  41586. args.push(this.Description);
  41587. ;
  41588. args.push(this.RelatedObjects);
  41589. ;
  41590. return args;
  41591. }
  41592. };
  41593. var IfcRelAssociatesApproval = class {
  41594. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingApproval) {
  41595. this.expressID = expressID;
  41596. this.type = type;
  41597. this.GlobalId = GlobalId;
  41598. this.OwnerHistory = OwnerHistory;
  41599. this.Name = Name;
  41600. this.Description = Description;
  41601. this.RelatedObjects = RelatedObjects;
  41602. this.RelatingApproval = RelatingApproval;
  41603. }
  41604. static FromTape(expressID, type, tape) {
  41605. let ptr = 0;
  41606. let GlobalId = tape[ptr++];
  41607. let OwnerHistory = tape[ptr++];
  41608. let Name = tape[ptr++];
  41609. let Description = tape[ptr++];
  41610. let RelatedObjects = tape[ptr++];
  41611. let RelatingApproval = tape[ptr++];
  41612. return new IfcRelAssociatesApproval(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingApproval);
  41613. }
  41614. ToTape() {
  41615. let args = [];
  41616. args.push(this.GlobalId);
  41617. ;
  41618. args.push(this.OwnerHistory);
  41619. ;
  41620. args.push(this.Name);
  41621. ;
  41622. args.push(this.Description);
  41623. ;
  41624. args.push(this.RelatedObjects);
  41625. ;
  41626. args.push(this.RelatingApproval);
  41627. ;
  41628. return args;
  41629. }
  41630. };
  41631. var IfcRelAssociatesClassification = class {
  41632. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingClassification) {
  41633. this.expressID = expressID;
  41634. this.type = type;
  41635. this.GlobalId = GlobalId;
  41636. this.OwnerHistory = OwnerHistory;
  41637. this.Name = Name;
  41638. this.Description = Description;
  41639. this.RelatedObjects = RelatedObjects;
  41640. this.RelatingClassification = RelatingClassification;
  41641. }
  41642. static FromTape(expressID, type, tape) {
  41643. let ptr = 0;
  41644. let GlobalId = tape[ptr++];
  41645. let OwnerHistory = tape[ptr++];
  41646. let Name = tape[ptr++];
  41647. let Description = tape[ptr++];
  41648. let RelatedObjects = tape[ptr++];
  41649. let RelatingClassification = tape[ptr++];
  41650. return new IfcRelAssociatesClassification(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingClassification);
  41651. }
  41652. ToTape() {
  41653. let args = [];
  41654. args.push(this.GlobalId);
  41655. ;
  41656. args.push(this.OwnerHistory);
  41657. ;
  41658. args.push(this.Name);
  41659. ;
  41660. args.push(this.Description);
  41661. ;
  41662. args.push(this.RelatedObjects);
  41663. ;
  41664. args.push(this.RelatingClassification);
  41665. ;
  41666. return args;
  41667. }
  41668. };
  41669. var IfcRelAssociatesConstraint = class {
  41670. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, Intent, RelatingConstraint) {
  41671. this.expressID = expressID;
  41672. this.type = type;
  41673. this.GlobalId = GlobalId;
  41674. this.OwnerHistory = OwnerHistory;
  41675. this.Name = Name;
  41676. this.Description = Description;
  41677. this.RelatedObjects = RelatedObjects;
  41678. this.Intent = Intent;
  41679. this.RelatingConstraint = RelatingConstraint;
  41680. }
  41681. static FromTape(expressID, type, tape) {
  41682. let ptr = 0;
  41683. let GlobalId = tape[ptr++];
  41684. let OwnerHistory = tape[ptr++];
  41685. let Name = tape[ptr++];
  41686. let Description = tape[ptr++];
  41687. let RelatedObjects = tape[ptr++];
  41688. let Intent = tape[ptr++];
  41689. let RelatingConstraint = tape[ptr++];
  41690. return new IfcRelAssociatesConstraint(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, Intent, RelatingConstraint);
  41691. }
  41692. ToTape() {
  41693. let args = [];
  41694. args.push(this.GlobalId);
  41695. ;
  41696. args.push(this.OwnerHistory);
  41697. ;
  41698. args.push(this.Name);
  41699. ;
  41700. args.push(this.Description);
  41701. ;
  41702. args.push(this.RelatedObjects);
  41703. ;
  41704. args.push(this.Intent);
  41705. ;
  41706. args.push(this.RelatingConstraint);
  41707. ;
  41708. return args;
  41709. }
  41710. };
  41711. var IfcRelAssociatesDocument = class {
  41712. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingDocument) {
  41713. this.expressID = expressID;
  41714. this.type = type;
  41715. this.GlobalId = GlobalId;
  41716. this.OwnerHistory = OwnerHistory;
  41717. this.Name = Name;
  41718. this.Description = Description;
  41719. this.RelatedObjects = RelatedObjects;
  41720. this.RelatingDocument = RelatingDocument;
  41721. }
  41722. static FromTape(expressID, type, tape) {
  41723. let ptr = 0;
  41724. let GlobalId = tape[ptr++];
  41725. let OwnerHistory = tape[ptr++];
  41726. let Name = tape[ptr++];
  41727. let Description = tape[ptr++];
  41728. let RelatedObjects = tape[ptr++];
  41729. let RelatingDocument = tape[ptr++];
  41730. return new IfcRelAssociatesDocument(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingDocument);
  41731. }
  41732. ToTape() {
  41733. let args = [];
  41734. args.push(this.GlobalId);
  41735. ;
  41736. args.push(this.OwnerHistory);
  41737. ;
  41738. args.push(this.Name);
  41739. ;
  41740. args.push(this.Description);
  41741. ;
  41742. args.push(this.RelatedObjects);
  41743. ;
  41744. args.push(this.RelatingDocument);
  41745. ;
  41746. return args;
  41747. }
  41748. };
  41749. var IfcRelAssociatesLibrary = class {
  41750. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingLibrary) {
  41751. this.expressID = expressID;
  41752. this.type = type;
  41753. this.GlobalId = GlobalId;
  41754. this.OwnerHistory = OwnerHistory;
  41755. this.Name = Name;
  41756. this.Description = Description;
  41757. this.RelatedObjects = RelatedObjects;
  41758. this.RelatingLibrary = RelatingLibrary;
  41759. }
  41760. static FromTape(expressID, type, tape) {
  41761. let ptr = 0;
  41762. let GlobalId = tape[ptr++];
  41763. let OwnerHistory = tape[ptr++];
  41764. let Name = tape[ptr++];
  41765. let Description = tape[ptr++];
  41766. let RelatedObjects = tape[ptr++];
  41767. let RelatingLibrary = tape[ptr++];
  41768. return new IfcRelAssociatesLibrary(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingLibrary);
  41769. }
  41770. ToTape() {
  41771. let args = [];
  41772. args.push(this.GlobalId);
  41773. ;
  41774. args.push(this.OwnerHistory);
  41775. ;
  41776. args.push(this.Name);
  41777. ;
  41778. args.push(this.Description);
  41779. ;
  41780. args.push(this.RelatedObjects);
  41781. ;
  41782. args.push(this.RelatingLibrary);
  41783. ;
  41784. return args;
  41785. }
  41786. };
  41787. var IfcRelAssociatesMaterial = class {
  41788. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingMaterial) {
  41789. this.expressID = expressID;
  41790. this.type = type;
  41791. this.GlobalId = GlobalId;
  41792. this.OwnerHistory = OwnerHistory;
  41793. this.Name = Name;
  41794. this.Description = Description;
  41795. this.RelatedObjects = RelatedObjects;
  41796. this.RelatingMaterial = RelatingMaterial;
  41797. }
  41798. static FromTape(expressID, type, tape) {
  41799. let ptr = 0;
  41800. let GlobalId = tape[ptr++];
  41801. let OwnerHistory = tape[ptr++];
  41802. let Name = tape[ptr++];
  41803. let Description = tape[ptr++];
  41804. let RelatedObjects = tape[ptr++];
  41805. let RelatingMaterial = tape[ptr++];
  41806. return new IfcRelAssociatesMaterial(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingMaterial);
  41807. }
  41808. ToTape() {
  41809. let args = [];
  41810. args.push(this.GlobalId);
  41811. ;
  41812. args.push(this.OwnerHistory);
  41813. ;
  41814. args.push(this.Name);
  41815. ;
  41816. args.push(this.Description);
  41817. ;
  41818. args.push(this.RelatedObjects);
  41819. ;
  41820. args.push(this.RelatingMaterial);
  41821. ;
  41822. return args;
  41823. }
  41824. };
  41825. var IfcRelConnects = class {
  41826. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  41827. this.expressID = expressID;
  41828. this.type = type;
  41829. this.GlobalId = GlobalId;
  41830. this.OwnerHistory = OwnerHistory;
  41831. this.Name = Name;
  41832. this.Description = Description;
  41833. }
  41834. static FromTape(expressID, type, tape) {
  41835. let ptr = 0;
  41836. let GlobalId = tape[ptr++];
  41837. let OwnerHistory = tape[ptr++];
  41838. let Name = tape[ptr++];
  41839. let Description = tape[ptr++];
  41840. return new IfcRelConnects(expressID, type, GlobalId, OwnerHistory, Name, Description);
  41841. }
  41842. ToTape() {
  41843. let args = [];
  41844. args.push(this.GlobalId);
  41845. ;
  41846. args.push(this.OwnerHistory);
  41847. ;
  41848. args.push(this.Name);
  41849. ;
  41850. args.push(this.Description);
  41851. ;
  41852. return args;
  41853. }
  41854. };
  41855. var IfcRelConnectsElements = class {
  41856. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ConnectionGeometry, RelatingElement, RelatedElement) {
  41857. this.expressID = expressID;
  41858. this.type = type;
  41859. this.GlobalId = GlobalId;
  41860. this.OwnerHistory = OwnerHistory;
  41861. this.Name = Name;
  41862. this.Description = Description;
  41863. this.ConnectionGeometry = ConnectionGeometry;
  41864. this.RelatingElement = RelatingElement;
  41865. this.RelatedElement = RelatedElement;
  41866. }
  41867. static FromTape(expressID, type, tape) {
  41868. let ptr = 0;
  41869. let GlobalId = tape[ptr++];
  41870. let OwnerHistory = tape[ptr++];
  41871. let Name = tape[ptr++];
  41872. let Description = tape[ptr++];
  41873. let ConnectionGeometry = tape[ptr++];
  41874. let RelatingElement = tape[ptr++];
  41875. let RelatedElement = tape[ptr++];
  41876. return new IfcRelConnectsElements(expressID, type, GlobalId, OwnerHistory, Name, Description, ConnectionGeometry, RelatingElement, RelatedElement);
  41877. }
  41878. ToTape() {
  41879. let args = [];
  41880. args.push(this.GlobalId);
  41881. ;
  41882. args.push(this.OwnerHistory);
  41883. ;
  41884. args.push(this.Name);
  41885. ;
  41886. args.push(this.Description);
  41887. ;
  41888. args.push(this.ConnectionGeometry);
  41889. ;
  41890. args.push(this.RelatingElement);
  41891. ;
  41892. args.push(this.RelatedElement);
  41893. ;
  41894. return args;
  41895. }
  41896. };
  41897. var IfcRelConnectsPathElements = class {
  41898. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ConnectionGeometry, RelatingElement, RelatedElement, RelatingPriorities, RelatedPriorities, RelatedConnectionType, RelatingConnectionType) {
  41899. this.expressID = expressID;
  41900. this.type = type;
  41901. this.GlobalId = GlobalId;
  41902. this.OwnerHistory = OwnerHistory;
  41903. this.Name = Name;
  41904. this.Description = Description;
  41905. this.ConnectionGeometry = ConnectionGeometry;
  41906. this.RelatingElement = RelatingElement;
  41907. this.RelatedElement = RelatedElement;
  41908. this.RelatingPriorities = RelatingPriorities;
  41909. this.RelatedPriorities = RelatedPriorities;
  41910. this.RelatedConnectionType = RelatedConnectionType;
  41911. this.RelatingConnectionType = RelatingConnectionType;
  41912. }
  41913. static FromTape(expressID, type, tape) {
  41914. let ptr = 0;
  41915. let GlobalId = tape[ptr++];
  41916. let OwnerHistory = tape[ptr++];
  41917. let Name = tape[ptr++];
  41918. let Description = tape[ptr++];
  41919. let ConnectionGeometry = tape[ptr++];
  41920. let RelatingElement = tape[ptr++];
  41921. let RelatedElement = tape[ptr++];
  41922. let RelatingPriorities = tape[ptr++];
  41923. let RelatedPriorities = tape[ptr++];
  41924. let RelatedConnectionType = tape[ptr++];
  41925. let RelatingConnectionType = tape[ptr++];
  41926. return new IfcRelConnectsPathElements(expressID, type, GlobalId, OwnerHistory, Name, Description, ConnectionGeometry, RelatingElement, RelatedElement, RelatingPriorities, RelatedPriorities, RelatedConnectionType, RelatingConnectionType);
  41927. }
  41928. ToTape() {
  41929. let args = [];
  41930. args.push(this.GlobalId);
  41931. ;
  41932. args.push(this.OwnerHistory);
  41933. ;
  41934. args.push(this.Name);
  41935. ;
  41936. args.push(this.Description);
  41937. ;
  41938. args.push(this.ConnectionGeometry);
  41939. ;
  41940. args.push(this.RelatingElement);
  41941. ;
  41942. args.push(this.RelatedElement);
  41943. ;
  41944. args.push(this.RelatingPriorities);
  41945. ;
  41946. args.push(this.RelatedPriorities);
  41947. ;
  41948. args.push(this.RelatedConnectionType);
  41949. ;
  41950. args.push(this.RelatingConnectionType);
  41951. ;
  41952. return args;
  41953. }
  41954. };
  41955. var IfcRelConnectsPortToElement = class {
  41956. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingPort, RelatedElement) {
  41957. this.expressID = expressID;
  41958. this.type = type;
  41959. this.GlobalId = GlobalId;
  41960. this.OwnerHistory = OwnerHistory;
  41961. this.Name = Name;
  41962. this.Description = Description;
  41963. this.RelatingPort = RelatingPort;
  41964. this.RelatedElement = RelatedElement;
  41965. }
  41966. static FromTape(expressID, type, tape) {
  41967. let ptr = 0;
  41968. let GlobalId = tape[ptr++];
  41969. let OwnerHistory = tape[ptr++];
  41970. let Name = tape[ptr++];
  41971. let Description = tape[ptr++];
  41972. let RelatingPort = tape[ptr++];
  41973. let RelatedElement = tape[ptr++];
  41974. return new IfcRelConnectsPortToElement(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingPort, RelatedElement);
  41975. }
  41976. ToTape() {
  41977. let args = [];
  41978. args.push(this.GlobalId);
  41979. ;
  41980. args.push(this.OwnerHistory);
  41981. ;
  41982. args.push(this.Name);
  41983. ;
  41984. args.push(this.Description);
  41985. ;
  41986. args.push(this.RelatingPort);
  41987. ;
  41988. args.push(this.RelatedElement);
  41989. ;
  41990. return args;
  41991. }
  41992. };
  41993. var IfcRelConnectsPorts = class {
  41994. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingPort, RelatedPort, RealizingElement) {
  41995. this.expressID = expressID;
  41996. this.type = type;
  41997. this.GlobalId = GlobalId;
  41998. this.OwnerHistory = OwnerHistory;
  41999. this.Name = Name;
  42000. this.Description = Description;
  42001. this.RelatingPort = RelatingPort;
  42002. this.RelatedPort = RelatedPort;
  42003. this.RealizingElement = RealizingElement;
  42004. }
  42005. static FromTape(expressID, type, tape) {
  42006. let ptr = 0;
  42007. let GlobalId = tape[ptr++];
  42008. let OwnerHistory = tape[ptr++];
  42009. let Name = tape[ptr++];
  42010. let Description = tape[ptr++];
  42011. let RelatingPort = tape[ptr++];
  42012. let RelatedPort = tape[ptr++];
  42013. let RealizingElement = tape[ptr++];
  42014. return new IfcRelConnectsPorts(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingPort, RelatedPort, RealizingElement);
  42015. }
  42016. ToTape() {
  42017. let args = [];
  42018. args.push(this.GlobalId);
  42019. ;
  42020. args.push(this.OwnerHistory);
  42021. ;
  42022. args.push(this.Name);
  42023. ;
  42024. args.push(this.Description);
  42025. ;
  42026. args.push(this.RelatingPort);
  42027. ;
  42028. args.push(this.RelatedPort);
  42029. ;
  42030. args.push(this.RealizingElement);
  42031. ;
  42032. return args;
  42033. }
  42034. };
  42035. var IfcRelConnectsStructuralActivity = class {
  42036. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingElement, RelatedStructuralActivity) {
  42037. this.expressID = expressID;
  42038. this.type = type;
  42039. this.GlobalId = GlobalId;
  42040. this.OwnerHistory = OwnerHistory;
  42041. this.Name = Name;
  42042. this.Description = Description;
  42043. this.RelatingElement = RelatingElement;
  42044. this.RelatedStructuralActivity = RelatedStructuralActivity;
  42045. }
  42046. static FromTape(expressID, type, tape) {
  42047. let ptr = 0;
  42048. let GlobalId = tape[ptr++];
  42049. let OwnerHistory = tape[ptr++];
  42050. let Name = tape[ptr++];
  42051. let Description = tape[ptr++];
  42052. let RelatingElement = tape[ptr++];
  42053. let RelatedStructuralActivity = tape[ptr++];
  42054. return new IfcRelConnectsStructuralActivity(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingElement, RelatedStructuralActivity);
  42055. }
  42056. ToTape() {
  42057. let args = [];
  42058. args.push(this.GlobalId);
  42059. ;
  42060. args.push(this.OwnerHistory);
  42061. ;
  42062. args.push(this.Name);
  42063. ;
  42064. args.push(this.Description);
  42065. ;
  42066. args.push(this.RelatingElement);
  42067. ;
  42068. args.push(this.RelatedStructuralActivity);
  42069. ;
  42070. return args;
  42071. }
  42072. };
  42073. var IfcRelConnectsStructuralMember = class {
  42074. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingStructuralMember, RelatedStructuralConnection, AppliedCondition, AdditionalConditions, SupportedLength, ConditionCoordinateSystem) {
  42075. this.expressID = expressID;
  42076. this.type = type;
  42077. this.GlobalId = GlobalId;
  42078. this.OwnerHistory = OwnerHistory;
  42079. this.Name = Name;
  42080. this.Description = Description;
  42081. this.RelatingStructuralMember = RelatingStructuralMember;
  42082. this.RelatedStructuralConnection = RelatedStructuralConnection;
  42083. this.AppliedCondition = AppliedCondition;
  42084. this.AdditionalConditions = AdditionalConditions;
  42085. this.SupportedLength = SupportedLength;
  42086. this.ConditionCoordinateSystem = ConditionCoordinateSystem;
  42087. }
  42088. static FromTape(expressID, type, tape) {
  42089. let ptr = 0;
  42090. let GlobalId = tape[ptr++];
  42091. let OwnerHistory = tape[ptr++];
  42092. let Name = tape[ptr++];
  42093. let Description = tape[ptr++];
  42094. let RelatingStructuralMember = tape[ptr++];
  42095. let RelatedStructuralConnection = tape[ptr++];
  42096. let AppliedCondition = tape[ptr++];
  42097. let AdditionalConditions = tape[ptr++];
  42098. let SupportedLength = tape[ptr++];
  42099. let ConditionCoordinateSystem = tape[ptr++];
  42100. return new IfcRelConnectsStructuralMember(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingStructuralMember, RelatedStructuralConnection, AppliedCondition, AdditionalConditions, SupportedLength, ConditionCoordinateSystem);
  42101. }
  42102. ToTape() {
  42103. let args = [];
  42104. args.push(this.GlobalId);
  42105. ;
  42106. args.push(this.OwnerHistory);
  42107. ;
  42108. args.push(this.Name);
  42109. ;
  42110. args.push(this.Description);
  42111. ;
  42112. args.push(this.RelatingStructuralMember);
  42113. ;
  42114. args.push(this.RelatedStructuralConnection);
  42115. ;
  42116. args.push(this.AppliedCondition);
  42117. ;
  42118. args.push(this.AdditionalConditions);
  42119. ;
  42120. args.push(this.SupportedLength);
  42121. ;
  42122. args.push(this.ConditionCoordinateSystem);
  42123. ;
  42124. return args;
  42125. }
  42126. };
  42127. var IfcRelConnectsWithEccentricity = class {
  42128. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingStructuralMember, RelatedStructuralConnection, AppliedCondition, AdditionalConditions, SupportedLength, ConditionCoordinateSystem, ConnectionConstraint) {
  42129. this.expressID = expressID;
  42130. this.type = type;
  42131. this.GlobalId = GlobalId;
  42132. this.OwnerHistory = OwnerHistory;
  42133. this.Name = Name;
  42134. this.Description = Description;
  42135. this.RelatingStructuralMember = RelatingStructuralMember;
  42136. this.RelatedStructuralConnection = RelatedStructuralConnection;
  42137. this.AppliedCondition = AppliedCondition;
  42138. this.AdditionalConditions = AdditionalConditions;
  42139. this.SupportedLength = SupportedLength;
  42140. this.ConditionCoordinateSystem = ConditionCoordinateSystem;
  42141. this.ConnectionConstraint = ConnectionConstraint;
  42142. }
  42143. static FromTape(expressID, type, tape) {
  42144. let ptr = 0;
  42145. let GlobalId = tape[ptr++];
  42146. let OwnerHistory = tape[ptr++];
  42147. let Name = tape[ptr++];
  42148. let Description = tape[ptr++];
  42149. let RelatingStructuralMember = tape[ptr++];
  42150. let RelatedStructuralConnection = tape[ptr++];
  42151. let AppliedCondition = tape[ptr++];
  42152. let AdditionalConditions = tape[ptr++];
  42153. let SupportedLength = tape[ptr++];
  42154. let ConditionCoordinateSystem = tape[ptr++];
  42155. let ConnectionConstraint = tape[ptr++];
  42156. return new IfcRelConnectsWithEccentricity(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingStructuralMember, RelatedStructuralConnection, AppliedCondition, AdditionalConditions, SupportedLength, ConditionCoordinateSystem, ConnectionConstraint);
  42157. }
  42158. ToTape() {
  42159. let args = [];
  42160. args.push(this.GlobalId);
  42161. ;
  42162. args.push(this.OwnerHistory);
  42163. ;
  42164. args.push(this.Name);
  42165. ;
  42166. args.push(this.Description);
  42167. ;
  42168. args.push(this.RelatingStructuralMember);
  42169. ;
  42170. args.push(this.RelatedStructuralConnection);
  42171. ;
  42172. args.push(this.AppliedCondition);
  42173. ;
  42174. args.push(this.AdditionalConditions);
  42175. ;
  42176. args.push(this.SupportedLength);
  42177. ;
  42178. args.push(this.ConditionCoordinateSystem);
  42179. ;
  42180. args.push(this.ConnectionConstraint);
  42181. ;
  42182. return args;
  42183. }
  42184. };
  42185. var IfcRelConnectsWithRealizingElements = class {
  42186. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ConnectionGeometry, RelatingElement, RelatedElement, RealizingElements, ConnectionType) {
  42187. this.expressID = expressID;
  42188. this.type = type;
  42189. this.GlobalId = GlobalId;
  42190. this.OwnerHistory = OwnerHistory;
  42191. this.Name = Name;
  42192. this.Description = Description;
  42193. this.ConnectionGeometry = ConnectionGeometry;
  42194. this.RelatingElement = RelatingElement;
  42195. this.RelatedElement = RelatedElement;
  42196. this.RealizingElements = RealizingElements;
  42197. this.ConnectionType = ConnectionType;
  42198. }
  42199. static FromTape(expressID, type, tape) {
  42200. let ptr = 0;
  42201. let GlobalId = tape[ptr++];
  42202. let OwnerHistory = tape[ptr++];
  42203. let Name = tape[ptr++];
  42204. let Description = tape[ptr++];
  42205. let ConnectionGeometry = tape[ptr++];
  42206. let RelatingElement = tape[ptr++];
  42207. let RelatedElement = tape[ptr++];
  42208. let RealizingElements = tape[ptr++];
  42209. let ConnectionType = tape[ptr++];
  42210. return new IfcRelConnectsWithRealizingElements(expressID, type, GlobalId, OwnerHistory, Name, Description, ConnectionGeometry, RelatingElement, RelatedElement, RealizingElements, ConnectionType);
  42211. }
  42212. ToTape() {
  42213. let args = [];
  42214. args.push(this.GlobalId);
  42215. ;
  42216. args.push(this.OwnerHistory);
  42217. ;
  42218. args.push(this.Name);
  42219. ;
  42220. args.push(this.Description);
  42221. ;
  42222. args.push(this.ConnectionGeometry);
  42223. ;
  42224. args.push(this.RelatingElement);
  42225. ;
  42226. args.push(this.RelatedElement);
  42227. ;
  42228. args.push(this.RealizingElements);
  42229. ;
  42230. args.push(this.ConnectionType);
  42231. ;
  42232. return args;
  42233. }
  42234. };
  42235. var IfcRelContainedInSpatialStructure = class {
  42236. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedElements, RelatingStructure) {
  42237. this.expressID = expressID;
  42238. this.type = type;
  42239. this.GlobalId = GlobalId;
  42240. this.OwnerHistory = OwnerHistory;
  42241. this.Name = Name;
  42242. this.Description = Description;
  42243. this.RelatedElements = RelatedElements;
  42244. this.RelatingStructure = RelatingStructure;
  42245. }
  42246. static FromTape(expressID, type, tape) {
  42247. let ptr = 0;
  42248. let GlobalId = tape[ptr++];
  42249. let OwnerHistory = tape[ptr++];
  42250. let Name = tape[ptr++];
  42251. let Description = tape[ptr++];
  42252. let RelatedElements = tape[ptr++];
  42253. let RelatingStructure = tape[ptr++];
  42254. return new IfcRelContainedInSpatialStructure(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedElements, RelatingStructure);
  42255. }
  42256. ToTape() {
  42257. let args = [];
  42258. args.push(this.GlobalId);
  42259. ;
  42260. args.push(this.OwnerHistory);
  42261. ;
  42262. args.push(this.Name);
  42263. ;
  42264. args.push(this.Description);
  42265. ;
  42266. args.push(this.RelatedElements);
  42267. ;
  42268. args.push(this.RelatingStructure);
  42269. ;
  42270. return args;
  42271. }
  42272. };
  42273. var IfcRelCoversBldgElements = class {
  42274. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingBuildingElement, RelatedCoverings) {
  42275. this.expressID = expressID;
  42276. this.type = type;
  42277. this.GlobalId = GlobalId;
  42278. this.OwnerHistory = OwnerHistory;
  42279. this.Name = Name;
  42280. this.Description = Description;
  42281. this.RelatingBuildingElement = RelatingBuildingElement;
  42282. this.RelatedCoverings = RelatedCoverings;
  42283. }
  42284. static FromTape(expressID, type, tape) {
  42285. let ptr = 0;
  42286. let GlobalId = tape[ptr++];
  42287. let OwnerHistory = tape[ptr++];
  42288. let Name = tape[ptr++];
  42289. let Description = tape[ptr++];
  42290. let RelatingBuildingElement = tape[ptr++];
  42291. let RelatedCoverings = tape[ptr++];
  42292. return new IfcRelCoversBldgElements(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingBuildingElement, RelatedCoverings);
  42293. }
  42294. ToTape() {
  42295. let args = [];
  42296. args.push(this.GlobalId);
  42297. ;
  42298. args.push(this.OwnerHistory);
  42299. ;
  42300. args.push(this.Name);
  42301. ;
  42302. args.push(this.Description);
  42303. ;
  42304. args.push(this.RelatingBuildingElement);
  42305. ;
  42306. args.push(this.RelatedCoverings);
  42307. ;
  42308. return args;
  42309. }
  42310. };
  42311. var IfcRelCoversSpaces = class {
  42312. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSpace, RelatedCoverings) {
  42313. this.expressID = expressID;
  42314. this.type = type;
  42315. this.GlobalId = GlobalId;
  42316. this.OwnerHistory = OwnerHistory;
  42317. this.Name = Name;
  42318. this.Description = Description;
  42319. this.RelatingSpace = RelatingSpace;
  42320. this.RelatedCoverings = RelatedCoverings;
  42321. }
  42322. static FromTape(expressID, type, tape) {
  42323. let ptr = 0;
  42324. let GlobalId = tape[ptr++];
  42325. let OwnerHistory = tape[ptr++];
  42326. let Name = tape[ptr++];
  42327. let Description = tape[ptr++];
  42328. let RelatingSpace = tape[ptr++];
  42329. let RelatedCoverings = tape[ptr++];
  42330. return new IfcRelCoversSpaces(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSpace, RelatedCoverings);
  42331. }
  42332. ToTape() {
  42333. let args = [];
  42334. args.push(this.GlobalId);
  42335. ;
  42336. args.push(this.OwnerHistory);
  42337. ;
  42338. args.push(this.Name);
  42339. ;
  42340. args.push(this.Description);
  42341. ;
  42342. args.push(this.RelatingSpace);
  42343. ;
  42344. args.push(this.RelatedCoverings);
  42345. ;
  42346. return args;
  42347. }
  42348. };
  42349. var IfcRelDeclares = class {
  42350. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingContext, RelatedDefinitions) {
  42351. this.expressID = expressID;
  42352. this.type = type;
  42353. this.GlobalId = GlobalId;
  42354. this.OwnerHistory = OwnerHistory;
  42355. this.Name = Name;
  42356. this.Description = Description;
  42357. this.RelatingContext = RelatingContext;
  42358. this.RelatedDefinitions = RelatedDefinitions;
  42359. }
  42360. static FromTape(expressID, type, tape) {
  42361. let ptr = 0;
  42362. let GlobalId = tape[ptr++];
  42363. let OwnerHistory = tape[ptr++];
  42364. let Name = tape[ptr++];
  42365. let Description = tape[ptr++];
  42366. let RelatingContext = tape[ptr++];
  42367. let RelatedDefinitions = tape[ptr++];
  42368. return new IfcRelDeclares(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingContext, RelatedDefinitions);
  42369. }
  42370. ToTape() {
  42371. let args = [];
  42372. args.push(this.GlobalId);
  42373. ;
  42374. args.push(this.OwnerHistory);
  42375. ;
  42376. args.push(this.Name);
  42377. ;
  42378. args.push(this.Description);
  42379. ;
  42380. args.push(this.RelatingContext);
  42381. ;
  42382. args.push(this.RelatedDefinitions);
  42383. ;
  42384. return args;
  42385. }
  42386. };
  42387. var IfcRelDecomposes = class {
  42388. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  42389. this.expressID = expressID;
  42390. this.type = type;
  42391. this.GlobalId = GlobalId;
  42392. this.OwnerHistory = OwnerHistory;
  42393. this.Name = Name;
  42394. this.Description = Description;
  42395. }
  42396. static FromTape(expressID, type, tape) {
  42397. let ptr = 0;
  42398. let GlobalId = tape[ptr++];
  42399. let OwnerHistory = tape[ptr++];
  42400. let Name = tape[ptr++];
  42401. let Description = tape[ptr++];
  42402. return new IfcRelDecomposes(expressID, type, GlobalId, OwnerHistory, Name, Description);
  42403. }
  42404. ToTape() {
  42405. let args = [];
  42406. args.push(this.GlobalId);
  42407. ;
  42408. args.push(this.OwnerHistory);
  42409. ;
  42410. args.push(this.Name);
  42411. ;
  42412. args.push(this.Description);
  42413. ;
  42414. return args;
  42415. }
  42416. };
  42417. var IfcRelDefines = class {
  42418. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  42419. this.expressID = expressID;
  42420. this.type = type;
  42421. this.GlobalId = GlobalId;
  42422. this.OwnerHistory = OwnerHistory;
  42423. this.Name = Name;
  42424. this.Description = Description;
  42425. }
  42426. static FromTape(expressID, type, tape) {
  42427. let ptr = 0;
  42428. let GlobalId = tape[ptr++];
  42429. let OwnerHistory = tape[ptr++];
  42430. let Name = tape[ptr++];
  42431. let Description = tape[ptr++];
  42432. return new IfcRelDefines(expressID, type, GlobalId, OwnerHistory, Name, Description);
  42433. }
  42434. ToTape() {
  42435. let args = [];
  42436. args.push(this.GlobalId);
  42437. ;
  42438. args.push(this.OwnerHistory);
  42439. ;
  42440. args.push(this.Name);
  42441. ;
  42442. args.push(this.Description);
  42443. ;
  42444. return args;
  42445. }
  42446. };
  42447. var IfcRelDefinesByObject = class {
  42448. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingObject) {
  42449. this.expressID = expressID;
  42450. this.type = type;
  42451. this.GlobalId = GlobalId;
  42452. this.OwnerHistory = OwnerHistory;
  42453. this.Name = Name;
  42454. this.Description = Description;
  42455. this.RelatedObjects = RelatedObjects;
  42456. this.RelatingObject = RelatingObject;
  42457. }
  42458. static FromTape(expressID, type, tape) {
  42459. let ptr = 0;
  42460. let GlobalId = tape[ptr++];
  42461. let OwnerHistory = tape[ptr++];
  42462. let Name = tape[ptr++];
  42463. let Description = tape[ptr++];
  42464. let RelatedObjects = tape[ptr++];
  42465. let RelatingObject = tape[ptr++];
  42466. return new IfcRelDefinesByObject(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingObject);
  42467. }
  42468. ToTape() {
  42469. let args = [];
  42470. args.push(this.GlobalId);
  42471. ;
  42472. args.push(this.OwnerHistory);
  42473. ;
  42474. args.push(this.Name);
  42475. ;
  42476. args.push(this.Description);
  42477. ;
  42478. args.push(this.RelatedObjects);
  42479. ;
  42480. args.push(this.RelatingObject);
  42481. ;
  42482. return args;
  42483. }
  42484. };
  42485. var IfcRelDefinesByProperties = class {
  42486. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingPropertyDefinition) {
  42487. this.expressID = expressID;
  42488. this.type = type;
  42489. this.GlobalId = GlobalId;
  42490. this.OwnerHistory = OwnerHistory;
  42491. this.Name = Name;
  42492. this.Description = Description;
  42493. this.RelatedObjects = RelatedObjects;
  42494. this.RelatingPropertyDefinition = RelatingPropertyDefinition;
  42495. }
  42496. static FromTape(expressID, type, tape) {
  42497. let ptr = 0;
  42498. let GlobalId = tape[ptr++];
  42499. let OwnerHistory = tape[ptr++];
  42500. let Name = tape[ptr++];
  42501. let Description = tape[ptr++];
  42502. let RelatedObjects = tape[ptr++];
  42503. let RelatingPropertyDefinition = tape[ptr++];
  42504. return new IfcRelDefinesByProperties(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingPropertyDefinition);
  42505. }
  42506. ToTape() {
  42507. let args = [];
  42508. args.push(this.GlobalId);
  42509. ;
  42510. args.push(this.OwnerHistory);
  42511. ;
  42512. args.push(this.Name);
  42513. ;
  42514. args.push(this.Description);
  42515. ;
  42516. args.push(this.RelatedObjects);
  42517. ;
  42518. args.push(this.RelatingPropertyDefinition);
  42519. ;
  42520. return args;
  42521. }
  42522. };
  42523. var IfcRelDefinesByTemplate = class {
  42524. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedPropertySets, RelatingTemplate) {
  42525. this.expressID = expressID;
  42526. this.type = type;
  42527. this.GlobalId = GlobalId;
  42528. this.OwnerHistory = OwnerHistory;
  42529. this.Name = Name;
  42530. this.Description = Description;
  42531. this.RelatedPropertySets = RelatedPropertySets;
  42532. this.RelatingTemplate = RelatingTemplate;
  42533. }
  42534. static FromTape(expressID, type, tape) {
  42535. let ptr = 0;
  42536. let GlobalId = tape[ptr++];
  42537. let OwnerHistory = tape[ptr++];
  42538. let Name = tape[ptr++];
  42539. let Description = tape[ptr++];
  42540. let RelatedPropertySets = tape[ptr++];
  42541. let RelatingTemplate = tape[ptr++];
  42542. return new IfcRelDefinesByTemplate(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedPropertySets, RelatingTemplate);
  42543. }
  42544. ToTape() {
  42545. let args = [];
  42546. args.push(this.GlobalId);
  42547. ;
  42548. args.push(this.OwnerHistory);
  42549. ;
  42550. args.push(this.Name);
  42551. ;
  42552. args.push(this.Description);
  42553. ;
  42554. args.push(this.RelatedPropertySets);
  42555. ;
  42556. args.push(this.RelatingTemplate);
  42557. ;
  42558. return args;
  42559. }
  42560. };
  42561. var IfcRelDefinesByType = class {
  42562. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingType) {
  42563. this.expressID = expressID;
  42564. this.type = type;
  42565. this.GlobalId = GlobalId;
  42566. this.OwnerHistory = OwnerHistory;
  42567. this.Name = Name;
  42568. this.Description = Description;
  42569. this.RelatedObjects = RelatedObjects;
  42570. this.RelatingType = RelatingType;
  42571. }
  42572. static FromTape(expressID, type, tape) {
  42573. let ptr = 0;
  42574. let GlobalId = tape[ptr++];
  42575. let OwnerHistory = tape[ptr++];
  42576. let Name = tape[ptr++];
  42577. let Description = tape[ptr++];
  42578. let RelatedObjects = tape[ptr++];
  42579. let RelatingType = tape[ptr++];
  42580. return new IfcRelDefinesByType(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedObjects, RelatingType);
  42581. }
  42582. ToTape() {
  42583. let args = [];
  42584. args.push(this.GlobalId);
  42585. ;
  42586. args.push(this.OwnerHistory);
  42587. ;
  42588. args.push(this.Name);
  42589. ;
  42590. args.push(this.Description);
  42591. ;
  42592. args.push(this.RelatedObjects);
  42593. ;
  42594. args.push(this.RelatingType);
  42595. ;
  42596. return args;
  42597. }
  42598. };
  42599. var IfcRelFillsElement = class {
  42600. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingOpeningElement, RelatedBuildingElement) {
  42601. this.expressID = expressID;
  42602. this.type = type;
  42603. this.GlobalId = GlobalId;
  42604. this.OwnerHistory = OwnerHistory;
  42605. this.Name = Name;
  42606. this.Description = Description;
  42607. this.RelatingOpeningElement = RelatingOpeningElement;
  42608. this.RelatedBuildingElement = RelatedBuildingElement;
  42609. }
  42610. static FromTape(expressID, type, tape) {
  42611. let ptr = 0;
  42612. let GlobalId = tape[ptr++];
  42613. let OwnerHistory = tape[ptr++];
  42614. let Name = tape[ptr++];
  42615. let Description = tape[ptr++];
  42616. let RelatingOpeningElement = tape[ptr++];
  42617. let RelatedBuildingElement = tape[ptr++];
  42618. return new IfcRelFillsElement(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingOpeningElement, RelatedBuildingElement);
  42619. }
  42620. ToTape() {
  42621. let args = [];
  42622. args.push(this.GlobalId);
  42623. ;
  42624. args.push(this.OwnerHistory);
  42625. ;
  42626. args.push(this.Name);
  42627. ;
  42628. args.push(this.Description);
  42629. ;
  42630. args.push(this.RelatingOpeningElement);
  42631. ;
  42632. args.push(this.RelatedBuildingElement);
  42633. ;
  42634. return args;
  42635. }
  42636. };
  42637. var IfcRelFlowControlElements = class {
  42638. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedControlElements, RelatingFlowElement) {
  42639. this.expressID = expressID;
  42640. this.type = type;
  42641. this.GlobalId = GlobalId;
  42642. this.OwnerHistory = OwnerHistory;
  42643. this.Name = Name;
  42644. this.Description = Description;
  42645. this.RelatedControlElements = RelatedControlElements;
  42646. this.RelatingFlowElement = RelatingFlowElement;
  42647. }
  42648. static FromTape(expressID, type, tape) {
  42649. let ptr = 0;
  42650. let GlobalId = tape[ptr++];
  42651. let OwnerHistory = tape[ptr++];
  42652. let Name = tape[ptr++];
  42653. let Description = tape[ptr++];
  42654. let RelatedControlElements = tape[ptr++];
  42655. let RelatingFlowElement = tape[ptr++];
  42656. return new IfcRelFlowControlElements(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedControlElements, RelatingFlowElement);
  42657. }
  42658. ToTape() {
  42659. let args = [];
  42660. args.push(this.GlobalId);
  42661. ;
  42662. args.push(this.OwnerHistory);
  42663. ;
  42664. args.push(this.Name);
  42665. ;
  42666. args.push(this.Description);
  42667. ;
  42668. args.push(this.RelatedControlElements);
  42669. ;
  42670. args.push(this.RelatingFlowElement);
  42671. ;
  42672. return args;
  42673. }
  42674. };
  42675. var IfcRelInterferesElements = class {
  42676. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingElement, RelatedElement, InterferenceGeometry, InterferenceType, ImpliedOrder) {
  42677. this.expressID = expressID;
  42678. this.type = type;
  42679. this.GlobalId = GlobalId;
  42680. this.OwnerHistory = OwnerHistory;
  42681. this.Name = Name;
  42682. this.Description = Description;
  42683. this.RelatingElement = RelatingElement;
  42684. this.RelatedElement = RelatedElement;
  42685. this.InterferenceGeometry = InterferenceGeometry;
  42686. this.InterferenceType = InterferenceType;
  42687. this.ImpliedOrder = ImpliedOrder;
  42688. }
  42689. static FromTape(expressID, type, tape) {
  42690. let ptr = 0;
  42691. let GlobalId = tape[ptr++];
  42692. let OwnerHistory = tape[ptr++];
  42693. let Name = tape[ptr++];
  42694. let Description = tape[ptr++];
  42695. let RelatingElement = tape[ptr++];
  42696. let RelatedElement = tape[ptr++];
  42697. let InterferenceGeometry = tape[ptr++];
  42698. let InterferenceType = tape[ptr++];
  42699. let ImpliedOrder = tape[ptr++];
  42700. return new IfcRelInterferesElements(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingElement, RelatedElement, InterferenceGeometry, InterferenceType, ImpliedOrder);
  42701. }
  42702. ToTape() {
  42703. let args = [];
  42704. args.push(this.GlobalId);
  42705. ;
  42706. args.push(this.OwnerHistory);
  42707. ;
  42708. args.push(this.Name);
  42709. ;
  42710. args.push(this.Description);
  42711. ;
  42712. args.push(this.RelatingElement);
  42713. ;
  42714. args.push(this.RelatedElement);
  42715. ;
  42716. args.push(this.InterferenceGeometry);
  42717. ;
  42718. args.push(this.InterferenceType);
  42719. ;
  42720. args.push(this.ImpliedOrder);
  42721. ;
  42722. return args;
  42723. }
  42724. };
  42725. var IfcRelNests = class {
  42726. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingObject, RelatedObjects) {
  42727. this.expressID = expressID;
  42728. this.type = type;
  42729. this.GlobalId = GlobalId;
  42730. this.OwnerHistory = OwnerHistory;
  42731. this.Name = Name;
  42732. this.Description = Description;
  42733. this.RelatingObject = RelatingObject;
  42734. this.RelatedObjects = RelatedObjects;
  42735. }
  42736. static FromTape(expressID, type, tape) {
  42737. let ptr = 0;
  42738. let GlobalId = tape[ptr++];
  42739. let OwnerHistory = tape[ptr++];
  42740. let Name = tape[ptr++];
  42741. let Description = tape[ptr++];
  42742. let RelatingObject = tape[ptr++];
  42743. let RelatedObjects = tape[ptr++];
  42744. return new IfcRelNests(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingObject, RelatedObjects);
  42745. }
  42746. ToTape() {
  42747. let args = [];
  42748. args.push(this.GlobalId);
  42749. ;
  42750. args.push(this.OwnerHistory);
  42751. ;
  42752. args.push(this.Name);
  42753. ;
  42754. args.push(this.Description);
  42755. ;
  42756. args.push(this.RelatingObject);
  42757. ;
  42758. args.push(this.RelatedObjects);
  42759. ;
  42760. return args;
  42761. }
  42762. };
  42763. var IfcRelPositions = class {
  42764. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingPositioningElement, RelatedProducts) {
  42765. this.expressID = expressID;
  42766. this.type = type;
  42767. this.GlobalId = GlobalId;
  42768. this.OwnerHistory = OwnerHistory;
  42769. this.Name = Name;
  42770. this.Description = Description;
  42771. this.RelatingPositioningElement = RelatingPositioningElement;
  42772. this.RelatedProducts = RelatedProducts;
  42773. }
  42774. static FromTape(expressID, type, tape) {
  42775. let ptr = 0;
  42776. let GlobalId = tape[ptr++];
  42777. let OwnerHistory = tape[ptr++];
  42778. let Name = tape[ptr++];
  42779. let Description = tape[ptr++];
  42780. let RelatingPositioningElement = tape[ptr++];
  42781. let RelatedProducts = tape[ptr++];
  42782. return new IfcRelPositions(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingPositioningElement, RelatedProducts);
  42783. }
  42784. ToTape() {
  42785. let args = [];
  42786. args.push(this.GlobalId);
  42787. ;
  42788. args.push(this.OwnerHistory);
  42789. ;
  42790. args.push(this.Name);
  42791. ;
  42792. args.push(this.Description);
  42793. ;
  42794. args.push(this.RelatingPositioningElement);
  42795. ;
  42796. args.push(this.RelatedProducts);
  42797. ;
  42798. return args;
  42799. }
  42800. };
  42801. var IfcRelProjectsElement = class {
  42802. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingElement, RelatedFeatureElement) {
  42803. this.expressID = expressID;
  42804. this.type = type;
  42805. this.GlobalId = GlobalId;
  42806. this.OwnerHistory = OwnerHistory;
  42807. this.Name = Name;
  42808. this.Description = Description;
  42809. this.RelatingElement = RelatingElement;
  42810. this.RelatedFeatureElement = RelatedFeatureElement;
  42811. }
  42812. static FromTape(expressID, type, tape) {
  42813. let ptr = 0;
  42814. let GlobalId = tape[ptr++];
  42815. let OwnerHistory = tape[ptr++];
  42816. let Name = tape[ptr++];
  42817. let Description = tape[ptr++];
  42818. let RelatingElement = tape[ptr++];
  42819. let RelatedFeatureElement = tape[ptr++];
  42820. return new IfcRelProjectsElement(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingElement, RelatedFeatureElement);
  42821. }
  42822. ToTape() {
  42823. let args = [];
  42824. args.push(this.GlobalId);
  42825. ;
  42826. args.push(this.OwnerHistory);
  42827. ;
  42828. args.push(this.Name);
  42829. ;
  42830. args.push(this.Description);
  42831. ;
  42832. args.push(this.RelatingElement);
  42833. ;
  42834. args.push(this.RelatedFeatureElement);
  42835. ;
  42836. return args;
  42837. }
  42838. };
  42839. var IfcRelReferencedInSpatialStructure = class {
  42840. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedElements, RelatingStructure) {
  42841. this.expressID = expressID;
  42842. this.type = type;
  42843. this.GlobalId = GlobalId;
  42844. this.OwnerHistory = OwnerHistory;
  42845. this.Name = Name;
  42846. this.Description = Description;
  42847. this.RelatedElements = RelatedElements;
  42848. this.RelatingStructure = RelatingStructure;
  42849. }
  42850. static FromTape(expressID, type, tape) {
  42851. let ptr = 0;
  42852. let GlobalId = tape[ptr++];
  42853. let OwnerHistory = tape[ptr++];
  42854. let Name = tape[ptr++];
  42855. let Description = tape[ptr++];
  42856. let RelatedElements = tape[ptr++];
  42857. let RelatingStructure = tape[ptr++];
  42858. return new IfcRelReferencedInSpatialStructure(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatedElements, RelatingStructure);
  42859. }
  42860. ToTape() {
  42861. let args = [];
  42862. args.push(this.GlobalId);
  42863. ;
  42864. args.push(this.OwnerHistory);
  42865. ;
  42866. args.push(this.Name);
  42867. ;
  42868. args.push(this.Description);
  42869. ;
  42870. args.push(this.RelatedElements);
  42871. ;
  42872. args.push(this.RelatingStructure);
  42873. ;
  42874. return args;
  42875. }
  42876. };
  42877. var IfcRelSequence = class {
  42878. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingProcess, RelatedProcess, TimeLag, SequenceType, UserDefinedSequenceType) {
  42879. this.expressID = expressID;
  42880. this.type = type;
  42881. this.GlobalId = GlobalId;
  42882. this.OwnerHistory = OwnerHistory;
  42883. this.Name = Name;
  42884. this.Description = Description;
  42885. this.RelatingProcess = RelatingProcess;
  42886. this.RelatedProcess = RelatedProcess;
  42887. this.TimeLag = TimeLag;
  42888. this.SequenceType = SequenceType;
  42889. this.UserDefinedSequenceType = UserDefinedSequenceType;
  42890. }
  42891. static FromTape(expressID, type, tape) {
  42892. let ptr = 0;
  42893. let GlobalId = tape[ptr++];
  42894. let OwnerHistory = tape[ptr++];
  42895. let Name = tape[ptr++];
  42896. let Description = tape[ptr++];
  42897. let RelatingProcess = tape[ptr++];
  42898. let RelatedProcess = tape[ptr++];
  42899. let TimeLag = tape[ptr++];
  42900. let SequenceType = tape[ptr++];
  42901. let UserDefinedSequenceType = tape[ptr++];
  42902. return new IfcRelSequence(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingProcess, RelatedProcess, TimeLag, SequenceType, UserDefinedSequenceType);
  42903. }
  42904. ToTape() {
  42905. let args = [];
  42906. args.push(this.GlobalId);
  42907. ;
  42908. args.push(this.OwnerHistory);
  42909. ;
  42910. args.push(this.Name);
  42911. ;
  42912. args.push(this.Description);
  42913. ;
  42914. args.push(this.RelatingProcess);
  42915. ;
  42916. args.push(this.RelatedProcess);
  42917. ;
  42918. args.push(this.TimeLag);
  42919. ;
  42920. args.push(this.SequenceType);
  42921. ;
  42922. args.push(this.UserDefinedSequenceType);
  42923. ;
  42924. return args;
  42925. }
  42926. };
  42927. var IfcRelServicesBuildings = class {
  42928. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSystem, RelatedBuildings) {
  42929. this.expressID = expressID;
  42930. this.type = type;
  42931. this.GlobalId = GlobalId;
  42932. this.OwnerHistory = OwnerHistory;
  42933. this.Name = Name;
  42934. this.Description = Description;
  42935. this.RelatingSystem = RelatingSystem;
  42936. this.RelatedBuildings = RelatedBuildings;
  42937. }
  42938. static FromTape(expressID, type, tape) {
  42939. let ptr = 0;
  42940. let GlobalId = tape[ptr++];
  42941. let OwnerHistory = tape[ptr++];
  42942. let Name = tape[ptr++];
  42943. let Description = tape[ptr++];
  42944. let RelatingSystem = tape[ptr++];
  42945. let RelatedBuildings = tape[ptr++];
  42946. return new IfcRelServicesBuildings(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSystem, RelatedBuildings);
  42947. }
  42948. ToTape() {
  42949. let args = [];
  42950. args.push(this.GlobalId);
  42951. ;
  42952. args.push(this.OwnerHistory);
  42953. ;
  42954. args.push(this.Name);
  42955. ;
  42956. args.push(this.Description);
  42957. ;
  42958. args.push(this.RelatingSystem);
  42959. ;
  42960. args.push(this.RelatedBuildings);
  42961. ;
  42962. return args;
  42963. }
  42964. };
  42965. var IfcRelSpaceBoundary = class {
  42966. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSpace, RelatedBuildingElement, ConnectionGeometry, PhysicalOrVirtualBoundary, InternalOrExternalBoundary) {
  42967. this.expressID = expressID;
  42968. this.type = type;
  42969. this.GlobalId = GlobalId;
  42970. this.OwnerHistory = OwnerHistory;
  42971. this.Name = Name;
  42972. this.Description = Description;
  42973. this.RelatingSpace = RelatingSpace;
  42974. this.RelatedBuildingElement = RelatedBuildingElement;
  42975. this.ConnectionGeometry = ConnectionGeometry;
  42976. this.PhysicalOrVirtualBoundary = PhysicalOrVirtualBoundary;
  42977. this.InternalOrExternalBoundary = InternalOrExternalBoundary;
  42978. }
  42979. static FromTape(expressID, type, tape) {
  42980. let ptr = 0;
  42981. let GlobalId = tape[ptr++];
  42982. let OwnerHistory = tape[ptr++];
  42983. let Name = tape[ptr++];
  42984. let Description = tape[ptr++];
  42985. let RelatingSpace = tape[ptr++];
  42986. let RelatedBuildingElement = tape[ptr++];
  42987. let ConnectionGeometry = tape[ptr++];
  42988. let PhysicalOrVirtualBoundary = tape[ptr++];
  42989. let InternalOrExternalBoundary = tape[ptr++];
  42990. return new IfcRelSpaceBoundary(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSpace, RelatedBuildingElement, ConnectionGeometry, PhysicalOrVirtualBoundary, InternalOrExternalBoundary);
  42991. }
  42992. ToTape() {
  42993. let args = [];
  42994. args.push(this.GlobalId);
  42995. ;
  42996. args.push(this.OwnerHistory);
  42997. ;
  42998. args.push(this.Name);
  42999. ;
  43000. args.push(this.Description);
  43001. ;
  43002. args.push(this.RelatingSpace);
  43003. ;
  43004. args.push(this.RelatedBuildingElement);
  43005. ;
  43006. args.push(this.ConnectionGeometry);
  43007. ;
  43008. args.push(this.PhysicalOrVirtualBoundary);
  43009. ;
  43010. args.push(this.InternalOrExternalBoundary);
  43011. ;
  43012. return args;
  43013. }
  43014. };
  43015. var IfcRelSpaceBoundary1stLevel = class {
  43016. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSpace, RelatedBuildingElement, ConnectionGeometry, PhysicalOrVirtualBoundary, InternalOrExternalBoundary, ParentBoundary) {
  43017. this.expressID = expressID;
  43018. this.type = type;
  43019. this.GlobalId = GlobalId;
  43020. this.OwnerHistory = OwnerHistory;
  43021. this.Name = Name;
  43022. this.Description = Description;
  43023. this.RelatingSpace = RelatingSpace;
  43024. this.RelatedBuildingElement = RelatedBuildingElement;
  43025. this.ConnectionGeometry = ConnectionGeometry;
  43026. this.PhysicalOrVirtualBoundary = PhysicalOrVirtualBoundary;
  43027. this.InternalOrExternalBoundary = InternalOrExternalBoundary;
  43028. this.ParentBoundary = ParentBoundary;
  43029. }
  43030. static FromTape(expressID, type, tape) {
  43031. let ptr = 0;
  43032. let GlobalId = tape[ptr++];
  43033. let OwnerHistory = tape[ptr++];
  43034. let Name = tape[ptr++];
  43035. let Description = tape[ptr++];
  43036. let RelatingSpace = tape[ptr++];
  43037. let RelatedBuildingElement = tape[ptr++];
  43038. let ConnectionGeometry = tape[ptr++];
  43039. let PhysicalOrVirtualBoundary = tape[ptr++];
  43040. let InternalOrExternalBoundary = tape[ptr++];
  43041. let ParentBoundary = tape[ptr++];
  43042. return new IfcRelSpaceBoundary1stLevel(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSpace, RelatedBuildingElement, ConnectionGeometry, PhysicalOrVirtualBoundary, InternalOrExternalBoundary, ParentBoundary);
  43043. }
  43044. ToTape() {
  43045. let args = [];
  43046. args.push(this.GlobalId);
  43047. ;
  43048. args.push(this.OwnerHistory);
  43049. ;
  43050. args.push(this.Name);
  43051. ;
  43052. args.push(this.Description);
  43053. ;
  43054. args.push(this.RelatingSpace);
  43055. ;
  43056. args.push(this.RelatedBuildingElement);
  43057. ;
  43058. args.push(this.ConnectionGeometry);
  43059. ;
  43060. args.push(this.PhysicalOrVirtualBoundary);
  43061. ;
  43062. args.push(this.InternalOrExternalBoundary);
  43063. ;
  43064. args.push(this.ParentBoundary);
  43065. ;
  43066. return args;
  43067. }
  43068. };
  43069. var IfcRelSpaceBoundary2ndLevel = class {
  43070. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSpace, RelatedBuildingElement, ConnectionGeometry, PhysicalOrVirtualBoundary, InternalOrExternalBoundary, ParentBoundary, CorrespondingBoundary) {
  43071. this.expressID = expressID;
  43072. this.type = type;
  43073. this.GlobalId = GlobalId;
  43074. this.OwnerHistory = OwnerHistory;
  43075. this.Name = Name;
  43076. this.Description = Description;
  43077. this.RelatingSpace = RelatingSpace;
  43078. this.RelatedBuildingElement = RelatedBuildingElement;
  43079. this.ConnectionGeometry = ConnectionGeometry;
  43080. this.PhysicalOrVirtualBoundary = PhysicalOrVirtualBoundary;
  43081. this.InternalOrExternalBoundary = InternalOrExternalBoundary;
  43082. this.ParentBoundary = ParentBoundary;
  43083. this.CorrespondingBoundary = CorrespondingBoundary;
  43084. }
  43085. static FromTape(expressID, type, tape) {
  43086. let ptr = 0;
  43087. let GlobalId = tape[ptr++];
  43088. let OwnerHistory = tape[ptr++];
  43089. let Name = tape[ptr++];
  43090. let Description = tape[ptr++];
  43091. let RelatingSpace = tape[ptr++];
  43092. let RelatedBuildingElement = tape[ptr++];
  43093. let ConnectionGeometry = tape[ptr++];
  43094. let PhysicalOrVirtualBoundary = tape[ptr++];
  43095. let InternalOrExternalBoundary = tape[ptr++];
  43096. let ParentBoundary = tape[ptr++];
  43097. let CorrespondingBoundary = tape[ptr++];
  43098. return new IfcRelSpaceBoundary2ndLevel(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingSpace, RelatedBuildingElement, ConnectionGeometry, PhysicalOrVirtualBoundary, InternalOrExternalBoundary, ParentBoundary, CorrespondingBoundary);
  43099. }
  43100. ToTape() {
  43101. let args = [];
  43102. args.push(this.GlobalId);
  43103. ;
  43104. args.push(this.OwnerHistory);
  43105. ;
  43106. args.push(this.Name);
  43107. ;
  43108. args.push(this.Description);
  43109. ;
  43110. args.push(this.RelatingSpace);
  43111. ;
  43112. args.push(this.RelatedBuildingElement);
  43113. ;
  43114. args.push(this.ConnectionGeometry);
  43115. ;
  43116. args.push(this.PhysicalOrVirtualBoundary);
  43117. ;
  43118. args.push(this.InternalOrExternalBoundary);
  43119. ;
  43120. args.push(this.ParentBoundary);
  43121. ;
  43122. args.push(this.CorrespondingBoundary);
  43123. ;
  43124. return args;
  43125. }
  43126. };
  43127. var IfcRelVoidsElement = class {
  43128. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingBuildingElement, RelatedOpeningElement) {
  43129. this.expressID = expressID;
  43130. this.type = type;
  43131. this.GlobalId = GlobalId;
  43132. this.OwnerHistory = OwnerHistory;
  43133. this.Name = Name;
  43134. this.Description = Description;
  43135. this.RelatingBuildingElement = RelatingBuildingElement;
  43136. this.RelatedOpeningElement = RelatedOpeningElement;
  43137. }
  43138. static FromTape(expressID, type, tape) {
  43139. let ptr = 0;
  43140. let GlobalId = tape[ptr++];
  43141. let OwnerHistory = tape[ptr++];
  43142. let Name = tape[ptr++];
  43143. let Description = tape[ptr++];
  43144. let RelatingBuildingElement = tape[ptr++];
  43145. let RelatedOpeningElement = tape[ptr++];
  43146. return new IfcRelVoidsElement(expressID, type, GlobalId, OwnerHistory, Name, Description, RelatingBuildingElement, RelatedOpeningElement);
  43147. }
  43148. ToTape() {
  43149. let args = [];
  43150. args.push(this.GlobalId);
  43151. ;
  43152. args.push(this.OwnerHistory);
  43153. ;
  43154. args.push(this.Name);
  43155. ;
  43156. args.push(this.Description);
  43157. ;
  43158. args.push(this.RelatingBuildingElement);
  43159. ;
  43160. args.push(this.RelatedOpeningElement);
  43161. ;
  43162. return args;
  43163. }
  43164. };
  43165. var IfcRelationship = class {
  43166. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  43167. this.expressID = expressID;
  43168. this.type = type;
  43169. this.GlobalId = GlobalId;
  43170. this.OwnerHistory = OwnerHistory;
  43171. this.Name = Name;
  43172. this.Description = Description;
  43173. }
  43174. static FromTape(expressID, type, tape) {
  43175. let ptr = 0;
  43176. let GlobalId = tape[ptr++];
  43177. let OwnerHistory = tape[ptr++];
  43178. let Name = tape[ptr++];
  43179. let Description = tape[ptr++];
  43180. return new IfcRelationship(expressID, type, GlobalId, OwnerHistory, Name, Description);
  43181. }
  43182. ToTape() {
  43183. let args = [];
  43184. args.push(this.GlobalId);
  43185. ;
  43186. args.push(this.OwnerHistory);
  43187. ;
  43188. args.push(this.Name);
  43189. ;
  43190. args.push(this.Description);
  43191. ;
  43192. return args;
  43193. }
  43194. };
  43195. var IfcReparametrisedCompositeCurveSegment = class {
  43196. constructor(expressID, type, Transition, SameSense, ParentCurve, ParamLength) {
  43197. this.expressID = expressID;
  43198. this.type = type;
  43199. this.Transition = Transition;
  43200. this.SameSense = SameSense;
  43201. this.ParentCurve = ParentCurve;
  43202. this.ParamLength = ParamLength;
  43203. }
  43204. static FromTape(expressID, type, tape) {
  43205. let ptr = 0;
  43206. let Transition = tape[ptr++];
  43207. let SameSense = tape[ptr++];
  43208. let ParentCurve = tape[ptr++];
  43209. let ParamLength = tape[ptr++];
  43210. return new IfcReparametrisedCompositeCurveSegment(expressID, type, Transition, SameSense, ParentCurve, ParamLength);
  43211. }
  43212. ToTape() {
  43213. let args = [];
  43214. args.push(this.Transition);
  43215. ;
  43216. args.push(this.SameSense);
  43217. ;
  43218. args.push(this.ParentCurve);
  43219. ;
  43220. args.push(this.ParamLength);
  43221. ;
  43222. return args;
  43223. }
  43224. };
  43225. var IfcRepresentation = class {
  43226. constructor(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items) {
  43227. this.expressID = expressID;
  43228. this.type = type;
  43229. this.ContextOfItems = ContextOfItems;
  43230. this.RepresentationIdentifier = RepresentationIdentifier;
  43231. this.RepresentationType = RepresentationType;
  43232. this.Items = Items;
  43233. }
  43234. static FromTape(expressID, type, tape) {
  43235. let ptr = 0;
  43236. let ContextOfItems = tape[ptr++];
  43237. let RepresentationIdentifier = tape[ptr++];
  43238. let RepresentationType = tape[ptr++];
  43239. let Items = tape[ptr++];
  43240. return new IfcRepresentation(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items);
  43241. }
  43242. ToTape() {
  43243. let args = [];
  43244. args.push(this.ContextOfItems);
  43245. ;
  43246. args.push(this.RepresentationIdentifier);
  43247. ;
  43248. args.push(this.RepresentationType);
  43249. ;
  43250. args.push(this.Items);
  43251. ;
  43252. return args;
  43253. }
  43254. };
  43255. var IfcRepresentationContext = class {
  43256. constructor(expressID, type, ContextIdentifier, ContextType) {
  43257. this.expressID = expressID;
  43258. this.type = type;
  43259. this.ContextIdentifier = ContextIdentifier;
  43260. this.ContextType = ContextType;
  43261. }
  43262. static FromTape(expressID, type, tape) {
  43263. let ptr = 0;
  43264. let ContextIdentifier = tape[ptr++];
  43265. let ContextType = tape[ptr++];
  43266. return new IfcRepresentationContext(expressID, type, ContextIdentifier, ContextType);
  43267. }
  43268. ToTape() {
  43269. let args = [];
  43270. args.push(this.ContextIdentifier);
  43271. ;
  43272. args.push(this.ContextType);
  43273. ;
  43274. return args;
  43275. }
  43276. };
  43277. var IfcRepresentationItem = class {
  43278. constructor(expressID, type) {
  43279. this.expressID = expressID;
  43280. this.type = type;
  43281. }
  43282. static FromTape(expressID, type, tape) {
  43283. let ptr = 0;
  43284. return new IfcRepresentationItem(expressID, type);
  43285. }
  43286. ToTape() {
  43287. let args = [];
  43288. return args;
  43289. }
  43290. };
  43291. var IfcRepresentationMap = class {
  43292. constructor(expressID, type, MappingOrigin, MappedRepresentation) {
  43293. this.expressID = expressID;
  43294. this.type = type;
  43295. this.MappingOrigin = MappingOrigin;
  43296. this.MappedRepresentation = MappedRepresentation;
  43297. }
  43298. static FromTape(expressID, type, tape) {
  43299. let ptr = 0;
  43300. let MappingOrigin = tape[ptr++];
  43301. let MappedRepresentation = tape[ptr++];
  43302. return new IfcRepresentationMap(expressID, type, MappingOrigin, MappedRepresentation);
  43303. }
  43304. ToTape() {
  43305. let args = [];
  43306. args.push(this.MappingOrigin);
  43307. ;
  43308. args.push(this.MappedRepresentation);
  43309. ;
  43310. return args;
  43311. }
  43312. };
  43313. var IfcResource = class {
  43314. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription) {
  43315. this.expressID = expressID;
  43316. this.type = type;
  43317. this.GlobalId = GlobalId;
  43318. this.OwnerHistory = OwnerHistory;
  43319. this.Name = Name;
  43320. this.Description = Description;
  43321. this.ObjectType = ObjectType;
  43322. this.Identification = Identification;
  43323. this.LongDescription = LongDescription;
  43324. }
  43325. static FromTape(expressID, type, tape) {
  43326. let ptr = 0;
  43327. let GlobalId = tape[ptr++];
  43328. let OwnerHistory = tape[ptr++];
  43329. let Name = tape[ptr++];
  43330. let Description = tape[ptr++];
  43331. let ObjectType = tape[ptr++];
  43332. let Identification = tape[ptr++];
  43333. let LongDescription = tape[ptr++];
  43334. return new IfcResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription);
  43335. }
  43336. ToTape() {
  43337. let args = [];
  43338. args.push(this.GlobalId);
  43339. ;
  43340. args.push(this.OwnerHistory);
  43341. ;
  43342. args.push(this.Name);
  43343. ;
  43344. args.push(this.Description);
  43345. ;
  43346. args.push(this.ObjectType);
  43347. ;
  43348. args.push(this.Identification);
  43349. ;
  43350. args.push(this.LongDescription);
  43351. ;
  43352. return args;
  43353. }
  43354. };
  43355. var IfcResourceApprovalRelationship = class {
  43356. constructor(expressID, type, Name, Description, RelatedResourceObjects, RelatingApproval) {
  43357. this.expressID = expressID;
  43358. this.type = type;
  43359. this.Name = Name;
  43360. this.Description = Description;
  43361. this.RelatedResourceObjects = RelatedResourceObjects;
  43362. this.RelatingApproval = RelatingApproval;
  43363. }
  43364. static FromTape(expressID, type, tape) {
  43365. let ptr = 0;
  43366. let Name = tape[ptr++];
  43367. let Description = tape[ptr++];
  43368. let RelatedResourceObjects = tape[ptr++];
  43369. let RelatingApproval = tape[ptr++];
  43370. return new IfcResourceApprovalRelationship(expressID, type, Name, Description, RelatedResourceObjects, RelatingApproval);
  43371. }
  43372. ToTape() {
  43373. let args = [];
  43374. args.push(this.Name);
  43375. ;
  43376. args.push(this.Description);
  43377. ;
  43378. args.push(this.RelatedResourceObjects);
  43379. ;
  43380. args.push(this.RelatingApproval);
  43381. ;
  43382. return args;
  43383. }
  43384. };
  43385. var IfcResourceConstraintRelationship = class {
  43386. constructor(expressID, type, Name, Description, RelatingConstraint, RelatedResourceObjects) {
  43387. this.expressID = expressID;
  43388. this.type = type;
  43389. this.Name = Name;
  43390. this.Description = Description;
  43391. this.RelatingConstraint = RelatingConstraint;
  43392. this.RelatedResourceObjects = RelatedResourceObjects;
  43393. }
  43394. static FromTape(expressID, type, tape) {
  43395. let ptr = 0;
  43396. let Name = tape[ptr++];
  43397. let Description = tape[ptr++];
  43398. let RelatingConstraint = tape[ptr++];
  43399. let RelatedResourceObjects = tape[ptr++];
  43400. return new IfcResourceConstraintRelationship(expressID, type, Name, Description, RelatingConstraint, RelatedResourceObjects);
  43401. }
  43402. ToTape() {
  43403. let args = [];
  43404. args.push(this.Name);
  43405. ;
  43406. args.push(this.Description);
  43407. ;
  43408. args.push(this.RelatingConstraint);
  43409. ;
  43410. args.push(this.RelatedResourceObjects);
  43411. ;
  43412. return args;
  43413. }
  43414. };
  43415. var IfcResourceLevelRelationship = class {
  43416. constructor(expressID, type, Name, Description) {
  43417. this.expressID = expressID;
  43418. this.type = type;
  43419. this.Name = Name;
  43420. this.Description = Description;
  43421. }
  43422. static FromTape(expressID, type, tape) {
  43423. let ptr = 0;
  43424. let Name = tape[ptr++];
  43425. let Description = tape[ptr++];
  43426. return new IfcResourceLevelRelationship(expressID, type, Name, Description);
  43427. }
  43428. ToTape() {
  43429. let args = [];
  43430. args.push(this.Name);
  43431. ;
  43432. args.push(this.Description);
  43433. ;
  43434. return args;
  43435. }
  43436. };
  43437. var IfcResourceTime = class {
  43438. constructor(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, ScheduleWork, ScheduleUsage, ScheduleStart, ScheduleFinish, ScheduleContour, LevelingDelay, IsOverAllocated, StatusTime, ActualWork, ActualUsage, ActualStart, ActualFinish, RemainingWork, RemainingUsage, Completion) {
  43439. this.expressID = expressID;
  43440. this.type = type;
  43441. this.Name = Name;
  43442. this.DataOrigin = DataOrigin;
  43443. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  43444. this.ScheduleWork = ScheduleWork;
  43445. this.ScheduleUsage = ScheduleUsage;
  43446. this.ScheduleStart = ScheduleStart;
  43447. this.ScheduleFinish = ScheduleFinish;
  43448. this.ScheduleContour = ScheduleContour;
  43449. this.LevelingDelay = LevelingDelay;
  43450. this.IsOverAllocated = IsOverAllocated;
  43451. this.StatusTime = StatusTime;
  43452. this.ActualWork = ActualWork;
  43453. this.ActualUsage = ActualUsage;
  43454. this.ActualStart = ActualStart;
  43455. this.ActualFinish = ActualFinish;
  43456. this.RemainingWork = RemainingWork;
  43457. this.RemainingUsage = RemainingUsage;
  43458. this.Completion = Completion;
  43459. }
  43460. static FromTape(expressID, type, tape) {
  43461. let ptr = 0;
  43462. let Name = tape[ptr++];
  43463. let DataOrigin = tape[ptr++];
  43464. let UserDefinedDataOrigin = tape[ptr++];
  43465. let ScheduleWork = tape[ptr++];
  43466. let ScheduleUsage = tape[ptr++];
  43467. let ScheduleStart = tape[ptr++];
  43468. let ScheduleFinish = tape[ptr++];
  43469. let ScheduleContour = tape[ptr++];
  43470. let LevelingDelay = tape[ptr++];
  43471. let IsOverAllocated = tape[ptr++];
  43472. let StatusTime = tape[ptr++];
  43473. let ActualWork = tape[ptr++];
  43474. let ActualUsage = tape[ptr++];
  43475. let ActualStart = tape[ptr++];
  43476. let ActualFinish = tape[ptr++];
  43477. let RemainingWork = tape[ptr++];
  43478. let RemainingUsage = tape[ptr++];
  43479. let Completion = tape[ptr++];
  43480. return new IfcResourceTime(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, ScheduleWork, ScheduleUsage, ScheduleStart, ScheduleFinish, ScheduleContour, LevelingDelay, IsOverAllocated, StatusTime, ActualWork, ActualUsage, ActualStart, ActualFinish, RemainingWork, RemainingUsage, Completion);
  43481. }
  43482. ToTape() {
  43483. let args = [];
  43484. args.push(this.Name);
  43485. ;
  43486. args.push(this.DataOrigin);
  43487. ;
  43488. args.push(this.UserDefinedDataOrigin);
  43489. ;
  43490. args.push(this.ScheduleWork);
  43491. ;
  43492. args.push(this.ScheduleUsage);
  43493. ;
  43494. args.push(this.ScheduleStart);
  43495. ;
  43496. args.push(this.ScheduleFinish);
  43497. ;
  43498. args.push(this.ScheduleContour);
  43499. ;
  43500. args.push(this.LevelingDelay);
  43501. ;
  43502. args.push(this.IsOverAllocated);
  43503. ;
  43504. args.push(this.StatusTime);
  43505. ;
  43506. args.push(this.ActualWork);
  43507. ;
  43508. args.push(this.ActualUsage);
  43509. ;
  43510. args.push(this.ActualStart);
  43511. ;
  43512. args.push(this.ActualFinish);
  43513. ;
  43514. args.push(this.RemainingWork);
  43515. ;
  43516. args.push(this.RemainingUsage);
  43517. ;
  43518. args.push(this.Completion);
  43519. ;
  43520. return args;
  43521. }
  43522. };
  43523. var IfcRevolvedAreaSolid = class {
  43524. constructor(expressID, type, SweptArea, Position, Axis, Angle) {
  43525. this.expressID = expressID;
  43526. this.type = type;
  43527. this.SweptArea = SweptArea;
  43528. this.Position = Position;
  43529. this.Axis = Axis;
  43530. this.Angle = Angle;
  43531. }
  43532. static FromTape(expressID, type, tape) {
  43533. let ptr = 0;
  43534. let SweptArea = tape[ptr++];
  43535. let Position = tape[ptr++];
  43536. let Axis = tape[ptr++];
  43537. let Angle = tape[ptr++];
  43538. return new IfcRevolvedAreaSolid(expressID, type, SweptArea, Position, Axis, Angle);
  43539. }
  43540. ToTape() {
  43541. let args = [];
  43542. args.push(this.SweptArea);
  43543. ;
  43544. args.push(this.Position);
  43545. ;
  43546. args.push(this.Axis);
  43547. ;
  43548. args.push(this.Angle);
  43549. ;
  43550. return args;
  43551. }
  43552. };
  43553. var IfcRevolvedAreaSolidTapered = class {
  43554. constructor(expressID, type, SweptArea, Position, Axis, Angle, EndSweptArea) {
  43555. this.expressID = expressID;
  43556. this.type = type;
  43557. this.SweptArea = SweptArea;
  43558. this.Position = Position;
  43559. this.Axis = Axis;
  43560. this.Angle = Angle;
  43561. this.EndSweptArea = EndSweptArea;
  43562. }
  43563. static FromTape(expressID, type, tape) {
  43564. let ptr = 0;
  43565. let SweptArea = tape[ptr++];
  43566. let Position = tape[ptr++];
  43567. let Axis = tape[ptr++];
  43568. let Angle = tape[ptr++];
  43569. let EndSweptArea = tape[ptr++];
  43570. return new IfcRevolvedAreaSolidTapered(expressID, type, SweptArea, Position, Axis, Angle, EndSweptArea);
  43571. }
  43572. ToTape() {
  43573. let args = [];
  43574. args.push(this.SweptArea);
  43575. ;
  43576. args.push(this.Position);
  43577. ;
  43578. args.push(this.Axis);
  43579. ;
  43580. args.push(this.Angle);
  43581. ;
  43582. args.push(this.EndSweptArea);
  43583. ;
  43584. return args;
  43585. }
  43586. };
  43587. var IfcRightCircularCone = class {
  43588. constructor(expressID, type, Position, Height, BottomRadius) {
  43589. this.expressID = expressID;
  43590. this.type = type;
  43591. this.Position = Position;
  43592. this.Height = Height;
  43593. this.BottomRadius = BottomRadius;
  43594. }
  43595. static FromTape(expressID, type, tape) {
  43596. let ptr = 0;
  43597. let Position = tape[ptr++];
  43598. let Height = tape[ptr++];
  43599. let BottomRadius = tape[ptr++];
  43600. return new IfcRightCircularCone(expressID, type, Position, Height, BottomRadius);
  43601. }
  43602. ToTape() {
  43603. let args = [];
  43604. args.push(this.Position);
  43605. ;
  43606. args.push(this.Height);
  43607. ;
  43608. args.push(this.BottomRadius);
  43609. ;
  43610. return args;
  43611. }
  43612. };
  43613. var IfcRightCircularCylinder = class {
  43614. constructor(expressID, type, Position, Height, Radius) {
  43615. this.expressID = expressID;
  43616. this.type = type;
  43617. this.Position = Position;
  43618. this.Height = Height;
  43619. this.Radius = Radius;
  43620. }
  43621. static FromTape(expressID, type, tape) {
  43622. let ptr = 0;
  43623. let Position = tape[ptr++];
  43624. let Height = tape[ptr++];
  43625. let Radius = tape[ptr++];
  43626. return new IfcRightCircularCylinder(expressID, type, Position, Height, Radius);
  43627. }
  43628. ToTape() {
  43629. let args = [];
  43630. args.push(this.Position);
  43631. ;
  43632. args.push(this.Height);
  43633. ;
  43634. args.push(this.Radius);
  43635. ;
  43636. return args;
  43637. }
  43638. };
  43639. var IfcRoof = class {
  43640. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  43641. this.expressID = expressID;
  43642. this.type = type;
  43643. this.GlobalId = GlobalId;
  43644. this.OwnerHistory = OwnerHistory;
  43645. this.Name = Name;
  43646. this.Description = Description;
  43647. this.ObjectType = ObjectType;
  43648. this.ObjectPlacement = ObjectPlacement;
  43649. this.Representation = Representation;
  43650. this.Tag = Tag;
  43651. this.PredefinedType = PredefinedType;
  43652. }
  43653. static FromTape(expressID, type, tape) {
  43654. let ptr = 0;
  43655. let GlobalId = tape[ptr++];
  43656. let OwnerHistory = tape[ptr++];
  43657. let Name = tape[ptr++];
  43658. let Description = tape[ptr++];
  43659. let ObjectType = tape[ptr++];
  43660. let ObjectPlacement = tape[ptr++];
  43661. let Representation = tape[ptr++];
  43662. let Tag = tape[ptr++];
  43663. let PredefinedType = tape[ptr++];
  43664. return new IfcRoof(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  43665. }
  43666. ToTape() {
  43667. let args = [];
  43668. args.push(this.GlobalId);
  43669. ;
  43670. args.push(this.OwnerHistory);
  43671. ;
  43672. args.push(this.Name);
  43673. ;
  43674. args.push(this.Description);
  43675. ;
  43676. args.push(this.ObjectType);
  43677. ;
  43678. args.push(this.ObjectPlacement);
  43679. ;
  43680. args.push(this.Representation);
  43681. ;
  43682. args.push(this.Tag);
  43683. ;
  43684. args.push(this.PredefinedType);
  43685. ;
  43686. return args;
  43687. }
  43688. };
  43689. var IfcRoofType = class {
  43690. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  43691. this.expressID = expressID;
  43692. this.type = type;
  43693. this.GlobalId = GlobalId;
  43694. this.OwnerHistory = OwnerHistory;
  43695. this.Name = Name;
  43696. this.Description = Description;
  43697. this.ApplicableOccurrence = ApplicableOccurrence;
  43698. this.HasPropertySets = HasPropertySets;
  43699. this.RepresentationMaps = RepresentationMaps;
  43700. this.Tag = Tag;
  43701. this.ElementType = ElementType;
  43702. this.PredefinedType = PredefinedType;
  43703. }
  43704. static FromTape(expressID, type, tape) {
  43705. let ptr = 0;
  43706. let GlobalId = tape[ptr++];
  43707. let OwnerHistory = tape[ptr++];
  43708. let Name = tape[ptr++];
  43709. let Description = tape[ptr++];
  43710. let ApplicableOccurrence = tape[ptr++];
  43711. let HasPropertySets = tape[ptr++];
  43712. let RepresentationMaps = tape[ptr++];
  43713. let Tag = tape[ptr++];
  43714. let ElementType = tape[ptr++];
  43715. let PredefinedType = tape[ptr++];
  43716. return new IfcRoofType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  43717. }
  43718. ToTape() {
  43719. let args = [];
  43720. args.push(this.GlobalId);
  43721. ;
  43722. args.push(this.OwnerHistory);
  43723. ;
  43724. args.push(this.Name);
  43725. ;
  43726. args.push(this.Description);
  43727. ;
  43728. args.push(this.ApplicableOccurrence);
  43729. ;
  43730. args.push(this.HasPropertySets);
  43731. ;
  43732. args.push(this.RepresentationMaps);
  43733. ;
  43734. args.push(this.Tag);
  43735. ;
  43736. args.push(this.ElementType);
  43737. ;
  43738. args.push(this.PredefinedType);
  43739. ;
  43740. return args;
  43741. }
  43742. };
  43743. var IfcRoot = class {
  43744. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description) {
  43745. this.expressID = expressID;
  43746. this.type = type;
  43747. this.GlobalId = GlobalId;
  43748. this.OwnerHistory = OwnerHistory;
  43749. this.Name = Name;
  43750. this.Description = Description;
  43751. }
  43752. static FromTape(expressID, type, tape) {
  43753. let ptr = 0;
  43754. let GlobalId = tape[ptr++];
  43755. let OwnerHistory = tape[ptr++];
  43756. let Name = tape[ptr++];
  43757. let Description = tape[ptr++];
  43758. return new IfcRoot(expressID, type, GlobalId, OwnerHistory, Name, Description);
  43759. }
  43760. ToTape() {
  43761. let args = [];
  43762. args.push(this.GlobalId);
  43763. ;
  43764. args.push(this.OwnerHistory);
  43765. ;
  43766. args.push(this.Name);
  43767. ;
  43768. args.push(this.Description);
  43769. ;
  43770. return args;
  43771. }
  43772. };
  43773. var IfcRoundedRectangleProfileDef = class {
  43774. constructor(expressID, type, ProfileType, ProfileName, Position, XDim, YDim, RoundingRadius) {
  43775. this.expressID = expressID;
  43776. this.type = type;
  43777. this.ProfileType = ProfileType;
  43778. this.ProfileName = ProfileName;
  43779. this.Position = Position;
  43780. this.XDim = XDim;
  43781. this.YDim = YDim;
  43782. this.RoundingRadius = RoundingRadius;
  43783. }
  43784. static FromTape(expressID, type, tape) {
  43785. let ptr = 0;
  43786. let ProfileType = tape[ptr++];
  43787. let ProfileName = tape[ptr++];
  43788. let Position = tape[ptr++];
  43789. let XDim = tape[ptr++];
  43790. let YDim = tape[ptr++];
  43791. let RoundingRadius = tape[ptr++];
  43792. return new IfcRoundedRectangleProfileDef(expressID, type, ProfileType, ProfileName, Position, XDim, YDim, RoundingRadius);
  43793. }
  43794. ToTape() {
  43795. let args = [];
  43796. args.push(this.ProfileType);
  43797. ;
  43798. args.push(this.ProfileName);
  43799. ;
  43800. args.push(this.Position);
  43801. ;
  43802. args.push(this.XDim);
  43803. ;
  43804. args.push(this.YDim);
  43805. ;
  43806. args.push(this.RoundingRadius);
  43807. ;
  43808. return args;
  43809. }
  43810. };
  43811. var IfcSIUnit = class {
  43812. constructor(expressID, type, Dimensions, UnitType, Prefix, Name) {
  43813. this.expressID = expressID;
  43814. this.type = type;
  43815. this.Dimensions = Dimensions;
  43816. this.UnitType = UnitType;
  43817. this.Prefix = Prefix;
  43818. this.Name = Name;
  43819. }
  43820. static FromTape(expressID, type, tape) {
  43821. let ptr = 0;
  43822. let Dimensions = tape[ptr++];
  43823. let UnitType = tape[ptr++];
  43824. let Prefix = tape[ptr++];
  43825. let Name = tape[ptr++];
  43826. return new IfcSIUnit(expressID, type, Dimensions, UnitType, Prefix, Name);
  43827. }
  43828. ToTape() {
  43829. let args = [];
  43830. args.push(this.Dimensions);
  43831. ;
  43832. args.push(this.UnitType);
  43833. ;
  43834. args.push(this.Prefix);
  43835. ;
  43836. args.push(this.Name);
  43837. ;
  43838. return args;
  43839. }
  43840. };
  43841. var IfcSanitaryTerminal = class {
  43842. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  43843. this.expressID = expressID;
  43844. this.type = type;
  43845. this.GlobalId = GlobalId;
  43846. this.OwnerHistory = OwnerHistory;
  43847. this.Name = Name;
  43848. this.Description = Description;
  43849. this.ObjectType = ObjectType;
  43850. this.ObjectPlacement = ObjectPlacement;
  43851. this.Representation = Representation;
  43852. this.Tag = Tag;
  43853. this.PredefinedType = PredefinedType;
  43854. }
  43855. static FromTape(expressID, type, tape) {
  43856. let ptr = 0;
  43857. let GlobalId = tape[ptr++];
  43858. let OwnerHistory = tape[ptr++];
  43859. let Name = tape[ptr++];
  43860. let Description = tape[ptr++];
  43861. let ObjectType = tape[ptr++];
  43862. let ObjectPlacement = tape[ptr++];
  43863. let Representation = tape[ptr++];
  43864. let Tag = tape[ptr++];
  43865. let PredefinedType = tape[ptr++];
  43866. return new IfcSanitaryTerminal(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  43867. }
  43868. ToTape() {
  43869. let args = [];
  43870. args.push(this.GlobalId);
  43871. ;
  43872. args.push(this.OwnerHistory);
  43873. ;
  43874. args.push(this.Name);
  43875. ;
  43876. args.push(this.Description);
  43877. ;
  43878. args.push(this.ObjectType);
  43879. ;
  43880. args.push(this.ObjectPlacement);
  43881. ;
  43882. args.push(this.Representation);
  43883. ;
  43884. args.push(this.Tag);
  43885. ;
  43886. args.push(this.PredefinedType);
  43887. ;
  43888. return args;
  43889. }
  43890. };
  43891. var IfcSanitaryTerminalType = class {
  43892. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  43893. this.expressID = expressID;
  43894. this.type = type;
  43895. this.GlobalId = GlobalId;
  43896. this.OwnerHistory = OwnerHistory;
  43897. this.Name = Name;
  43898. this.Description = Description;
  43899. this.ApplicableOccurrence = ApplicableOccurrence;
  43900. this.HasPropertySets = HasPropertySets;
  43901. this.RepresentationMaps = RepresentationMaps;
  43902. this.Tag = Tag;
  43903. this.ElementType = ElementType;
  43904. this.PredefinedType = PredefinedType;
  43905. }
  43906. static FromTape(expressID, type, tape) {
  43907. let ptr = 0;
  43908. let GlobalId = tape[ptr++];
  43909. let OwnerHistory = tape[ptr++];
  43910. let Name = tape[ptr++];
  43911. let Description = tape[ptr++];
  43912. let ApplicableOccurrence = tape[ptr++];
  43913. let HasPropertySets = tape[ptr++];
  43914. let RepresentationMaps = tape[ptr++];
  43915. let Tag = tape[ptr++];
  43916. let ElementType = tape[ptr++];
  43917. let PredefinedType = tape[ptr++];
  43918. return new IfcSanitaryTerminalType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  43919. }
  43920. ToTape() {
  43921. let args = [];
  43922. args.push(this.GlobalId);
  43923. ;
  43924. args.push(this.OwnerHistory);
  43925. ;
  43926. args.push(this.Name);
  43927. ;
  43928. args.push(this.Description);
  43929. ;
  43930. args.push(this.ApplicableOccurrence);
  43931. ;
  43932. args.push(this.HasPropertySets);
  43933. ;
  43934. args.push(this.RepresentationMaps);
  43935. ;
  43936. args.push(this.Tag);
  43937. ;
  43938. args.push(this.ElementType);
  43939. ;
  43940. args.push(this.PredefinedType);
  43941. ;
  43942. return args;
  43943. }
  43944. };
  43945. var IfcSchedulingTime = class {
  43946. constructor(expressID, type, Name, DataOrigin, UserDefinedDataOrigin) {
  43947. this.expressID = expressID;
  43948. this.type = type;
  43949. this.Name = Name;
  43950. this.DataOrigin = DataOrigin;
  43951. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  43952. }
  43953. static FromTape(expressID, type, tape) {
  43954. let ptr = 0;
  43955. let Name = tape[ptr++];
  43956. let DataOrigin = tape[ptr++];
  43957. let UserDefinedDataOrigin = tape[ptr++];
  43958. return new IfcSchedulingTime(expressID, type, Name, DataOrigin, UserDefinedDataOrigin);
  43959. }
  43960. ToTape() {
  43961. let args = [];
  43962. args.push(this.Name);
  43963. ;
  43964. args.push(this.DataOrigin);
  43965. ;
  43966. args.push(this.UserDefinedDataOrigin);
  43967. ;
  43968. return args;
  43969. }
  43970. };
  43971. var IfcSeamCurve = class {
  43972. constructor(expressID, type, Curve3D, AssociatedGeometry, MasterRepresentation) {
  43973. this.expressID = expressID;
  43974. this.type = type;
  43975. this.Curve3D = Curve3D;
  43976. this.AssociatedGeometry = AssociatedGeometry;
  43977. this.MasterRepresentation = MasterRepresentation;
  43978. }
  43979. static FromTape(expressID, type, tape) {
  43980. let ptr = 0;
  43981. let Curve3D = tape[ptr++];
  43982. let AssociatedGeometry = tape[ptr++];
  43983. let MasterRepresentation = tape[ptr++];
  43984. return new IfcSeamCurve(expressID, type, Curve3D, AssociatedGeometry, MasterRepresentation);
  43985. }
  43986. ToTape() {
  43987. let args = [];
  43988. args.push(this.Curve3D);
  43989. ;
  43990. args.push(this.AssociatedGeometry);
  43991. ;
  43992. args.push(this.MasterRepresentation);
  43993. ;
  43994. return args;
  43995. }
  43996. };
  43997. var IfcSectionProperties = class {
  43998. constructor(expressID, type, SectionType, StartProfile, EndProfile) {
  43999. this.expressID = expressID;
  44000. this.type = type;
  44001. this.SectionType = SectionType;
  44002. this.StartProfile = StartProfile;
  44003. this.EndProfile = EndProfile;
  44004. }
  44005. static FromTape(expressID, type, tape) {
  44006. let ptr = 0;
  44007. let SectionType = tape[ptr++];
  44008. let StartProfile = tape[ptr++];
  44009. let EndProfile = tape[ptr++];
  44010. return new IfcSectionProperties(expressID, type, SectionType, StartProfile, EndProfile);
  44011. }
  44012. ToTape() {
  44013. let args = [];
  44014. args.push(this.SectionType);
  44015. ;
  44016. args.push(this.StartProfile);
  44017. ;
  44018. args.push(this.EndProfile);
  44019. ;
  44020. return args;
  44021. }
  44022. };
  44023. var IfcSectionReinforcementProperties = class {
  44024. constructor(expressID, type, LongitudinalStartPosition, LongitudinalEndPosition, TransversePosition, ReinforcementRole, SectionDefinition, CrossSectionReinforcementDefinitions) {
  44025. this.expressID = expressID;
  44026. this.type = type;
  44027. this.LongitudinalStartPosition = LongitudinalStartPosition;
  44028. this.LongitudinalEndPosition = LongitudinalEndPosition;
  44029. this.TransversePosition = TransversePosition;
  44030. this.ReinforcementRole = ReinforcementRole;
  44031. this.SectionDefinition = SectionDefinition;
  44032. this.CrossSectionReinforcementDefinitions = CrossSectionReinforcementDefinitions;
  44033. }
  44034. static FromTape(expressID, type, tape) {
  44035. let ptr = 0;
  44036. let LongitudinalStartPosition = tape[ptr++];
  44037. let LongitudinalEndPosition = tape[ptr++];
  44038. let TransversePosition = tape[ptr++];
  44039. let ReinforcementRole = tape[ptr++];
  44040. let SectionDefinition = tape[ptr++];
  44041. let CrossSectionReinforcementDefinitions = tape[ptr++];
  44042. return new IfcSectionReinforcementProperties(expressID, type, LongitudinalStartPosition, LongitudinalEndPosition, TransversePosition, ReinforcementRole, SectionDefinition, CrossSectionReinforcementDefinitions);
  44043. }
  44044. ToTape() {
  44045. let args = [];
  44046. args.push(this.LongitudinalStartPosition);
  44047. ;
  44048. args.push(this.LongitudinalEndPosition);
  44049. ;
  44050. args.push(this.TransversePosition);
  44051. ;
  44052. args.push(this.ReinforcementRole);
  44053. ;
  44054. args.push(this.SectionDefinition);
  44055. ;
  44056. args.push(this.CrossSectionReinforcementDefinitions);
  44057. ;
  44058. return args;
  44059. }
  44060. };
  44061. var IfcSectionedSolid = class {
  44062. constructor(expressID, type, Directrix, CrossSections) {
  44063. this.expressID = expressID;
  44064. this.type = type;
  44065. this.Directrix = Directrix;
  44066. this.CrossSections = CrossSections;
  44067. }
  44068. static FromTape(expressID, type, tape) {
  44069. let ptr = 0;
  44070. let Directrix = tape[ptr++];
  44071. let CrossSections = tape[ptr++];
  44072. return new IfcSectionedSolid(expressID, type, Directrix, CrossSections);
  44073. }
  44074. ToTape() {
  44075. let args = [];
  44076. args.push(this.Directrix);
  44077. ;
  44078. args.push(this.CrossSections);
  44079. ;
  44080. return args;
  44081. }
  44082. };
  44083. var IfcSectionedSolidHorizontal = class {
  44084. constructor(expressID, type, Directrix, CrossSections, CrossSectionPositions, FixedAxisVertical) {
  44085. this.expressID = expressID;
  44086. this.type = type;
  44087. this.Directrix = Directrix;
  44088. this.CrossSections = CrossSections;
  44089. this.CrossSectionPositions = CrossSectionPositions;
  44090. this.FixedAxisVertical = FixedAxisVertical;
  44091. }
  44092. static FromTape(expressID, type, tape) {
  44093. let ptr = 0;
  44094. let Directrix = tape[ptr++];
  44095. let CrossSections = tape[ptr++];
  44096. let CrossSectionPositions = tape[ptr++];
  44097. let FixedAxisVertical = tape[ptr++];
  44098. return new IfcSectionedSolidHorizontal(expressID, type, Directrix, CrossSections, CrossSectionPositions, FixedAxisVertical);
  44099. }
  44100. ToTape() {
  44101. let args = [];
  44102. args.push(this.Directrix);
  44103. ;
  44104. args.push(this.CrossSections);
  44105. ;
  44106. args.push(this.CrossSectionPositions);
  44107. ;
  44108. args.push(this.FixedAxisVertical);
  44109. ;
  44110. return args;
  44111. }
  44112. };
  44113. var IfcSectionedSpine = class {
  44114. constructor(expressID, type, SpineCurve, CrossSections, CrossSectionPositions) {
  44115. this.expressID = expressID;
  44116. this.type = type;
  44117. this.SpineCurve = SpineCurve;
  44118. this.CrossSections = CrossSections;
  44119. this.CrossSectionPositions = CrossSectionPositions;
  44120. }
  44121. static FromTape(expressID, type, tape) {
  44122. let ptr = 0;
  44123. let SpineCurve = tape[ptr++];
  44124. let CrossSections = tape[ptr++];
  44125. let CrossSectionPositions = tape[ptr++];
  44126. return new IfcSectionedSpine(expressID, type, SpineCurve, CrossSections, CrossSectionPositions);
  44127. }
  44128. ToTape() {
  44129. let args = [];
  44130. args.push(this.SpineCurve);
  44131. ;
  44132. args.push(this.CrossSections);
  44133. ;
  44134. args.push(this.CrossSectionPositions);
  44135. ;
  44136. return args;
  44137. }
  44138. };
  44139. var IfcSensor = class {
  44140. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  44141. this.expressID = expressID;
  44142. this.type = type;
  44143. this.GlobalId = GlobalId;
  44144. this.OwnerHistory = OwnerHistory;
  44145. this.Name = Name;
  44146. this.Description = Description;
  44147. this.ObjectType = ObjectType;
  44148. this.ObjectPlacement = ObjectPlacement;
  44149. this.Representation = Representation;
  44150. this.Tag = Tag;
  44151. this.PredefinedType = PredefinedType;
  44152. }
  44153. static FromTape(expressID, type, tape) {
  44154. let ptr = 0;
  44155. let GlobalId = tape[ptr++];
  44156. let OwnerHistory = tape[ptr++];
  44157. let Name = tape[ptr++];
  44158. let Description = tape[ptr++];
  44159. let ObjectType = tape[ptr++];
  44160. let ObjectPlacement = tape[ptr++];
  44161. let Representation = tape[ptr++];
  44162. let Tag = tape[ptr++];
  44163. let PredefinedType = tape[ptr++];
  44164. return new IfcSensor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  44165. }
  44166. ToTape() {
  44167. let args = [];
  44168. args.push(this.GlobalId);
  44169. ;
  44170. args.push(this.OwnerHistory);
  44171. ;
  44172. args.push(this.Name);
  44173. ;
  44174. args.push(this.Description);
  44175. ;
  44176. args.push(this.ObjectType);
  44177. ;
  44178. args.push(this.ObjectPlacement);
  44179. ;
  44180. args.push(this.Representation);
  44181. ;
  44182. args.push(this.Tag);
  44183. ;
  44184. args.push(this.PredefinedType);
  44185. ;
  44186. return args;
  44187. }
  44188. };
  44189. var IfcSensorType = class {
  44190. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  44191. this.expressID = expressID;
  44192. this.type = type;
  44193. this.GlobalId = GlobalId;
  44194. this.OwnerHistory = OwnerHistory;
  44195. this.Name = Name;
  44196. this.Description = Description;
  44197. this.ApplicableOccurrence = ApplicableOccurrence;
  44198. this.HasPropertySets = HasPropertySets;
  44199. this.RepresentationMaps = RepresentationMaps;
  44200. this.Tag = Tag;
  44201. this.ElementType = ElementType;
  44202. this.PredefinedType = PredefinedType;
  44203. }
  44204. static FromTape(expressID, type, tape) {
  44205. let ptr = 0;
  44206. let GlobalId = tape[ptr++];
  44207. let OwnerHistory = tape[ptr++];
  44208. let Name = tape[ptr++];
  44209. let Description = tape[ptr++];
  44210. let ApplicableOccurrence = tape[ptr++];
  44211. let HasPropertySets = tape[ptr++];
  44212. let RepresentationMaps = tape[ptr++];
  44213. let Tag = tape[ptr++];
  44214. let ElementType = tape[ptr++];
  44215. let PredefinedType = tape[ptr++];
  44216. return new IfcSensorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  44217. }
  44218. ToTape() {
  44219. let args = [];
  44220. args.push(this.GlobalId);
  44221. ;
  44222. args.push(this.OwnerHistory);
  44223. ;
  44224. args.push(this.Name);
  44225. ;
  44226. args.push(this.Description);
  44227. ;
  44228. args.push(this.ApplicableOccurrence);
  44229. ;
  44230. args.push(this.HasPropertySets);
  44231. ;
  44232. args.push(this.RepresentationMaps);
  44233. ;
  44234. args.push(this.Tag);
  44235. ;
  44236. args.push(this.ElementType);
  44237. ;
  44238. args.push(this.PredefinedType);
  44239. ;
  44240. return args;
  44241. }
  44242. };
  44243. var IfcShadingDevice = class {
  44244. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  44245. this.expressID = expressID;
  44246. this.type = type;
  44247. this.GlobalId = GlobalId;
  44248. this.OwnerHistory = OwnerHistory;
  44249. this.Name = Name;
  44250. this.Description = Description;
  44251. this.ObjectType = ObjectType;
  44252. this.ObjectPlacement = ObjectPlacement;
  44253. this.Representation = Representation;
  44254. this.Tag = Tag;
  44255. this.PredefinedType = PredefinedType;
  44256. }
  44257. static FromTape(expressID, type, tape) {
  44258. let ptr = 0;
  44259. let GlobalId = tape[ptr++];
  44260. let OwnerHistory = tape[ptr++];
  44261. let Name = tape[ptr++];
  44262. let Description = tape[ptr++];
  44263. let ObjectType = tape[ptr++];
  44264. let ObjectPlacement = tape[ptr++];
  44265. let Representation = tape[ptr++];
  44266. let Tag = tape[ptr++];
  44267. let PredefinedType = tape[ptr++];
  44268. return new IfcShadingDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  44269. }
  44270. ToTape() {
  44271. let args = [];
  44272. args.push(this.GlobalId);
  44273. ;
  44274. args.push(this.OwnerHistory);
  44275. ;
  44276. args.push(this.Name);
  44277. ;
  44278. args.push(this.Description);
  44279. ;
  44280. args.push(this.ObjectType);
  44281. ;
  44282. args.push(this.ObjectPlacement);
  44283. ;
  44284. args.push(this.Representation);
  44285. ;
  44286. args.push(this.Tag);
  44287. ;
  44288. args.push(this.PredefinedType);
  44289. ;
  44290. return args;
  44291. }
  44292. };
  44293. var IfcShadingDeviceType = class {
  44294. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  44295. this.expressID = expressID;
  44296. this.type = type;
  44297. this.GlobalId = GlobalId;
  44298. this.OwnerHistory = OwnerHistory;
  44299. this.Name = Name;
  44300. this.Description = Description;
  44301. this.ApplicableOccurrence = ApplicableOccurrence;
  44302. this.HasPropertySets = HasPropertySets;
  44303. this.RepresentationMaps = RepresentationMaps;
  44304. this.Tag = Tag;
  44305. this.ElementType = ElementType;
  44306. this.PredefinedType = PredefinedType;
  44307. }
  44308. static FromTape(expressID, type, tape) {
  44309. let ptr = 0;
  44310. let GlobalId = tape[ptr++];
  44311. let OwnerHistory = tape[ptr++];
  44312. let Name = tape[ptr++];
  44313. let Description = tape[ptr++];
  44314. let ApplicableOccurrence = tape[ptr++];
  44315. let HasPropertySets = tape[ptr++];
  44316. let RepresentationMaps = tape[ptr++];
  44317. let Tag = tape[ptr++];
  44318. let ElementType = tape[ptr++];
  44319. let PredefinedType = tape[ptr++];
  44320. return new IfcShadingDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  44321. }
  44322. ToTape() {
  44323. let args = [];
  44324. args.push(this.GlobalId);
  44325. ;
  44326. args.push(this.OwnerHistory);
  44327. ;
  44328. args.push(this.Name);
  44329. ;
  44330. args.push(this.Description);
  44331. ;
  44332. args.push(this.ApplicableOccurrence);
  44333. ;
  44334. args.push(this.HasPropertySets);
  44335. ;
  44336. args.push(this.RepresentationMaps);
  44337. ;
  44338. args.push(this.Tag);
  44339. ;
  44340. args.push(this.ElementType);
  44341. ;
  44342. args.push(this.PredefinedType);
  44343. ;
  44344. return args;
  44345. }
  44346. };
  44347. var IfcShapeAspect = class {
  44348. constructor(expressID, type, ShapeRepresentations, Name, Description, ProductDefinitional, PartOfProductDefinitionShape) {
  44349. this.expressID = expressID;
  44350. this.type = type;
  44351. this.ShapeRepresentations = ShapeRepresentations;
  44352. this.Name = Name;
  44353. this.Description = Description;
  44354. this.ProductDefinitional = ProductDefinitional;
  44355. this.PartOfProductDefinitionShape = PartOfProductDefinitionShape;
  44356. }
  44357. static FromTape(expressID, type, tape) {
  44358. let ptr = 0;
  44359. let ShapeRepresentations = tape[ptr++];
  44360. let Name = tape[ptr++];
  44361. let Description = tape[ptr++];
  44362. let ProductDefinitional = tape[ptr++];
  44363. let PartOfProductDefinitionShape = tape[ptr++];
  44364. return new IfcShapeAspect(expressID, type, ShapeRepresentations, Name, Description, ProductDefinitional, PartOfProductDefinitionShape);
  44365. }
  44366. ToTape() {
  44367. let args = [];
  44368. args.push(this.ShapeRepresentations);
  44369. ;
  44370. args.push(this.Name);
  44371. ;
  44372. args.push(this.Description);
  44373. ;
  44374. args.push(this.ProductDefinitional);
  44375. ;
  44376. args.push(this.PartOfProductDefinitionShape);
  44377. ;
  44378. return args;
  44379. }
  44380. };
  44381. var IfcShapeModel = class {
  44382. constructor(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items) {
  44383. this.expressID = expressID;
  44384. this.type = type;
  44385. this.ContextOfItems = ContextOfItems;
  44386. this.RepresentationIdentifier = RepresentationIdentifier;
  44387. this.RepresentationType = RepresentationType;
  44388. this.Items = Items;
  44389. }
  44390. static FromTape(expressID, type, tape) {
  44391. let ptr = 0;
  44392. let ContextOfItems = tape[ptr++];
  44393. let RepresentationIdentifier = tape[ptr++];
  44394. let RepresentationType = tape[ptr++];
  44395. let Items = tape[ptr++];
  44396. return new IfcShapeModel(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items);
  44397. }
  44398. ToTape() {
  44399. let args = [];
  44400. args.push(this.ContextOfItems);
  44401. ;
  44402. args.push(this.RepresentationIdentifier);
  44403. ;
  44404. args.push(this.RepresentationType);
  44405. ;
  44406. args.push(this.Items);
  44407. ;
  44408. return args;
  44409. }
  44410. };
  44411. var IfcShapeRepresentation = class {
  44412. constructor(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items) {
  44413. this.expressID = expressID;
  44414. this.type = type;
  44415. this.ContextOfItems = ContextOfItems;
  44416. this.RepresentationIdentifier = RepresentationIdentifier;
  44417. this.RepresentationType = RepresentationType;
  44418. this.Items = Items;
  44419. }
  44420. static FromTape(expressID, type, tape) {
  44421. let ptr = 0;
  44422. let ContextOfItems = tape[ptr++];
  44423. let RepresentationIdentifier = tape[ptr++];
  44424. let RepresentationType = tape[ptr++];
  44425. let Items = tape[ptr++];
  44426. return new IfcShapeRepresentation(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items);
  44427. }
  44428. ToTape() {
  44429. let args = [];
  44430. args.push(this.ContextOfItems);
  44431. ;
  44432. args.push(this.RepresentationIdentifier);
  44433. ;
  44434. args.push(this.RepresentationType);
  44435. ;
  44436. args.push(this.Items);
  44437. ;
  44438. return args;
  44439. }
  44440. };
  44441. var IfcShellBasedSurfaceModel = class {
  44442. constructor(expressID, type, SbsmBoundary) {
  44443. this.expressID = expressID;
  44444. this.type = type;
  44445. this.SbsmBoundary = SbsmBoundary;
  44446. }
  44447. static FromTape(expressID, type, tape) {
  44448. let ptr = 0;
  44449. let SbsmBoundary = tape[ptr++];
  44450. return new IfcShellBasedSurfaceModel(expressID, type, SbsmBoundary);
  44451. }
  44452. ToTape() {
  44453. let args = [];
  44454. args.push(this.SbsmBoundary);
  44455. ;
  44456. return args;
  44457. }
  44458. };
  44459. var IfcSimpleProperty = class {
  44460. constructor(expressID, type, Name, Description) {
  44461. this.expressID = expressID;
  44462. this.type = type;
  44463. this.Name = Name;
  44464. this.Description = Description;
  44465. }
  44466. static FromTape(expressID, type, tape) {
  44467. let ptr = 0;
  44468. let Name = tape[ptr++];
  44469. let Description = tape[ptr++];
  44470. return new IfcSimpleProperty(expressID, type, Name, Description);
  44471. }
  44472. ToTape() {
  44473. let args = [];
  44474. args.push(this.Name);
  44475. ;
  44476. args.push(this.Description);
  44477. ;
  44478. return args;
  44479. }
  44480. };
  44481. var IfcSimplePropertyTemplate = class {
  44482. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, TemplateType, PrimaryMeasureType, SecondaryMeasureType, Enumerators, PrimaryUnit, SecondaryUnit, Expression, AccessState) {
  44483. this.expressID = expressID;
  44484. this.type = type;
  44485. this.GlobalId = GlobalId;
  44486. this.OwnerHistory = OwnerHistory;
  44487. this.Name = Name;
  44488. this.Description = Description;
  44489. this.TemplateType = TemplateType;
  44490. this.PrimaryMeasureType = PrimaryMeasureType;
  44491. this.SecondaryMeasureType = SecondaryMeasureType;
  44492. this.Enumerators = Enumerators;
  44493. this.PrimaryUnit = PrimaryUnit;
  44494. this.SecondaryUnit = SecondaryUnit;
  44495. this.Expression = Expression;
  44496. this.AccessState = AccessState;
  44497. }
  44498. static FromTape(expressID, type, tape) {
  44499. let ptr = 0;
  44500. let GlobalId = tape[ptr++];
  44501. let OwnerHistory = tape[ptr++];
  44502. let Name = tape[ptr++];
  44503. let Description = tape[ptr++];
  44504. let TemplateType = tape[ptr++];
  44505. let PrimaryMeasureType = tape[ptr++];
  44506. let SecondaryMeasureType = tape[ptr++];
  44507. let Enumerators = tape[ptr++];
  44508. let PrimaryUnit = tape[ptr++];
  44509. let SecondaryUnit = tape[ptr++];
  44510. let Expression = tape[ptr++];
  44511. let AccessState = tape[ptr++];
  44512. return new IfcSimplePropertyTemplate(expressID, type, GlobalId, OwnerHistory, Name, Description, TemplateType, PrimaryMeasureType, SecondaryMeasureType, Enumerators, PrimaryUnit, SecondaryUnit, Expression, AccessState);
  44513. }
  44514. ToTape() {
  44515. let args = [];
  44516. args.push(this.GlobalId);
  44517. ;
  44518. args.push(this.OwnerHistory);
  44519. ;
  44520. args.push(this.Name);
  44521. ;
  44522. args.push(this.Description);
  44523. ;
  44524. args.push(this.TemplateType);
  44525. ;
  44526. args.push(this.PrimaryMeasureType);
  44527. ;
  44528. args.push(this.SecondaryMeasureType);
  44529. ;
  44530. args.push(this.Enumerators);
  44531. ;
  44532. args.push(this.PrimaryUnit);
  44533. ;
  44534. args.push(this.SecondaryUnit);
  44535. ;
  44536. args.push(this.Expression);
  44537. ;
  44538. args.push(this.AccessState);
  44539. ;
  44540. return args;
  44541. }
  44542. };
  44543. var IfcSite = class {
  44544. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, RefLatitude, RefLongitude, RefElevation, LandTitleNumber, SiteAddress) {
  44545. this.expressID = expressID;
  44546. this.type = type;
  44547. this.GlobalId = GlobalId;
  44548. this.OwnerHistory = OwnerHistory;
  44549. this.Name = Name;
  44550. this.Description = Description;
  44551. this.ObjectType = ObjectType;
  44552. this.ObjectPlacement = ObjectPlacement;
  44553. this.Representation = Representation;
  44554. this.LongName = LongName;
  44555. this.CompositionType = CompositionType;
  44556. this.RefLatitude = RefLatitude;
  44557. this.RefLongitude = RefLongitude;
  44558. this.RefElevation = RefElevation;
  44559. this.LandTitleNumber = LandTitleNumber;
  44560. this.SiteAddress = SiteAddress;
  44561. }
  44562. static FromTape(expressID, type, tape) {
  44563. let ptr = 0;
  44564. let GlobalId = tape[ptr++];
  44565. let OwnerHistory = tape[ptr++];
  44566. let Name = tape[ptr++];
  44567. let Description = tape[ptr++];
  44568. let ObjectType = tape[ptr++];
  44569. let ObjectPlacement = tape[ptr++];
  44570. let Representation = tape[ptr++];
  44571. let LongName = tape[ptr++];
  44572. let CompositionType = tape[ptr++];
  44573. let RefLatitude = tape[ptr++];
  44574. let RefLongitude = tape[ptr++];
  44575. let RefElevation = tape[ptr++];
  44576. let LandTitleNumber = tape[ptr++];
  44577. let SiteAddress = tape[ptr++];
  44578. return new IfcSite(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, RefLatitude, RefLongitude, RefElevation, LandTitleNumber, SiteAddress);
  44579. }
  44580. ToTape() {
  44581. let args = [];
  44582. args.push(this.GlobalId);
  44583. ;
  44584. args.push(this.OwnerHistory);
  44585. ;
  44586. args.push(this.Name);
  44587. ;
  44588. args.push(this.Description);
  44589. ;
  44590. args.push(this.ObjectType);
  44591. ;
  44592. args.push(this.ObjectPlacement);
  44593. ;
  44594. args.push(this.Representation);
  44595. ;
  44596. args.push(this.LongName);
  44597. ;
  44598. args.push(this.CompositionType);
  44599. ;
  44600. args.push(this.RefLatitude);
  44601. ;
  44602. args.push(this.RefLongitude);
  44603. ;
  44604. args.push(this.RefElevation);
  44605. ;
  44606. args.push(this.LandTitleNumber);
  44607. ;
  44608. args.push(this.SiteAddress);
  44609. ;
  44610. return args;
  44611. }
  44612. };
  44613. var IfcSlab = class {
  44614. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  44615. this.expressID = expressID;
  44616. this.type = type;
  44617. this.GlobalId = GlobalId;
  44618. this.OwnerHistory = OwnerHistory;
  44619. this.Name = Name;
  44620. this.Description = Description;
  44621. this.ObjectType = ObjectType;
  44622. this.ObjectPlacement = ObjectPlacement;
  44623. this.Representation = Representation;
  44624. this.Tag = Tag;
  44625. this.PredefinedType = PredefinedType;
  44626. }
  44627. static FromTape(expressID, type, tape) {
  44628. let ptr = 0;
  44629. let GlobalId = tape[ptr++];
  44630. let OwnerHistory = tape[ptr++];
  44631. let Name = tape[ptr++];
  44632. let Description = tape[ptr++];
  44633. let ObjectType = tape[ptr++];
  44634. let ObjectPlacement = tape[ptr++];
  44635. let Representation = tape[ptr++];
  44636. let Tag = tape[ptr++];
  44637. let PredefinedType = tape[ptr++];
  44638. return new IfcSlab(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  44639. }
  44640. ToTape() {
  44641. let args = [];
  44642. args.push(this.GlobalId);
  44643. ;
  44644. args.push(this.OwnerHistory);
  44645. ;
  44646. args.push(this.Name);
  44647. ;
  44648. args.push(this.Description);
  44649. ;
  44650. args.push(this.ObjectType);
  44651. ;
  44652. args.push(this.ObjectPlacement);
  44653. ;
  44654. args.push(this.Representation);
  44655. ;
  44656. args.push(this.Tag);
  44657. ;
  44658. args.push(this.PredefinedType);
  44659. ;
  44660. return args;
  44661. }
  44662. };
  44663. var IfcSlabElementedCase = class {
  44664. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  44665. this.expressID = expressID;
  44666. this.type = type;
  44667. this.GlobalId = GlobalId;
  44668. this.OwnerHistory = OwnerHistory;
  44669. this.Name = Name;
  44670. this.Description = Description;
  44671. this.ObjectType = ObjectType;
  44672. this.ObjectPlacement = ObjectPlacement;
  44673. this.Representation = Representation;
  44674. this.Tag = Tag;
  44675. this.PredefinedType = PredefinedType;
  44676. }
  44677. static FromTape(expressID, type, tape) {
  44678. let ptr = 0;
  44679. let GlobalId = tape[ptr++];
  44680. let OwnerHistory = tape[ptr++];
  44681. let Name = tape[ptr++];
  44682. let Description = tape[ptr++];
  44683. let ObjectType = tape[ptr++];
  44684. let ObjectPlacement = tape[ptr++];
  44685. let Representation = tape[ptr++];
  44686. let Tag = tape[ptr++];
  44687. let PredefinedType = tape[ptr++];
  44688. return new IfcSlabElementedCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  44689. }
  44690. ToTape() {
  44691. let args = [];
  44692. args.push(this.GlobalId);
  44693. ;
  44694. args.push(this.OwnerHistory);
  44695. ;
  44696. args.push(this.Name);
  44697. ;
  44698. args.push(this.Description);
  44699. ;
  44700. args.push(this.ObjectType);
  44701. ;
  44702. args.push(this.ObjectPlacement);
  44703. ;
  44704. args.push(this.Representation);
  44705. ;
  44706. args.push(this.Tag);
  44707. ;
  44708. args.push(this.PredefinedType);
  44709. ;
  44710. return args;
  44711. }
  44712. };
  44713. var IfcSlabStandardCase = class {
  44714. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  44715. this.expressID = expressID;
  44716. this.type = type;
  44717. this.GlobalId = GlobalId;
  44718. this.OwnerHistory = OwnerHistory;
  44719. this.Name = Name;
  44720. this.Description = Description;
  44721. this.ObjectType = ObjectType;
  44722. this.ObjectPlacement = ObjectPlacement;
  44723. this.Representation = Representation;
  44724. this.Tag = Tag;
  44725. this.PredefinedType = PredefinedType;
  44726. }
  44727. static FromTape(expressID, type, tape) {
  44728. let ptr = 0;
  44729. let GlobalId = tape[ptr++];
  44730. let OwnerHistory = tape[ptr++];
  44731. let Name = tape[ptr++];
  44732. let Description = tape[ptr++];
  44733. let ObjectType = tape[ptr++];
  44734. let ObjectPlacement = tape[ptr++];
  44735. let Representation = tape[ptr++];
  44736. let Tag = tape[ptr++];
  44737. let PredefinedType = tape[ptr++];
  44738. return new IfcSlabStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  44739. }
  44740. ToTape() {
  44741. let args = [];
  44742. args.push(this.GlobalId);
  44743. ;
  44744. args.push(this.OwnerHistory);
  44745. ;
  44746. args.push(this.Name);
  44747. ;
  44748. args.push(this.Description);
  44749. ;
  44750. args.push(this.ObjectType);
  44751. ;
  44752. args.push(this.ObjectPlacement);
  44753. ;
  44754. args.push(this.Representation);
  44755. ;
  44756. args.push(this.Tag);
  44757. ;
  44758. args.push(this.PredefinedType);
  44759. ;
  44760. return args;
  44761. }
  44762. };
  44763. var IfcSlabType = class {
  44764. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  44765. this.expressID = expressID;
  44766. this.type = type;
  44767. this.GlobalId = GlobalId;
  44768. this.OwnerHistory = OwnerHistory;
  44769. this.Name = Name;
  44770. this.Description = Description;
  44771. this.ApplicableOccurrence = ApplicableOccurrence;
  44772. this.HasPropertySets = HasPropertySets;
  44773. this.RepresentationMaps = RepresentationMaps;
  44774. this.Tag = Tag;
  44775. this.ElementType = ElementType;
  44776. this.PredefinedType = PredefinedType;
  44777. }
  44778. static FromTape(expressID, type, tape) {
  44779. let ptr = 0;
  44780. let GlobalId = tape[ptr++];
  44781. let OwnerHistory = tape[ptr++];
  44782. let Name = tape[ptr++];
  44783. let Description = tape[ptr++];
  44784. let ApplicableOccurrence = tape[ptr++];
  44785. let HasPropertySets = tape[ptr++];
  44786. let RepresentationMaps = tape[ptr++];
  44787. let Tag = tape[ptr++];
  44788. let ElementType = tape[ptr++];
  44789. let PredefinedType = tape[ptr++];
  44790. return new IfcSlabType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  44791. }
  44792. ToTape() {
  44793. let args = [];
  44794. args.push(this.GlobalId);
  44795. ;
  44796. args.push(this.OwnerHistory);
  44797. ;
  44798. args.push(this.Name);
  44799. ;
  44800. args.push(this.Description);
  44801. ;
  44802. args.push(this.ApplicableOccurrence);
  44803. ;
  44804. args.push(this.HasPropertySets);
  44805. ;
  44806. args.push(this.RepresentationMaps);
  44807. ;
  44808. args.push(this.Tag);
  44809. ;
  44810. args.push(this.ElementType);
  44811. ;
  44812. args.push(this.PredefinedType);
  44813. ;
  44814. return args;
  44815. }
  44816. };
  44817. var IfcSlippageConnectionCondition = class {
  44818. constructor(expressID, type, Name, SlippageX, SlippageY, SlippageZ) {
  44819. this.expressID = expressID;
  44820. this.type = type;
  44821. this.Name = Name;
  44822. this.SlippageX = SlippageX;
  44823. this.SlippageY = SlippageY;
  44824. this.SlippageZ = SlippageZ;
  44825. }
  44826. static FromTape(expressID, type, tape) {
  44827. let ptr = 0;
  44828. let Name = tape[ptr++];
  44829. let SlippageX = tape[ptr++];
  44830. let SlippageY = tape[ptr++];
  44831. let SlippageZ = tape[ptr++];
  44832. return new IfcSlippageConnectionCondition(expressID, type, Name, SlippageX, SlippageY, SlippageZ);
  44833. }
  44834. ToTape() {
  44835. let args = [];
  44836. args.push(this.Name);
  44837. ;
  44838. args.push(this.SlippageX);
  44839. ;
  44840. args.push(this.SlippageY);
  44841. ;
  44842. args.push(this.SlippageZ);
  44843. ;
  44844. return args;
  44845. }
  44846. };
  44847. var IfcSolarDevice = class {
  44848. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  44849. this.expressID = expressID;
  44850. this.type = type;
  44851. this.GlobalId = GlobalId;
  44852. this.OwnerHistory = OwnerHistory;
  44853. this.Name = Name;
  44854. this.Description = Description;
  44855. this.ObjectType = ObjectType;
  44856. this.ObjectPlacement = ObjectPlacement;
  44857. this.Representation = Representation;
  44858. this.Tag = Tag;
  44859. this.PredefinedType = PredefinedType;
  44860. }
  44861. static FromTape(expressID, type, tape) {
  44862. let ptr = 0;
  44863. let GlobalId = tape[ptr++];
  44864. let OwnerHistory = tape[ptr++];
  44865. let Name = tape[ptr++];
  44866. let Description = tape[ptr++];
  44867. let ObjectType = tape[ptr++];
  44868. let ObjectPlacement = tape[ptr++];
  44869. let Representation = tape[ptr++];
  44870. let Tag = tape[ptr++];
  44871. let PredefinedType = tape[ptr++];
  44872. return new IfcSolarDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  44873. }
  44874. ToTape() {
  44875. let args = [];
  44876. args.push(this.GlobalId);
  44877. ;
  44878. args.push(this.OwnerHistory);
  44879. ;
  44880. args.push(this.Name);
  44881. ;
  44882. args.push(this.Description);
  44883. ;
  44884. args.push(this.ObjectType);
  44885. ;
  44886. args.push(this.ObjectPlacement);
  44887. ;
  44888. args.push(this.Representation);
  44889. ;
  44890. args.push(this.Tag);
  44891. ;
  44892. args.push(this.PredefinedType);
  44893. ;
  44894. return args;
  44895. }
  44896. };
  44897. var IfcSolarDeviceType = class {
  44898. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  44899. this.expressID = expressID;
  44900. this.type = type;
  44901. this.GlobalId = GlobalId;
  44902. this.OwnerHistory = OwnerHistory;
  44903. this.Name = Name;
  44904. this.Description = Description;
  44905. this.ApplicableOccurrence = ApplicableOccurrence;
  44906. this.HasPropertySets = HasPropertySets;
  44907. this.RepresentationMaps = RepresentationMaps;
  44908. this.Tag = Tag;
  44909. this.ElementType = ElementType;
  44910. this.PredefinedType = PredefinedType;
  44911. }
  44912. static FromTape(expressID, type, tape) {
  44913. let ptr = 0;
  44914. let GlobalId = tape[ptr++];
  44915. let OwnerHistory = tape[ptr++];
  44916. let Name = tape[ptr++];
  44917. let Description = tape[ptr++];
  44918. let ApplicableOccurrence = tape[ptr++];
  44919. let HasPropertySets = tape[ptr++];
  44920. let RepresentationMaps = tape[ptr++];
  44921. let Tag = tape[ptr++];
  44922. let ElementType = tape[ptr++];
  44923. let PredefinedType = tape[ptr++];
  44924. return new IfcSolarDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  44925. }
  44926. ToTape() {
  44927. let args = [];
  44928. args.push(this.GlobalId);
  44929. ;
  44930. args.push(this.OwnerHistory);
  44931. ;
  44932. args.push(this.Name);
  44933. ;
  44934. args.push(this.Description);
  44935. ;
  44936. args.push(this.ApplicableOccurrence);
  44937. ;
  44938. args.push(this.HasPropertySets);
  44939. ;
  44940. args.push(this.RepresentationMaps);
  44941. ;
  44942. args.push(this.Tag);
  44943. ;
  44944. args.push(this.ElementType);
  44945. ;
  44946. args.push(this.PredefinedType);
  44947. ;
  44948. return args;
  44949. }
  44950. };
  44951. var IfcSolidModel = class {
  44952. constructor(expressID, type) {
  44953. this.expressID = expressID;
  44954. this.type = type;
  44955. }
  44956. static FromTape(expressID, type, tape) {
  44957. let ptr = 0;
  44958. return new IfcSolidModel(expressID, type);
  44959. }
  44960. ToTape() {
  44961. let args = [];
  44962. return args;
  44963. }
  44964. };
  44965. var IfcSpace = class {
  44966. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, PredefinedType, ElevationWithFlooring) {
  44967. this.expressID = expressID;
  44968. this.type = type;
  44969. this.GlobalId = GlobalId;
  44970. this.OwnerHistory = OwnerHistory;
  44971. this.Name = Name;
  44972. this.Description = Description;
  44973. this.ObjectType = ObjectType;
  44974. this.ObjectPlacement = ObjectPlacement;
  44975. this.Representation = Representation;
  44976. this.LongName = LongName;
  44977. this.CompositionType = CompositionType;
  44978. this.PredefinedType = PredefinedType;
  44979. this.ElevationWithFlooring = ElevationWithFlooring;
  44980. }
  44981. static FromTape(expressID, type, tape) {
  44982. let ptr = 0;
  44983. let GlobalId = tape[ptr++];
  44984. let OwnerHistory = tape[ptr++];
  44985. let Name = tape[ptr++];
  44986. let Description = tape[ptr++];
  44987. let ObjectType = tape[ptr++];
  44988. let ObjectPlacement = tape[ptr++];
  44989. let Representation = tape[ptr++];
  44990. let LongName = tape[ptr++];
  44991. let CompositionType = tape[ptr++];
  44992. let PredefinedType = tape[ptr++];
  44993. let ElevationWithFlooring = tape[ptr++];
  44994. return new IfcSpace(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType, PredefinedType, ElevationWithFlooring);
  44995. }
  44996. ToTape() {
  44997. let args = [];
  44998. args.push(this.GlobalId);
  44999. ;
  45000. args.push(this.OwnerHistory);
  45001. ;
  45002. args.push(this.Name);
  45003. ;
  45004. args.push(this.Description);
  45005. ;
  45006. args.push(this.ObjectType);
  45007. ;
  45008. args.push(this.ObjectPlacement);
  45009. ;
  45010. args.push(this.Representation);
  45011. ;
  45012. args.push(this.LongName);
  45013. ;
  45014. args.push(this.CompositionType);
  45015. ;
  45016. args.push(this.PredefinedType);
  45017. ;
  45018. args.push(this.ElevationWithFlooring);
  45019. ;
  45020. return args;
  45021. }
  45022. };
  45023. var IfcSpaceHeater = class {
  45024. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  45025. this.expressID = expressID;
  45026. this.type = type;
  45027. this.GlobalId = GlobalId;
  45028. this.OwnerHistory = OwnerHistory;
  45029. this.Name = Name;
  45030. this.Description = Description;
  45031. this.ObjectType = ObjectType;
  45032. this.ObjectPlacement = ObjectPlacement;
  45033. this.Representation = Representation;
  45034. this.Tag = Tag;
  45035. this.PredefinedType = PredefinedType;
  45036. }
  45037. static FromTape(expressID, type, tape) {
  45038. let ptr = 0;
  45039. let GlobalId = tape[ptr++];
  45040. let OwnerHistory = tape[ptr++];
  45041. let Name = tape[ptr++];
  45042. let Description = tape[ptr++];
  45043. let ObjectType = tape[ptr++];
  45044. let ObjectPlacement = tape[ptr++];
  45045. let Representation = tape[ptr++];
  45046. let Tag = tape[ptr++];
  45047. let PredefinedType = tape[ptr++];
  45048. return new IfcSpaceHeater(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  45049. }
  45050. ToTape() {
  45051. let args = [];
  45052. args.push(this.GlobalId);
  45053. ;
  45054. args.push(this.OwnerHistory);
  45055. ;
  45056. args.push(this.Name);
  45057. ;
  45058. args.push(this.Description);
  45059. ;
  45060. args.push(this.ObjectType);
  45061. ;
  45062. args.push(this.ObjectPlacement);
  45063. ;
  45064. args.push(this.Representation);
  45065. ;
  45066. args.push(this.Tag);
  45067. ;
  45068. args.push(this.PredefinedType);
  45069. ;
  45070. return args;
  45071. }
  45072. };
  45073. var IfcSpaceHeaterType = class {
  45074. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  45075. this.expressID = expressID;
  45076. this.type = type;
  45077. this.GlobalId = GlobalId;
  45078. this.OwnerHistory = OwnerHistory;
  45079. this.Name = Name;
  45080. this.Description = Description;
  45081. this.ApplicableOccurrence = ApplicableOccurrence;
  45082. this.HasPropertySets = HasPropertySets;
  45083. this.RepresentationMaps = RepresentationMaps;
  45084. this.Tag = Tag;
  45085. this.ElementType = ElementType;
  45086. this.PredefinedType = PredefinedType;
  45087. }
  45088. static FromTape(expressID, type, tape) {
  45089. let ptr = 0;
  45090. let GlobalId = tape[ptr++];
  45091. let OwnerHistory = tape[ptr++];
  45092. let Name = tape[ptr++];
  45093. let Description = tape[ptr++];
  45094. let ApplicableOccurrence = tape[ptr++];
  45095. let HasPropertySets = tape[ptr++];
  45096. let RepresentationMaps = tape[ptr++];
  45097. let Tag = tape[ptr++];
  45098. let ElementType = tape[ptr++];
  45099. let PredefinedType = tape[ptr++];
  45100. return new IfcSpaceHeaterType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  45101. }
  45102. ToTape() {
  45103. let args = [];
  45104. args.push(this.GlobalId);
  45105. ;
  45106. args.push(this.OwnerHistory);
  45107. ;
  45108. args.push(this.Name);
  45109. ;
  45110. args.push(this.Description);
  45111. ;
  45112. args.push(this.ApplicableOccurrence);
  45113. ;
  45114. args.push(this.HasPropertySets);
  45115. ;
  45116. args.push(this.RepresentationMaps);
  45117. ;
  45118. args.push(this.Tag);
  45119. ;
  45120. args.push(this.ElementType);
  45121. ;
  45122. args.push(this.PredefinedType);
  45123. ;
  45124. return args;
  45125. }
  45126. };
  45127. var IfcSpaceType = class {
  45128. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, LongName) {
  45129. this.expressID = expressID;
  45130. this.type = type;
  45131. this.GlobalId = GlobalId;
  45132. this.OwnerHistory = OwnerHistory;
  45133. this.Name = Name;
  45134. this.Description = Description;
  45135. this.ApplicableOccurrence = ApplicableOccurrence;
  45136. this.HasPropertySets = HasPropertySets;
  45137. this.RepresentationMaps = RepresentationMaps;
  45138. this.Tag = Tag;
  45139. this.ElementType = ElementType;
  45140. this.PredefinedType = PredefinedType;
  45141. this.LongName = LongName;
  45142. }
  45143. static FromTape(expressID, type, tape) {
  45144. let ptr = 0;
  45145. let GlobalId = tape[ptr++];
  45146. let OwnerHistory = tape[ptr++];
  45147. let Name = tape[ptr++];
  45148. let Description = tape[ptr++];
  45149. let ApplicableOccurrence = tape[ptr++];
  45150. let HasPropertySets = tape[ptr++];
  45151. let RepresentationMaps = tape[ptr++];
  45152. let Tag = tape[ptr++];
  45153. let ElementType = tape[ptr++];
  45154. let PredefinedType = tape[ptr++];
  45155. let LongName = tape[ptr++];
  45156. return new IfcSpaceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, LongName);
  45157. }
  45158. ToTape() {
  45159. let args = [];
  45160. args.push(this.GlobalId);
  45161. ;
  45162. args.push(this.OwnerHistory);
  45163. ;
  45164. args.push(this.Name);
  45165. ;
  45166. args.push(this.Description);
  45167. ;
  45168. args.push(this.ApplicableOccurrence);
  45169. ;
  45170. args.push(this.HasPropertySets);
  45171. ;
  45172. args.push(this.RepresentationMaps);
  45173. ;
  45174. args.push(this.Tag);
  45175. ;
  45176. args.push(this.ElementType);
  45177. ;
  45178. args.push(this.PredefinedType);
  45179. ;
  45180. args.push(this.LongName);
  45181. ;
  45182. return args;
  45183. }
  45184. };
  45185. var IfcSpatialElement = class {
  45186. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName) {
  45187. this.expressID = expressID;
  45188. this.type = type;
  45189. this.GlobalId = GlobalId;
  45190. this.OwnerHistory = OwnerHistory;
  45191. this.Name = Name;
  45192. this.Description = Description;
  45193. this.ObjectType = ObjectType;
  45194. this.ObjectPlacement = ObjectPlacement;
  45195. this.Representation = Representation;
  45196. this.LongName = LongName;
  45197. }
  45198. static FromTape(expressID, type, tape) {
  45199. let ptr = 0;
  45200. let GlobalId = tape[ptr++];
  45201. let OwnerHistory = tape[ptr++];
  45202. let Name = tape[ptr++];
  45203. let Description = tape[ptr++];
  45204. let ObjectType = tape[ptr++];
  45205. let ObjectPlacement = tape[ptr++];
  45206. let Representation = tape[ptr++];
  45207. let LongName = tape[ptr++];
  45208. return new IfcSpatialElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName);
  45209. }
  45210. ToTape() {
  45211. let args = [];
  45212. args.push(this.GlobalId);
  45213. ;
  45214. args.push(this.OwnerHistory);
  45215. ;
  45216. args.push(this.Name);
  45217. ;
  45218. args.push(this.Description);
  45219. ;
  45220. args.push(this.ObjectType);
  45221. ;
  45222. args.push(this.ObjectPlacement);
  45223. ;
  45224. args.push(this.Representation);
  45225. ;
  45226. args.push(this.LongName);
  45227. ;
  45228. return args;
  45229. }
  45230. };
  45231. var IfcSpatialElementType = class {
  45232. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  45233. this.expressID = expressID;
  45234. this.type = type;
  45235. this.GlobalId = GlobalId;
  45236. this.OwnerHistory = OwnerHistory;
  45237. this.Name = Name;
  45238. this.Description = Description;
  45239. this.ApplicableOccurrence = ApplicableOccurrence;
  45240. this.HasPropertySets = HasPropertySets;
  45241. this.RepresentationMaps = RepresentationMaps;
  45242. this.Tag = Tag;
  45243. this.ElementType = ElementType;
  45244. }
  45245. static FromTape(expressID, type, tape) {
  45246. let ptr = 0;
  45247. let GlobalId = tape[ptr++];
  45248. let OwnerHistory = tape[ptr++];
  45249. let Name = tape[ptr++];
  45250. let Description = tape[ptr++];
  45251. let ApplicableOccurrence = tape[ptr++];
  45252. let HasPropertySets = tape[ptr++];
  45253. let RepresentationMaps = tape[ptr++];
  45254. let Tag = tape[ptr++];
  45255. let ElementType = tape[ptr++];
  45256. return new IfcSpatialElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  45257. }
  45258. ToTape() {
  45259. let args = [];
  45260. args.push(this.GlobalId);
  45261. ;
  45262. args.push(this.OwnerHistory);
  45263. ;
  45264. args.push(this.Name);
  45265. ;
  45266. args.push(this.Description);
  45267. ;
  45268. args.push(this.ApplicableOccurrence);
  45269. ;
  45270. args.push(this.HasPropertySets);
  45271. ;
  45272. args.push(this.RepresentationMaps);
  45273. ;
  45274. args.push(this.Tag);
  45275. ;
  45276. args.push(this.ElementType);
  45277. ;
  45278. return args;
  45279. }
  45280. };
  45281. var IfcSpatialStructureElement = class {
  45282. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType) {
  45283. this.expressID = expressID;
  45284. this.type = type;
  45285. this.GlobalId = GlobalId;
  45286. this.OwnerHistory = OwnerHistory;
  45287. this.Name = Name;
  45288. this.Description = Description;
  45289. this.ObjectType = ObjectType;
  45290. this.ObjectPlacement = ObjectPlacement;
  45291. this.Representation = Representation;
  45292. this.LongName = LongName;
  45293. this.CompositionType = CompositionType;
  45294. }
  45295. static FromTape(expressID, type, tape) {
  45296. let ptr = 0;
  45297. let GlobalId = tape[ptr++];
  45298. let OwnerHistory = tape[ptr++];
  45299. let Name = tape[ptr++];
  45300. let Description = tape[ptr++];
  45301. let ObjectType = tape[ptr++];
  45302. let ObjectPlacement = tape[ptr++];
  45303. let Representation = tape[ptr++];
  45304. let LongName = tape[ptr++];
  45305. let CompositionType = tape[ptr++];
  45306. return new IfcSpatialStructureElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, CompositionType);
  45307. }
  45308. ToTape() {
  45309. let args = [];
  45310. args.push(this.GlobalId);
  45311. ;
  45312. args.push(this.OwnerHistory);
  45313. ;
  45314. args.push(this.Name);
  45315. ;
  45316. args.push(this.Description);
  45317. ;
  45318. args.push(this.ObjectType);
  45319. ;
  45320. args.push(this.ObjectPlacement);
  45321. ;
  45322. args.push(this.Representation);
  45323. ;
  45324. args.push(this.LongName);
  45325. ;
  45326. args.push(this.CompositionType);
  45327. ;
  45328. return args;
  45329. }
  45330. };
  45331. var IfcSpatialStructureElementType = class {
  45332. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType) {
  45333. this.expressID = expressID;
  45334. this.type = type;
  45335. this.GlobalId = GlobalId;
  45336. this.OwnerHistory = OwnerHistory;
  45337. this.Name = Name;
  45338. this.Description = Description;
  45339. this.ApplicableOccurrence = ApplicableOccurrence;
  45340. this.HasPropertySets = HasPropertySets;
  45341. this.RepresentationMaps = RepresentationMaps;
  45342. this.Tag = Tag;
  45343. this.ElementType = ElementType;
  45344. }
  45345. static FromTape(expressID, type, tape) {
  45346. let ptr = 0;
  45347. let GlobalId = tape[ptr++];
  45348. let OwnerHistory = tape[ptr++];
  45349. let Name = tape[ptr++];
  45350. let Description = tape[ptr++];
  45351. let ApplicableOccurrence = tape[ptr++];
  45352. let HasPropertySets = tape[ptr++];
  45353. let RepresentationMaps = tape[ptr++];
  45354. let Tag = tape[ptr++];
  45355. let ElementType = tape[ptr++];
  45356. return new IfcSpatialStructureElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType);
  45357. }
  45358. ToTape() {
  45359. let args = [];
  45360. args.push(this.GlobalId);
  45361. ;
  45362. args.push(this.OwnerHistory);
  45363. ;
  45364. args.push(this.Name);
  45365. ;
  45366. args.push(this.Description);
  45367. ;
  45368. args.push(this.ApplicableOccurrence);
  45369. ;
  45370. args.push(this.HasPropertySets);
  45371. ;
  45372. args.push(this.RepresentationMaps);
  45373. ;
  45374. args.push(this.Tag);
  45375. ;
  45376. args.push(this.ElementType);
  45377. ;
  45378. return args;
  45379. }
  45380. };
  45381. var IfcSpatialZone = class {
  45382. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, PredefinedType) {
  45383. this.expressID = expressID;
  45384. this.type = type;
  45385. this.GlobalId = GlobalId;
  45386. this.OwnerHistory = OwnerHistory;
  45387. this.Name = Name;
  45388. this.Description = Description;
  45389. this.ObjectType = ObjectType;
  45390. this.ObjectPlacement = ObjectPlacement;
  45391. this.Representation = Representation;
  45392. this.LongName = LongName;
  45393. this.PredefinedType = PredefinedType;
  45394. }
  45395. static FromTape(expressID, type, tape) {
  45396. let ptr = 0;
  45397. let GlobalId = tape[ptr++];
  45398. let OwnerHistory = tape[ptr++];
  45399. let Name = tape[ptr++];
  45400. let Description = tape[ptr++];
  45401. let ObjectType = tape[ptr++];
  45402. let ObjectPlacement = tape[ptr++];
  45403. let Representation = tape[ptr++];
  45404. let LongName = tape[ptr++];
  45405. let PredefinedType = tape[ptr++];
  45406. return new IfcSpatialZone(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, LongName, PredefinedType);
  45407. }
  45408. ToTape() {
  45409. let args = [];
  45410. args.push(this.GlobalId);
  45411. ;
  45412. args.push(this.OwnerHistory);
  45413. ;
  45414. args.push(this.Name);
  45415. ;
  45416. args.push(this.Description);
  45417. ;
  45418. args.push(this.ObjectType);
  45419. ;
  45420. args.push(this.ObjectPlacement);
  45421. ;
  45422. args.push(this.Representation);
  45423. ;
  45424. args.push(this.LongName);
  45425. ;
  45426. args.push(this.PredefinedType);
  45427. ;
  45428. return args;
  45429. }
  45430. };
  45431. var IfcSpatialZoneType = class {
  45432. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, LongName) {
  45433. this.expressID = expressID;
  45434. this.type = type;
  45435. this.GlobalId = GlobalId;
  45436. this.OwnerHistory = OwnerHistory;
  45437. this.Name = Name;
  45438. this.Description = Description;
  45439. this.ApplicableOccurrence = ApplicableOccurrence;
  45440. this.HasPropertySets = HasPropertySets;
  45441. this.RepresentationMaps = RepresentationMaps;
  45442. this.Tag = Tag;
  45443. this.ElementType = ElementType;
  45444. this.PredefinedType = PredefinedType;
  45445. this.LongName = LongName;
  45446. }
  45447. static FromTape(expressID, type, tape) {
  45448. let ptr = 0;
  45449. let GlobalId = tape[ptr++];
  45450. let OwnerHistory = tape[ptr++];
  45451. let Name = tape[ptr++];
  45452. let Description = tape[ptr++];
  45453. let ApplicableOccurrence = tape[ptr++];
  45454. let HasPropertySets = tape[ptr++];
  45455. let RepresentationMaps = tape[ptr++];
  45456. let Tag = tape[ptr++];
  45457. let ElementType = tape[ptr++];
  45458. let PredefinedType = tape[ptr++];
  45459. let LongName = tape[ptr++];
  45460. return new IfcSpatialZoneType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, LongName);
  45461. }
  45462. ToTape() {
  45463. let args = [];
  45464. args.push(this.GlobalId);
  45465. ;
  45466. args.push(this.OwnerHistory);
  45467. ;
  45468. args.push(this.Name);
  45469. ;
  45470. args.push(this.Description);
  45471. ;
  45472. args.push(this.ApplicableOccurrence);
  45473. ;
  45474. args.push(this.HasPropertySets);
  45475. ;
  45476. args.push(this.RepresentationMaps);
  45477. ;
  45478. args.push(this.Tag);
  45479. ;
  45480. args.push(this.ElementType);
  45481. ;
  45482. args.push(this.PredefinedType);
  45483. ;
  45484. args.push(this.LongName);
  45485. ;
  45486. return args;
  45487. }
  45488. };
  45489. var IfcSphere = class {
  45490. constructor(expressID, type, Position, Radius) {
  45491. this.expressID = expressID;
  45492. this.type = type;
  45493. this.Position = Position;
  45494. this.Radius = Radius;
  45495. }
  45496. static FromTape(expressID, type, tape) {
  45497. let ptr = 0;
  45498. let Position = tape[ptr++];
  45499. let Radius = tape[ptr++];
  45500. return new IfcSphere(expressID, type, Position, Radius);
  45501. }
  45502. ToTape() {
  45503. let args = [];
  45504. args.push(this.Position);
  45505. ;
  45506. args.push(this.Radius);
  45507. ;
  45508. return args;
  45509. }
  45510. };
  45511. var IfcSphericalSurface = class {
  45512. constructor(expressID, type, Position, Radius) {
  45513. this.expressID = expressID;
  45514. this.type = type;
  45515. this.Position = Position;
  45516. this.Radius = Radius;
  45517. }
  45518. static FromTape(expressID, type, tape) {
  45519. let ptr = 0;
  45520. let Position = tape[ptr++];
  45521. let Radius = tape[ptr++];
  45522. return new IfcSphericalSurface(expressID, type, Position, Radius);
  45523. }
  45524. ToTape() {
  45525. let args = [];
  45526. args.push(this.Position);
  45527. ;
  45528. args.push(this.Radius);
  45529. ;
  45530. return args;
  45531. }
  45532. };
  45533. var IfcStackTerminal = class {
  45534. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  45535. this.expressID = expressID;
  45536. this.type = type;
  45537. this.GlobalId = GlobalId;
  45538. this.OwnerHistory = OwnerHistory;
  45539. this.Name = Name;
  45540. this.Description = Description;
  45541. this.ObjectType = ObjectType;
  45542. this.ObjectPlacement = ObjectPlacement;
  45543. this.Representation = Representation;
  45544. this.Tag = Tag;
  45545. this.PredefinedType = PredefinedType;
  45546. }
  45547. static FromTape(expressID, type, tape) {
  45548. let ptr = 0;
  45549. let GlobalId = tape[ptr++];
  45550. let OwnerHistory = tape[ptr++];
  45551. let Name = tape[ptr++];
  45552. let Description = tape[ptr++];
  45553. let ObjectType = tape[ptr++];
  45554. let ObjectPlacement = tape[ptr++];
  45555. let Representation = tape[ptr++];
  45556. let Tag = tape[ptr++];
  45557. let PredefinedType = tape[ptr++];
  45558. return new IfcStackTerminal(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  45559. }
  45560. ToTape() {
  45561. let args = [];
  45562. args.push(this.GlobalId);
  45563. ;
  45564. args.push(this.OwnerHistory);
  45565. ;
  45566. args.push(this.Name);
  45567. ;
  45568. args.push(this.Description);
  45569. ;
  45570. args.push(this.ObjectType);
  45571. ;
  45572. args.push(this.ObjectPlacement);
  45573. ;
  45574. args.push(this.Representation);
  45575. ;
  45576. args.push(this.Tag);
  45577. ;
  45578. args.push(this.PredefinedType);
  45579. ;
  45580. return args;
  45581. }
  45582. };
  45583. var IfcStackTerminalType = class {
  45584. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  45585. this.expressID = expressID;
  45586. this.type = type;
  45587. this.GlobalId = GlobalId;
  45588. this.OwnerHistory = OwnerHistory;
  45589. this.Name = Name;
  45590. this.Description = Description;
  45591. this.ApplicableOccurrence = ApplicableOccurrence;
  45592. this.HasPropertySets = HasPropertySets;
  45593. this.RepresentationMaps = RepresentationMaps;
  45594. this.Tag = Tag;
  45595. this.ElementType = ElementType;
  45596. this.PredefinedType = PredefinedType;
  45597. }
  45598. static FromTape(expressID, type, tape) {
  45599. let ptr = 0;
  45600. let GlobalId = tape[ptr++];
  45601. let OwnerHistory = tape[ptr++];
  45602. let Name = tape[ptr++];
  45603. let Description = tape[ptr++];
  45604. let ApplicableOccurrence = tape[ptr++];
  45605. let HasPropertySets = tape[ptr++];
  45606. let RepresentationMaps = tape[ptr++];
  45607. let Tag = tape[ptr++];
  45608. let ElementType = tape[ptr++];
  45609. let PredefinedType = tape[ptr++];
  45610. return new IfcStackTerminalType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  45611. }
  45612. ToTape() {
  45613. let args = [];
  45614. args.push(this.GlobalId);
  45615. ;
  45616. args.push(this.OwnerHistory);
  45617. ;
  45618. args.push(this.Name);
  45619. ;
  45620. args.push(this.Description);
  45621. ;
  45622. args.push(this.ApplicableOccurrence);
  45623. ;
  45624. args.push(this.HasPropertySets);
  45625. ;
  45626. args.push(this.RepresentationMaps);
  45627. ;
  45628. args.push(this.Tag);
  45629. ;
  45630. args.push(this.ElementType);
  45631. ;
  45632. args.push(this.PredefinedType);
  45633. ;
  45634. return args;
  45635. }
  45636. };
  45637. var IfcStair = class {
  45638. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  45639. this.expressID = expressID;
  45640. this.type = type;
  45641. this.GlobalId = GlobalId;
  45642. this.OwnerHistory = OwnerHistory;
  45643. this.Name = Name;
  45644. this.Description = Description;
  45645. this.ObjectType = ObjectType;
  45646. this.ObjectPlacement = ObjectPlacement;
  45647. this.Representation = Representation;
  45648. this.Tag = Tag;
  45649. this.PredefinedType = PredefinedType;
  45650. }
  45651. static FromTape(expressID, type, tape) {
  45652. let ptr = 0;
  45653. let GlobalId = tape[ptr++];
  45654. let OwnerHistory = tape[ptr++];
  45655. let Name = tape[ptr++];
  45656. let Description = tape[ptr++];
  45657. let ObjectType = tape[ptr++];
  45658. let ObjectPlacement = tape[ptr++];
  45659. let Representation = tape[ptr++];
  45660. let Tag = tape[ptr++];
  45661. let PredefinedType = tape[ptr++];
  45662. return new IfcStair(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  45663. }
  45664. ToTape() {
  45665. let args = [];
  45666. args.push(this.GlobalId);
  45667. ;
  45668. args.push(this.OwnerHistory);
  45669. ;
  45670. args.push(this.Name);
  45671. ;
  45672. args.push(this.Description);
  45673. ;
  45674. args.push(this.ObjectType);
  45675. ;
  45676. args.push(this.ObjectPlacement);
  45677. ;
  45678. args.push(this.Representation);
  45679. ;
  45680. args.push(this.Tag);
  45681. ;
  45682. args.push(this.PredefinedType);
  45683. ;
  45684. return args;
  45685. }
  45686. };
  45687. var IfcStairFlight = class {
  45688. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, NumberOfRisers, NumberOfTreads, RiserHeight, TreadLength, PredefinedType) {
  45689. this.expressID = expressID;
  45690. this.type = type;
  45691. this.GlobalId = GlobalId;
  45692. this.OwnerHistory = OwnerHistory;
  45693. this.Name = Name;
  45694. this.Description = Description;
  45695. this.ObjectType = ObjectType;
  45696. this.ObjectPlacement = ObjectPlacement;
  45697. this.Representation = Representation;
  45698. this.Tag = Tag;
  45699. this.NumberOfRisers = NumberOfRisers;
  45700. this.NumberOfTreads = NumberOfTreads;
  45701. this.RiserHeight = RiserHeight;
  45702. this.TreadLength = TreadLength;
  45703. this.PredefinedType = PredefinedType;
  45704. }
  45705. static FromTape(expressID, type, tape) {
  45706. let ptr = 0;
  45707. let GlobalId = tape[ptr++];
  45708. let OwnerHistory = tape[ptr++];
  45709. let Name = tape[ptr++];
  45710. let Description = tape[ptr++];
  45711. let ObjectType = tape[ptr++];
  45712. let ObjectPlacement = tape[ptr++];
  45713. let Representation = tape[ptr++];
  45714. let Tag = tape[ptr++];
  45715. let NumberOfRisers = tape[ptr++];
  45716. let NumberOfTreads = tape[ptr++];
  45717. let RiserHeight = tape[ptr++];
  45718. let TreadLength = tape[ptr++];
  45719. let PredefinedType = tape[ptr++];
  45720. return new IfcStairFlight(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, NumberOfRisers, NumberOfTreads, RiserHeight, TreadLength, PredefinedType);
  45721. }
  45722. ToTape() {
  45723. let args = [];
  45724. args.push(this.GlobalId);
  45725. ;
  45726. args.push(this.OwnerHistory);
  45727. ;
  45728. args.push(this.Name);
  45729. ;
  45730. args.push(this.Description);
  45731. ;
  45732. args.push(this.ObjectType);
  45733. ;
  45734. args.push(this.ObjectPlacement);
  45735. ;
  45736. args.push(this.Representation);
  45737. ;
  45738. args.push(this.Tag);
  45739. ;
  45740. args.push(this.NumberOfRisers);
  45741. ;
  45742. args.push(this.NumberOfTreads);
  45743. ;
  45744. args.push(this.RiserHeight);
  45745. ;
  45746. args.push(this.TreadLength);
  45747. ;
  45748. args.push(this.PredefinedType);
  45749. ;
  45750. return args;
  45751. }
  45752. };
  45753. var IfcStairFlightType = class {
  45754. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  45755. this.expressID = expressID;
  45756. this.type = type;
  45757. this.GlobalId = GlobalId;
  45758. this.OwnerHistory = OwnerHistory;
  45759. this.Name = Name;
  45760. this.Description = Description;
  45761. this.ApplicableOccurrence = ApplicableOccurrence;
  45762. this.HasPropertySets = HasPropertySets;
  45763. this.RepresentationMaps = RepresentationMaps;
  45764. this.Tag = Tag;
  45765. this.ElementType = ElementType;
  45766. this.PredefinedType = PredefinedType;
  45767. }
  45768. static FromTape(expressID, type, tape) {
  45769. let ptr = 0;
  45770. let GlobalId = tape[ptr++];
  45771. let OwnerHistory = tape[ptr++];
  45772. let Name = tape[ptr++];
  45773. let Description = tape[ptr++];
  45774. let ApplicableOccurrence = tape[ptr++];
  45775. let HasPropertySets = tape[ptr++];
  45776. let RepresentationMaps = tape[ptr++];
  45777. let Tag = tape[ptr++];
  45778. let ElementType = tape[ptr++];
  45779. let PredefinedType = tape[ptr++];
  45780. return new IfcStairFlightType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  45781. }
  45782. ToTape() {
  45783. let args = [];
  45784. args.push(this.GlobalId);
  45785. ;
  45786. args.push(this.OwnerHistory);
  45787. ;
  45788. args.push(this.Name);
  45789. ;
  45790. args.push(this.Description);
  45791. ;
  45792. args.push(this.ApplicableOccurrence);
  45793. ;
  45794. args.push(this.HasPropertySets);
  45795. ;
  45796. args.push(this.RepresentationMaps);
  45797. ;
  45798. args.push(this.Tag);
  45799. ;
  45800. args.push(this.ElementType);
  45801. ;
  45802. args.push(this.PredefinedType);
  45803. ;
  45804. return args;
  45805. }
  45806. };
  45807. var IfcStairType = class {
  45808. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  45809. this.expressID = expressID;
  45810. this.type = type;
  45811. this.GlobalId = GlobalId;
  45812. this.OwnerHistory = OwnerHistory;
  45813. this.Name = Name;
  45814. this.Description = Description;
  45815. this.ApplicableOccurrence = ApplicableOccurrence;
  45816. this.HasPropertySets = HasPropertySets;
  45817. this.RepresentationMaps = RepresentationMaps;
  45818. this.Tag = Tag;
  45819. this.ElementType = ElementType;
  45820. this.PredefinedType = PredefinedType;
  45821. }
  45822. static FromTape(expressID, type, tape) {
  45823. let ptr = 0;
  45824. let GlobalId = tape[ptr++];
  45825. let OwnerHistory = tape[ptr++];
  45826. let Name = tape[ptr++];
  45827. let Description = tape[ptr++];
  45828. let ApplicableOccurrence = tape[ptr++];
  45829. let HasPropertySets = tape[ptr++];
  45830. let RepresentationMaps = tape[ptr++];
  45831. let Tag = tape[ptr++];
  45832. let ElementType = tape[ptr++];
  45833. let PredefinedType = tape[ptr++];
  45834. return new IfcStairType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  45835. }
  45836. ToTape() {
  45837. let args = [];
  45838. args.push(this.GlobalId);
  45839. ;
  45840. args.push(this.OwnerHistory);
  45841. ;
  45842. args.push(this.Name);
  45843. ;
  45844. args.push(this.Description);
  45845. ;
  45846. args.push(this.ApplicableOccurrence);
  45847. ;
  45848. args.push(this.HasPropertySets);
  45849. ;
  45850. args.push(this.RepresentationMaps);
  45851. ;
  45852. args.push(this.Tag);
  45853. ;
  45854. args.push(this.ElementType);
  45855. ;
  45856. args.push(this.PredefinedType);
  45857. ;
  45858. return args;
  45859. }
  45860. };
  45861. var IfcStructuralAction = class {
  45862. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad) {
  45863. this.expressID = expressID;
  45864. this.type = type;
  45865. this.GlobalId = GlobalId;
  45866. this.OwnerHistory = OwnerHistory;
  45867. this.Name = Name;
  45868. this.Description = Description;
  45869. this.ObjectType = ObjectType;
  45870. this.ObjectPlacement = ObjectPlacement;
  45871. this.Representation = Representation;
  45872. this.AppliedLoad = AppliedLoad;
  45873. this.GlobalOrLocal = GlobalOrLocal;
  45874. this.DestabilizingLoad = DestabilizingLoad;
  45875. }
  45876. static FromTape(expressID, type, tape) {
  45877. let ptr = 0;
  45878. let GlobalId = tape[ptr++];
  45879. let OwnerHistory = tape[ptr++];
  45880. let Name = tape[ptr++];
  45881. let Description = tape[ptr++];
  45882. let ObjectType = tape[ptr++];
  45883. let ObjectPlacement = tape[ptr++];
  45884. let Representation = tape[ptr++];
  45885. let AppliedLoad = tape[ptr++];
  45886. let GlobalOrLocal = tape[ptr++];
  45887. let DestabilizingLoad = tape[ptr++];
  45888. return new IfcStructuralAction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad);
  45889. }
  45890. ToTape() {
  45891. let args = [];
  45892. args.push(this.GlobalId);
  45893. ;
  45894. args.push(this.OwnerHistory);
  45895. ;
  45896. args.push(this.Name);
  45897. ;
  45898. args.push(this.Description);
  45899. ;
  45900. args.push(this.ObjectType);
  45901. ;
  45902. args.push(this.ObjectPlacement);
  45903. ;
  45904. args.push(this.Representation);
  45905. ;
  45906. args.push(this.AppliedLoad);
  45907. ;
  45908. args.push(this.GlobalOrLocal);
  45909. ;
  45910. args.push(this.DestabilizingLoad);
  45911. ;
  45912. return args;
  45913. }
  45914. };
  45915. var IfcStructuralActivity = class {
  45916. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal) {
  45917. this.expressID = expressID;
  45918. this.type = type;
  45919. this.GlobalId = GlobalId;
  45920. this.OwnerHistory = OwnerHistory;
  45921. this.Name = Name;
  45922. this.Description = Description;
  45923. this.ObjectType = ObjectType;
  45924. this.ObjectPlacement = ObjectPlacement;
  45925. this.Representation = Representation;
  45926. this.AppliedLoad = AppliedLoad;
  45927. this.GlobalOrLocal = GlobalOrLocal;
  45928. }
  45929. static FromTape(expressID, type, tape) {
  45930. let ptr = 0;
  45931. let GlobalId = tape[ptr++];
  45932. let OwnerHistory = tape[ptr++];
  45933. let Name = tape[ptr++];
  45934. let Description = tape[ptr++];
  45935. let ObjectType = tape[ptr++];
  45936. let ObjectPlacement = tape[ptr++];
  45937. let Representation = tape[ptr++];
  45938. let AppliedLoad = tape[ptr++];
  45939. let GlobalOrLocal = tape[ptr++];
  45940. return new IfcStructuralActivity(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal);
  45941. }
  45942. ToTape() {
  45943. let args = [];
  45944. args.push(this.GlobalId);
  45945. ;
  45946. args.push(this.OwnerHistory);
  45947. ;
  45948. args.push(this.Name);
  45949. ;
  45950. args.push(this.Description);
  45951. ;
  45952. args.push(this.ObjectType);
  45953. ;
  45954. args.push(this.ObjectPlacement);
  45955. ;
  45956. args.push(this.Representation);
  45957. ;
  45958. args.push(this.AppliedLoad);
  45959. ;
  45960. args.push(this.GlobalOrLocal);
  45961. ;
  45962. return args;
  45963. }
  45964. };
  45965. var IfcStructuralAnalysisModel = class {
  45966. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, OrientationOf2DPlane, LoadedBy, HasResults, SharedPlacement) {
  45967. this.expressID = expressID;
  45968. this.type = type;
  45969. this.GlobalId = GlobalId;
  45970. this.OwnerHistory = OwnerHistory;
  45971. this.Name = Name;
  45972. this.Description = Description;
  45973. this.ObjectType = ObjectType;
  45974. this.PredefinedType = PredefinedType;
  45975. this.OrientationOf2DPlane = OrientationOf2DPlane;
  45976. this.LoadedBy = LoadedBy;
  45977. this.HasResults = HasResults;
  45978. this.SharedPlacement = SharedPlacement;
  45979. }
  45980. static FromTape(expressID, type, tape) {
  45981. let ptr = 0;
  45982. let GlobalId = tape[ptr++];
  45983. let OwnerHistory = tape[ptr++];
  45984. let Name = tape[ptr++];
  45985. let Description = tape[ptr++];
  45986. let ObjectType = tape[ptr++];
  45987. let PredefinedType = tape[ptr++];
  45988. let OrientationOf2DPlane = tape[ptr++];
  45989. let LoadedBy = tape[ptr++];
  45990. let HasResults = tape[ptr++];
  45991. let SharedPlacement = tape[ptr++];
  45992. return new IfcStructuralAnalysisModel(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, OrientationOf2DPlane, LoadedBy, HasResults, SharedPlacement);
  45993. }
  45994. ToTape() {
  45995. let args = [];
  45996. args.push(this.GlobalId);
  45997. ;
  45998. args.push(this.OwnerHistory);
  45999. ;
  46000. args.push(this.Name);
  46001. ;
  46002. args.push(this.Description);
  46003. ;
  46004. args.push(this.ObjectType);
  46005. ;
  46006. args.push(this.PredefinedType);
  46007. ;
  46008. args.push(this.OrientationOf2DPlane);
  46009. ;
  46010. args.push(this.LoadedBy);
  46011. ;
  46012. args.push(this.HasResults);
  46013. ;
  46014. args.push(this.SharedPlacement);
  46015. ;
  46016. return args;
  46017. }
  46018. };
  46019. var IfcStructuralConnection = class {
  46020. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedCondition) {
  46021. this.expressID = expressID;
  46022. this.type = type;
  46023. this.GlobalId = GlobalId;
  46024. this.OwnerHistory = OwnerHistory;
  46025. this.Name = Name;
  46026. this.Description = Description;
  46027. this.ObjectType = ObjectType;
  46028. this.ObjectPlacement = ObjectPlacement;
  46029. this.Representation = Representation;
  46030. this.AppliedCondition = AppliedCondition;
  46031. }
  46032. static FromTape(expressID, type, tape) {
  46033. let ptr = 0;
  46034. let GlobalId = tape[ptr++];
  46035. let OwnerHistory = tape[ptr++];
  46036. let Name = tape[ptr++];
  46037. let Description = tape[ptr++];
  46038. let ObjectType = tape[ptr++];
  46039. let ObjectPlacement = tape[ptr++];
  46040. let Representation = tape[ptr++];
  46041. let AppliedCondition = tape[ptr++];
  46042. return new IfcStructuralConnection(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedCondition);
  46043. }
  46044. ToTape() {
  46045. let args = [];
  46046. args.push(this.GlobalId);
  46047. ;
  46048. args.push(this.OwnerHistory);
  46049. ;
  46050. args.push(this.Name);
  46051. ;
  46052. args.push(this.Description);
  46053. ;
  46054. args.push(this.ObjectType);
  46055. ;
  46056. args.push(this.ObjectPlacement);
  46057. ;
  46058. args.push(this.Representation);
  46059. ;
  46060. args.push(this.AppliedCondition);
  46061. ;
  46062. return args;
  46063. }
  46064. };
  46065. var IfcStructuralConnectionCondition = class {
  46066. constructor(expressID, type, Name) {
  46067. this.expressID = expressID;
  46068. this.type = type;
  46069. this.Name = Name;
  46070. }
  46071. static FromTape(expressID, type, tape) {
  46072. let ptr = 0;
  46073. let Name = tape[ptr++];
  46074. return new IfcStructuralConnectionCondition(expressID, type, Name);
  46075. }
  46076. ToTape() {
  46077. let args = [];
  46078. args.push(this.Name);
  46079. ;
  46080. return args;
  46081. }
  46082. };
  46083. var IfcStructuralCurveAction = class {
  46084. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad, ProjectedOrTrue, PredefinedType) {
  46085. this.expressID = expressID;
  46086. this.type = type;
  46087. this.GlobalId = GlobalId;
  46088. this.OwnerHistory = OwnerHistory;
  46089. this.Name = Name;
  46090. this.Description = Description;
  46091. this.ObjectType = ObjectType;
  46092. this.ObjectPlacement = ObjectPlacement;
  46093. this.Representation = Representation;
  46094. this.AppliedLoad = AppliedLoad;
  46095. this.GlobalOrLocal = GlobalOrLocal;
  46096. this.DestabilizingLoad = DestabilizingLoad;
  46097. this.ProjectedOrTrue = ProjectedOrTrue;
  46098. this.PredefinedType = PredefinedType;
  46099. }
  46100. static FromTape(expressID, type, tape) {
  46101. let ptr = 0;
  46102. let GlobalId = tape[ptr++];
  46103. let OwnerHistory = tape[ptr++];
  46104. let Name = tape[ptr++];
  46105. let Description = tape[ptr++];
  46106. let ObjectType = tape[ptr++];
  46107. let ObjectPlacement = tape[ptr++];
  46108. let Representation = tape[ptr++];
  46109. let AppliedLoad = tape[ptr++];
  46110. let GlobalOrLocal = tape[ptr++];
  46111. let DestabilizingLoad = tape[ptr++];
  46112. let ProjectedOrTrue = tape[ptr++];
  46113. let PredefinedType = tape[ptr++];
  46114. return new IfcStructuralCurveAction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad, ProjectedOrTrue, PredefinedType);
  46115. }
  46116. ToTape() {
  46117. let args = [];
  46118. args.push(this.GlobalId);
  46119. ;
  46120. args.push(this.OwnerHistory);
  46121. ;
  46122. args.push(this.Name);
  46123. ;
  46124. args.push(this.Description);
  46125. ;
  46126. args.push(this.ObjectType);
  46127. ;
  46128. args.push(this.ObjectPlacement);
  46129. ;
  46130. args.push(this.Representation);
  46131. ;
  46132. args.push(this.AppliedLoad);
  46133. ;
  46134. args.push(this.GlobalOrLocal);
  46135. ;
  46136. args.push(this.DestabilizingLoad);
  46137. ;
  46138. args.push(this.ProjectedOrTrue);
  46139. ;
  46140. args.push(this.PredefinedType);
  46141. ;
  46142. return args;
  46143. }
  46144. };
  46145. var IfcStructuralCurveConnection = class {
  46146. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedCondition, Axis) {
  46147. this.expressID = expressID;
  46148. this.type = type;
  46149. this.GlobalId = GlobalId;
  46150. this.OwnerHistory = OwnerHistory;
  46151. this.Name = Name;
  46152. this.Description = Description;
  46153. this.ObjectType = ObjectType;
  46154. this.ObjectPlacement = ObjectPlacement;
  46155. this.Representation = Representation;
  46156. this.AppliedCondition = AppliedCondition;
  46157. this.Axis = Axis;
  46158. }
  46159. static FromTape(expressID, type, tape) {
  46160. let ptr = 0;
  46161. let GlobalId = tape[ptr++];
  46162. let OwnerHistory = tape[ptr++];
  46163. let Name = tape[ptr++];
  46164. let Description = tape[ptr++];
  46165. let ObjectType = tape[ptr++];
  46166. let ObjectPlacement = tape[ptr++];
  46167. let Representation = tape[ptr++];
  46168. let AppliedCondition = tape[ptr++];
  46169. let Axis = tape[ptr++];
  46170. return new IfcStructuralCurveConnection(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedCondition, Axis);
  46171. }
  46172. ToTape() {
  46173. let args = [];
  46174. args.push(this.GlobalId);
  46175. ;
  46176. args.push(this.OwnerHistory);
  46177. ;
  46178. args.push(this.Name);
  46179. ;
  46180. args.push(this.Description);
  46181. ;
  46182. args.push(this.ObjectType);
  46183. ;
  46184. args.push(this.ObjectPlacement);
  46185. ;
  46186. args.push(this.Representation);
  46187. ;
  46188. args.push(this.AppliedCondition);
  46189. ;
  46190. args.push(this.Axis);
  46191. ;
  46192. return args;
  46193. }
  46194. };
  46195. var IfcStructuralCurveMember = class {
  46196. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, Axis) {
  46197. this.expressID = expressID;
  46198. this.type = type;
  46199. this.GlobalId = GlobalId;
  46200. this.OwnerHistory = OwnerHistory;
  46201. this.Name = Name;
  46202. this.Description = Description;
  46203. this.ObjectType = ObjectType;
  46204. this.ObjectPlacement = ObjectPlacement;
  46205. this.Representation = Representation;
  46206. this.PredefinedType = PredefinedType;
  46207. this.Axis = Axis;
  46208. }
  46209. static FromTape(expressID, type, tape) {
  46210. let ptr = 0;
  46211. let GlobalId = tape[ptr++];
  46212. let OwnerHistory = tape[ptr++];
  46213. let Name = tape[ptr++];
  46214. let Description = tape[ptr++];
  46215. let ObjectType = tape[ptr++];
  46216. let ObjectPlacement = tape[ptr++];
  46217. let Representation = tape[ptr++];
  46218. let PredefinedType = tape[ptr++];
  46219. let Axis = tape[ptr++];
  46220. return new IfcStructuralCurveMember(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, Axis);
  46221. }
  46222. ToTape() {
  46223. let args = [];
  46224. args.push(this.GlobalId);
  46225. ;
  46226. args.push(this.OwnerHistory);
  46227. ;
  46228. args.push(this.Name);
  46229. ;
  46230. args.push(this.Description);
  46231. ;
  46232. args.push(this.ObjectType);
  46233. ;
  46234. args.push(this.ObjectPlacement);
  46235. ;
  46236. args.push(this.Representation);
  46237. ;
  46238. args.push(this.PredefinedType);
  46239. ;
  46240. args.push(this.Axis);
  46241. ;
  46242. return args;
  46243. }
  46244. };
  46245. var IfcStructuralCurveMemberVarying = class {
  46246. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, Axis) {
  46247. this.expressID = expressID;
  46248. this.type = type;
  46249. this.GlobalId = GlobalId;
  46250. this.OwnerHistory = OwnerHistory;
  46251. this.Name = Name;
  46252. this.Description = Description;
  46253. this.ObjectType = ObjectType;
  46254. this.ObjectPlacement = ObjectPlacement;
  46255. this.Representation = Representation;
  46256. this.PredefinedType = PredefinedType;
  46257. this.Axis = Axis;
  46258. }
  46259. static FromTape(expressID, type, tape) {
  46260. let ptr = 0;
  46261. let GlobalId = tape[ptr++];
  46262. let OwnerHistory = tape[ptr++];
  46263. let Name = tape[ptr++];
  46264. let Description = tape[ptr++];
  46265. let ObjectType = tape[ptr++];
  46266. let ObjectPlacement = tape[ptr++];
  46267. let Representation = tape[ptr++];
  46268. let PredefinedType = tape[ptr++];
  46269. let Axis = tape[ptr++];
  46270. return new IfcStructuralCurveMemberVarying(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, Axis);
  46271. }
  46272. ToTape() {
  46273. let args = [];
  46274. args.push(this.GlobalId);
  46275. ;
  46276. args.push(this.OwnerHistory);
  46277. ;
  46278. args.push(this.Name);
  46279. ;
  46280. args.push(this.Description);
  46281. ;
  46282. args.push(this.ObjectType);
  46283. ;
  46284. args.push(this.ObjectPlacement);
  46285. ;
  46286. args.push(this.Representation);
  46287. ;
  46288. args.push(this.PredefinedType);
  46289. ;
  46290. args.push(this.Axis);
  46291. ;
  46292. return args;
  46293. }
  46294. };
  46295. var IfcStructuralCurveReaction = class {
  46296. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, PredefinedType) {
  46297. this.expressID = expressID;
  46298. this.type = type;
  46299. this.GlobalId = GlobalId;
  46300. this.OwnerHistory = OwnerHistory;
  46301. this.Name = Name;
  46302. this.Description = Description;
  46303. this.ObjectType = ObjectType;
  46304. this.ObjectPlacement = ObjectPlacement;
  46305. this.Representation = Representation;
  46306. this.AppliedLoad = AppliedLoad;
  46307. this.GlobalOrLocal = GlobalOrLocal;
  46308. this.PredefinedType = PredefinedType;
  46309. }
  46310. static FromTape(expressID, type, tape) {
  46311. let ptr = 0;
  46312. let GlobalId = tape[ptr++];
  46313. let OwnerHistory = tape[ptr++];
  46314. let Name = tape[ptr++];
  46315. let Description = tape[ptr++];
  46316. let ObjectType = tape[ptr++];
  46317. let ObjectPlacement = tape[ptr++];
  46318. let Representation = tape[ptr++];
  46319. let AppliedLoad = tape[ptr++];
  46320. let GlobalOrLocal = tape[ptr++];
  46321. let PredefinedType = tape[ptr++];
  46322. return new IfcStructuralCurveReaction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, PredefinedType);
  46323. }
  46324. ToTape() {
  46325. let args = [];
  46326. args.push(this.GlobalId);
  46327. ;
  46328. args.push(this.OwnerHistory);
  46329. ;
  46330. args.push(this.Name);
  46331. ;
  46332. args.push(this.Description);
  46333. ;
  46334. args.push(this.ObjectType);
  46335. ;
  46336. args.push(this.ObjectPlacement);
  46337. ;
  46338. args.push(this.Representation);
  46339. ;
  46340. args.push(this.AppliedLoad);
  46341. ;
  46342. args.push(this.GlobalOrLocal);
  46343. ;
  46344. args.push(this.PredefinedType);
  46345. ;
  46346. return args;
  46347. }
  46348. };
  46349. var IfcStructuralItem = class {
  46350. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation) {
  46351. this.expressID = expressID;
  46352. this.type = type;
  46353. this.GlobalId = GlobalId;
  46354. this.OwnerHistory = OwnerHistory;
  46355. this.Name = Name;
  46356. this.Description = Description;
  46357. this.ObjectType = ObjectType;
  46358. this.ObjectPlacement = ObjectPlacement;
  46359. this.Representation = Representation;
  46360. }
  46361. static FromTape(expressID, type, tape) {
  46362. let ptr = 0;
  46363. let GlobalId = tape[ptr++];
  46364. let OwnerHistory = tape[ptr++];
  46365. let Name = tape[ptr++];
  46366. let Description = tape[ptr++];
  46367. let ObjectType = tape[ptr++];
  46368. let ObjectPlacement = tape[ptr++];
  46369. let Representation = tape[ptr++];
  46370. return new IfcStructuralItem(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation);
  46371. }
  46372. ToTape() {
  46373. let args = [];
  46374. args.push(this.GlobalId);
  46375. ;
  46376. args.push(this.OwnerHistory);
  46377. ;
  46378. args.push(this.Name);
  46379. ;
  46380. args.push(this.Description);
  46381. ;
  46382. args.push(this.ObjectType);
  46383. ;
  46384. args.push(this.ObjectPlacement);
  46385. ;
  46386. args.push(this.Representation);
  46387. ;
  46388. return args;
  46389. }
  46390. };
  46391. var IfcStructuralLinearAction = class {
  46392. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad, ProjectedOrTrue, PredefinedType) {
  46393. this.expressID = expressID;
  46394. this.type = type;
  46395. this.GlobalId = GlobalId;
  46396. this.OwnerHistory = OwnerHistory;
  46397. this.Name = Name;
  46398. this.Description = Description;
  46399. this.ObjectType = ObjectType;
  46400. this.ObjectPlacement = ObjectPlacement;
  46401. this.Representation = Representation;
  46402. this.AppliedLoad = AppliedLoad;
  46403. this.GlobalOrLocal = GlobalOrLocal;
  46404. this.DestabilizingLoad = DestabilizingLoad;
  46405. this.ProjectedOrTrue = ProjectedOrTrue;
  46406. this.PredefinedType = PredefinedType;
  46407. }
  46408. static FromTape(expressID, type, tape) {
  46409. let ptr = 0;
  46410. let GlobalId = tape[ptr++];
  46411. let OwnerHistory = tape[ptr++];
  46412. let Name = tape[ptr++];
  46413. let Description = tape[ptr++];
  46414. let ObjectType = tape[ptr++];
  46415. let ObjectPlacement = tape[ptr++];
  46416. let Representation = tape[ptr++];
  46417. let AppliedLoad = tape[ptr++];
  46418. let GlobalOrLocal = tape[ptr++];
  46419. let DestabilizingLoad = tape[ptr++];
  46420. let ProjectedOrTrue = tape[ptr++];
  46421. let PredefinedType = tape[ptr++];
  46422. return new IfcStructuralLinearAction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad, ProjectedOrTrue, PredefinedType);
  46423. }
  46424. ToTape() {
  46425. let args = [];
  46426. args.push(this.GlobalId);
  46427. ;
  46428. args.push(this.OwnerHistory);
  46429. ;
  46430. args.push(this.Name);
  46431. ;
  46432. args.push(this.Description);
  46433. ;
  46434. args.push(this.ObjectType);
  46435. ;
  46436. args.push(this.ObjectPlacement);
  46437. ;
  46438. args.push(this.Representation);
  46439. ;
  46440. args.push(this.AppliedLoad);
  46441. ;
  46442. args.push(this.GlobalOrLocal);
  46443. ;
  46444. args.push(this.DestabilizingLoad);
  46445. ;
  46446. args.push(this.ProjectedOrTrue);
  46447. ;
  46448. args.push(this.PredefinedType);
  46449. ;
  46450. return args;
  46451. }
  46452. };
  46453. var IfcStructuralLoad = class {
  46454. constructor(expressID, type, Name) {
  46455. this.expressID = expressID;
  46456. this.type = type;
  46457. this.Name = Name;
  46458. }
  46459. static FromTape(expressID, type, tape) {
  46460. let ptr = 0;
  46461. let Name = tape[ptr++];
  46462. return new IfcStructuralLoad(expressID, type, Name);
  46463. }
  46464. ToTape() {
  46465. let args = [];
  46466. args.push(this.Name);
  46467. ;
  46468. return args;
  46469. }
  46470. };
  46471. var IfcStructuralLoadCase = class {
  46472. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, ActionType, ActionSource, Coefficient, Purpose, SelfWeightCoefficients) {
  46473. this.expressID = expressID;
  46474. this.type = type;
  46475. this.GlobalId = GlobalId;
  46476. this.OwnerHistory = OwnerHistory;
  46477. this.Name = Name;
  46478. this.Description = Description;
  46479. this.ObjectType = ObjectType;
  46480. this.PredefinedType = PredefinedType;
  46481. this.ActionType = ActionType;
  46482. this.ActionSource = ActionSource;
  46483. this.Coefficient = Coefficient;
  46484. this.Purpose = Purpose;
  46485. this.SelfWeightCoefficients = SelfWeightCoefficients;
  46486. }
  46487. static FromTape(expressID, type, tape) {
  46488. let ptr = 0;
  46489. let GlobalId = tape[ptr++];
  46490. let OwnerHistory = tape[ptr++];
  46491. let Name = tape[ptr++];
  46492. let Description = tape[ptr++];
  46493. let ObjectType = tape[ptr++];
  46494. let PredefinedType = tape[ptr++];
  46495. let ActionType = tape[ptr++];
  46496. let ActionSource = tape[ptr++];
  46497. let Coefficient = tape[ptr++];
  46498. let Purpose = tape[ptr++];
  46499. let SelfWeightCoefficients = tape[ptr++];
  46500. return new IfcStructuralLoadCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, ActionType, ActionSource, Coefficient, Purpose, SelfWeightCoefficients);
  46501. }
  46502. ToTape() {
  46503. let args = [];
  46504. args.push(this.GlobalId);
  46505. ;
  46506. args.push(this.OwnerHistory);
  46507. ;
  46508. args.push(this.Name);
  46509. ;
  46510. args.push(this.Description);
  46511. ;
  46512. args.push(this.ObjectType);
  46513. ;
  46514. args.push(this.PredefinedType);
  46515. ;
  46516. args.push(this.ActionType);
  46517. ;
  46518. args.push(this.ActionSource);
  46519. ;
  46520. args.push(this.Coefficient);
  46521. ;
  46522. args.push(this.Purpose);
  46523. ;
  46524. args.push(this.SelfWeightCoefficients);
  46525. ;
  46526. return args;
  46527. }
  46528. };
  46529. var IfcStructuralLoadConfiguration = class {
  46530. constructor(expressID, type, Name, Values, Locations) {
  46531. this.expressID = expressID;
  46532. this.type = type;
  46533. this.Name = Name;
  46534. this.Values = Values;
  46535. this.Locations = Locations;
  46536. }
  46537. static FromTape(expressID, type, tape) {
  46538. let ptr = 0;
  46539. let Name = tape[ptr++];
  46540. let Values = tape[ptr++];
  46541. let Locations = tape[ptr++];
  46542. return new IfcStructuralLoadConfiguration(expressID, type, Name, Values, Locations);
  46543. }
  46544. ToTape() {
  46545. let args = [];
  46546. args.push(this.Name);
  46547. ;
  46548. args.push(this.Values);
  46549. ;
  46550. args.push(this.Locations);
  46551. ;
  46552. return args;
  46553. }
  46554. };
  46555. var IfcStructuralLoadGroup = class {
  46556. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, ActionType, ActionSource, Coefficient, Purpose) {
  46557. this.expressID = expressID;
  46558. this.type = type;
  46559. this.GlobalId = GlobalId;
  46560. this.OwnerHistory = OwnerHistory;
  46561. this.Name = Name;
  46562. this.Description = Description;
  46563. this.ObjectType = ObjectType;
  46564. this.PredefinedType = PredefinedType;
  46565. this.ActionType = ActionType;
  46566. this.ActionSource = ActionSource;
  46567. this.Coefficient = Coefficient;
  46568. this.Purpose = Purpose;
  46569. }
  46570. static FromTape(expressID, type, tape) {
  46571. let ptr = 0;
  46572. let GlobalId = tape[ptr++];
  46573. let OwnerHistory = tape[ptr++];
  46574. let Name = tape[ptr++];
  46575. let Description = tape[ptr++];
  46576. let ObjectType = tape[ptr++];
  46577. let PredefinedType = tape[ptr++];
  46578. let ActionType = tape[ptr++];
  46579. let ActionSource = tape[ptr++];
  46580. let Coefficient = tape[ptr++];
  46581. let Purpose = tape[ptr++];
  46582. return new IfcStructuralLoadGroup(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, PredefinedType, ActionType, ActionSource, Coefficient, Purpose);
  46583. }
  46584. ToTape() {
  46585. let args = [];
  46586. args.push(this.GlobalId);
  46587. ;
  46588. args.push(this.OwnerHistory);
  46589. ;
  46590. args.push(this.Name);
  46591. ;
  46592. args.push(this.Description);
  46593. ;
  46594. args.push(this.ObjectType);
  46595. ;
  46596. args.push(this.PredefinedType);
  46597. ;
  46598. args.push(this.ActionType);
  46599. ;
  46600. args.push(this.ActionSource);
  46601. ;
  46602. args.push(this.Coefficient);
  46603. ;
  46604. args.push(this.Purpose);
  46605. ;
  46606. return args;
  46607. }
  46608. };
  46609. var IfcStructuralLoadLinearForce = class {
  46610. constructor(expressID, type, Name, LinearForceX, LinearForceY, LinearForceZ, LinearMomentX, LinearMomentY, LinearMomentZ) {
  46611. this.expressID = expressID;
  46612. this.type = type;
  46613. this.Name = Name;
  46614. this.LinearForceX = LinearForceX;
  46615. this.LinearForceY = LinearForceY;
  46616. this.LinearForceZ = LinearForceZ;
  46617. this.LinearMomentX = LinearMomentX;
  46618. this.LinearMomentY = LinearMomentY;
  46619. this.LinearMomentZ = LinearMomentZ;
  46620. }
  46621. static FromTape(expressID, type, tape) {
  46622. let ptr = 0;
  46623. let Name = tape[ptr++];
  46624. let LinearForceX = tape[ptr++];
  46625. let LinearForceY = tape[ptr++];
  46626. let LinearForceZ = tape[ptr++];
  46627. let LinearMomentX = tape[ptr++];
  46628. let LinearMomentY = tape[ptr++];
  46629. let LinearMomentZ = tape[ptr++];
  46630. return new IfcStructuralLoadLinearForce(expressID, type, Name, LinearForceX, LinearForceY, LinearForceZ, LinearMomentX, LinearMomentY, LinearMomentZ);
  46631. }
  46632. ToTape() {
  46633. let args = [];
  46634. args.push(this.Name);
  46635. ;
  46636. args.push(this.LinearForceX);
  46637. ;
  46638. args.push(this.LinearForceY);
  46639. ;
  46640. args.push(this.LinearForceZ);
  46641. ;
  46642. args.push(this.LinearMomentX);
  46643. ;
  46644. args.push(this.LinearMomentY);
  46645. ;
  46646. args.push(this.LinearMomentZ);
  46647. ;
  46648. return args;
  46649. }
  46650. };
  46651. var IfcStructuralLoadOrResult = class {
  46652. constructor(expressID, type, Name) {
  46653. this.expressID = expressID;
  46654. this.type = type;
  46655. this.Name = Name;
  46656. }
  46657. static FromTape(expressID, type, tape) {
  46658. let ptr = 0;
  46659. let Name = tape[ptr++];
  46660. return new IfcStructuralLoadOrResult(expressID, type, Name);
  46661. }
  46662. ToTape() {
  46663. let args = [];
  46664. args.push(this.Name);
  46665. ;
  46666. return args;
  46667. }
  46668. };
  46669. var IfcStructuralLoadPlanarForce = class {
  46670. constructor(expressID, type, Name, PlanarForceX, PlanarForceY, PlanarForceZ) {
  46671. this.expressID = expressID;
  46672. this.type = type;
  46673. this.Name = Name;
  46674. this.PlanarForceX = PlanarForceX;
  46675. this.PlanarForceY = PlanarForceY;
  46676. this.PlanarForceZ = PlanarForceZ;
  46677. }
  46678. static FromTape(expressID, type, tape) {
  46679. let ptr = 0;
  46680. let Name = tape[ptr++];
  46681. let PlanarForceX = tape[ptr++];
  46682. let PlanarForceY = tape[ptr++];
  46683. let PlanarForceZ = tape[ptr++];
  46684. return new IfcStructuralLoadPlanarForce(expressID, type, Name, PlanarForceX, PlanarForceY, PlanarForceZ);
  46685. }
  46686. ToTape() {
  46687. let args = [];
  46688. args.push(this.Name);
  46689. ;
  46690. args.push(this.PlanarForceX);
  46691. ;
  46692. args.push(this.PlanarForceY);
  46693. ;
  46694. args.push(this.PlanarForceZ);
  46695. ;
  46696. return args;
  46697. }
  46698. };
  46699. var IfcStructuralLoadSingleDisplacement = class {
  46700. constructor(expressID, type, Name, DisplacementX, DisplacementY, DisplacementZ, RotationalDisplacementRX, RotationalDisplacementRY, RotationalDisplacementRZ) {
  46701. this.expressID = expressID;
  46702. this.type = type;
  46703. this.Name = Name;
  46704. this.DisplacementX = DisplacementX;
  46705. this.DisplacementY = DisplacementY;
  46706. this.DisplacementZ = DisplacementZ;
  46707. this.RotationalDisplacementRX = RotationalDisplacementRX;
  46708. this.RotationalDisplacementRY = RotationalDisplacementRY;
  46709. this.RotationalDisplacementRZ = RotationalDisplacementRZ;
  46710. }
  46711. static FromTape(expressID, type, tape) {
  46712. let ptr = 0;
  46713. let Name = tape[ptr++];
  46714. let DisplacementX = tape[ptr++];
  46715. let DisplacementY = tape[ptr++];
  46716. let DisplacementZ = tape[ptr++];
  46717. let RotationalDisplacementRX = tape[ptr++];
  46718. let RotationalDisplacementRY = tape[ptr++];
  46719. let RotationalDisplacementRZ = tape[ptr++];
  46720. return new IfcStructuralLoadSingleDisplacement(expressID, type, Name, DisplacementX, DisplacementY, DisplacementZ, RotationalDisplacementRX, RotationalDisplacementRY, RotationalDisplacementRZ);
  46721. }
  46722. ToTape() {
  46723. let args = [];
  46724. args.push(this.Name);
  46725. ;
  46726. args.push(this.DisplacementX);
  46727. ;
  46728. args.push(this.DisplacementY);
  46729. ;
  46730. args.push(this.DisplacementZ);
  46731. ;
  46732. args.push(this.RotationalDisplacementRX);
  46733. ;
  46734. args.push(this.RotationalDisplacementRY);
  46735. ;
  46736. args.push(this.RotationalDisplacementRZ);
  46737. ;
  46738. return args;
  46739. }
  46740. };
  46741. var IfcStructuralLoadSingleDisplacementDistortion = class {
  46742. constructor(expressID, type, Name, DisplacementX, DisplacementY, DisplacementZ, RotationalDisplacementRX, RotationalDisplacementRY, RotationalDisplacementRZ, Distortion) {
  46743. this.expressID = expressID;
  46744. this.type = type;
  46745. this.Name = Name;
  46746. this.DisplacementX = DisplacementX;
  46747. this.DisplacementY = DisplacementY;
  46748. this.DisplacementZ = DisplacementZ;
  46749. this.RotationalDisplacementRX = RotationalDisplacementRX;
  46750. this.RotationalDisplacementRY = RotationalDisplacementRY;
  46751. this.RotationalDisplacementRZ = RotationalDisplacementRZ;
  46752. this.Distortion = Distortion;
  46753. }
  46754. static FromTape(expressID, type, tape) {
  46755. let ptr = 0;
  46756. let Name = tape[ptr++];
  46757. let DisplacementX = tape[ptr++];
  46758. let DisplacementY = tape[ptr++];
  46759. let DisplacementZ = tape[ptr++];
  46760. let RotationalDisplacementRX = tape[ptr++];
  46761. let RotationalDisplacementRY = tape[ptr++];
  46762. let RotationalDisplacementRZ = tape[ptr++];
  46763. let Distortion = tape[ptr++];
  46764. return new IfcStructuralLoadSingleDisplacementDistortion(expressID, type, Name, DisplacementX, DisplacementY, DisplacementZ, RotationalDisplacementRX, RotationalDisplacementRY, RotationalDisplacementRZ, Distortion);
  46765. }
  46766. ToTape() {
  46767. let args = [];
  46768. args.push(this.Name);
  46769. ;
  46770. args.push(this.DisplacementX);
  46771. ;
  46772. args.push(this.DisplacementY);
  46773. ;
  46774. args.push(this.DisplacementZ);
  46775. ;
  46776. args.push(this.RotationalDisplacementRX);
  46777. ;
  46778. args.push(this.RotationalDisplacementRY);
  46779. ;
  46780. args.push(this.RotationalDisplacementRZ);
  46781. ;
  46782. args.push(this.Distortion);
  46783. ;
  46784. return args;
  46785. }
  46786. };
  46787. var IfcStructuralLoadSingleForce = class {
  46788. constructor(expressID, type, Name, ForceX, ForceY, ForceZ, MomentX, MomentY, MomentZ) {
  46789. this.expressID = expressID;
  46790. this.type = type;
  46791. this.Name = Name;
  46792. this.ForceX = ForceX;
  46793. this.ForceY = ForceY;
  46794. this.ForceZ = ForceZ;
  46795. this.MomentX = MomentX;
  46796. this.MomentY = MomentY;
  46797. this.MomentZ = MomentZ;
  46798. }
  46799. static FromTape(expressID, type, tape) {
  46800. let ptr = 0;
  46801. let Name = tape[ptr++];
  46802. let ForceX = tape[ptr++];
  46803. let ForceY = tape[ptr++];
  46804. let ForceZ = tape[ptr++];
  46805. let MomentX = tape[ptr++];
  46806. let MomentY = tape[ptr++];
  46807. let MomentZ = tape[ptr++];
  46808. return new IfcStructuralLoadSingleForce(expressID, type, Name, ForceX, ForceY, ForceZ, MomentX, MomentY, MomentZ);
  46809. }
  46810. ToTape() {
  46811. let args = [];
  46812. args.push(this.Name);
  46813. ;
  46814. args.push(this.ForceX);
  46815. ;
  46816. args.push(this.ForceY);
  46817. ;
  46818. args.push(this.ForceZ);
  46819. ;
  46820. args.push(this.MomentX);
  46821. ;
  46822. args.push(this.MomentY);
  46823. ;
  46824. args.push(this.MomentZ);
  46825. ;
  46826. return args;
  46827. }
  46828. };
  46829. var IfcStructuralLoadSingleForceWarping = class {
  46830. constructor(expressID, type, Name, ForceX, ForceY, ForceZ, MomentX, MomentY, MomentZ, WarpingMoment) {
  46831. this.expressID = expressID;
  46832. this.type = type;
  46833. this.Name = Name;
  46834. this.ForceX = ForceX;
  46835. this.ForceY = ForceY;
  46836. this.ForceZ = ForceZ;
  46837. this.MomentX = MomentX;
  46838. this.MomentY = MomentY;
  46839. this.MomentZ = MomentZ;
  46840. this.WarpingMoment = WarpingMoment;
  46841. }
  46842. static FromTape(expressID, type, tape) {
  46843. let ptr = 0;
  46844. let Name = tape[ptr++];
  46845. let ForceX = tape[ptr++];
  46846. let ForceY = tape[ptr++];
  46847. let ForceZ = tape[ptr++];
  46848. let MomentX = tape[ptr++];
  46849. let MomentY = tape[ptr++];
  46850. let MomentZ = tape[ptr++];
  46851. let WarpingMoment = tape[ptr++];
  46852. return new IfcStructuralLoadSingleForceWarping(expressID, type, Name, ForceX, ForceY, ForceZ, MomentX, MomentY, MomentZ, WarpingMoment);
  46853. }
  46854. ToTape() {
  46855. let args = [];
  46856. args.push(this.Name);
  46857. ;
  46858. args.push(this.ForceX);
  46859. ;
  46860. args.push(this.ForceY);
  46861. ;
  46862. args.push(this.ForceZ);
  46863. ;
  46864. args.push(this.MomentX);
  46865. ;
  46866. args.push(this.MomentY);
  46867. ;
  46868. args.push(this.MomentZ);
  46869. ;
  46870. args.push(this.WarpingMoment);
  46871. ;
  46872. return args;
  46873. }
  46874. };
  46875. var IfcStructuralLoadStatic = class {
  46876. constructor(expressID, type, Name) {
  46877. this.expressID = expressID;
  46878. this.type = type;
  46879. this.Name = Name;
  46880. }
  46881. static FromTape(expressID, type, tape) {
  46882. let ptr = 0;
  46883. let Name = tape[ptr++];
  46884. return new IfcStructuralLoadStatic(expressID, type, Name);
  46885. }
  46886. ToTape() {
  46887. let args = [];
  46888. args.push(this.Name);
  46889. ;
  46890. return args;
  46891. }
  46892. };
  46893. var IfcStructuralLoadTemperature = class {
  46894. constructor(expressID, type, Name, DeltaTConstant, DeltaTY, DeltaTZ) {
  46895. this.expressID = expressID;
  46896. this.type = type;
  46897. this.Name = Name;
  46898. this.DeltaTConstant = DeltaTConstant;
  46899. this.DeltaTY = DeltaTY;
  46900. this.DeltaTZ = DeltaTZ;
  46901. }
  46902. static FromTape(expressID, type, tape) {
  46903. let ptr = 0;
  46904. let Name = tape[ptr++];
  46905. let DeltaTConstant = tape[ptr++];
  46906. let DeltaTY = tape[ptr++];
  46907. let DeltaTZ = tape[ptr++];
  46908. return new IfcStructuralLoadTemperature(expressID, type, Name, DeltaTConstant, DeltaTY, DeltaTZ);
  46909. }
  46910. ToTape() {
  46911. let args = [];
  46912. args.push(this.Name);
  46913. ;
  46914. args.push(this.DeltaTConstant);
  46915. ;
  46916. args.push(this.DeltaTY);
  46917. ;
  46918. args.push(this.DeltaTZ);
  46919. ;
  46920. return args;
  46921. }
  46922. };
  46923. var IfcStructuralMember = class {
  46924. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation) {
  46925. this.expressID = expressID;
  46926. this.type = type;
  46927. this.GlobalId = GlobalId;
  46928. this.OwnerHistory = OwnerHistory;
  46929. this.Name = Name;
  46930. this.Description = Description;
  46931. this.ObjectType = ObjectType;
  46932. this.ObjectPlacement = ObjectPlacement;
  46933. this.Representation = Representation;
  46934. }
  46935. static FromTape(expressID, type, tape) {
  46936. let ptr = 0;
  46937. let GlobalId = tape[ptr++];
  46938. let OwnerHistory = tape[ptr++];
  46939. let Name = tape[ptr++];
  46940. let Description = tape[ptr++];
  46941. let ObjectType = tape[ptr++];
  46942. let ObjectPlacement = tape[ptr++];
  46943. let Representation = tape[ptr++];
  46944. return new IfcStructuralMember(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation);
  46945. }
  46946. ToTape() {
  46947. let args = [];
  46948. args.push(this.GlobalId);
  46949. ;
  46950. args.push(this.OwnerHistory);
  46951. ;
  46952. args.push(this.Name);
  46953. ;
  46954. args.push(this.Description);
  46955. ;
  46956. args.push(this.ObjectType);
  46957. ;
  46958. args.push(this.ObjectPlacement);
  46959. ;
  46960. args.push(this.Representation);
  46961. ;
  46962. return args;
  46963. }
  46964. };
  46965. var IfcStructuralPlanarAction = class {
  46966. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad, ProjectedOrTrue, PredefinedType) {
  46967. this.expressID = expressID;
  46968. this.type = type;
  46969. this.GlobalId = GlobalId;
  46970. this.OwnerHistory = OwnerHistory;
  46971. this.Name = Name;
  46972. this.Description = Description;
  46973. this.ObjectType = ObjectType;
  46974. this.ObjectPlacement = ObjectPlacement;
  46975. this.Representation = Representation;
  46976. this.AppliedLoad = AppliedLoad;
  46977. this.GlobalOrLocal = GlobalOrLocal;
  46978. this.DestabilizingLoad = DestabilizingLoad;
  46979. this.ProjectedOrTrue = ProjectedOrTrue;
  46980. this.PredefinedType = PredefinedType;
  46981. }
  46982. static FromTape(expressID, type, tape) {
  46983. let ptr = 0;
  46984. let GlobalId = tape[ptr++];
  46985. let OwnerHistory = tape[ptr++];
  46986. let Name = tape[ptr++];
  46987. let Description = tape[ptr++];
  46988. let ObjectType = tape[ptr++];
  46989. let ObjectPlacement = tape[ptr++];
  46990. let Representation = tape[ptr++];
  46991. let AppliedLoad = tape[ptr++];
  46992. let GlobalOrLocal = tape[ptr++];
  46993. let DestabilizingLoad = tape[ptr++];
  46994. let ProjectedOrTrue = tape[ptr++];
  46995. let PredefinedType = tape[ptr++];
  46996. return new IfcStructuralPlanarAction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad, ProjectedOrTrue, PredefinedType);
  46997. }
  46998. ToTape() {
  46999. let args = [];
  47000. args.push(this.GlobalId);
  47001. ;
  47002. args.push(this.OwnerHistory);
  47003. ;
  47004. args.push(this.Name);
  47005. ;
  47006. args.push(this.Description);
  47007. ;
  47008. args.push(this.ObjectType);
  47009. ;
  47010. args.push(this.ObjectPlacement);
  47011. ;
  47012. args.push(this.Representation);
  47013. ;
  47014. args.push(this.AppliedLoad);
  47015. ;
  47016. args.push(this.GlobalOrLocal);
  47017. ;
  47018. args.push(this.DestabilizingLoad);
  47019. ;
  47020. args.push(this.ProjectedOrTrue);
  47021. ;
  47022. args.push(this.PredefinedType);
  47023. ;
  47024. return args;
  47025. }
  47026. };
  47027. var IfcStructuralPointAction = class {
  47028. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad) {
  47029. this.expressID = expressID;
  47030. this.type = type;
  47031. this.GlobalId = GlobalId;
  47032. this.OwnerHistory = OwnerHistory;
  47033. this.Name = Name;
  47034. this.Description = Description;
  47035. this.ObjectType = ObjectType;
  47036. this.ObjectPlacement = ObjectPlacement;
  47037. this.Representation = Representation;
  47038. this.AppliedLoad = AppliedLoad;
  47039. this.GlobalOrLocal = GlobalOrLocal;
  47040. this.DestabilizingLoad = DestabilizingLoad;
  47041. }
  47042. static FromTape(expressID, type, tape) {
  47043. let ptr = 0;
  47044. let GlobalId = tape[ptr++];
  47045. let OwnerHistory = tape[ptr++];
  47046. let Name = tape[ptr++];
  47047. let Description = tape[ptr++];
  47048. let ObjectType = tape[ptr++];
  47049. let ObjectPlacement = tape[ptr++];
  47050. let Representation = tape[ptr++];
  47051. let AppliedLoad = tape[ptr++];
  47052. let GlobalOrLocal = tape[ptr++];
  47053. let DestabilizingLoad = tape[ptr++];
  47054. return new IfcStructuralPointAction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad);
  47055. }
  47056. ToTape() {
  47057. let args = [];
  47058. args.push(this.GlobalId);
  47059. ;
  47060. args.push(this.OwnerHistory);
  47061. ;
  47062. args.push(this.Name);
  47063. ;
  47064. args.push(this.Description);
  47065. ;
  47066. args.push(this.ObjectType);
  47067. ;
  47068. args.push(this.ObjectPlacement);
  47069. ;
  47070. args.push(this.Representation);
  47071. ;
  47072. args.push(this.AppliedLoad);
  47073. ;
  47074. args.push(this.GlobalOrLocal);
  47075. ;
  47076. args.push(this.DestabilizingLoad);
  47077. ;
  47078. return args;
  47079. }
  47080. };
  47081. var IfcStructuralPointConnection = class {
  47082. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedCondition, ConditionCoordinateSystem) {
  47083. this.expressID = expressID;
  47084. this.type = type;
  47085. this.GlobalId = GlobalId;
  47086. this.OwnerHistory = OwnerHistory;
  47087. this.Name = Name;
  47088. this.Description = Description;
  47089. this.ObjectType = ObjectType;
  47090. this.ObjectPlacement = ObjectPlacement;
  47091. this.Representation = Representation;
  47092. this.AppliedCondition = AppliedCondition;
  47093. this.ConditionCoordinateSystem = ConditionCoordinateSystem;
  47094. }
  47095. static FromTape(expressID, type, tape) {
  47096. let ptr = 0;
  47097. let GlobalId = tape[ptr++];
  47098. let OwnerHistory = tape[ptr++];
  47099. let Name = tape[ptr++];
  47100. let Description = tape[ptr++];
  47101. let ObjectType = tape[ptr++];
  47102. let ObjectPlacement = tape[ptr++];
  47103. let Representation = tape[ptr++];
  47104. let AppliedCondition = tape[ptr++];
  47105. let ConditionCoordinateSystem = tape[ptr++];
  47106. return new IfcStructuralPointConnection(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedCondition, ConditionCoordinateSystem);
  47107. }
  47108. ToTape() {
  47109. let args = [];
  47110. args.push(this.GlobalId);
  47111. ;
  47112. args.push(this.OwnerHistory);
  47113. ;
  47114. args.push(this.Name);
  47115. ;
  47116. args.push(this.Description);
  47117. ;
  47118. args.push(this.ObjectType);
  47119. ;
  47120. args.push(this.ObjectPlacement);
  47121. ;
  47122. args.push(this.Representation);
  47123. ;
  47124. args.push(this.AppliedCondition);
  47125. ;
  47126. args.push(this.ConditionCoordinateSystem);
  47127. ;
  47128. return args;
  47129. }
  47130. };
  47131. var IfcStructuralPointReaction = class {
  47132. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal) {
  47133. this.expressID = expressID;
  47134. this.type = type;
  47135. this.GlobalId = GlobalId;
  47136. this.OwnerHistory = OwnerHistory;
  47137. this.Name = Name;
  47138. this.Description = Description;
  47139. this.ObjectType = ObjectType;
  47140. this.ObjectPlacement = ObjectPlacement;
  47141. this.Representation = Representation;
  47142. this.AppliedLoad = AppliedLoad;
  47143. this.GlobalOrLocal = GlobalOrLocal;
  47144. }
  47145. static FromTape(expressID, type, tape) {
  47146. let ptr = 0;
  47147. let GlobalId = tape[ptr++];
  47148. let OwnerHistory = tape[ptr++];
  47149. let Name = tape[ptr++];
  47150. let Description = tape[ptr++];
  47151. let ObjectType = tape[ptr++];
  47152. let ObjectPlacement = tape[ptr++];
  47153. let Representation = tape[ptr++];
  47154. let AppliedLoad = tape[ptr++];
  47155. let GlobalOrLocal = tape[ptr++];
  47156. return new IfcStructuralPointReaction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal);
  47157. }
  47158. ToTape() {
  47159. let args = [];
  47160. args.push(this.GlobalId);
  47161. ;
  47162. args.push(this.OwnerHistory);
  47163. ;
  47164. args.push(this.Name);
  47165. ;
  47166. args.push(this.Description);
  47167. ;
  47168. args.push(this.ObjectType);
  47169. ;
  47170. args.push(this.ObjectPlacement);
  47171. ;
  47172. args.push(this.Representation);
  47173. ;
  47174. args.push(this.AppliedLoad);
  47175. ;
  47176. args.push(this.GlobalOrLocal);
  47177. ;
  47178. return args;
  47179. }
  47180. };
  47181. var IfcStructuralReaction = class {
  47182. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal) {
  47183. this.expressID = expressID;
  47184. this.type = type;
  47185. this.GlobalId = GlobalId;
  47186. this.OwnerHistory = OwnerHistory;
  47187. this.Name = Name;
  47188. this.Description = Description;
  47189. this.ObjectType = ObjectType;
  47190. this.ObjectPlacement = ObjectPlacement;
  47191. this.Representation = Representation;
  47192. this.AppliedLoad = AppliedLoad;
  47193. this.GlobalOrLocal = GlobalOrLocal;
  47194. }
  47195. static FromTape(expressID, type, tape) {
  47196. let ptr = 0;
  47197. let GlobalId = tape[ptr++];
  47198. let OwnerHistory = tape[ptr++];
  47199. let Name = tape[ptr++];
  47200. let Description = tape[ptr++];
  47201. let ObjectType = tape[ptr++];
  47202. let ObjectPlacement = tape[ptr++];
  47203. let Representation = tape[ptr++];
  47204. let AppliedLoad = tape[ptr++];
  47205. let GlobalOrLocal = tape[ptr++];
  47206. return new IfcStructuralReaction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal);
  47207. }
  47208. ToTape() {
  47209. let args = [];
  47210. args.push(this.GlobalId);
  47211. ;
  47212. args.push(this.OwnerHistory);
  47213. ;
  47214. args.push(this.Name);
  47215. ;
  47216. args.push(this.Description);
  47217. ;
  47218. args.push(this.ObjectType);
  47219. ;
  47220. args.push(this.ObjectPlacement);
  47221. ;
  47222. args.push(this.Representation);
  47223. ;
  47224. args.push(this.AppliedLoad);
  47225. ;
  47226. args.push(this.GlobalOrLocal);
  47227. ;
  47228. return args;
  47229. }
  47230. };
  47231. var IfcStructuralResultGroup = class {
  47232. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, TheoryType, ResultForLoadGroup, IsLinear) {
  47233. this.expressID = expressID;
  47234. this.type = type;
  47235. this.GlobalId = GlobalId;
  47236. this.OwnerHistory = OwnerHistory;
  47237. this.Name = Name;
  47238. this.Description = Description;
  47239. this.ObjectType = ObjectType;
  47240. this.TheoryType = TheoryType;
  47241. this.ResultForLoadGroup = ResultForLoadGroup;
  47242. this.IsLinear = IsLinear;
  47243. }
  47244. static FromTape(expressID, type, tape) {
  47245. let ptr = 0;
  47246. let GlobalId = tape[ptr++];
  47247. let OwnerHistory = tape[ptr++];
  47248. let Name = tape[ptr++];
  47249. let Description = tape[ptr++];
  47250. let ObjectType = tape[ptr++];
  47251. let TheoryType = tape[ptr++];
  47252. let ResultForLoadGroup = tape[ptr++];
  47253. let IsLinear = tape[ptr++];
  47254. return new IfcStructuralResultGroup(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, TheoryType, ResultForLoadGroup, IsLinear);
  47255. }
  47256. ToTape() {
  47257. let args = [];
  47258. args.push(this.GlobalId);
  47259. ;
  47260. args.push(this.OwnerHistory);
  47261. ;
  47262. args.push(this.Name);
  47263. ;
  47264. args.push(this.Description);
  47265. ;
  47266. args.push(this.ObjectType);
  47267. ;
  47268. args.push(this.TheoryType);
  47269. ;
  47270. args.push(this.ResultForLoadGroup);
  47271. ;
  47272. args.push(this.IsLinear);
  47273. ;
  47274. return args;
  47275. }
  47276. };
  47277. var IfcStructuralSurfaceAction = class {
  47278. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad, ProjectedOrTrue, PredefinedType) {
  47279. this.expressID = expressID;
  47280. this.type = type;
  47281. this.GlobalId = GlobalId;
  47282. this.OwnerHistory = OwnerHistory;
  47283. this.Name = Name;
  47284. this.Description = Description;
  47285. this.ObjectType = ObjectType;
  47286. this.ObjectPlacement = ObjectPlacement;
  47287. this.Representation = Representation;
  47288. this.AppliedLoad = AppliedLoad;
  47289. this.GlobalOrLocal = GlobalOrLocal;
  47290. this.DestabilizingLoad = DestabilizingLoad;
  47291. this.ProjectedOrTrue = ProjectedOrTrue;
  47292. this.PredefinedType = PredefinedType;
  47293. }
  47294. static FromTape(expressID, type, tape) {
  47295. let ptr = 0;
  47296. let GlobalId = tape[ptr++];
  47297. let OwnerHistory = tape[ptr++];
  47298. let Name = tape[ptr++];
  47299. let Description = tape[ptr++];
  47300. let ObjectType = tape[ptr++];
  47301. let ObjectPlacement = tape[ptr++];
  47302. let Representation = tape[ptr++];
  47303. let AppliedLoad = tape[ptr++];
  47304. let GlobalOrLocal = tape[ptr++];
  47305. let DestabilizingLoad = tape[ptr++];
  47306. let ProjectedOrTrue = tape[ptr++];
  47307. let PredefinedType = tape[ptr++];
  47308. return new IfcStructuralSurfaceAction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, DestabilizingLoad, ProjectedOrTrue, PredefinedType);
  47309. }
  47310. ToTape() {
  47311. let args = [];
  47312. args.push(this.GlobalId);
  47313. ;
  47314. args.push(this.OwnerHistory);
  47315. ;
  47316. args.push(this.Name);
  47317. ;
  47318. args.push(this.Description);
  47319. ;
  47320. args.push(this.ObjectType);
  47321. ;
  47322. args.push(this.ObjectPlacement);
  47323. ;
  47324. args.push(this.Representation);
  47325. ;
  47326. args.push(this.AppliedLoad);
  47327. ;
  47328. args.push(this.GlobalOrLocal);
  47329. ;
  47330. args.push(this.DestabilizingLoad);
  47331. ;
  47332. args.push(this.ProjectedOrTrue);
  47333. ;
  47334. args.push(this.PredefinedType);
  47335. ;
  47336. return args;
  47337. }
  47338. };
  47339. var IfcStructuralSurfaceConnection = class {
  47340. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedCondition) {
  47341. this.expressID = expressID;
  47342. this.type = type;
  47343. this.GlobalId = GlobalId;
  47344. this.OwnerHistory = OwnerHistory;
  47345. this.Name = Name;
  47346. this.Description = Description;
  47347. this.ObjectType = ObjectType;
  47348. this.ObjectPlacement = ObjectPlacement;
  47349. this.Representation = Representation;
  47350. this.AppliedCondition = AppliedCondition;
  47351. }
  47352. static FromTape(expressID, type, tape) {
  47353. let ptr = 0;
  47354. let GlobalId = tape[ptr++];
  47355. let OwnerHistory = tape[ptr++];
  47356. let Name = tape[ptr++];
  47357. let Description = tape[ptr++];
  47358. let ObjectType = tape[ptr++];
  47359. let ObjectPlacement = tape[ptr++];
  47360. let Representation = tape[ptr++];
  47361. let AppliedCondition = tape[ptr++];
  47362. return new IfcStructuralSurfaceConnection(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedCondition);
  47363. }
  47364. ToTape() {
  47365. let args = [];
  47366. args.push(this.GlobalId);
  47367. ;
  47368. args.push(this.OwnerHistory);
  47369. ;
  47370. args.push(this.Name);
  47371. ;
  47372. args.push(this.Description);
  47373. ;
  47374. args.push(this.ObjectType);
  47375. ;
  47376. args.push(this.ObjectPlacement);
  47377. ;
  47378. args.push(this.Representation);
  47379. ;
  47380. args.push(this.AppliedCondition);
  47381. ;
  47382. return args;
  47383. }
  47384. };
  47385. var IfcStructuralSurfaceMember = class {
  47386. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, Thickness) {
  47387. this.expressID = expressID;
  47388. this.type = type;
  47389. this.GlobalId = GlobalId;
  47390. this.OwnerHistory = OwnerHistory;
  47391. this.Name = Name;
  47392. this.Description = Description;
  47393. this.ObjectType = ObjectType;
  47394. this.ObjectPlacement = ObjectPlacement;
  47395. this.Representation = Representation;
  47396. this.PredefinedType = PredefinedType;
  47397. this.Thickness = Thickness;
  47398. }
  47399. static FromTape(expressID, type, tape) {
  47400. let ptr = 0;
  47401. let GlobalId = tape[ptr++];
  47402. let OwnerHistory = tape[ptr++];
  47403. let Name = tape[ptr++];
  47404. let Description = tape[ptr++];
  47405. let ObjectType = tape[ptr++];
  47406. let ObjectPlacement = tape[ptr++];
  47407. let Representation = tape[ptr++];
  47408. let PredefinedType = tape[ptr++];
  47409. let Thickness = tape[ptr++];
  47410. return new IfcStructuralSurfaceMember(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, Thickness);
  47411. }
  47412. ToTape() {
  47413. let args = [];
  47414. args.push(this.GlobalId);
  47415. ;
  47416. args.push(this.OwnerHistory);
  47417. ;
  47418. args.push(this.Name);
  47419. ;
  47420. args.push(this.Description);
  47421. ;
  47422. args.push(this.ObjectType);
  47423. ;
  47424. args.push(this.ObjectPlacement);
  47425. ;
  47426. args.push(this.Representation);
  47427. ;
  47428. args.push(this.PredefinedType);
  47429. ;
  47430. args.push(this.Thickness);
  47431. ;
  47432. return args;
  47433. }
  47434. };
  47435. var IfcStructuralSurfaceMemberVarying = class {
  47436. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, Thickness) {
  47437. this.expressID = expressID;
  47438. this.type = type;
  47439. this.GlobalId = GlobalId;
  47440. this.OwnerHistory = OwnerHistory;
  47441. this.Name = Name;
  47442. this.Description = Description;
  47443. this.ObjectType = ObjectType;
  47444. this.ObjectPlacement = ObjectPlacement;
  47445. this.Representation = Representation;
  47446. this.PredefinedType = PredefinedType;
  47447. this.Thickness = Thickness;
  47448. }
  47449. static FromTape(expressID, type, tape) {
  47450. let ptr = 0;
  47451. let GlobalId = tape[ptr++];
  47452. let OwnerHistory = tape[ptr++];
  47453. let Name = tape[ptr++];
  47454. let Description = tape[ptr++];
  47455. let ObjectType = tape[ptr++];
  47456. let ObjectPlacement = tape[ptr++];
  47457. let Representation = tape[ptr++];
  47458. let PredefinedType = tape[ptr++];
  47459. let Thickness = tape[ptr++];
  47460. return new IfcStructuralSurfaceMemberVarying(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, PredefinedType, Thickness);
  47461. }
  47462. ToTape() {
  47463. let args = [];
  47464. args.push(this.GlobalId);
  47465. ;
  47466. args.push(this.OwnerHistory);
  47467. ;
  47468. args.push(this.Name);
  47469. ;
  47470. args.push(this.Description);
  47471. ;
  47472. args.push(this.ObjectType);
  47473. ;
  47474. args.push(this.ObjectPlacement);
  47475. ;
  47476. args.push(this.Representation);
  47477. ;
  47478. args.push(this.PredefinedType);
  47479. ;
  47480. args.push(this.Thickness);
  47481. ;
  47482. return args;
  47483. }
  47484. };
  47485. var IfcStructuralSurfaceReaction = class {
  47486. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, PredefinedType) {
  47487. this.expressID = expressID;
  47488. this.type = type;
  47489. this.GlobalId = GlobalId;
  47490. this.OwnerHistory = OwnerHistory;
  47491. this.Name = Name;
  47492. this.Description = Description;
  47493. this.ObjectType = ObjectType;
  47494. this.ObjectPlacement = ObjectPlacement;
  47495. this.Representation = Representation;
  47496. this.AppliedLoad = AppliedLoad;
  47497. this.GlobalOrLocal = GlobalOrLocal;
  47498. this.PredefinedType = PredefinedType;
  47499. }
  47500. static FromTape(expressID, type, tape) {
  47501. let ptr = 0;
  47502. let GlobalId = tape[ptr++];
  47503. let OwnerHistory = tape[ptr++];
  47504. let Name = tape[ptr++];
  47505. let Description = tape[ptr++];
  47506. let ObjectType = tape[ptr++];
  47507. let ObjectPlacement = tape[ptr++];
  47508. let Representation = tape[ptr++];
  47509. let AppliedLoad = tape[ptr++];
  47510. let GlobalOrLocal = tape[ptr++];
  47511. let PredefinedType = tape[ptr++];
  47512. return new IfcStructuralSurfaceReaction(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, AppliedLoad, GlobalOrLocal, PredefinedType);
  47513. }
  47514. ToTape() {
  47515. let args = [];
  47516. args.push(this.GlobalId);
  47517. ;
  47518. args.push(this.OwnerHistory);
  47519. ;
  47520. args.push(this.Name);
  47521. ;
  47522. args.push(this.Description);
  47523. ;
  47524. args.push(this.ObjectType);
  47525. ;
  47526. args.push(this.ObjectPlacement);
  47527. ;
  47528. args.push(this.Representation);
  47529. ;
  47530. args.push(this.AppliedLoad);
  47531. ;
  47532. args.push(this.GlobalOrLocal);
  47533. ;
  47534. args.push(this.PredefinedType);
  47535. ;
  47536. return args;
  47537. }
  47538. };
  47539. var IfcStyleModel = class {
  47540. constructor(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items) {
  47541. this.expressID = expressID;
  47542. this.type = type;
  47543. this.ContextOfItems = ContextOfItems;
  47544. this.RepresentationIdentifier = RepresentationIdentifier;
  47545. this.RepresentationType = RepresentationType;
  47546. this.Items = Items;
  47547. }
  47548. static FromTape(expressID, type, tape) {
  47549. let ptr = 0;
  47550. let ContextOfItems = tape[ptr++];
  47551. let RepresentationIdentifier = tape[ptr++];
  47552. let RepresentationType = tape[ptr++];
  47553. let Items = tape[ptr++];
  47554. return new IfcStyleModel(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items);
  47555. }
  47556. ToTape() {
  47557. let args = [];
  47558. args.push(this.ContextOfItems);
  47559. ;
  47560. args.push(this.RepresentationIdentifier);
  47561. ;
  47562. args.push(this.RepresentationType);
  47563. ;
  47564. args.push(this.Items);
  47565. ;
  47566. return args;
  47567. }
  47568. };
  47569. var IfcStyledItem = class {
  47570. constructor(expressID, type, Item, Styles, Name) {
  47571. this.expressID = expressID;
  47572. this.type = type;
  47573. this.Item = Item;
  47574. this.Styles = Styles;
  47575. this.Name = Name;
  47576. }
  47577. static FromTape(expressID, type, tape) {
  47578. let ptr = 0;
  47579. let Item = tape[ptr++];
  47580. let Styles = tape[ptr++];
  47581. let Name = tape[ptr++];
  47582. return new IfcStyledItem(expressID, type, Item, Styles, Name);
  47583. }
  47584. ToTape() {
  47585. let args = [];
  47586. args.push(this.Item);
  47587. ;
  47588. args.push(this.Styles);
  47589. ;
  47590. args.push(this.Name);
  47591. ;
  47592. return args;
  47593. }
  47594. };
  47595. var IfcStyledRepresentation = class {
  47596. constructor(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items) {
  47597. this.expressID = expressID;
  47598. this.type = type;
  47599. this.ContextOfItems = ContextOfItems;
  47600. this.RepresentationIdentifier = RepresentationIdentifier;
  47601. this.RepresentationType = RepresentationType;
  47602. this.Items = Items;
  47603. }
  47604. static FromTape(expressID, type, tape) {
  47605. let ptr = 0;
  47606. let ContextOfItems = tape[ptr++];
  47607. let RepresentationIdentifier = tape[ptr++];
  47608. let RepresentationType = tape[ptr++];
  47609. let Items = tape[ptr++];
  47610. return new IfcStyledRepresentation(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items);
  47611. }
  47612. ToTape() {
  47613. let args = [];
  47614. args.push(this.ContextOfItems);
  47615. ;
  47616. args.push(this.RepresentationIdentifier);
  47617. ;
  47618. args.push(this.RepresentationType);
  47619. ;
  47620. args.push(this.Items);
  47621. ;
  47622. return args;
  47623. }
  47624. };
  47625. var IfcSubContractResource = class {
  47626. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType) {
  47627. this.expressID = expressID;
  47628. this.type = type;
  47629. this.GlobalId = GlobalId;
  47630. this.OwnerHistory = OwnerHistory;
  47631. this.Name = Name;
  47632. this.Description = Description;
  47633. this.ObjectType = ObjectType;
  47634. this.Identification = Identification;
  47635. this.LongDescription = LongDescription;
  47636. this.Usage = Usage;
  47637. this.BaseCosts = BaseCosts;
  47638. this.BaseQuantity = BaseQuantity;
  47639. this.PredefinedType = PredefinedType;
  47640. }
  47641. static FromTape(expressID, type, tape) {
  47642. let ptr = 0;
  47643. let GlobalId = tape[ptr++];
  47644. let OwnerHistory = tape[ptr++];
  47645. let Name = tape[ptr++];
  47646. let Description = tape[ptr++];
  47647. let ObjectType = tape[ptr++];
  47648. let Identification = tape[ptr++];
  47649. let LongDescription = tape[ptr++];
  47650. let Usage = tape[ptr++];
  47651. let BaseCosts = tape[ptr++];
  47652. let BaseQuantity = tape[ptr++];
  47653. let PredefinedType = tape[ptr++];
  47654. return new IfcSubContractResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Usage, BaseCosts, BaseQuantity, PredefinedType);
  47655. }
  47656. ToTape() {
  47657. let args = [];
  47658. args.push(this.GlobalId);
  47659. ;
  47660. args.push(this.OwnerHistory);
  47661. ;
  47662. args.push(this.Name);
  47663. ;
  47664. args.push(this.Description);
  47665. ;
  47666. args.push(this.ObjectType);
  47667. ;
  47668. args.push(this.Identification);
  47669. ;
  47670. args.push(this.LongDescription);
  47671. ;
  47672. args.push(this.Usage);
  47673. ;
  47674. args.push(this.BaseCosts);
  47675. ;
  47676. args.push(this.BaseQuantity);
  47677. ;
  47678. args.push(this.PredefinedType);
  47679. ;
  47680. return args;
  47681. }
  47682. };
  47683. var IfcSubContractResourceType = class {
  47684. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType) {
  47685. this.expressID = expressID;
  47686. this.type = type;
  47687. this.GlobalId = GlobalId;
  47688. this.OwnerHistory = OwnerHistory;
  47689. this.Name = Name;
  47690. this.Description = Description;
  47691. this.ApplicableOccurrence = ApplicableOccurrence;
  47692. this.HasPropertySets = HasPropertySets;
  47693. this.Identification = Identification;
  47694. this.LongDescription = LongDescription;
  47695. this.ResourceType = ResourceType;
  47696. this.BaseCosts = BaseCosts;
  47697. this.BaseQuantity = BaseQuantity;
  47698. this.PredefinedType = PredefinedType;
  47699. }
  47700. static FromTape(expressID, type, tape) {
  47701. let ptr = 0;
  47702. let GlobalId = tape[ptr++];
  47703. let OwnerHistory = tape[ptr++];
  47704. let Name = tape[ptr++];
  47705. let Description = tape[ptr++];
  47706. let ApplicableOccurrence = tape[ptr++];
  47707. let HasPropertySets = tape[ptr++];
  47708. let Identification = tape[ptr++];
  47709. let LongDescription = tape[ptr++];
  47710. let ResourceType = tape[ptr++];
  47711. let BaseCosts = tape[ptr++];
  47712. let BaseQuantity = tape[ptr++];
  47713. let PredefinedType = tape[ptr++];
  47714. return new IfcSubContractResourceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType, BaseCosts, BaseQuantity, PredefinedType);
  47715. }
  47716. ToTape() {
  47717. let args = [];
  47718. args.push(this.GlobalId);
  47719. ;
  47720. args.push(this.OwnerHistory);
  47721. ;
  47722. args.push(this.Name);
  47723. ;
  47724. args.push(this.Description);
  47725. ;
  47726. args.push(this.ApplicableOccurrence);
  47727. ;
  47728. args.push(this.HasPropertySets);
  47729. ;
  47730. args.push(this.Identification);
  47731. ;
  47732. args.push(this.LongDescription);
  47733. ;
  47734. args.push(this.ResourceType);
  47735. ;
  47736. args.push(this.BaseCosts);
  47737. ;
  47738. args.push(this.BaseQuantity);
  47739. ;
  47740. args.push(this.PredefinedType);
  47741. ;
  47742. return args;
  47743. }
  47744. };
  47745. var IfcSubedge = class {
  47746. constructor(expressID, type, EdgeStart, EdgeEnd, ParentEdge) {
  47747. this.expressID = expressID;
  47748. this.type = type;
  47749. this.EdgeStart = EdgeStart;
  47750. this.EdgeEnd = EdgeEnd;
  47751. this.ParentEdge = ParentEdge;
  47752. }
  47753. static FromTape(expressID, type, tape) {
  47754. let ptr = 0;
  47755. let EdgeStart = tape[ptr++];
  47756. let EdgeEnd = tape[ptr++];
  47757. let ParentEdge = tape[ptr++];
  47758. return new IfcSubedge(expressID, type, EdgeStart, EdgeEnd, ParentEdge);
  47759. }
  47760. ToTape() {
  47761. let args = [];
  47762. args.push(this.EdgeStart);
  47763. ;
  47764. args.push(this.EdgeEnd);
  47765. ;
  47766. args.push(this.ParentEdge);
  47767. ;
  47768. return args;
  47769. }
  47770. };
  47771. var IfcSurface = class {
  47772. constructor(expressID, type) {
  47773. this.expressID = expressID;
  47774. this.type = type;
  47775. }
  47776. static FromTape(expressID, type, tape) {
  47777. let ptr = 0;
  47778. return new IfcSurface(expressID, type);
  47779. }
  47780. ToTape() {
  47781. let args = [];
  47782. return args;
  47783. }
  47784. };
  47785. var IfcSurfaceCurve = class {
  47786. constructor(expressID, type, Curve3D, AssociatedGeometry, MasterRepresentation) {
  47787. this.expressID = expressID;
  47788. this.type = type;
  47789. this.Curve3D = Curve3D;
  47790. this.AssociatedGeometry = AssociatedGeometry;
  47791. this.MasterRepresentation = MasterRepresentation;
  47792. }
  47793. static FromTape(expressID, type, tape) {
  47794. let ptr = 0;
  47795. let Curve3D = tape[ptr++];
  47796. let AssociatedGeometry = tape[ptr++];
  47797. let MasterRepresentation = tape[ptr++];
  47798. return new IfcSurfaceCurve(expressID, type, Curve3D, AssociatedGeometry, MasterRepresentation);
  47799. }
  47800. ToTape() {
  47801. let args = [];
  47802. args.push(this.Curve3D);
  47803. ;
  47804. args.push(this.AssociatedGeometry);
  47805. ;
  47806. args.push(this.MasterRepresentation);
  47807. ;
  47808. return args;
  47809. }
  47810. };
  47811. var IfcSurfaceCurveSweptAreaSolid = class {
  47812. constructor(expressID, type, SweptArea, Position, Directrix, StartParam, EndParam, ReferenceSurface) {
  47813. this.expressID = expressID;
  47814. this.type = type;
  47815. this.SweptArea = SweptArea;
  47816. this.Position = Position;
  47817. this.Directrix = Directrix;
  47818. this.StartParam = StartParam;
  47819. this.EndParam = EndParam;
  47820. this.ReferenceSurface = ReferenceSurface;
  47821. }
  47822. static FromTape(expressID, type, tape) {
  47823. let ptr = 0;
  47824. let SweptArea = tape[ptr++];
  47825. let Position = tape[ptr++];
  47826. let Directrix = tape[ptr++];
  47827. let StartParam = tape[ptr++];
  47828. let EndParam = tape[ptr++];
  47829. let ReferenceSurface = tape[ptr++];
  47830. return new IfcSurfaceCurveSweptAreaSolid(expressID, type, SweptArea, Position, Directrix, StartParam, EndParam, ReferenceSurface);
  47831. }
  47832. ToTape() {
  47833. let args = [];
  47834. args.push(this.SweptArea);
  47835. ;
  47836. args.push(this.Position);
  47837. ;
  47838. args.push(this.Directrix);
  47839. ;
  47840. args.push(this.StartParam);
  47841. ;
  47842. args.push(this.EndParam);
  47843. ;
  47844. args.push(this.ReferenceSurface);
  47845. ;
  47846. return args;
  47847. }
  47848. };
  47849. var IfcSurfaceFeature = class {
  47850. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  47851. this.expressID = expressID;
  47852. this.type = type;
  47853. this.GlobalId = GlobalId;
  47854. this.OwnerHistory = OwnerHistory;
  47855. this.Name = Name;
  47856. this.Description = Description;
  47857. this.ObjectType = ObjectType;
  47858. this.ObjectPlacement = ObjectPlacement;
  47859. this.Representation = Representation;
  47860. this.Tag = Tag;
  47861. this.PredefinedType = PredefinedType;
  47862. }
  47863. static FromTape(expressID, type, tape) {
  47864. let ptr = 0;
  47865. let GlobalId = tape[ptr++];
  47866. let OwnerHistory = tape[ptr++];
  47867. let Name = tape[ptr++];
  47868. let Description = tape[ptr++];
  47869. let ObjectType = tape[ptr++];
  47870. let ObjectPlacement = tape[ptr++];
  47871. let Representation = tape[ptr++];
  47872. let Tag = tape[ptr++];
  47873. let PredefinedType = tape[ptr++];
  47874. return new IfcSurfaceFeature(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  47875. }
  47876. ToTape() {
  47877. let args = [];
  47878. args.push(this.GlobalId);
  47879. ;
  47880. args.push(this.OwnerHistory);
  47881. ;
  47882. args.push(this.Name);
  47883. ;
  47884. args.push(this.Description);
  47885. ;
  47886. args.push(this.ObjectType);
  47887. ;
  47888. args.push(this.ObjectPlacement);
  47889. ;
  47890. args.push(this.Representation);
  47891. ;
  47892. args.push(this.Tag);
  47893. ;
  47894. args.push(this.PredefinedType);
  47895. ;
  47896. return args;
  47897. }
  47898. };
  47899. var IfcSurfaceOfLinearExtrusion = class {
  47900. constructor(expressID, type, SweptCurve, Position, ExtrudedDirection, Depth) {
  47901. this.expressID = expressID;
  47902. this.type = type;
  47903. this.SweptCurve = SweptCurve;
  47904. this.Position = Position;
  47905. this.ExtrudedDirection = ExtrudedDirection;
  47906. this.Depth = Depth;
  47907. }
  47908. static FromTape(expressID, type, tape) {
  47909. let ptr = 0;
  47910. let SweptCurve = tape[ptr++];
  47911. let Position = tape[ptr++];
  47912. let ExtrudedDirection = tape[ptr++];
  47913. let Depth = tape[ptr++];
  47914. return new IfcSurfaceOfLinearExtrusion(expressID, type, SweptCurve, Position, ExtrudedDirection, Depth);
  47915. }
  47916. ToTape() {
  47917. let args = [];
  47918. args.push(this.SweptCurve);
  47919. ;
  47920. args.push(this.Position);
  47921. ;
  47922. args.push(this.ExtrudedDirection);
  47923. ;
  47924. args.push(this.Depth);
  47925. ;
  47926. return args;
  47927. }
  47928. };
  47929. var IfcSurfaceOfRevolution = class {
  47930. constructor(expressID, type, SweptCurve, Position, AxisPosition) {
  47931. this.expressID = expressID;
  47932. this.type = type;
  47933. this.SweptCurve = SweptCurve;
  47934. this.Position = Position;
  47935. this.AxisPosition = AxisPosition;
  47936. }
  47937. static FromTape(expressID, type, tape) {
  47938. let ptr = 0;
  47939. let SweptCurve = tape[ptr++];
  47940. let Position = tape[ptr++];
  47941. let AxisPosition = tape[ptr++];
  47942. return new IfcSurfaceOfRevolution(expressID, type, SweptCurve, Position, AxisPosition);
  47943. }
  47944. ToTape() {
  47945. let args = [];
  47946. args.push(this.SweptCurve);
  47947. ;
  47948. args.push(this.Position);
  47949. ;
  47950. args.push(this.AxisPosition);
  47951. ;
  47952. return args;
  47953. }
  47954. };
  47955. var IfcSurfaceReinforcementArea = class {
  47956. constructor(expressID, type, Name, SurfaceReinforcement1, SurfaceReinforcement2, ShearReinforcement) {
  47957. this.expressID = expressID;
  47958. this.type = type;
  47959. this.Name = Name;
  47960. this.SurfaceReinforcement1 = SurfaceReinforcement1;
  47961. this.SurfaceReinforcement2 = SurfaceReinforcement2;
  47962. this.ShearReinforcement = ShearReinforcement;
  47963. }
  47964. static FromTape(expressID, type, tape) {
  47965. let ptr = 0;
  47966. let Name = tape[ptr++];
  47967. let SurfaceReinforcement1 = tape[ptr++];
  47968. let SurfaceReinforcement2 = tape[ptr++];
  47969. let ShearReinforcement = tape[ptr++];
  47970. return new IfcSurfaceReinforcementArea(expressID, type, Name, SurfaceReinforcement1, SurfaceReinforcement2, ShearReinforcement);
  47971. }
  47972. ToTape() {
  47973. let args = [];
  47974. args.push(this.Name);
  47975. ;
  47976. args.push(this.SurfaceReinforcement1);
  47977. ;
  47978. args.push(this.SurfaceReinforcement2);
  47979. ;
  47980. args.push(this.ShearReinforcement);
  47981. ;
  47982. return args;
  47983. }
  47984. };
  47985. var IfcSurfaceStyle = class {
  47986. constructor(expressID, type, Name, Side, Styles) {
  47987. this.expressID = expressID;
  47988. this.type = type;
  47989. this.Name = Name;
  47990. this.Side = Side;
  47991. this.Styles = Styles;
  47992. }
  47993. static FromTape(expressID, type, tape) {
  47994. let ptr = 0;
  47995. let Name = tape[ptr++];
  47996. let Side = tape[ptr++];
  47997. let Styles = tape[ptr++];
  47998. return new IfcSurfaceStyle(expressID, type, Name, Side, Styles);
  47999. }
  48000. ToTape() {
  48001. let args = [];
  48002. args.push(this.Name);
  48003. ;
  48004. args.push(this.Side);
  48005. ;
  48006. args.push(this.Styles);
  48007. ;
  48008. return args;
  48009. }
  48010. };
  48011. var IfcSurfaceStyleLighting = class {
  48012. constructor(expressID, type, DiffuseTransmissionColour, DiffuseReflectionColour, TransmissionColour, ReflectanceColour) {
  48013. this.expressID = expressID;
  48014. this.type = type;
  48015. this.DiffuseTransmissionColour = DiffuseTransmissionColour;
  48016. this.DiffuseReflectionColour = DiffuseReflectionColour;
  48017. this.TransmissionColour = TransmissionColour;
  48018. this.ReflectanceColour = ReflectanceColour;
  48019. }
  48020. static FromTape(expressID, type, tape) {
  48021. let ptr = 0;
  48022. let DiffuseTransmissionColour = tape[ptr++];
  48023. let DiffuseReflectionColour = tape[ptr++];
  48024. let TransmissionColour = tape[ptr++];
  48025. let ReflectanceColour = tape[ptr++];
  48026. return new IfcSurfaceStyleLighting(expressID, type, DiffuseTransmissionColour, DiffuseReflectionColour, TransmissionColour, ReflectanceColour);
  48027. }
  48028. ToTape() {
  48029. let args = [];
  48030. args.push(this.DiffuseTransmissionColour);
  48031. ;
  48032. args.push(this.DiffuseReflectionColour);
  48033. ;
  48034. args.push(this.TransmissionColour);
  48035. ;
  48036. args.push(this.ReflectanceColour);
  48037. ;
  48038. return args;
  48039. }
  48040. };
  48041. var IfcSurfaceStyleRefraction = class {
  48042. constructor(expressID, type, RefractionIndex, DispersionFactor) {
  48043. this.expressID = expressID;
  48044. this.type = type;
  48045. this.RefractionIndex = RefractionIndex;
  48046. this.DispersionFactor = DispersionFactor;
  48047. }
  48048. static FromTape(expressID, type, tape) {
  48049. let ptr = 0;
  48050. let RefractionIndex = tape[ptr++];
  48051. let DispersionFactor = tape[ptr++];
  48052. return new IfcSurfaceStyleRefraction(expressID, type, RefractionIndex, DispersionFactor);
  48053. }
  48054. ToTape() {
  48055. let args = [];
  48056. args.push(this.RefractionIndex);
  48057. ;
  48058. args.push(this.DispersionFactor);
  48059. ;
  48060. return args;
  48061. }
  48062. };
  48063. var IfcSurfaceStyleRendering = class {
  48064. constructor(expressID, type, SurfaceColour, Transparency, DiffuseColour, TransmissionColour, DiffuseTransmissionColour, ReflectionColour, SpecularColour, SpecularHighlight, ReflectanceMethod) {
  48065. this.expressID = expressID;
  48066. this.type = type;
  48067. this.SurfaceColour = SurfaceColour;
  48068. this.Transparency = Transparency;
  48069. this.DiffuseColour = DiffuseColour;
  48070. this.TransmissionColour = TransmissionColour;
  48071. this.DiffuseTransmissionColour = DiffuseTransmissionColour;
  48072. this.ReflectionColour = ReflectionColour;
  48073. this.SpecularColour = SpecularColour;
  48074. this.SpecularHighlight = SpecularHighlight;
  48075. this.ReflectanceMethod = ReflectanceMethod;
  48076. }
  48077. static FromTape(expressID, type, tape) {
  48078. let ptr = 0;
  48079. let SurfaceColour = tape[ptr++];
  48080. let Transparency = tape[ptr++];
  48081. let DiffuseColour = tape[ptr++];
  48082. let TransmissionColour = tape[ptr++];
  48083. let DiffuseTransmissionColour = tape[ptr++];
  48084. let ReflectionColour = tape[ptr++];
  48085. let SpecularColour = tape[ptr++];
  48086. let SpecularHighlight = tape[ptr++];
  48087. let ReflectanceMethod = tape[ptr++];
  48088. return new IfcSurfaceStyleRendering(expressID, type, SurfaceColour, Transparency, DiffuseColour, TransmissionColour, DiffuseTransmissionColour, ReflectionColour, SpecularColour, SpecularHighlight, ReflectanceMethod);
  48089. }
  48090. ToTape() {
  48091. let args = [];
  48092. args.push(this.SurfaceColour);
  48093. ;
  48094. args.push(this.Transparency);
  48095. ;
  48096. args.push(this.DiffuseColour);
  48097. ;
  48098. args.push(this.TransmissionColour);
  48099. ;
  48100. args.push(this.DiffuseTransmissionColour);
  48101. ;
  48102. args.push(this.ReflectionColour);
  48103. ;
  48104. args.push(this.SpecularColour);
  48105. ;
  48106. args.push(this.SpecularHighlight);
  48107. ;
  48108. args.push(this.ReflectanceMethod);
  48109. ;
  48110. return args;
  48111. }
  48112. };
  48113. var IfcSurfaceStyleShading = class {
  48114. constructor(expressID, type, SurfaceColour, Transparency) {
  48115. this.expressID = expressID;
  48116. this.type = type;
  48117. this.SurfaceColour = SurfaceColour;
  48118. this.Transparency = Transparency;
  48119. }
  48120. static FromTape(expressID, type, tape) {
  48121. let ptr = 0;
  48122. let SurfaceColour = tape[ptr++];
  48123. let Transparency = tape[ptr++];
  48124. return new IfcSurfaceStyleShading(expressID, type, SurfaceColour, Transparency);
  48125. }
  48126. ToTape() {
  48127. let args = [];
  48128. args.push(this.SurfaceColour);
  48129. ;
  48130. args.push(this.Transparency);
  48131. ;
  48132. return args;
  48133. }
  48134. };
  48135. var IfcSurfaceStyleWithTextures = class {
  48136. constructor(expressID, type, Textures) {
  48137. this.expressID = expressID;
  48138. this.type = type;
  48139. this.Textures = Textures;
  48140. }
  48141. static FromTape(expressID, type, tape) {
  48142. let ptr = 0;
  48143. let Textures = tape[ptr++];
  48144. return new IfcSurfaceStyleWithTextures(expressID, type, Textures);
  48145. }
  48146. ToTape() {
  48147. let args = [];
  48148. args.push(this.Textures);
  48149. ;
  48150. return args;
  48151. }
  48152. };
  48153. var IfcSurfaceTexture = class {
  48154. constructor(expressID, type, RepeatS, RepeatT, Mode, TextureTransform, Parameter) {
  48155. this.expressID = expressID;
  48156. this.type = type;
  48157. this.RepeatS = RepeatS;
  48158. this.RepeatT = RepeatT;
  48159. this.Mode = Mode;
  48160. this.TextureTransform = TextureTransform;
  48161. this.Parameter = Parameter;
  48162. }
  48163. static FromTape(expressID, type, tape) {
  48164. let ptr = 0;
  48165. let RepeatS = tape[ptr++];
  48166. let RepeatT = tape[ptr++];
  48167. let Mode = tape[ptr++];
  48168. let TextureTransform = tape[ptr++];
  48169. let Parameter = tape[ptr++];
  48170. return new IfcSurfaceTexture(expressID, type, RepeatS, RepeatT, Mode, TextureTransform, Parameter);
  48171. }
  48172. ToTape() {
  48173. let args = [];
  48174. args.push(this.RepeatS);
  48175. ;
  48176. args.push(this.RepeatT);
  48177. ;
  48178. args.push(this.Mode);
  48179. ;
  48180. args.push(this.TextureTransform);
  48181. ;
  48182. args.push(this.Parameter);
  48183. ;
  48184. return args;
  48185. }
  48186. };
  48187. var IfcSweptAreaSolid = class {
  48188. constructor(expressID, type, SweptArea, Position) {
  48189. this.expressID = expressID;
  48190. this.type = type;
  48191. this.SweptArea = SweptArea;
  48192. this.Position = Position;
  48193. }
  48194. static FromTape(expressID, type, tape) {
  48195. let ptr = 0;
  48196. let SweptArea = tape[ptr++];
  48197. let Position = tape[ptr++];
  48198. return new IfcSweptAreaSolid(expressID, type, SweptArea, Position);
  48199. }
  48200. ToTape() {
  48201. let args = [];
  48202. args.push(this.SweptArea);
  48203. ;
  48204. args.push(this.Position);
  48205. ;
  48206. return args;
  48207. }
  48208. };
  48209. var IfcSweptDiskSolid = class {
  48210. constructor(expressID, type, Directrix, Radius, InnerRadius, StartParam, EndParam) {
  48211. this.expressID = expressID;
  48212. this.type = type;
  48213. this.Directrix = Directrix;
  48214. this.Radius = Radius;
  48215. this.InnerRadius = InnerRadius;
  48216. this.StartParam = StartParam;
  48217. this.EndParam = EndParam;
  48218. }
  48219. static FromTape(expressID, type, tape) {
  48220. let ptr = 0;
  48221. let Directrix = tape[ptr++];
  48222. let Radius = tape[ptr++];
  48223. let InnerRadius = tape[ptr++];
  48224. let StartParam = tape[ptr++];
  48225. let EndParam = tape[ptr++];
  48226. return new IfcSweptDiskSolid(expressID, type, Directrix, Radius, InnerRadius, StartParam, EndParam);
  48227. }
  48228. ToTape() {
  48229. let args = [];
  48230. args.push(this.Directrix);
  48231. ;
  48232. args.push(this.Radius);
  48233. ;
  48234. args.push(this.InnerRadius);
  48235. ;
  48236. args.push(this.StartParam);
  48237. ;
  48238. args.push(this.EndParam);
  48239. ;
  48240. return args;
  48241. }
  48242. };
  48243. var IfcSweptDiskSolidPolygonal = class {
  48244. constructor(expressID, type, Directrix, Radius, InnerRadius, StartParam, EndParam, FilletRadius) {
  48245. this.expressID = expressID;
  48246. this.type = type;
  48247. this.Directrix = Directrix;
  48248. this.Radius = Radius;
  48249. this.InnerRadius = InnerRadius;
  48250. this.StartParam = StartParam;
  48251. this.EndParam = EndParam;
  48252. this.FilletRadius = FilletRadius;
  48253. }
  48254. static FromTape(expressID, type, tape) {
  48255. let ptr = 0;
  48256. let Directrix = tape[ptr++];
  48257. let Radius = tape[ptr++];
  48258. let InnerRadius = tape[ptr++];
  48259. let StartParam = tape[ptr++];
  48260. let EndParam = tape[ptr++];
  48261. let FilletRadius = tape[ptr++];
  48262. return new IfcSweptDiskSolidPolygonal(expressID, type, Directrix, Radius, InnerRadius, StartParam, EndParam, FilletRadius);
  48263. }
  48264. ToTape() {
  48265. let args = [];
  48266. args.push(this.Directrix);
  48267. ;
  48268. args.push(this.Radius);
  48269. ;
  48270. args.push(this.InnerRadius);
  48271. ;
  48272. args.push(this.StartParam);
  48273. ;
  48274. args.push(this.EndParam);
  48275. ;
  48276. args.push(this.FilletRadius);
  48277. ;
  48278. return args;
  48279. }
  48280. };
  48281. var IfcSweptSurface = class {
  48282. constructor(expressID, type, SweptCurve, Position) {
  48283. this.expressID = expressID;
  48284. this.type = type;
  48285. this.SweptCurve = SweptCurve;
  48286. this.Position = Position;
  48287. }
  48288. static FromTape(expressID, type, tape) {
  48289. let ptr = 0;
  48290. let SweptCurve = tape[ptr++];
  48291. let Position = tape[ptr++];
  48292. return new IfcSweptSurface(expressID, type, SweptCurve, Position);
  48293. }
  48294. ToTape() {
  48295. let args = [];
  48296. args.push(this.SweptCurve);
  48297. ;
  48298. args.push(this.Position);
  48299. ;
  48300. return args;
  48301. }
  48302. };
  48303. var IfcSwitchingDevice = class {
  48304. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  48305. this.expressID = expressID;
  48306. this.type = type;
  48307. this.GlobalId = GlobalId;
  48308. this.OwnerHistory = OwnerHistory;
  48309. this.Name = Name;
  48310. this.Description = Description;
  48311. this.ObjectType = ObjectType;
  48312. this.ObjectPlacement = ObjectPlacement;
  48313. this.Representation = Representation;
  48314. this.Tag = Tag;
  48315. this.PredefinedType = PredefinedType;
  48316. }
  48317. static FromTape(expressID, type, tape) {
  48318. let ptr = 0;
  48319. let GlobalId = tape[ptr++];
  48320. let OwnerHistory = tape[ptr++];
  48321. let Name = tape[ptr++];
  48322. let Description = tape[ptr++];
  48323. let ObjectType = tape[ptr++];
  48324. let ObjectPlacement = tape[ptr++];
  48325. let Representation = tape[ptr++];
  48326. let Tag = tape[ptr++];
  48327. let PredefinedType = tape[ptr++];
  48328. return new IfcSwitchingDevice(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  48329. }
  48330. ToTape() {
  48331. let args = [];
  48332. args.push(this.GlobalId);
  48333. ;
  48334. args.push(this.OwnerHistory);
  48335. ;
  48336. args.push(this.Name);
  48337. ;
  48338. args.push(this.Description);
  48339. ;
  48340. args.push(this.ObjectType);
  48341. ;
  48342. args.push(this.ObjectPlacement);
  48343. ;
  48344. args.push(this.Representation);
  48345. ;
  48346. args.push(this.Tag);
  48347. ;
  48348. args.push(this.PredefinedType);
  48349. ;
  48350. return args;
  48351. }
  48352. };
  48353. var IfcSwitchingDeviceType = class {
  48354. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  48355. this.expressID = expressID;
  48356. this.type = type;
  48357. this.GlobalId = GlobalId;
  48358. this.OwnerHistory = OwnerHistory;
  48359. this.Name = Name;
  48360. this.Description = Description;
  48361. this.ApplicableOccurrence = ApplicableOccurrence;
  48362. this.HasPropertySets = HasPropertySets;
  48363. this.RepresentationMaps = RepresentationMaps;
  48364. this.Tag = Tag;
  48365. this.ElementType = ElementType;
  48366. this.PredefinedType = PredefinedType;
  48367. }
  48368. static FromTape(expressID, type, tape) {
  48369. let ptr = 0;
  48370. let GlobalId = tape[ptr++];
  48371. let OwnerHistory = tape[ptr++];
  48372. let Name = tape[ptr++];
  48373. let Description = tape[ptr++];
  48374. let ApplicableOccurrence = tape[ptr++];
  48375. let HasPropertySets = tape[ptr++];
  48376. let RepresentationMaps = tape[ptr++];
  48377. let Tag = tape[ptr++];
  48378. let ElementType = tape[ptr++];
  48379. let PredefinedType = tape[ptr++];
  48380. return new IfcSwitchingDeviceType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  48381. }
  48382. ToTape() {
  48383. let args = [];
  48384. args.push(this.GlobalId);
  48385. ;
  48386. args.push(this.OwnerHistory);
  48387. ;
  48388. args.push(this.Name);
  48389. ;
  48390. args.push(this.Description);
  48391. ;
  48392. args.push(this.ApplicableOccurrence);
  48393. ;
  48394. args.push(this.HasPropertySets);
  48395. ;
  48396. args.push(this.RepresentationMaps);
  48397. ;
  48398. args.push(this.Tag);
  48399. ;
  48400. args.push(this.ElementType);
  48401. ;
  48402. args.push(this.PredefinedType);
  48403. ;
  48404. return args;
  48405. }
  48406. };
  48407. var IfcSystem = class {
  48408. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType) {
  48409. this.expressID = expressID;
  48410. this.type = type;
  48411. this.GlobalId = GlobalId;
  48412. this.OwnerHistory = OwnerHistory;
  48413. this.Name = Name;
  48414. this.Description = Description;
  48415. this.ObjectType = ObjectType;
  48416. }
  48417. static FromTape(expressID, type, tape) {
  48418. let ptr = 0;
  48419. let GlobalId = tape[ptr++];
  48420. let OwnerHistory = tape[ptr++];
  48421. let Name = tape[ptr++];
  48422. let Description = tape[ptr++];
  48423. let ObjectType = tape[ptr++];
  48424. return new IfcSystem(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType);
  48425. }
  48426. ToTape() {
  48427. let args = [];
  48428. args.push(this.GlobalId);
  48429. ;
  48430. args.push(this.OwnerHistory);
  48431. ;
  48432. args.push(this.Name);
  48433. ;
  48434. args.push(this.Description);
  48435. ;
  48436. args.push(this.ObjectType);
  48437. ;
  48438. return args;
  48439. }
  48440. };
  48441. var IfcSystemFurnitureElement = class {
  48442. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  48443. this.expressID = expressID;
  48444. this.type = type;
  48445. this.GlobalId = GlobalId;
  48446. this.OwnerHistory = OwnerHistory;
  48447. this.Name = Name;
  48448. this.Description = Description;
  48449. this.ObjectType = ObjectType;
  48450. this.ObjectPlacement = ObjectPlacement;
  48451. this.Representation = Representation;
  48452. this.Tag = Tag;
  48453. this.PredefinedType = PredefinedType;
  48454. }
  48455. static FromTape(expressID, type, tape) {
  48456. let ptr = 0;
  48457. let GlobalId = tape[ptr++];
  48458. let OwnerHistory = tape[ptr++];
  48459. let Name = tape[ptr++];
  48460. let Description = tape[ptr++];
  48461. let ObjectType = tape[ptr++];
  48462. let ObjectPlacement = tape[ptr++];
  48463. let Representation = tape[ptr++];
  48464. let Tag = tape[ptr++];
  48465. let PredefinedType = tape[ptr++];
  48466. return new IfcSystemFurnitureElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  48467. }
  48468. ToTape() {
  48469. let args = [];
  48470. args.push(this.GlobalId);
  48471. ;
  48472. args.push(this.OwnerHistory);
  48473. ;
  48474. args.push(this.Name);
  48475. ;
  48476. args.push(this.Description);
  48477. ;
  48478. args.push(this.ObjectType);
  48479. ;
  48480. args.push(this.ObjectPlacement);
  48481. ;
  48482. args.push(this.Representation);
  48483. ;
  48484. args.push(this.Tag);
  48485. ;
  48486. args.push(this.PredefinedType);
  48487. ;
  48488. return args;
  48489. }
  48490. };
  48491. var IfcSystemFurnitureElementType = class {
  48492. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  48493. this.expressID = expressID;
  48494. this.type = type;
  48495. this.GlobalId = GlobalId;
  48496. this.OwnerHistory = OwnerHistory;
  48497. this.Name = Name;
  48498. this.Description = Description;
  48499. this.ApplicableOccurrence = ApplicableOccurrence;
  48500. this.HasPropertySets = HasPropertySets;
  48501. this.RepresentationMaps = RepresentationMaps;
  48502. this.Tag = Tag;
  48503. this.ElementType = ElementType;
  48504. this.PredefinedType = PredefinedType;
  48505. }
  48506. static FromTape(expressID, type, tape) {
  48507. let ptr = 0;
  48508. let GlobalId = tape[ptr++];
  48509. let OwnerHistory = tape[ptr++];
  48510. let Name = tape[ptr++];
  48511. let Description = tape[ptr++];
  48512. let ApplicableOccurrence = tape[ptr++];
  48513. let HasPropertySets = tape[ptr++];
  48514. let RepresentationMaps = tape[ptr++];
  48515. let Tag = tape[ptr++];
  48516. let ElementType = tape[ptr++];
  48517. let PredefinedType = tape[ptr++];
  48518. return new IfcSystemFurnitureElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  48519. }
  48520. ToTape() {
  48521. let args = [];
  48522. args.push(this.GlobalId);
  48523. ;
  48524. args.push(this.OwnerHistory);
  48525. ;
  48526. args.push(this.Name);
  48527. ;
  48528. args.push(this.Description);
  48529. ;
  48530. args.push(this.ApplicableOccurrence);
  48531. ;
  48532. args.push(this.HasPropertySets);
  48533. ;
  48534. args.push(this.RepresentationMaps);
  48535. ;
  48536. args.push(this.Tag);
  48537. ;
  48538. args.push(this.ElementType);
  48539. ;
  48540. args.push(this.PredefinedType);
  48541. ;
  48542. return args;
  48543. }
  48544. };
  48545. var IfcTShapeProfileDef = class {
  48546. constructor(expressID, type, ProfileType, ProfileName, Position, Depth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius, FlangeEdgeRadius, WebEdgeRadius, WebSlope, FlangeSlope) {
  48547. this.expressID = expressID;
  48548. this.type = type;
  48549. this.ProfileType = ProfileType;
  48550. this.ProfileName = ProfileName;
  48551. this.Position = Position;
  48552. this.Depth = Depth;
  48553. this.FlangeWidth = FlangeWidth;
  48554. this.WebThickness = WebThickness;
  48555. this.FlangeThickness = FlangeThickness;
  48556. this.FilletRadius = FilletRadius;
  48557. this.FlangeEdgeRadius = FlangeEdgeRadius;
  48558. this.WebEdgeRadius = WebEdgeRadius;
  48559. this.WebSlope = WebSlope;
  48560. this.FlangeSlope = FlangeSlope;
  48561. }
  48562. static FromTape(expressID, type, tape) {
  48563. let ptr = 0;
  48564. let ProfileType = tape[ptr++];
  48565. let ProfileName = tape[ptr++];
  48566. let Position = tape[ptr++];
  48567. let Depth = tape[ptr++];
  48568. let FlangeWidth = tape[ptr++];
  48569. let WebThickness = tape[ptr++];
  48570. let FlangeThickness = tape[ptr++];
  48571. let FilletRadius = tape[ptr++];
  48572. let FlangeEdgeRadius = tape[ptr++];
  48573. let WebEdgeRadius = tape[ptr++];
  48574. let WebSlope = tape[ptr++];
  48575. let FlangeSlope = tape[ptr++];
  48576. return new IfcTShapeProfileDef(expressID, type, ProfileType, ProfileName, Position, Depth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius, FlangeEdgeRadius, WebEdgeRadius, WebSlope, FlangeSlope);
  48577. }
  48578. ToTape() {
  48579. let args = [];
  48580. args.push(this.ProfileType);
  48581. ;
  48582. args.push(this.ProfileName);
  48583. ;
  48584. args.push(this.Position);
  48585. ;
  48586. args.push(this.Depth);
  48587. ;
  48588. args.push(this.FlangeWidth);
  48589. ;
  48590. args.push(this.WebThickness);
  48591. ;
  48592. args.push(this.FlangeThickness);
  48593. ;
  48594. args.push(this.FilletRadius);
  48595. ;
  48596. args.push(this.FlangeEdgeRadius);
  48597. ;
  48598. args.push(this.WebEdgeRadius);
  48599. ;
  48600. args.push(this.WebSlope);
  48601. ;
  48602. args.push(this.FlangeSlope);
  48603. ;
  48604. return args;
  48605. }
  48606. };
  48607. var IfcTable = class {
  48608. constructor(expressID, type, Name, Rows, Columns) {
  48609. this.expressID = expressID;
  48610. this.type = type;
  48611. this.Name = Name;
  48612. this.Rows = Rows;
  48613. this.Columns = Columns;
  48614. }
  48615. static FromTape(expressID, type, tape) {
  48616. let ptr = 0;
  48617. let Name = tape[ptr++];
  48618. let Rows = tape[ptr++];
  48619. let Columns = tape[ptr++];
  48620. return new IfcTable(expressID, type, Name, Rows, Columns);
  48621. }
  48622. ToTape() {
  48623. let args = [];
  48624. args.push(this.Name);
  48625. ;
  48626. args.push(this.Rows);
  48627. ;
  48628. args.push(this.Columns);
  48629. ;
  48630. return args;
  48631. }
  48632. };
  48633. var IfcTableColumn = class {
  48634. constructor(expressID, type, Identifier, Name, Description, Unit, ReferencePath) {
  48635. this.expressID = expressID;
  48636. this.type = type;
  48637. this.Identifier = Identifier;
  48638. this.Name = Name;
  48639. this.Description = Description;
  48640. this.Unit = Unit;
  48641. this.ReferencePath = ReferencePath;
  48642. }
  48643. static FromTape(expressID, type, tape) {
  48644. let ptr = 0;
  48645. let Identifier = tape[ptr++];
  48646. let Name = tape[ptr++];
  48647. let Description = tape[ptr++];
  48648. let Unit = tape[ptr++];
  48649. let ReferencePath = tape[ptr++];
  48650. return new IfcTableColumn(expressID, type, Identifier, Name, Description, Unit, ReferencePath);
  48651. }
  48652. ToTape() {
  48653. let args = [];
  48654. args.push(this.Identifier);
  48655. ;
  48656. args.push(this.Name);
  48657. ;
  48658. args.push(this.Description);
  48659. ;
  48660. args.push(this.Unit);
  48661. ;
  48662. args.push(this.ReferencePath);
  48663. ;
  48664. return args;
  48665. }
  48666. };
  48667. var IfcTableRow = class {
  48668. constructor(expressID, type, RowCells, IsHeading) {
  48669. this.expressID = expressID;
  48670. this.type = type;
  48671. this.RowCells = RowCells;
  48672. this.IsHeading = IsHeading;
  48673. }
  48674. static FromTape(expressID, type, tape) {
  48675. let ptr = 0;
  48676. let RowCells = tape[ptr++];
  48677. let IsHeading = tape[ptr++];
  48678. return new IfcTableRow(expressID, type, RowCells, IsHeading);
  48679. }
  48680. ToTape() {
  48681. let args = [];
  48682. args.push(this.RowCells);
  48683. ;
  48684. args.push(this.IsHeading);
  48685. ;
  48686. return args;
  48687. }
  48688. };
  48689. var IfcTank = class {
  48690. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  48691. this.expressID = expressID;
  48692. this.type = type;
  48693. this.GlobalId = GlobalId;
  48694. this.OwnerHistory = OwnerHistory;
  48695. this.Name = Name;
  48696. this.Description = Description;
  48697. this.ObjectType = ObjectType;
  48698. this.ObjectPlacement = ObjectPlacement;
  48699. this.Representation = Representation;
  48700. this.Tag = Tag;
  48701. this.PredefinedType = PredefinedType;
  48702. }
  48703. static FromTape(expressID, type, tape) {
  48704. let ptr = 0;
  48705. let GlobalId = tape[ptr++];
  48706. let OwnerHistory = tape[ptr++];
  48707. let Name = tape[ptr++];
  48708. let Description = tape[ptr++];
  48709. let ObjectType = tape[ptr++];
  48710. let ObjectPlacement = tape[ptr++];
  48711. let Representation = tape[ptr++];
  48712. let Tag = tape[ptr++];
  48713. let PredefinedType = tape[ptr++];
  48714. return new IfcTank(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  48715. }
  48716. ToTape() {
  48717. let args = [];
  48718. args.push(this.GlobalId);
  48719. ;
  48720. args.push(this.OwnerHistory);
  48721. ;
  48722. args.push(this.Name);
  48723. ;
  48724. args.push(this.Description);
  48725. ;
  48726. args.push(this.ObjectType);
  48727. ;
  48728. args.push(this.ObjectPlacement);
  48729. ;
  48730. args.push(this.Representation);
  48731. ;
  48732. args.push(this.Tag);
  48733. ;
  48734. args.push(this.PredefinedType);
  48735. ;
  48736. return args;
  48737. }
  48738. };
  48739. var IfcTankType = class {
  48740. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  48741. this.expressID = expressID;
  48742. this.type = type;
  48743. this.GlobalId = GlobalId;
  48744. this.OwnerHistory = OwnerHistory;
  48745. this.Name = Name;
  48746. this.Description = Description;
  48747. this.ApplicableOccurrence = ApplicableOccurrence;
  48748. this.HasPropertySets = HasPropertySets;
  48749. this.RepresentationMaps = RepresentationMaps;
  48750. this.Tag = Tag;
  48751. this.ElementType = ElementType;
  48752. this.PredefinedType = PredefinedType;
  48753. }
  48754. static FromTape(expressID, type, tape) {
  48755. let ptr = 0;
  48756. let GlobalId = tape[ptr++];
  48757. let OwnerHistory = tape[ptr++];
  48758. let Name = tape[ptr++];
  48759. let Description = tape[ptr++];
  48760. let ApplicableOccurrence = tape[ptr++];
  48761. let HasPropertySets = tape[ptr++];
  48762. let RepresentationMaps = tape[ptr++];
  48763. let Tag = tape[ptr++];
  48764. let ElementType = tape[ptr++];
  48765. let PredefinedType = tape[ptr++];
  48766. return new IfcTankType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  48767. }
  48768. ToTape() {
  48769. let args = [];
  48770. args.push(this.GlobalId);
  48771. ;
  48772. args.push(this.OwnerHistory);
  48773. ;
  48774. args.push(this.Name);
  48775. ;
  48776. args.push(this.Description);
  48777. ;
  48778. args.push(this.ApplicableOccurrence);
  48779. ;
  48780. args.push(this.HasPropertySets);
  48781. ;
  48782. args.push(this.RepresentationMaps);
  48783. ;
  48784. args.push(this.Tag);
  48785. ;
  48786. args.push(this.ElementType);
  48787. ;
  48788. args.push(this.PredefinedType);
  48789. ;
  48790. return args;
  48791. }
  48792. };
  48793. var IfcTask = class {
  48794. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Status, WorkMethod, IsMilestone, Priority, TaskTime, PredefinedType) {
  48795. this.expressID = expressID;
  48796. this.type = type;
  48797. this.GlobalId = GlobalId;
  48798. this.OwnerHistory = OwnerHistory;
  48799. this.Name = Name;
  48800. this.Description = Description;
  48801. this.ObjectType = ObjectType;
  48802. this.Identification = Identification;
  48803. this.LongDescription = LongDescription;
  48804. this.Status = Status;
  48805. this.WorkMethod = WorkMethod;
  48806. this.IsMilestone = IsMilestone;
  48807. this.Priority = Priority;
  48808. this.TaskTime = TaskTime;
  48809. this.PredefinedType = PredefinedType;
  48810. }
  48811. static FromTape(expressID, type, tape) {
  48812. let ptr = 0;
  48813. let GlobalId = tape[ptr++];
  48814. let OwnerHistory = tape[ptr++];
  48815. let Name = tape[ptr++];
  48816. let Description = tape[ptr++];
  48817. let ObjectType = tape[ptr++];
  48818. let Identification = tape[ptr++];
  48819. let LongDescription = tape[ptr++];
  48820. let Status = tape[ptr++];
  48821. let WorkMethod = tape[ptr++];
  48822. let IsMilestone = tape[ptr++];
  48823. let Priority = tape[ptr++];
  48824. let TaskTime = tape[ptr++];
  48825. let PredefinedType = tape[ptr++];
  48826. return new IfcTask(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, LongDescription, Status, WorkMethod, IsMilestone, Priority, TaskTime, PredefinedType);
  48827. }
  48828. ToTape() {
  48829. let args = [];
  48830. args.push(this.GlobalId);
  48831. ;
  48832. args.push(this.OwnerHistory);
  48833. ;
  48834. args.push(this.Name);
  48835. ;
  48836. args.push(this.Description);
  48837. ;
  48838. args.push(this.ObjectType);
  48839. ;
  48840. args.push(this.Identification);
  48841. ;
  48842. args.push(this.LongDescription);
  48843. ;
  48844. args.push(this.Status);
  48845. ;
  48846. args.push(this.WorkMethod);
  48847. ;
  48848. args.push(this.IsMilestone);
  48849. ;
  48850. args.push(this.Priority);
  48851. ;
  48852. args.push(this.TaskTime);
  48853. ;
  48854. args.push(this.PredefinedType);
  48855. ;
  48856. return args;
  48857. }
  48858. };
  48859. var IfcTaskTime = class {
  48860. constructor(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, DurationType, ScheduleDuration, ScheduleStart, ScheduleFinish, EarlyStart, EarlyFinish, LateStart, LateFinish, FreeFloat, TotalFloat, IsCritical, StatusTime, ActualDuration, ActualStart, ActualFinish, RemainingTime, Completion) {
  48861. this.expressID = expressID;
  48862. this.type = type;
  48863. this.Name = Name;
  48864. this.DataOrigin = DataOrigin;
  48865. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  48866. this.DurationType = DurationType;
  48867. this.ScheduleDuration = ScheduleDuration;
  48868. this.ScheduleStart = ScheduleStart;
  48869. this.ScheduleFinish = ScheduleFinish;
  48870. this.EarlyStart = EarlyStart;
  48871. this.EarlyFinish = EarlyFinish;
  48872. this.LateStart = LateStart;
  48873. this.LateFinish = LateFinish;
  48874. this.FreeFloat = FreeFloat;
  48875. this.TotalFloat = TotalFloat;
  48876. this.IsCritical = IsCritical;
  48877. this.StatusTime = StatusTime;
  48878. this.ActualDuration = ActualDuration;
  48879. this.ActualStart = ActualStart;
  48880. this.ActualFinish = ActualFinish;
  48881. this.RemainingTime = RemainingTime;
  48882. this.Completion = Completion;
  48883. }
  48884. static FromTape(expressID, type, tape) {
  48885. let ptr = 0;
  48886. let Name = tape[ptr++];
  48887. let DataOrigin = tape[ptr++];
  48888. let UserDefinedDataOrigin = tape[ptr++];
  48889. let DurationType = tape[ptr++];
  48890. let ScheduleDuration = tape[ptr++];
  48891. let ScheduleStart = tape[ptr++];
  48892. let ScheduleFinish = tape[ptr++];
  48893. let EarlyStart = tape[ptr++];
  48894. let EarlyFinish = tape[ptr++];
  48895. let LateStart = tape[ptr++];
  48896. let LateFinish = tape[ptr++];
  48897. let FreeFloat = tape[ptr++];
  48898. let TotalFloat = tape[ptr++];
  48899. let IsCritical = tape[ptr++];
  48900. let StatusTime = tape[ptr++];
  48901. let ActualDuration = tape[ptr++];
  48902. let ActualStart = tape[ptr++];
  48903. let ActualFinish = tape[ptr++];
  48904. let RemainingTime = tape[ptr++];
  48905. let Completion = tape[ptr++];
  48906. return new IfcTaskTime(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, DurationType, ScheduleDuration, ScheduleStart, ScheduleFinish, EarlyStart, EarlyFinish, LateStart, LateFinish, FreeFloat, TotalFloat, IsCritical, StatusTime, ActualDuration, ActualStart, ActualFinish, RemainingTime, Completion);
  48907. }
  48908. ToTape() {
  48909. let args = [];
  48910. args.push(this.Name);
  48911. ;
  48912. args.push(this.DataOrigin);
  48913. ;
  48914. args.push(this.UserDefinedDataOrigin);
  48915. ;
  48916. args.push(this.DurationType);
  48917. ;
  48918. args.push(this.ScheduleDuration);
  48919. ;
  48920. args.push(this.ScheduleStart);
  48921. ;
  48922. args.push(this.ScheduleFinish);
  48923. ;
  48924. args.push(this.EarlyStart);
  48925. ;
  48926. args.push(this.EarlyFinish);
  48927. ;
  48928. args.push(this.LateStart);
  48929. ;
  48930. args.push(this.LateFinish);
  48931. ;
  48932. args.push(this.FreeFloat);
  48933. ;
  48934. args.push(this.TotalFloat);
  48935. ;
  48936. args.push(this.IsCritical);
  48937. ;
  48938. args.push(this.StatusTime);
  48939. ;
  48940. args.push(this.ActualDuration);
  48941. ;
  48942. args.push(this.ActualStart);
  48943. ;
  48944. args.push(this.ActualFinish);
  48945. ;
  48946. args.push(this.RemainingTime);
  48947. ;
  48948. args.push(this.Completion);
  48949. ;
  48950. return args;
  48951. }
  48952. };
  48953. var IfcTaskTimeRecurring = class {
  48954. constructor(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, DurationType, ScheduleDuration, ScheduleStart, ScheduleFinish, EarlyStart, EarlyFinish, LateStart, LateFinish, FreeFloat, TotalFloat, IsCritical, StatusTime, ActualDuration, ActualStart, ActualFinish, RemainingTime, Completion, Recurrence) {
  48955. this.expressID = expressID;
  48956. this.type = type;
  48957. this.Name = Name;
  48958. this.DataOrigin = DataOrigin;
  48959. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  48960. this.DurationType = DurationType;
  48961. this.ScheduleDuration = ScheduleDuration;
  48962. this.ScheduleStart = ScheduleStart;
  48963. this.ScheduleFinish = ScheduleFinish;
  48964. this.EarlyStart = EarlyStart;
  48965. this.EarlyFinish = EarlyFinish;
  48966. this.LateStart = LateStart;
  48967. this.LateFinish = LateFinish;
  48968. this.FreeFloat = FreeFloat;
  48969. this.TotalFloat = TotalFloat;
  48970. this.IsCritical = IsCritical;
  48971. this.StatusTime = StatusTime;
  48972. this.ActualDuration = ActualDuration;
  48973. this.ActualStart = ActualStart;
  48974. this.ActualFinish = ActualFinish;
  48975. this.RemainingTime = RemainingTime;
  48976. this.Completion = Completion;
  48977. this.Recurrence = Recurrence;
  48978. }
  48979. static FromTape(expressID, type, tape) {
  48980. let ptr = 0;
  48981. let Name = tape[ptr++];
  48982. let DataOrigin = tape[ptr++];
  48983. let UserDefinedDataOrigin = tape[ptr++];
  48984. let DurationType = tape[ptr++];
  48985. let ScheduleDuration = tape[ptr++];
  48986. let ScheduleStart = tape[ptr++];
  48987. let ScheduleFinish = tape[ptr++];
  48988. let EarlyStart = tape[ptr++];
  48989. let EarlyFinish = tape[ptr++];
  48990. let LateStart = tape[ptr++];
  48991. let LateFinish = tape[ptr++];
  48992. let FreeFloat = tape[ptr++];
  48993. let TotalFloat = tape[ptr++];
  48994. let IsCritical = tape[ptr++];
  48995. let StatusTime = tape[ptr++];
  48996. let ActualDuration = tape[ptr++];
  48997. let ActualStart = tape[ptr++];
  48998. let ActualFinish = tape[ptr++];
  48999. let RemainingTime = tape[ptr++];
  49000. let Completion = tape[ptr++];
  49001. let Recurrence = tape[ptr++];
  49002. return new IfcTaskTimeRecurring(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, DurationType, ScheduleDuration, ScheduleStart, ScheduleFinish, EarlyStart, EarlyFinish, LateStart, LateFinish, FreeFloat, TotalFloat, IsCritical, StatusTime, ActualDuration, ActualStart, ActualFinish, RemainingTime, Completion, Recurrence);
  49003. }
  49004. ToTape() {
  49005. let args = [];
  49006. args.push(this.Name);
  49007. ;
  49008. args.push(this.DataOrigin);
  49009. ;
  49010. args.push(this.UserDefinedDataOrigin);
  49011. ;
  49012. args.push(this.DurationType);
  49013. ;
  49014. args.push(this.ScheduleDuration);
  49015. ;
  49016. args.push(this.ScheduleStart);
  49017. ;
  49018. args.push(this.ScheduleFinish);
  49019. ;
  49020. args.push(this.EarlyStart);
  49021. ;
  49022. args.push(this.EarlyFinish);
  49023. ;
  49024. args.push(this.LateStart);
  49025. ;
  49026. args.push(this.LateFinish);
  49027. ;
  49028. args.push(this.FreeFloat);
  49029. ;
  49030. args.push(this.TotalFloat);
  49031. ;
  49032. args.push(this.IsCritical);
  49033. ;
  49034. args.push(this.StatusTime);
  49035. ;
  49036. args.push(this.ActualDuration);
  49037. ;
  49038. args.push(this.ActualStart);
  49039. ;
  49040. args.push(this.ActualFinish);
  49041. ;
  49042. args.push(this.RemainingTime);
  49043. ;
  49044. args.push(this.Completion);
  49045. ;
  49046. args.push(this.Recurrence);
  49047. ;
  49048. return args;
  49049. }
  49050. };
  49051. var IfcTaskType = class {
  49052. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ProcessType, PredefinedType, WorkMethod) {
  49053. this.expressID = expressID;
  49054. this.type = type;
  49055. this.GlobalId = GlobalId;
  49056. this.OwnerHistory = OwnerHistory;
  49057. this.Name = Name;
  49058. this.Description = Description;
  49059. this.ApplicableOccurrence = ApplicableOccurrence;
  49060. this.HasPropertySets = HasPropertySets;
  49061. this.Identification = Identification;
  49062. this.LongDescription = LongDescription;
  49063. this.ProcessType = ProcessType;
  49064. this.PredefinedType = PredefinedType;
  49065. this.WorkMethod = WorkMethod;
  49066. }
  49067. static FromTape(expressID, type, tape) {
  49068. let ptr = 0;
  49069. let GlobalId = tape[ptr++];
  49070. let OwnerHistory = tape[ptr++];
  49071. let Name = tape[ptr++];
  49072. let Description = tape[ptr++];
  49073. let ApplicableOccurrence = tape[ptr++];
  49074. let HasPropertySets = tape[ptr++];
  49075. let Identification = tape[ptr++];
  49076. let LongDescription = tape[ptr++];
  49077. let ProcessType = tape[ptr++];
  49078. let PredefinedType = tape[ptr++];
  49079. let WorkMethod = tape[ptr++];
  49080. return new IfcTaskType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ProcessType, PredefinedType, WorkMethod);
  49081. }
  49082. ToTape() {
  49083. let args = [];
  49084. args.push(this.GlobalId);
  49085. ;
  49086. args.push(this.OwnerHistory);
  49087. ;
  49088. args.push(this.Name);
  49089. ;
  49090. args.push(this.Description);
  49091. ;
  49092. args.push(this.ApplicableOccurrence);
  49093. ;
  49094. args.push(this.HasPropertySets);
  49095. ;
  49096. args.push(this.Identification);
  49097. ;
  49098. args.push(this.LongDescription);
  49099. ;
  49100. args.push(this.ProcessType);
  49101. ;
  49102. args.push(this.PredefinedType);
  49103. ;
  49104. args.push(this.WorkMethod);
  49105. ;
  49106. return args;
  49107. }
  49108. };
  49109. var IfcTelecomAddress = class {
  49110. constructor(expressID, type, Purpose, Description, UserDefinedPurpose, TelephoneNumbers, FacsimileNumbers, PagerNumber, ElectronicMailAddresses, WWWHomePageURL, MessagingIDs) {
  49111. this.expressID = expressID;
  49112. this.type = type;
  49113. this.Purpose = Purpose;
  49114. this.Description = Description;
  49115. this.UserDefinedPurpose = UserDefinedPurpose;
  49116. this.TelephoneNumbers = TelephoneNumbers;
  49117. this.FacsimileNumbers = FacsimileNumbers;
  49118. this.PagerNumber = PagerNumber;
  49119. this.ElectronicMailAddresses = ElectronicMailAddresses;
  49120. this.WWWHomePageURL = WWWHomePageURL;
  49121. this.MessagingIDs = MessagingIDs;
  49122. }
  49123. static FromTape(expressID, type, tape) {
  49124. let ptr = 0;
  49125. let Purpose = tape[ptr++];
  49126. let Description = tape[ptr++];
  49127. let UserDefinedPurpose = tape[ptr++];
  49128. let TelephoneNumbers = tape[ptr++];
  49129. let FacsimileNumbers = tape[ptr++];
  49130. let PagerNumber = tape[ptr++];
  49131. let ElectronicMailAddresses = tape[ptr++];
  49132. let WWWHomePageURL = tape[ptr++];
  49133. let MessagingIDs = tape[ptr++];
  49134. return new IfcTelecomAddress(expressID, type, Purpose, Description, UserDefinedPurpose, TelephoneNumbers, FacsimileNumbers, PagerNumber, ElectronicMailAddresses, WWWHomePageURL, MessagingIDs);
  49135. }
  49136. ToTape() {
  49137. let args = [];
  49138. args.push(this.Purpose);
  49139. ;
  49140. args.push(this.Description);
  49141. ;
  49142. args.push(this.UserDefinedPurpose);
  49143. ;
  49144. args.push(this.TelephoneNumbers);
  49145. ;
  49146. args.push(this.FacsimileNumbers);
  49147. ;
  49148. args.push(this.PagerNumber);
  49149. ;
  49150. args.push(this.ElectronicMailAddresses);
  49151. ;
  49152. args.push(this.WWWHomePageURL);
  49153. ;
  49154. args.push(this.MessagingIDs);
  49155. ;
  49156. return args;
  49157. }
  49158. };
  49159. var IfcTendon = class {
  49160. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, PredefinedType, NominalDiameter, CrossSectionArea, TensionForce, PreStress, FrictionCoefficient, AnchorageSlip, MinCurvatureRadius) {
  49161. this.expressID = expressID;
  49162. this.type = type;
  49163. this.GlobalId = GlobalId;
  49164. this.OwnerHistory = OwnerHistory;
  49165. this.Name = Name;
  49166. this.Description = Description;
  49167. this.ObjectType = ObjectType;
  49168. this.ObjectPlacement = ObjectPlacement;
  49169. this.Representation = Representation;
  49170. this.Tag = Tag;
  49171. this.SteelGrade = SteelGrade;
  49172. this.PredefinedType = PredefinedType;
  49173. this.NominalDiameter = NominalDiameter;
  49174. this.CrossSectionArea = CrossSectionArea;
  49175. this.TensionForce = TensionForce;
  49176. this.PreStress = PreStress;
  49177. this.FrictionCoefficient = FrictionCoefficient;
  49178. this.AnchorageSlip = AnchorageSlip;
  49179. this.MinCurvatureRadius = MinCurvatureRadius;
  49180. }
  49181. static FromTape(expressID, type, tape) {
  49182. let ptr = 0;
  49183. let GlobalId = tape[ptr++];
  49184. let OwnerHistory = tape[ptr++];
  49185. let Name = tape[ptr++];
  49186. let Description = tape[ptr++];
  49187. let ObjectType = tape[ptr++];
  49188. let ObjectPlacement = tape[ptr++];
  49189. let Representation = tape[ptr++];
  49190. let Tag = tape[ptr++];
  49191. let SteelGrade = tape[ptr++];
  49192. let PredefinedType = tape[ptr++];
  49193. let NominalDiameter = tape[ptr++];
  49194. let CrossSectionArea = tape[ptr++];
  49195. let TensionForce = tape[ptr++];
  49196. let PreStress = tape[ptr++];
  49197. let FrictionCoefficient = tape[ptr++];
  49198. let AnchorageSlip = tape[ptr++];
  49199. let MinCurvatureRadius = tape[ptr++];
  49200. return new IfcTendon(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, PredefinedType, NominalDiameter, CrossSectionArea, TensionForce, PreStress, FrictionCoefficient, AnchorageSlip, MinCurvatureRadius);
  49201. }
  49202. ToTape() {
  49203. let args = [];
  49204. args.push(this.GlobalId);
  49205. ;
  49206. args.push(this.OwnerHistory);
  49207. ;
  49208. args.push(this.Name);
  49209. ;
  49210. args.push(this.Description);
  49211. ;
  49212. args.push(this.ObjectType);
  49213. ;
  49214. args.push(this.ObjectPlacement);
  49215. ;
  49216. args.push(this.Representation);
  49217. ;
  49218. args.push(this.Tag);
  49219. ;
  49220. args.push(this.SteelGrade);
  49221. ;
  49222. args.push(this.PredefinedType);
  49223. ;
  49224. args.push(this.NominalDiameter);
  49225. ;
  49226. args.push(this.CrossSectionArea);
  49227. ;
  49228. args.push(this.TensionForce);
  49229. ;
  49230. args.push(this.PreStress);
  49231. ;
  49232. args.push(this.FrictionCoefficient);
  49233. ;
  49234. args.push(this.AnchorageSlip);
  49235. ;
  49236. args.push(this.MinCurvatureRadius);
  49237. ;
  49238. return args;
  49239. }
  49240. };
  49241. var IfcTendonAnchor = class {
  49242. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, PredefinedType) {
  49243. this.expressID = expressID;
  49244. this.type = type;
  49245. this.GlobalId = GlobalId;
  49246. this.OwnerHistory = OwnerHistory;
  49247. this.Name = Name;
  49248. this.Description = Description;
  49249. this.ObjectType = ObjectType;
  49250. this.ObjectPlacement = ObjectPlacement;
  49251. this.Representation = Representation;
  49252. this.Tag = Tag;
  49253. this.SteelGrade = SteelGrade;
  49254. this.PredefinedType = PredefinedType;
  49255. }
  49256. static FromTape(expressID, type, tape) {
  49257. let ptr = 0;
  49258. let GlobalId = tape[ptr++];
  49259. let OwnerHistory = tape[ptr++];
  49260. let Name = tape[ptr++];
  49261. let Description = tape[ptr++];
  49262. let ObjectType = tape[ptr++];
  49263. let ObjectPlacement = tape[ptr++];
  49264. let Representation = tape[ptr++];
  49265. let Tag = tape[ptr++];
  49266. let SteelGrade = tape[ptr++];
  49267. let PredefinedType = tape[ptr++];
  49268. return new IfcTendonAnchor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, PredefinedType);
  49269. }
  49270. ToTape() {
  49271. let args = [];
  49272. args.push(this.GlobalId);
  49273. ;
  49274. args.push(this.OwnerHistory);
  49275. ;
  49276. args.push(this.Name);
  49277. ;
  49278. args.push(this.Description);
  49279. ;
  49280. args.push(this.ObjectType);
  49281. ;
  49282. args.push(this.ObjectPlacement);
  49283. ;
  49284. args.push(this.Representation);
  49285. ;
  49286. args.push(this.Tag);
  49287. ;
  49288. args.push(this.SteelGrade);
  49289. ;
  49290. args.push(this.PredefinedType);
  49291. ;
  49292. return args;
  49293. }
  49294. };
  49295. var IfcTendonAnchorType = class {
  49296. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  49297. this.expressID = expressID;
  49298. this.type = type;
  49299. this.GlobalId = GlobalId;
  49300. this.OwnerHistory = OwnerHistory;
  49301. this.Name = Name;
  49302. this.Description = Description;
  49303. this.ApplicableOccurrence = ApplicableOccurrence;
  49304. this.HasPropertySets = HasPropertySets;
  49305. this.RepresentationMaps = RepresentationMaps;
  49306. this.Tag = Tag;
  49307. this.ElementType = ElementType;
  49308. this.PredefinedType = PredefinedType;
  49309. }
  49310. static FromTape(expressID, type, tape) {
  49311. let ptr = 0;
  49312. let GlobalId = tape[ptr++];
  49313. let OwnerHistory = tape[ptr++];
  49314. let Name = tape[ptr++];
  49315. let Description = tape[ptr++];
  49316. let ApplicableOccurrence = tape[ptr++];
  49317. let HasPropertySets = tape[ptr++];
  49318. let RepresentationMaps = tape[ptr++];
  49319. let Tag = tape[ptr++];
  49320. let ElementType = tape[ptr++];
  49321. let PredefinedType = tape[ptr++];
  49322. return new IfcTendonAnchorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  49323. }
  49324. ToTape() {
  49325. let args = [];
  49326. args.push(this.GlobalId);
  49327. ;
  49328. args.push(this.OwnerHistory);
  49329. ;
  49330. args.push(this.Name);
  49331. ;
  49332. args.push(this.Description);
  49333. ;
  49334. args.push(this.ApplicableOccurrence);
  49335. ;
  49336. args.push(this.HasPropertySets);
  49337. ;
  49338. args.push(this.RepresentationMaps);
  49339. ;
  49340. args.push(this.Tag);
  49341. ;
  49342. args.push(this.ElementType);
  49343. ;
  49344. args.push(this.PredefinedType);
  49345. ;
  49346. return args;
  49347. }
  49348. };
  49349. var IfcTendonConduit = class {
  49350. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, PredefinedType) {
  49351. this.expressID = expressID;
  49352. this.type = type;
  49353. this.GlobalId = GlobalId;
  49354. this.OwnerHistory = OwnerHistory;
  49355. this.Name = Name;
  49356. this.Description = Description;
  49357. this.ObjectType = ObjectType;
  49358. this.ObjectPlacement = ObjectPlacement;
  49359. this.Representation = Representation;
  49360. this.Tag = Tag;
  49361. this.SteelGrade = SteelGrade;
  49362. this.PredefinedType = PredefinedType;
  49363. }
  49364. static FromTape(expressID, type, tape) {
  49365. let ptr = 0;
  49366. let GlobalId = tape[ptr++];
  49367. let OwnerHistory = tape[ptr++];
  49368. let Name = tape[ptr++];
  49369. let Description = tape[ptr++];
  49370. let ObjectType = tape[ptr++];
  49371. let ObjectPlacement = tape[ptr++];
  49372. let Representation = tape[ptr++];
  49373. let Tag = tape[ptr++];
  49374. let SteelGrade = tape[ptr++];
  49375. let PredefinedType = tape[ptr++];
  49376. return new IfcTendonConduit(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, SteelGrade, PredefinedType);
  49377. }
  49378. ToTape() {
  49379. let args = [];
  49380. args.push(this.GlobalId);
  49381. ;
  49382. args.push(this.OwnerHistory);
  49383. ;
  49384. args.push(this.Name);
  49385. ;
  49386. args.push(this.Description);
  49387. ;
  49388. args.push(this.ObjectType);
  49389. ;
  49390. args.push(this.ObjectPlacement);
  49391. ;
  49392. args.push(this.Representation);
  49393. ;
  49394. args.push(this.Tag);
  49395. ;
  49396. args.push(this.SteelGrade);
  49397. ;
  49398. args.push(this.PredefinedType);
  49399. ;
  49400. return args;
  49401. }
  49402. };
  49403. var IfcTendonConduitType = class {
  49404. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  49405. this.expressID = expressID;
  49406. this.type = type;
  49407. this.GlobalId = GlobalId;
  49408. this.OwnerHistory = OwnerHistory;
  49409. this.Name = Name;
  49410. this.Description = Description;
  49411. this.ApplicableOccurrence = ApplicableOccurrence;
  49412. this.HasPropertySets = HasPropertySets;
  49413. this.RepresentationMaps = RepresentationMaps;
  49414. this.Tag = Tag;
  49415. this.ElementType = ElementType;
  49416. this.PredefinedType = PredefinedType;
  49417. }
  49418. static FromTape(expressID, type, tape) {
  49419. let ptr = 0;
  49420. let GlobalId = tape[ptr++];
  49421. let OwnerHistory = tape[ptr++];
  49422. let Name = tape[ptr++];
  49423. let Description = tape[ptr++];
  49424. let ApplicableOccurrence = tape[ptr++];
  49425. let HasPropertySets = tape[ptr++];
  49426. let RepresentationMaps = tape[ptr++];
  49427. let Tag = tape[ptr++];
  49428. let ElementType = tape[ptr++];
  49429. let PredefinedType = tape[ptr++];
  49430. return new IfcTendonConduitType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  49431. }
  49432. ToTape() {
  49433. let args = [];
  49434. args.push(this.GlobalId);
  49435. ;
  49436. args.push(this.OwnerHistory);
  49437. ;
  49438. args.push(this.Name);
  49439. ;
  49440. args.push(this.Description);
  49441. ;
  49442. args.push(this.ApplicableOccurrence);
  49443. ;
  49444. args.push(this.HasPropertySets);
  49445. ;
  49446. args.push(this.RepresentationMaps);
  49447. ;
  49448. args.push(this.Tag);
  49449. ;
  49450. args.push(this.ElementType);
  49451. ;
  49452. args.push(this.PredefinedType);
  49453. ;
  49454. return args;
  49455. }
  49456. };
  49457. var IfcTendonType = class {
  49458. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, NominalDiameter, CrossSectionArea, SheathDiameter) {
  49459. this.expressID = expressID;
  49460. this.type = type;
  49461. this.GlobalId = GlobalId;
  49462. this.OwnerHistory = OwnerHistory;
  49463. this.Name = Name;
  49464. this.Description = Description;
  49465. this.ApplicableOccurrence = ApplicableOccurrence;
  49466. this.HasPropertySets = HasPropertySets;
  49467. this.RepresentationMaps = RepresentationMaps;
  49468. this.Tag = Tag;
  49469. this.ElementType = ElementType;
  49470. this.PredefinedType = PredefinedType;
  49471. this.NominalDiameter = NominalDiameter;
  49472. this.CrossSectionArea = CrossSectionArea;
  49473. this.SheathDiameter = SheathDiameter;
  49474. }
  49475. static FromTape(expressID, type, tape) {
  49476. let ptr = 0;
  49477. let GlobalId = tape[ptr++];
  49478. let OwnerHistory = tape[ptr++];
  49479. let Name = tape[ptr++];
  49480. let Description = tape[ptr++];
  49481. let ApplicableOccurrence = tape[ptr++];
  49482. let HasPropertySets = tape[ptr++];
  49483. let RepresentationMaps = tape[ptr++];
  49484. let Tag = tape[ptr++];
  49485. let ElementType = tape[ptr++];
  49486. let PredefinedType = tape[ptr++];
  49487. let NominalDiameter = tape[ptr++];
  49488. let CrossSectionArea = tape[ptr++];
  49489. let SheathDiameter = tape[ptr++];
  49490. return new IfcTendonType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, NominalDiameter, CrossSectionArea, SheathDiameter);
  49491. }
  49492. ToTape() {
  49493. let args = [];
  49494. args.push(this.GlobalId);
  49495. ;
  49496. args.push(this.OwnerHistory);
  49497. ;
  49498. args.push(this.Name);
  49499. ;
  49500. args.push(this.Description);
  49501. ;
  49502. args.push(this.ApplicableOccurrence);
  49503. ;
  49504. args.push(this.HasPropertySets);
  49505. ;
  49506. args.push(this.RepresentationMaps);
  49507. ;
  49508. args.push(this.Tag);
  49509. ;
  49510. args.push(this.ElementType);
  49511. ;
  49512. args.push(this.PredefinedType);
  49513. ;
  49514. args.push(this.NominalDiameter);
  49515. ;
  49516. args.push(this.CrossSectionArea);
  49517. ;
  49518. args.push(this.SheathDiameter);
  49519. ;
  49520. return args;
  49521. }
  49522. };
  49523. var IfcTessellatedFaceSet = class {
  49524. constructor(expressID, type, Coordinates) {
  49525. this.expressID = expressID;
  49526. this.type = type;
  49527. this.Coordinates = Coordinates;
  49528. }
  49529. static FromTape(expressID, type, tape) {
  49530. let ptr = 0;
  49531. let Coordinates = tape[ptr++];
  49532. return new IfcTessellatedFaceSet(expressID, type, Coordinates);
  49533. }
  49534. ToTape() {
  49535. let args = [];
  49536. args.push(this.Coordinates);
  49537. ;
  49538. return args;
  49539. }
  49540. };
  49541. var IfcTessellatedItem = class {
  49542. constructor(expressID, type) {
  49543. this.expressID = expressID;
  49544. this.type = type;
  49545. }
  49546. static FromTape(expressID, type, tape) {
  49547. let ptr = 0;
  49548. return new IfcTessellatedItem(expressID, type);
  49549. }
  49550. ToTape() {
  49551. let args = [];
  49552. return args;
  49553. }
  49554. };
  49555. var IfcTextLiteral = class {
  49556. constructor(expressID, type, Literal, Placement, Path) {
  49557. this.expressID = expressID;
  49558. this.type = type;
  49559. this.Literal = Literal;
  49560. this.Placement = Placement;
  49561. this.Path = Path;
  49562. }
  49563. static FromTape(expressID, type, tape) {
  49564. let ptr = 0;
  49565. let Literal = tape[ptr++];
  49566. let Placement = tape[ptr++];
  49567. let Path = tape[ptr++];
  49568. return new IfcTextLiteral(expressID, type, Literal, Placement, Path);
  49569. }
  49570. ToTape() {
  49571. let args = [];
  49572. args.push(this.Literal);
  49573. ;
  49574. args.push(this.Placement);
  49575. ;
  49576. args.push(this.Path);
  49577. ;
  49578. return args;
  49579. }
  49580. };
  49581. var IfcTextLiteralWithExtent = class {
  49582. constructor(expressID, type, Literal, Placement, Path, Extent, BoxAlignment) {
  49583. this.expressID = expressID;
  49584. this.type = type;
  49585. this.Literal = Literal;
  49586. this.Placement = Placement;
  49587. this.Path = Path;
  49588. this.Extent = Extent;
  49589. this.BoxAlignment = BoxAlignment;
  49590. }
  49591. static FromTape(expressID, type, tape) {
  49592. let ptr = 0;
  49593. let Literal = tape[ptr++];
  49594. let Placement = tape[ptr++];
  49595. let Path = tape[ptr++];
  49596. let Extent = tape[ptr++];
  49597. let BoxAlignment = tape[ptr++];
  49598. return new IfcTextLiteralWithExtent(expressID, type, Literal, Placement, Path, Extent, BoxAlignment);
  49599. }
  49600. ToTape() {
  49601. let args = [];
  49602. args.push(this.Literal);
  49603. ;
  49604. args.push(this.Placement);
  49605. ;
  49606. args.push(this.Path);
  49607. ;
  49608. args.push(this.Extent);
  49609. ;
  49610. args.push(this.BoxAlignment);
  49611. ;
  49612. return args;
  49613. }
  49614. };
  49615. var IfcTextStyle = class {
  49616. constructor(expressID, type, Name, TextCharacterAppearance, TextStyle, TextFontStyle, ModelOrDraughting) {
  49617. this.expressID = expressID;
  49618. this.type = type;
  49619. this.Name = Name;
  49620. this.TextCharacterAppearance = TextCharacterAppearance;
  49621. this.TextStyle = TextStyle;
  49622. this.TextFontStyle = TextFontStyle;
  49623. this.ModelOrDraughting = ModelOrDraughting;
  49624. }
  49625. static FromTape(expressID, type, tape) {
  49626. let ptr = 0;
  49627. let Name = tape[ptr++];
  49628. let TextCharacterAppearance = tape[ptr++];
  49629. let TextStyle = tape[ptr++];
  49630. let TextFontStyle = tape[ptr++];
  49631. let ModelOrDraughting = tape[ptr++];
  49632. return new IfcTextStyle(expressID, type, Name, TextCharacterAppearance, TextStyle, TextFontStyle, ModelOrDraughting);
  49633. }
  49634. ToTape() {
  49635. let args = [];
  49636. args.push(this.Name);
  49637. ;
  49638. args.push(this.TextCharacterAppearance);
  49639. ;
  49640. args.push(this.TextStyle);
  49641. ;
  49642. args.push(this.TextFontStyle);
  49643. ;
  49644. args.push(this.ModelOrDraughting);
  49645. ;
  49646. return args;
  49647. }
  49648. };
  49649. var IfcTextStyleFontModel = class {
  49650. constructor(expressID, type, Name, FontFamily, FontStyle, FontVariant, FontWeight, FontSize) {
  49651. this.expressID = expressID;
  49652. this.type = type;
  49653. this.Name = Name;
  49654. this.FontFamily = FontFamily;
  49655. this.FontStyle = FontStyle;
  49656. this.FontVariant = FontVariant;
  49657. this.FontWeight = FontWeight;
  49658. this.FontSize = FontSize;
  49659. }
  49660. static FromTape(expressID, type, tape) {
  49661. let ptr = 0;
  49662. let Name = tape[ptr++];
  49663. let FontFamily = tape[ptr++];
  49664. let FontStyle = tape[ptr++];
  49665. let FontVariant = tape[ptr++];
  49666. let FontWeight = tape[ptr++];
  49667. let FontSize = tape[ptr++];
  49668. return new IfcTextStyleFontModel(expressID, type, Name, FontFamily, FontStyle, FontVariant, FontWeight, FontSize);
  49669. }
  49670. ToTape() {
  49671. let args = [];
  49672. args.push(this.Name);
  49673. ;
  49674. args.push(this.FontFamily);
  49675. ;
  49676. args.push(this.FontStyle);
  49677. ;
  49678. args.push(this.FontVariant);
  49679. ;
  49680. args.push(this.FontWeight);
  49681. ;
  49682. args.push(this.FontSize);
  49683. ;
  49684. return args;
  49685. }
  49686. };
  49687. var IfcTextStyleForDefinedFont = class {
  49688. constructor(expressID, type, Colour, BackgroundColour) {
  49689. this.expressID = expressID;
  49690. this.type = type;
  49691. this.Colour = Colour;
  49692. this.BackgroundColour = BackgroundColour;
  49693. }
  49694. static FromTape(expressID, type, tape) {
  49695. let ptr = 0;
  49696. let Colour = tape[ptr++];
  49697. let BackgroundColour = tape[ptr++];
  49698. return new IfcTextStyleForDefinedFont(expressID, type, Colour, BackgroundColour);
  49699. }
  49700. ToTape() {
  49701. let args = [];
  49702. args.push(this.Colour);
  49703. ;
  49704. args.push(this.BackgroundColour);
  49705. ;
  49706. return args;
  49707. }
  49708. };
  49709. var IfcTextStyleTextModel = class {
  49710. constructor(expressID, type, TextIndent, TextAlign, TextDecoration, LetterSpacing, WordSpacing, TextTransform, LineHeight) {
  49711. this.expressID = expressID;
  49712. this.type = type;
  49713. this.TextIndent = TextIndent;
  49714. this.TextAlign = TextAlign;
  49715. this.TextDecoration = TextDecoration;
  49716. this.LetterSpacing = LetterSpacing;
  49717. this.WordSpacing = WordSpacing;
  49718. this.TextTransform = TextTransform;
  49719. this.LineHeight = LineHeight;
  49720. }
  49721. static FromTape(expressID, type, tape) {
  49722. let ptr = 0;
  49723. let TextIndent = tape[ptr++];
  49724. let TextAlign = tape[ptr++];
  49725. let TextDecoration = tape[ptr++];
  49726. let LetterSpacing = tape[ptr++];
  49727. let WordSpacing = tape[ptr++];
  49728. let TextTransform = tape[ptr++];
  49729. let LineHeight = tape[ptr++];
  49730. return new IfcTextStyleTextModel(expressID, type, TextIndent, TextAlign, TextDecoration, LetterSpacing, WordSpacing, TextTransform, LineHeight);
  49731. }
  49732. ToTape() {
  49733. let args = [];
  49734. args.push(this.TextIndent);
  49735. ;
  49736. args.push(this.TextAlign);
  49737. ;
  49738. args.push(this.TextDecoration);
  49739. ;
  49740. args.push(this.LetterSpacing);
  49741. ;
  49742. args.push(this.WordSpacing);
  49743. ;
  49744. args.push(this.TextTransform);
  49745. ;
  49746. args.push(this.LineHeight);
  49747. ;
  49748. return args;
  49749. }
  49750. };
  49751. var IfcTextureCoordinate = class {
  49752. constructor(expressID, type, Maps) {
  49753. this.expressID = expressID;
  49754. this.type = type;
  49755. this.Maps = Maps;
  49756. }
  49757. static FromTape(expressID, type, tape) {
  49758. let ptr = 0;
  49759. let Maps = tape[ptr++];
  49760. return new IfcTextureCoordinate(expressID, type, Maps);
  49761. }
  49762. ToTape() {
  49763. let args = [];
  49764. args.push(this.Maps);
  49765. ;
  49766. return args;
  49767. }
  49768. };
  49769. var IfcTextureCoordinateGenerator = class {
  49770. constructor(expressID, type, Maps, Mode, Parameter) {
  49771. this.expressID = expressID;
  49772. this.type = type;
  49773. this.Maps = Maps;
  49774. this.Mode = Mode;
  49775. this.Parameter = Parameter;
  49776. }
  49777. static FromTape(expressID, type, tape) {
  49778. let ptr = 0;
  49779. let Maps = tape[ptr++];
  49780. let Mode = tape[ptr++];
  49781. let Parameter = tape[ptr++];
  49782. return new IfcTextureCoordinateGenerator(expressID, type, Maps, Mode, Parameter);
  49783. }
  49784. ToTape() {
  49785. let args = [];
  49786. args.push(this.Maps);
  49787. ;
  49788. args.push(this.Mode);
  49789. ;
  49790. args.push(this.Parameter);
  49791. ;
  49792. return args;
  49793. }
  49794. };
  49795. var IfcTextureMap = class {
  49796. constructor(expressID, type, Maps, Vertices, MappedTo) {
  49797. this.expressID = expressID;
  49798. this.type = type;
  49799. this.Maps = Maps;
  49800. this.Vertices = Vertices;
  49801. this.MappedTo = MappedTo;
  49802. }
  49803. static FromTape(expressID, type, tape) {
  49804. let ptr = 0;
  49805. let Maps = tape[ptr++];
  49806. let Vertices = tape[ptr++];
  49807. let MappedTo = tape[ptr++];
  49808. return new IfcTextureMap(expressID, type, Maps, Vertices, MappedTo);
  49809. }
  49810. ToTape() {
  49811. let args = [];
  49812. args.push(this.Maps);
  49813. ;
  49814. args.push(this.Vertices);
  49815. ;
  49816. args.push(this.MappedTo);
  49817. ;
  49818. return args;
  49819. }
  49820. };
  49821. var IfcTextureVertex = class {
  49822. constructor(expressID, type, Coordinates) {
  49823. this.expressID = expressID;
  49824. this.type = type;
  49825. this.Coordinates = Coordinates;
  49826. }
  49827. static FromTape(expressID, type, tape) {
  49828. let ptr = 0;
  49829. let Coordinates = tape[ptr++];
  49830. return new IfcTextureVertex(expressID, type, Coordinates);
  49831. }
  49832. ToTape() {
  49833. let args = [];
  49834. args.push(this.Coordinates);
  49835. ;
  49836. return args;
  49837. }
  49838. };
  49839. var IfcTextureVertexList = class {
  49840. constructor(expressID, type, TexCoordsList) {
  49841. this.expressID = expressID;
  49842. this.type = type;
  49843. this.TexCoordsList = TexCoordsList;
  49844. }
  49845. static FromTape(expressID, type, tape) {
  49846. let ptr = 0;
  49847. let TexCoordsList = tape[ptr++];
  49848. return new IfcTextureVertexList(expressID, type, TexCoordsList);
  49849. }
  49850. ToTape() {
  49851. let args = [];
  49852. args.push(this.TexCoordsList);
  49853. ;
  49854. return args;
  49855. }
  49856. };
  49857. var IfcTimePeriod = class {
  49858. constructor(expressID, type, StartTime, EndTime) {
  49859. this.expressID = expressID;
  49860. this.type = type;
  49861. this.StartTime = StartTime;
  49862. this.EndTime = EndTime;
  49863. }
  49864. static FromTape(expressID, type, tape) {
  49865. let ptr = 0;
  49866. let StartTime = tape[ptr++];
  49867. let EndTime = tape[ptr++];
  49868. return new IfcTimePeriod(expressID, type, StartTime, EndTime);
  49869. }
  49870. ToTape() {
  49871. let args = [];
  49872. args.push(this.StartTime);
  49873. ;
  49874. args.push(this.EndTime);
  49875. ;
  49876. return args;
  49877. }
  49878. };
  49879. var IfcTimeSeries = class {
  49880. constructor(expressID, type, Name, Description, StartTime, EndTime, TimeSeriesDataType, DataOrigin, UserDefinedDataOrigin, Unit) {
  49881. this.expressID = expressID;
  49882. this.type = type;
  49883. this.Name = Name;
  49884. this.Description = Description;
  49885. this.StartTime = StartTime;
  49886. this.EndTime = EndTime;
  49887. this.TimeSeriesDataType = TimeSeriesDataType;
  49888. this.DataOrigin = DataOrigin;
  49889. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  49890. this.Unit = Unit;
  49891. }
  49892. static FromTape(expressID, type, tape) {
  49893. let ptr = 0;
  49894. let Name = tape[ptr++];
  49895. let Description = tape[ptr++];
  49896. let StartTime = tape[ptr++];
  49897. let EndTime = tape[ptr++];
  49898. let TimeSeriesDataType = tape[ptr++];
  49899. let DataOrigin = tape[ptr++];
  49900. let UserDefinedDataOrigin = tape[ptr++];
  49901. let Unit = tape[ptr++];
  49902. return new IfcTimeSeries(expressID, type, Name, Description, StartTime, EndTime, TimeSeriesDataType, DataOrigin, UserDefinedDataOrigin, Unit);
  49903. }
  49904. ToTape() {
  49905. let args = [];
  49906. args.push(this.Name);
  49907. ;
  49908. args.push(this.Description);
  49909. ;
  49910. args.push(this.StartTime);
  49911. ;
  49912. args.push(this.EndTime);
  49913. ;
  49914. args.push(this.TimeSeriesDataType);
  49915. ;
  49916. args.push(this.DataOrigin);
  49917. ;
  49918. args.push(this.UserDefinedDataOrigin);
  49919. ;
  49920. args.push(this.Unit);
  49921. ;
  49922. return args;
  49923. }
  49924. };
  49925. var IfcTimeSeriesValue = class {
  49926. constructor(expressID, type, ListValues) {
  49927. this.expressID = expressID;
  49928. this.type = type;
  49929. this.ListValues = ListValues;
  49930. }
  49931. static FromTape(expressID, type, tape) {
  49932. let ptr = 0;
  49933. let ListValues = tape[ptr++];
  49934. return new IfcTimeSeriesValue(expressID, type, ListValues);
  49935. }
  49936. ToTape() {
  49937. let args = [];
  49938. args.push(this.ListValues);
  49939. ;
  49940. return args;
  49941. }
  49942. };
  49943. var IfcTopologicalRepresentationItem = class {
  49944. constructor(expressID, type) {
  49945. this.expressID = expressID;
  49946. this.type = type;
  49947. }
  49948. static FromTape(expressID, type, tape) {
  49949. let ptr = 0;
  49950. return new IfcTopologicalRepresentationItem(expressID, type);
  49951. }
  49952. ToTape() {
  49953. let args = [];
  49954. return args;
  49955. }
  49956. };
  49957. var IfcTopologyRepresentation = class {
  49958. constructor(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items) {
  49959. this.expressID = expressID;
  49960. this.type = type;
  49961. this.ContextOfItems = ContextOfItems;
  49962. this.RepresentationIdentifier = RepresentationIdentifier;
  49963. this.RepresentationType = RepresentationType;
  49964. this.Items = Items;
  49965. }
  49966. static FromTape(expressID, type, tape) {
  49967. let ptr = 0;
  49968. let ContextOfItems = tape[ptr++];
  49969. let RepresentationIdentifier = tape[ptr++];
  49970. let RepresentationType = tape[ptr++];
  49971. let Items = tape[ptr++];
  49972. return new IfcTopologyRepresentation(expressID, type, ContextOfItems, RepresentationIdentifier, RepresentationType, Items);
  49973. }
  49974. ToTape() {
  49975. let args = [];
  49976. args.push(this.ContextOfItems);
  49977. ;
  49978. args.push(this.RepresentationIdentifier);
  49979. ;
  49980. args.push(this.RepresentationType);
  49981. ;
  49982. args.push(this.Items);
  49983. ;
  49984. return args;
  49985. }
  49986. };
  49987. var IfcToroidalSurface = class {
  49988. constructor(expressID, type, Position, MajorRadius, MinorRadius) {
  49989. this.expressID = expressID;
  49990. this.type = type;
  49991. this.Position = Position;
  49992. this.MajorRadius = MajorRadius;
  49993. this.MinorRadius = MinorRadius;
  49994. }
  49995. static FromTape(expressID, type, tape) {
  49996. let ptr = 0;
  49997. let Position = tape[ptr++];
  49998. let MajorRadius = tape[ptr++];
  49999. let MinorRadius = tape[ptr++];
  50000. return new IfcToroidalSurface(expressID, type, Position, MajorRadius, MinorRadius);
  50001. }
  50002. ToTape() {
  50003. let args = [];
  50004. args.push(this.Position);
  50005. ;
  50006. args.push(this.MajorRadius);
  50007. ;
  50008. args.push(this.MinorRadius);
  50009. ;
  50010. return args;
  50011. }
  50012. };
  50013. var IfcTransformer = class {
  50014. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  50015. this.expressID = expressID;
  50016. this.type = type;
  50017. this.GlobalId = GlobalId;
  50018. this.OwnerHistory = OwnerHistory;
  50019. this.Name = Name;
  50020. this.Description = Description;
  50021. this.ObjectType = ObjectType;
  50022. this.ObjectPlacement = ObjectPlacement;
  50023. this.Representation = Representation;
  50024. this.Tag = Tag;
  50025. this.PredefinedType = PredefinedType;
  50026. }
  50027. static FromTape(expressID, type, tape) {
  50028. let ptr = 0;
  50029. let GlobalId = tape[ptr++];
  50030. let OwnerHistory = tape[ptr++];
  50031. let Name = tape[ptr++];
  50032. let Description = tape[ptr++];
  50033. let ObjectType = tape[ptr++];
  50034. let ObjectPlacement = tape[ptr++];
  50035. let Representation = tape[ptr++];
  50036. let Tag = tape[ptr++];
  50037. let PredefinedType = tape[ptr++];
  50038. return new IfcTransformer(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  50039. }
  50040. ToTape() {
  50041. let args = [];
  50042. args.push(this.GlobalId);
  50043. ;
  50044. args.push(this.OwnerHistory);
  50045. ;
  50046. args.push(this.Name);
  50047. ;
  50048. args.push(this.Description);
  50049. ;
  50050. args.push(this.ObjectType);
  50051. ;
  50052. args.push(this.ObjectPlacement);
  50053. ;
  50054. args.push(this.Representation);
  50055. ;
  50056. args.push(this.Tag);
  50057. ;
  50058. args.push(this.PredefinedType);
  50059. ;
  50060. return args;
  50061. }
  50062. };
  50063. var IfcTransformerType = class {
  50064. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  50065. this.expressID = expressID;
  50066. this.type = type;
  50067. this.GlobalId = GlobalId;
  50068. this.OwnerHistory = OwnerHistory;
  50069. this.Name = Name;
  50070. this.Description = Description;
  50071. this.ApplicableOccurrence = ApplicableOccurrence;
  50072. this.HasPropertySets = HasPropertySets;
  50073. this.RepresentationMaps = RepresentationMaps;
  50074. this.Tag = Tag;
  50075. this.ElementType = ElementType;
  50076. this.PredefinedType = PredefinedType;
  50077. }
  50078. static FromTape(expressID, type, tape) {
  50079. let ptr = 0;
  50080. let GlobalId = tape[ptr++];
  50081. let OwnerHistory = tape[ptr++];
  50082. let Name = tape[ptr++];
  50083. let Description = tape[ptr++];
  50084. let ApplicableOccurrence = tape[ptr++];
  50085. let HasPropertySets = tape[ptr++];
  50086. let RepresentationMaps = tape[ptr++];
  50087. let Tag = tape[ptr++];
  50088. let ElementType = tape[ptr++];
  50089. let PredefinedType = tape[ptr++];
  50090. return new IfcTransformerType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  50091. }
  50092. ToTape() {
  50093. let args = [];
  50094. args.push(this.GlobalId);
  50095. ;
  50096. args.push(this.OwnerHistory);
  50097. ;
  50098. args.push(this.Name);
  50099. ;
  50100. args.push(this.Description);
  50101. ;
  50102. args.push(this.ApplicableOccurrence);
  50103. ;
  50104. args.push(this.HasPropertySets);
  50105. ;
  50106. args.push(this.RepresentationMaps);
  50107. ;
  50108. args.push(this.Tag);
  50109. ;
  50110. args.push(this.ElementType);
  50111. ;
  50112. args.push(this.PredefinedType);
  50113. ;
  50114. return args;
  50115. }
  50116. };
  50117. var IfcTransitionCurveSegment2D = class {
  50118. constructor(expressID, type, StartPoint, StartDirection, SegmentLength, StartRadius, EndRadius, IsStartRadiusCCW, IsEndRadiusCCW, TransitionCurveType) {
  50119. this.expressID = expressID;
  50120. this.type = type;
  50121. this.StartPoint = StartPoint;
  50122. this.StartDirection = StartDirection;
  50123. this.SegmentLength = SegmentLength;
  50124. this.StartRadius = StartRadius;
  50125. this.EndRadius = EndRadius;
  50126. this.IsStartRadiusCCW = IsStartRadiusCCW;
  50127. this.IsEndRadiusCCW = IsEndRadiusCCW;
  50128. this.TransitionCurveType = TransitionCurveType;
  50129. }
  50130. static FromTape(expressID, type, tape) {
  50131. let ptr = 0;
  50132. let StartPoint = tape[ptr++];
  50133. let StartDirection = tape[ptr++];
  50134. let SegmentLength = tape[ptr++];
  50135. let StartRadius = tape[ptr++];
  50136. let EndRadius = tape[ptr++];
  50137. let IsStartRadiusCCW = tape[ptr++];
  50138. let IsEndRadiusCCW = tape[ptr++];
  50139. let TransitionCurveType = tape[ptr++];
  50140. return new IfcTransitionCurveSegment2D(expressID, type, StartPoint, StartDirection, SegmentLength, StartRadius, EndRadius, IsStartRadiusCCW, IsEndRadiusCCW, TransitionCurveType);
  50141. }
  50142. ToTape() {
  50143. let args = [];
  50144. args.push(this.StartPoint);
  50145. ;
  50146. args.push(this.StartDirection);
  50147. ;
  50148. args.push(this.SegmentLength);
  50149. ;
  50150. args.push(this.StartRadius);
  50151. ;
  50152. args.push(this.EndRadius);
  50153. ;
  50154. args.push(this.IsStartRadiusCCW);
  50155. ;
  50156. args.push(this.IsEndRadiusCCW);
  50157. ;
  50158. args.push(this.TransitionCurveType);
  50159. ;
  50160. return args;
  50161. }
  50162. };
  50163. var IfcTransportElement = class {
  50164. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  50165. this.expressID = expressID;
  50166. this.type = type;
  50167. this.GlobalId = GlobalId;
  50168. this.OwnerHistory = OwnerHistory;
  50169. this.Name = Name;
  50170. this.Description = Description;
  50171. this.ObjectType = ObjectType;
  50172. this.ObjectPlacement = ObjectPlacement;
  50173. this.Representation = Representation;
  50174. this.Tag = Tag;
  50175. this.PredefinedType = PredefinedType;
  50176. }
  50177. static FromTape(expressID, type, tape) {
  50178. let ptr = 0;
  50179. let GlobalId = tape[ptr++];
  50180. let OwnerHistory = tape[ptr++];
  50181. let Name = tape[ptr++];
  50182. let Description = tape[ptr++];
  50183. let ObjectType = tape[ptr++];
  50184. let ObjectPlacement = tape[ptr++];
  50185. let Representation = tape[ptr++];
  50186. let Tag = tape[ptr++];
  50187. let PredefinedType = tape[ptr++];
  50188. return new IfcTransportElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  50189. }
  50190. ToTape() {
  50191. let args = [];
  50192. args.push(this.GlobalId);
  50193. ;
  50194. args.push(this.OwnerHistory);
  50195. ;
  50196. args.push(this.Name);
  50197. ;
  50198. args.push(this.Description);
  50199. ;
  50200. args.push(this.ObjectType);
  50201. ;
  50202. args.push(this.ObjectPlacement);
  50203. ;
  50204. args.push(this.Representation);
  50205. ;
  50206. args.push(this.Tag);
  50207. ;
  50208. args.push(this.PredefinedType);
  50209. ;
  50210. return args;
  50211. }
  50212. };
  50213. var IfcTransportElementType = class {
  50214. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  50215. this.expressID = expressID;
  50216. this.type = type;
  50217. this.GlobalId = GlobalId;
  50218. this.OwnerHistory = OwnerHistory;
  50219. this.Name = Name;
  50220. this.Description = Description;
  50221. this.ApplicableOccurrence = ApplicableOccurrence;
  50222. this.HasPropertySets = HasPropertySets;
  50223. this.RepresentationMaps = RepresentationMaps;
  50224. this.Tag = Tag;
  50225. this.ElementType = ElementType;
  50226. this.PredefinedType = PredefinedType;
  50227. }
  50228. static FromTape(expressID, type, tape) {
  50229. let ptr = 0;
  50230. let GlobalId = tape[ptr++];
  50231. let OwnerHistory = tape[ptr++];
  50232. let Name = tape[ptr++];
  50233. let Description = tape[ptr++];
  50234. let ApplicableOccurrence = tape[ptr++];
  50235. let HasPropertySets = tape[ptr++];
  50236. let RepresentationMaps = tape[ptr++];
  50237. let Tag = tape[ptr++];
  50238. let ElementType = tape[ptr++];
  50239. let PredefinedType = tape[ptr++];
  50240. return new IfcTransportElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  50241. }
  50242. ToTape() {
  50243. let args = [];
  50244. args.push(this.GlobalId);
  50245. ;
  50246. args.push(this.OwnerHistory);
  50247. ;
  50248. args.push(this.Name);
  50249. ;
  50250. args.push(this.Description);
  50251. ;
  50252. args.push(this.ApplicableOccurrence);
  50253. ;
  50254. args.push(this.HasPropertySets);
  50255. ;
  50256. args.push(this.RepresentationMaps);
  50257. ;
  50258. args.push(this.Tag);
  50259. ;
  50260. args.push(this.ElementType);
  50261. ;
  50262. args.push(this.PredefinedType);
  50263. ;
  50264. return args;
  50265. }
  50266. };
  50267. var IfcTrapeziumProfileDef = class {
  50268. constructor(expressID, type, ProfileType, ProfileName, Position, BottomXDim, TopXDim, YDim, TopXOffset) {
  50269. this.expressID = expressID;
  50270. this.type = type;
  50271. this.ProfileType = ProfileType;
  50272. this.ProfileName = ProfileName;
  50273. this.Position = Position;
  50274. this.BottomXDim = BottomXDim;
  50275. this.TopXDim = TopXDim;
  50276. this.YDim = YDim;
  50277. this.TopXOffset = TopXOffset;
  50278. }
  50279. static FromTape(expressID, type, tape) {
  50280. let ptr = 0;
  50281. let ProfileType = tape[ptr++];
  50282. let ProfileName = tape[ptr++];
  50283. let Position = tape[ptr++];
  50284. let BottomXDim = tape[ptr++];
  50285. let TopXDim = tape[ptr++];
  50286. let YDim = tape[ptr++];
  50287. let TopXOffset = tape[ptr++];
  50288. return new IfcTrapeziumProfileDef(expressID, type, ProfileType, ProfileName, Position, BottomXDim, TopXDim, YDim, TopXOffset);
  50289. }
  50290. ToTape() {
  50291. let args = [];
  50292. args.push(this.ProfileType);
  50293. ;
  50294. args.push(this.ProfileName);
  50295. ;
  50296. args.push(this.Position);
  50297. ;
  50298. args.push(this.BottomXDim);
  50299. ;
  50300. args.push(this.TopXDim);
  50301. ;
  50302. args.push(this.YDim);
  50303. ;
  50304. args.push(this.TopXOffset);
  50305. ;
  50306. return args;
  50307. }
  50308. };
  50309. var IfcTriangulatedFaceSet = class {
  50310. constructor(expressID, type, Coordinates, Normals, Closed, CoordIndex, PnIndex) {
  50311. this.expressID = expressID;
  50312. this.type = type;
  50313. this.Coordinates = Coordinates;
  50314. this.Normals = Normals;
  50315. this.Closed = Closed;
  50316. this.CoordIndex = CoordIndex;
  50317. this.PnIndex = PnIndex;
  50318. }
  50319. static FromTape(expressID, type, tape) {
  50320. let ptr = 0;
  50321. let Coordinates = tape[ptr++];
  50322. let Normals = tape[ptr++];
  50323. let Closed = tape[ptr++];
  50324. let CoordIndex = tape[ptr++];
  50325. let PnIndex = tape[ptr++];
  50326. return new IfcTriangulatedFaceSet(expressID, type, Coordinates, Normals, Closed, CoordIndex, PnIndex);
  50327. }
  50328. ToTape() {
  50329. let args = [];
  50330. args.push(this.Coordinates);
  50331. ;
  50332. args.push(this.Normals);
  50333. ;
  50334. args.push(this.Closed);
  50335. ;
  50336. args.push(this.CoordIndex);
  50337. ;
  50338. args.push(this.PnIndex);
  50339. ;
  50340. return args;
  50341. }
  50342. };
  50343. var IfcTriangulatedIrregularNetwork = class {
  50344. constructor(expressID, type, Coordinates, Normals, Closed, CoordIndex, PnIndex, Flags) {
  50345. this.expressID = expressID;
  50346. this.type = type;
  50347. this.Coordinates = Coordinates;
  50348. this.Normals = Normals;
  50349. this.Closed = Closed;
  50350. this.CoordIndex = CoordIndex;
  50351. this.PnIndex = PnIndex;
  50352. this.Flags = Flags;
  50353. }
  50354. static FromTape(expressID, type, tape) {
  50355. let ptr = 0;
  50356. let Coordinates = tape[ptr++];
  50357. let Normals = tape[ptr++];
  50358. let Closed = tape[ptr++];
  50359. let CoordIndex = tape[ptr++];
  50360. let PnIndex = tape[ptr++];
  50361. let Flags = tape[ptr++];
  50362. return new IfcTriangulatedIrregularNetwork(expressID, type, Coordinates, Normals, Closed, CoordIndex, PnIndex, Flags);
  50363. }
  50364. ToTape() {
  50365. let args = [];
  50366. args.push(this.Coordinates);
  50367. ;
  50368. args.push(this.Normals);
  50369. ;
  50370. args.push(this.Closed);
  50371. ;
  50372. args.push(this.CoordIndex);
  50373. ;
  50374. args.push(this.PnIndex);
  50375. ;
  50376. args.push(this.Flags);
  50377. ;
  50378. return args;
  50379. }
  50380. };
  50381. var IfcTrimmedCurve = class {
  50382. constructor(expressID, type, BasisCurve, Trim1, Trim2, SenseAgreement, MasterRepresentation) {
  50383. this.expressID = expressID;
  50384. this.type = type;
  50385. this.BasisCurve = BasisCurve;
  50386. this.Trim1 = Trim1;
  50387. this.Trim2 = Trim2;
  50388. this.SenseAgreement = SenseAgreement;
  50389. this.MasterRepresentation = MasterRepresentation;
  50390. }
  50391. static FromTape(expressID, type, tape) {
  50392. let ptr = 0;
  50393. let BasisCurve = tape[ptr++];
  50394. let Trim1 = tape[ptr++];
  50395. let Trim2 = tape[ptr++];
  50396. let SenseAgreement = tape[ptr++];
  50397. let MasterRepresentation = tape[ptr++];
  50398. return new IfcTrimmedCurve(expressID, type, BasisCurve, Trim1, Trim2, SenseAgreement, MasterRepresentation);
  50399. }
  50400. ToTape() {
  50401. let args = [];
  50402. args.push(this.BasisCurve);
  50403. ;
  50404. args.push(this.Trim1);
  50405. ;
  50406. args.push(this.Trim2);
  50407. ;
  50408. args.push(this.SenseAgreement);
  50409. ;
  50410. args.push(this.MasterRepresentation);
  50411. ;
  50412. return args;
  50413. }
  50414. };
  50415. var IfcTubeBundle = class {
  50416. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  50417. this.expressID = expressID;
  50418. this.type = type;
  50419. this.GlobalId = GlobalId;
  50420. this.OwnerHistory = OwnerHistory;
  50421. this.Name = Name;
  50422. this.Description = Description;
  50423. this.ObjectType = ObjectType;
  50424. this.ObjectPlacement = ObjectPlacement;
  50425. this.Representation = Representation;
  50426. this.Tag = Tag;
  50427. this.PredefinedType = PredefinedType;
  50428. }
  50429. static FromTape(expressID, type, tape) {
  50430. let ptr = 0;
  50431. let GlobalId = tape[ptr++];
  50432. let OwnerHistory = tape[ptr++];
  50433. let Name = tape[ptr++];
  50434. let Description = tape[ptr++];
  50435. let ObjectType = tape[ptr++];
  50436. let ObjectPlacement = tape[ptr++];
  50437. let Representation = tape[ptr++];
  50438. let Tag = tape[ptr++];
  50439. let PredefinedType = tape[ptr++];
  50440. return new IfcTubeBundle(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  50441. }
  50442. ToTape() {
  50443. let args = [];
  50444. args.push(this.GlobalId);
  50445. ;
  50446. args.push(this.OwnerHistory);
  50447. ;
  50448. args.push(this.Name);
  50449. ;
  50450. args.push(this.Description);
  50451. ;
  50452. args.push(this.ObjectType);
  50453. ;
  50454. args.push(this.ObjectPlacement);
  50455. ;
  50456. args.push(this.Representation);
  50457. ;
  50458. args.push(this.Tag);
  50459. ;
  50460. args.push(this.PredefinedType);
  50461. ;
  50462. return args;
  50463. }
  50464. };
  50465. var IfcTubeBundleType = class {
  50466. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  50467. this.expressID = expressID;
  50468. this.type = type;
  50469. this.GlobalId = GlobalId;
  50470. this.OwnerHistory = OwnerHistory;
  50471. this.Name = Name;
  50472. this.Description = Description;
  50473. this.ApplicableOccurrence = ApplicableOccurrence;
  50474. this.HasPropertySets = HasPropertySets;
  50475. this.RepresentationMaps = RepresentationMaps;
  50476. this.Tag = Tag;
  50477. this.ElementType = ElementType;
  50478. this.PredefinedType = PredefinedType;
  50479. }
  50480. static FromTape(expressID, type, tape) {
  50481. let ptr = 0;
  50482. let GlobalId = tape[ptr++];
  50483. let OwnerHistory = tape[ptr++];
  50484. let Name = tape[ptr++];
  50485. let Description = tape[ptr++];
  50486. let ApplicableOccurrence = tape[ptr++];
  50487. let HasPropertySets = tape[ptr++];
  50488. let RepresentationMaps = tape[ptr++];
  50489. let Tag = tape[ptr++];
  50490. let ElementType = tape[ptr++];
  50491. let PredefinedType = tape[ptr++];
  50492. return new IfcTubeBundleType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  50493. }
  50494. ToTape() {
  50495. let args = [];
  50496. args.push(this.GlobalId);
  50497. ;
  50498. args.push(this.OwnerHistory);
  50499. ;
  50500. args.push(this.Name);
  50501. ;
  50502. args.push(this.Description);
  50503. ;
  50504. args.push(this.ApplicableOccurrence);
  50505. ;
  50506. args.push(this.HasPropertySets);
  50507. ;
  50508. args.push(this.RepresentationMaps);
  50509. ;
  50510. args.push(this.Tag);
  50511. ;
  50512. args.push(this.ElementType);
  50513. ;
  50514. args.push(this.PredefinedType);
  50515. ;
  50516. return args;
  50517. }
  50518. };
  50519. var IfcTypeObject = class {
  50520. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets) {
  50521. this.expressID = expressID;
  50522. this.type = type;
  50523. this.GlobalId = GlobalId;
  50524. this.OwnerHistory = OwnerHistory;
  50525. this.Name = Name;
  50526. this.Description = Description;
  50527. this.ApplicableOccurrence = ApplicableOccurrence;
  50528. this.HasPropertySets = HasPropertySets;
  50529. }
  50530. static FromTape(expressID, type, tape) {
  50531. let ptr = 0;
  50532. let GlobalId = tape[ptr++];
  50533. let OwnerHistory = tape[ptr++];
  50534. let Name = tape[ptr++];
  50535. let Description = tape[ptr++];
  50536. let ApplicableOccurrence = tape[ptr++];
  50537. let HasPropertySets = tape[ptr++];
  50538. return new IfcTypeObject(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets);
  50539. }
  50540. ToTape() {
  50541. let args = [];
  50542. args.push(this.GlobalId);
  50543. ;
  50544. args.push(this.OwnerHistory);
  50545. ;
  50546. args.push(this.Name);
  50547. ;
  50548. args.push(this.Description);
  50549. ;
  50550. args.push(this.ApplicableOccurrence);
  50551. ;
  50552. args.push(this.HasPropertySets);
  50553. ;
  50554. return args;
  50555. }
  50556. };
  50557. var IfcTypeProcess = class {
  50558. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ProcessType) {
  50559. this.expressID = expressID;
  50560. this.type = type;
  50561. this.GlobalId = GlobalId;
  50562. this.OwnerHistory = OwnerHistory;
  50563. this.Name = Name;
  50564. this.Description = Description;
  50565. this.ApplicableOccurrence = ApplicableOccurrence;
  50566. this.HasPropertySets = HasPropertySets;
  50567. this.Identification = Identification;
  50568. this.LongDescription = LongDescription;
  50569. this.ProcessType = ProcessType;
  50570. }
  50571. static FromTape(expressID, type, tape) {
  50572. let ptr = 0;
  50573. let GlobalId = tape[ptr++];
  50574. let OwnerHistory = tape[ptr++];
  50575. let Name = tape[ptr++];
  50576. let Description = tape[ptr++];
  50577. let ApplicableOccurrence = tape[ptr++];
  50578. let HasPropertySets = tape[ptr++];
  50579. let Identification = tape[ptr++];
  50580. let LongDescription = tape[ptr++];
  50581. let ProcessType = tape[ptr++];
  50582. return new IfcTypeProcess(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ProcessType);
  50583. }
  50584. ToTape() {
  50585. let args = [];
  50586. args.push(this.GlobalId);
  50587. ;
  50588. args.push(this.OwnerHistory);
  50589. ;
  50590. args.push(this.Name);
  50591. ;
  50592. args.push(this.Description);
  50593. ;
  50594. args.push(this.ApplicableOccurrence);
  50595. ;
  50596. args.push(this.HasPropertySets);
  50597. ;
  50598. args.push(this.Identification);
  50599. ;
  50600. args.push(this.LongDescription);
  50601. ;
  50602. args.push(this.ProcessType);
  50603. ;
  50604. return args;
  50605. }
  50606. };
  50607. var IfcTypeProduct = class {
  50608. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag) {
  50609. this.expressID = expressID;
  50610. this.type = type;
  50611. this.GlobalId = GlobalId;
  50612. this.OwnerHistory = OwnerHistory;
  50613. this.Name = Name;
  50614. this.Description = Description;
  50615. this.ApplicableOccurrence = ApplicableOccurrence;
  50616. this.HasPropertySets = HasPropertySets;
  50617. this.RepresentationMaps = RepresentationMaps;
  50618. this.Tag = Tag;
  50619. }
  50620. static FromTape(expressID, type, tape) {
  50621. let ptr = 0;
  50622. let GlobalId = tape[ptr++];
  50623. let OwnerHistory = tape[ptr++];
  50624. let Name = tape[ptr++];
  50625. let Description = tape[ptr++];
  50626. let ApplicableOccurrence = tape[ptr++];
  50627. let HasPropertySets = tape[ptr++];
  50628. let RepresentationMaps = tape[ptr++];
  50629. let Tag = tape[ptr++];
  50630. return new IfcTypeProduct(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag);
  50631. }
  50632. ToTape() {
  50633. let args = [];
  50634. args.push(this.GlobalId);
  50635. ;
  50636. args.push(this.OwnerHistory);
  50637. ;
  50638. args.push(this.Name);
  50639. ;
  50640. args.push(this.Description);
  50641. ;
  50642. args.push(this.ApplicableOccurrence);
  50643. ;
  50644. args.push(this.HasPropertySets);
  50645. ;
  50646. args.push(this.RepresentationMaps);
  50647. ;
  50648. args.push(this.Tag);
  50649. ;
  50650. return args;
  50651. }
  50652. };
  50653. var IfcTypeResource = class {
  50654. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType) {
  50655. this.expressID = expressID;
  50656. this.type = type;
  50657. this.GlobalId = GlobalId;
  50658. this.OwnerHistory = OwnerHistory;
  50659. this.Name = Name;
  50660. this.Description = Description;
  50661. this.ApplicableOccurrence = ApplicableOccurrence;
  50662. this.HasPropertySets = HasPropertySets;
  50663. this.Identification = Identification;
  50664. this.LongDescription = LongDescription;
  50665. this.ResourceType = ResourceType;
  50666. }
  50667. static FromTape(expressID, type, tape) {
  50668. let ptr = 0;
  50669. let GlobalId = tape[ptr++];
  50670. let OwnerHistory = tape[ptr++];
  50671. let Name = tape[ptr++];
  50672. let Description = tape[ptr++];
  50673. let ApplicableOccurrence = tape[ptr++];
  50674. let HasPropertySets = tape[ptr++];
  50675. let Identification = tape[ptr++];
  50676. let LongDescription = tape[ptr++];
  50677. let ResourceType = tape[ptr++];
  50678. return new IfcTypeResource(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, Identification, LongDescription, ResourceType);
  50679. }
  50680. ToTape() {
  50681. let args = [];
  50682. args.push(this.GlobalId);
  50683. ;
  50684. args.push(this.OwnerHistory);
  50685. ;
  50686. args.push(this.Name);
  50687. ;
  50688. args.push(this.Description);
  50689. ;
  50690. args.push(this.ApplicableOccurrence);
  50691. ;
  50692. args.push(this.HasPropertySets);
  50693. ;
  50694. args.push(this.Identification);
  50695. ;
  50696. args.push(this.LongDescription);
  50697. ;
  50698. args.push(this.ResourceType);
  50699. ;
  50700. return args;
  50701. }
  50702. };
  50703. var IfcUShapeProfileDef = class {
  50704. constructor(expressID, type, ProfileType, ProfileName, Position, Depth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius, EdgeRadius, FlangeSlope) {
  50705. this.expressID = expressID;
  50706. this.type = type;
  50707. this.ProfileType = ProfileType;
  50708. this.ProfileName = ProfileName;
  50709. this.Position = Position;
  50710. this.Depth = Depth;
  50711. this.FlangeWidth = FlangeWidth;
  50712. this.WebThickness = WebThickness;
  50713. this.FlangeThickness = FlangeThickness;
  50714. this.FilletRadius = FilletRadius;
  50715. this.EdgeRadius = EdgeRadius;
  50716. this.FlangeSlope = FlangeSlope;
  50717. }
  50718. static FromTape(expressID, type, tape) {
  50719. let ptr = 0;
  50720. let ProfileType = tape[ptr++];
  50721. let ProfileName = tape[ptr++];
  50722. let Position = tape[ptr++];
  50723. let Depth = tape[ptr++];
  50724. let FlangeWidth = tape[ptr++];
  50725. let WebThickness = tape[ptr++];
  50726. let FlangeThickness = tape[ptr++];
  50727. let FilletRadius = tape[ptr++];
  50728. let EdgeRadius = tape[ptr++];
  50729. let FlangeSlope = tape[ptr++];
  50730. return new IfcUShapeProfileDef(expressID, type, ProfileType, ProfileName, Position, Depth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius, EdgeRadius, FlangeSlope);
  50731. }
  50732. ToTape() {
  50733. let args = [];
  50734. args.push(this.ProfileType);
  50735. ;
  50736. args.push(this.ProfileName);
  50737. ;
  50738. args.push(this.Position);
  50739. ;
  50740. args.push(this.Depth);
  50741. ;
  50742. args.push(this.FlangeWidth);
  50743. ;
  50744. args.push(this.WebThickness);
  50745. ;
  50746. args.push(this.FlangeThickness);
  50747. ;
  50748. args.push(this.FilletRadius);
  50749. ;
  50750. args.push(this.EdgeRadius);
  50751. ;
  50752. args.push(this.FlangeSlope);
  50753. ;
  50754. return args;
  50755. }
  50756. };
  50757. var IfcUnitAssignment = class {
  50758. constructor(expressID, type, Units) {
  50759. this.expressID = expressID;
  50760. this.type = type;
  50761. this.Units = Units;
  50762. }
  50763. static FromTape(expressID, type, tape) {
  50764. let ptr = 0;
  50765. let Units = tape[ptr++];
  50766. return new IfcUnitAssignment(expressID, type, Units);
  50767. }
  50768. ToTape() {
  50769. let args = [];
  50770. args.push(this.Units);
  50771. ;
  50772. return args;
  50773. }
  50774. };
  50775. var IfcUnitaryControlElement = class {
  50776. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  50777. this.expressID = expressID;
  50778. this.type = type;
  50779. this.GlobalId = GlobalId;
  50780. this.OwnerHistory = OwnerHistory;
  50781. this.Name = Name;
  50782. this.Description = Description;
  50783. this.ObjectType = ObjectType;
  50784. this.ObjectPlacement = ObjectPlacement;
  50785. this.Representation = Representation;
  50786. this.Tag = Tag;
  50787. this.PredefinedType = PredefinedType;
  50788. }
  50789. static FromTape(expressID, type, tape) {
  50790. let ptr = 0;
  50791. let GlobalId = tape[ptr++];
  50792. let OwnerHistory = tape[ptr++];
  50793. let Name = tape[ptr++];
  50794. let Description = tape[ptr++];
  50795. let ObjectType = tape[ptr++];
  50796. let ObjectPlacement = tape[ptr++];
  50797. let Representation = tape[ptr++];
  50798. let Tag = tape[ptr++];
  50799. let PredefinedType = tape[ptr++];
  50800. return new IfcUnitaryControlElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  50801. }
  50802. ToTape() {
  50803. let args = [];
  50804. args.push(this.GlobalId);
  50805. ;
  50806. args.push(this.OwnerHistory);
  50807. ;
  50808. args.push(this.Name);
  50809. ;
  50810. args.push(this.Description);
  50811. ;
  50812. args.push(this.ObjectType);
  50813. ;
  50814. args.push(this.ObjectPlacement);
  50815. ;
  50816. args.push(this.Representation);
  50817. ;
  50818. args.push(this.Tag);
  50819. ;
  50820. args.push(this.PredefinedType);
  50821. ;
  50822. return args;
  50823. }
  50824. };
  50825. var IfcUnitaryControlElementType = class {
  50826. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  50827. this.expressID = expressID;
  50828. this.type = type;
  50829. this.GlobalId = GlobalId;
  50830. this.OwnerHistory = OwnerHistory;
  50831. this.Name = Name;
  50832. this.Description = Description;
  50833. this.ApplicableOccurrence = ApplicableOccurrence;
  50834. this.HasPropertySets = HasPropertySets;
  50835. this.RepresentationMaps = RepresentationMaps;
  50836. this.Tag = Tag;
  50837. this.ElementType = ElementType;
  50838. this.PredefinedType = PredefinedType;
  50839. }
  50840. static FromTape(expressID, type, tape) {
  50841. let ptr = 0;
  50842. let GlobalId = tape[ptr++];
  50843. let OwnerHistory = tape[ptr++];
  50844. let Name = tape[ptr++];
  50845. let Description = tape[ptr++];
  50846. let ApplicableOccurrence = tape[ptr++];
  50847. let HasPropertySets = tape[ptr++];
  50848. let RepresentationMaps = tape[ptr++];
  50849. let Tag = tape[ptr++];
  50850. let ElementType = tape[ptr++];
  50851. let PredefinedType = tape[ptr++];
  50852. return new IfcUnitaryControlElementType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  50853. }
  50854. ToTape() {
  50855. let args = [];
  50856. args.push(this.GlobalId);
  50857. ;
  50858. args.push(this.OwnerHistory);
  50859. ;
  50860. args.push(this.Name);
  50861. ;
  50862. args.push(this.Description);
  50863. ;
  50864. args.push(this.ApplicableOccurrence);
  50865. ;
  50866. args.push(this.HasPropertySets);
  50867. ;
  50868. args.push(this.RepresentationMaps);
  50869. ;
  50870. args.push(this.Tag);
  50871. ;
  50872. args.push(this.ElementType);
  50873. ;
  50874. args.push(this.PredefinedType);
  50875. ;
  50876. return args;
  50877. }
  50878. };
  50879. var IfcUnitaryEquipment = class {
  50880. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  50881. this.expressID = expressID;
  50882. this.type = type;
  50883. this.GlobalId = GlobalId;
  50884. this.OwnerHistory = OwnerHistory;
  50885. this.Name = Name;
  50886. this.Description = Description;
  50887. this.ObjectType = ObjectType;
  50888. this.ObjectPlacement = ObjectPlacement;
  50889. this.Representation = Representation;
  50890. this.Tag = Tag;
  50891. this.PredefinedType = PredefinedType;
  50892. }
  50893. static FromTape(expressID, type, tape) {
  50894. let ptr = 0;
  50895. let GlobalId = tape[ptr++];
  50896. let OwnerHistory = tape[ptr++];
  50897. let Name = tape[ptr++];
  50898. let Description = tape[ptr++];
  50899. let ObjectType = tape[ptr++];
  50900. let ObjectPlacement = tape[ptr++];
  50901. let Representation = tape[ptr++];
  50902. let Tag = tape[ptr++];
  50903. let PredefinedType = tape[ptr++];
  50904. return new IfcUnitaryEquipment(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  50905. }
  50906. ToTape() {
  50907. let args = [];
  50908. args.push(this.GlobalId);
  50909. ;
  50910. args.push(this.OwnerHistory);
  50911. ;
  50912. args.push(this.Name);
  50913. ;
  50914. args.push(this.Description);
  50915. ;
  50916. args.push(this.ObjectType);
  50917. ;
  50918. args.push(this.ObjectPlacement);
  50919. ;
  50920. args.push(this.Representation);
  50921. ;
  50922. args.push(this.Tag);
  50923. ;
  50924. args.push(this.PredefinedType);
  50925. ;
  50926. return args;
  50927. }
  50928. };
  50929. var IfcUnitaryEquipmentType = class {
  50930. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  50931. this.expressID = expressID;
  50932. this.type = type;
  50933. this.GlobalId = GlobalId;
  50934. this.OwnerHistory = OwnerHistory;
  50935. this.Name = Name;
  50936. this.Description = Description;
  50937. this.ApplicableOccurrence = ApplicableOccurrence;
  50938. this.HasPropertySets = HasPropertySets;
  50939. this.RepresentationMaps = RepresentationMaps;
  50940. this.Tag = Tag;
  50941. this.ElementType = ElementType;
  50942. this.PredefinedType = PredefinedType;
  50943. }
  50944. static FromTape(expressID, type, tape) {
  50945. let ptr = 0;
  50946. let GlobalId = tape[ptr++];
  50947. let OwnerHistory = tape[ptr++];
  50948. let Name = tape[ptr++];
  50949. let Description = tape[ptr++];
  50950. let ApplicableOccurrence = tape[ptr++];
  50951. let HasPropertySets = tape[ptr++];
  50952. let RepresentationMaps = tape[ptr++];
  50953. let Tag = tape[ptr++];
  50954. let ElementType = tape[ptr++];
  50955. let PredefinedType = tape[ptr++];
  50956. return new IfcUnitaryEquipmentType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  50957. }
  50958. ToTape() {
  50959. let args = [];
  50960. args.push(this.GlobalId);
  50961. ;
  50962. args.push(this.OwnerHistory);
  50963. ;
  50964. args.push(this.Name);
  50965. ;
  50966. args.push(this.Description);
  50967. ;
  50968. args.push(this.ApplicableOccurrence);
  50969. ;
  50970. args.push(this.HasPropertySets);
  50971. ;
  50972. args.push(this.RepresentationMaps);
  50973. ;
  50974. args.push(this.Tag);
  50975. ;
  50976. args.push(this.ElementType);
  50977. ;
  50978. args.push(this.PredefinedType);
  50979. ;
  50980. return args;
  50981. }
  50982. };
  50983. var IfcValve = class {
  50984. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  50985. this.expressID = expressID;
  50986. this.type = type;
  50987. this.GlobalId = GlobalId;
  50988. this.OwnerHistory = OwnerHistory;
  50989. this.Name = Name;
  50990. this.Description = Description;
  50991. this.ObjectType = ObjectType;
  50992. this.ObjectPlacement = ObjectPlacement;
  50993. this.Representation = Representation;
  50994. this.Tag = Tag;
  50995. this.PredefinedType = PredefinedType;
  50996. }
  50997. static FromTape(expressID, type, tape) {
  50998. let ptr = 0;
  50999. let GlobalId = tape[ptr++];
  51000. let OwnerHistory = tape[ptr++];
  51001. let Name = tape[ptr++];
  51002. let Description = tape[ptr++];
  51003. let ObjectType = tape[ptr++];
  51004. let ObjectPlacement = tape[ptr++];
  51005. let Representation = tape[ptr++];
  51006. let Tag = tape[ptr++];
  51007. let PredefinedType = tape[ptr++];
  51008. return new IfcValve(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  51009. }
  51010. ToTape() {
  51011. let args = [];
  51012. args.push(this.GlobalId);
  51013. ;
  51014. args.push(this.OwnerHistory);
  51015. ;
  51016. args.push(this.Name);
  51017. ;
  51018. args.push(this.Description);
  51019. ;
  51020. args.push(this.ObjectType);
  51021. ;
  51022. args.push(this.ObjectPlacement);
  51023. ;
  51024. args.push(this.Representation);
  51025. ;
  51026. args.push(this.Tag);
  51027. ;
  51028. args.push(this.PredefinedType);
  51029. ;
  51030. return args;
  51031. }
  51032. };
  51033. var IfcValveType = class {
  51034. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  51035. this.expressID = expressID;
  51036. this.type = type;
  51037. this.GlobalId = GlobalId;
  51038. this.OwnerHistory = OwnerHistory;
  51039. this.Name = Name;
  51040. this.Description = Description;
  51041. this.ApplicableOccurrence = ApplicableOccurrence;
  51042. this.HasPropertySets = HasPropertySets;
  51043. this.RepresentationMaps = RepresentationMaps;
  51044. this.Tag = Tag;
  51045. this.ElementType = ElementType;
  51046. this.PredefinedType = PredefinedType;
  51047. }
  51048. static FromTape(expressID, type, tape) {
  51049. let ptr = 0;
  51050. let GlobalId = tape[ptr++];
  51051. let OwnerHistory = tape[ptr++];
  51052. let Name = tape[ptr++];
  51053. let Description = tape[ptr++];
  51054. let ApplicableOccurrence = tape[ptr++];
  51055. let HasPropertySets = tape[ptr++];
  51056. let RepresentationMaps = tape[ptr++];
  51057. let Tag = tape[ptr++];
  51058. let ElementType = tape[ptr++];
  51059. let PredefinedType = tape[ptr++];
  51060. return new IfcValveType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  51061. }
  51062. ToTape() {
  51063. let args = [];
  51064. args.push(this.GlobalId);
  51065. ;
  51066. args.push(this.OwnerHistory);
  51067. ;
  51068. args.push(this.Name);
  51069. ;
  51070. args.push(this.Description);
  51071. ;
  51072. args.push(this.ApplicableOccurrence);
  51073. ;
  51074. args.push(this.HasPropertySets);
  51075. ;
  51076. args.push(this.RepresentationMaps);
  51077. ;
  51078. args.push(this.Tag);
  51079. ;
  51080. args.push(this.ElementType);
  51081. ;
  51082. args.push(this.PredefinedType);
  51083. ;
  51084. return args;
  51085. }
  51086. };
  51087. var IfcVector = class {
  51088. constructor(expressID, type, Orientation, Magnitude) {
  51089. this.expressID = expressID;
  51090. this.type = type;
  51091. this.Orientation = Orientation;
  51092. this.Magnitude = Magnitude;
  51093. }
  51094. static FromTape(expressID, type, tape) {
  51095. let ptr = 0;
  51096. let Orientation = tape[ptr++];
  51097. let Magnitude = tape[ptr++];
  51098. return new IfcVector(expressID, type, Orientation, Magnitude);
  51099. }
  51100. ToTape() {
  51101. let args = [];
  51102. args.push(this.Orientation);
  51103. ;
  51104. args.push(this.Magnitude);
  51105. ;
  51106. return args;
  51107. }
  51108. };
  51109. var IfcVertex = class {
  51110. constructor(expressID, type) {
  51111. this.expressID = expressID;
  51112. this.type = type;
  51113. }
  51114. static FromTape(expressID, type, tape) {
  51115. let ptr = 0;
  51116. return new IfcVertex(expressID, type);
  51117. }
  51118. ToTape() {
  51119. let args = [];
  51120. return args;
  51121. }
  51122. };
  51123. var IfcVertexLoop = class {
  51124. constructor(expressID, type, LoopVertex) {
  51125. this.expressID = expressID;
  51126. this.type = type;
  51127. this.LoopVertex = LoopVertex;
  51128. }
  51129. static FromTape(expressID, type, tape) {
  51130. let ptr = 0;
  51131. let LoopVertex = tape[ptr++];
  51132. return new IfcVertexLoop(expressID, type, LoopVertex);
  51133. }
  51134. ToTape() {
  51135. let args = [];
  51136. args.push(this.LoopVertex);
  51137. ;
  51138. return args;
  51139. }
  51140. };
  51141. var IfcVertexPoint = class {
  51142. constructor(expressID, type, VertexGeometry) {
  51143. this.expressID = expressID;
  51144. this.type = type;
  51145. this.VertexGeometry = VertexGeometry;
  51146. }
  51147. static FromTape(expressID, type, tape) {
  51148. let ptr = 0;
  51149. let VertexGeometry = tape[ptr++];
  51150. return new IfcVertexPoint(expressID, type, VertexGeometry);
  51151. }
  51152. ToTape() {
  51153. let args = [];
  51154. args.push(this.VertexGeometry);
  51155. ;
  51156. return args;
  51157. }
  51158. };
  51159. var IfcVibrationDamper = class {
  51160. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  51161. this.expressID = expressID;
  51162. this.type = type;
  51163. this.GlobalId = GlobalId;
  51164. this.OwnerHistory = OwnerHistory;
  51165. this.Name = Name;
  51166. this.Description = Description;
  51167. this.ObjectType = ObjectType;
  51168. this.ObjectPlacement = ObjectPlacement;
  51169. this.Representation = Representation;
  51170. this.Tag = Tag;
  51171. this.PredefinedType = PredefinedType;
  51172. }
  51173. static FromTape(expressID, type, tape) {
  51174. let ptr = 0;
  51175. let GlobalId = tape[ptr++];
  51176. let OwnerHistory = tape[ptr++];
  51177. let Name = tape[ptr++];
  51178. let Description = tape[ptr++];
  51179. let ObjectType = tape[ptr++];
  51180. let ObjectPlacement = tape[ptr++];
  51181. let Representation = tape[ptr++];
  51182. let Tag = tape[ptr++];
  51183. let PredefinedType = tape[ptr++];
  51184. return new IfcVibrationDamper(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  51185. }
  51186. ToTape() {
  51187. let args = [];
  51188. args.push(this.GlobalId);
  51189. ;
  51190. args.push(this.OwnerHistory);
  51191. ;
  51192. args.push(this.Name);
  51193. ;
  51194. args.push(this.Description);
  51195. ;
  51196. args.push(this.ObjectType);
  51197. ;
  51198. args.push(this.ObjectPlacement);
  51199. ;
  51200. args.push(this.Representation);
  51201. ;
  51202. args.push(this.Tag);
  51203. ;
  51204. args.push(this.PredefinedType);
  51205. ;
  51206. return args;
  51207. }
  51208. };
  51209. var IfcVibrationDamperType = class {
  51210. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  51211. this.expressID = expressID;
  51212. this.type = type;
  51213. this.GlobalId = GlobalId;
  51214. this.OwnerHistory = OwnerHistory;
  51215. this.Name = Name;
  51216. this.Description = Description;
  51217. this.ApplicableOccurrence = ApplicableOccurrence;
  51218. this.HasPropertySets = HasPropertySets;
  51219. this.RepresentationMaps = RepresentationMaps;
  51220. this.Tag = Tag;
  51221. this.ElementType = ElementType;
  51222. this.PredefinedType = PredefinedType;
  51223. }
  51224. static FromTape(expressID, type, tape) {
  51225. let ptr = 0;
  51226. let GlobalId = tape[ptr++];
  51227. let OwnerHistory = tape[ptr++];
  51228. let Name = tape[ptr++];
  51229. let Description = tape[ptr++];
  51230. let ApplicableOccurrence = tape[ptr++];
  51231. let HasPropertySets = tape[ptr++];
  51232. let RepresentationMaps = tape[ptr++];
  51233. let Tag = tape[ptr++];
  51234. let ElementType = tape[ptr++];
  51235. let PredefinedType = tape[ptr++];
  51236. return new IfcVibrationDamperType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  51237. }
  51238. ToTape() {
  51239. let args = [];
  51240. args.push(this.GlobalId);
  51241. ;
  51242. args.push(this.OwnerHistory);
  51243. ;
  51244. args.push(this.Name);
  51245. ;
  51246. args.push(this.Description);
  51247. ;
  51248. args.push(this.ApplicableOccurrence);
  51249. ;
  51250. args.push(this.HasPropertySets);
  51251. ;
  51252. args.push(this.RepresentationMaps);
  51253. ;
  51254. args.push(this.Tag);
  51255. ;
  51256. args.push(this.ElementType);
  51257. ;
  51258. args.push(this.PredefinedType);
  51259. ;
  51260. return args;
  51261. }
  51262. };
  51263. var IfcVibrationIsolator = class {
  51264. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  51265. this.expressID = expressID;
  51266. this.type = type;
  51267. this.GlobalId = GlobalId;
  51268. this.OwnerHistory = OwnerHistory;
  51269. this.Name = Name;
  51270. this.Description = Description;
  51271. this.ObjectType = ObjectType;
  51272. this.ObjectPlacement = ObjectPlacement;
  51273. this.Representation = Representation;
  51274. this.Tag = Tag;
  51275. this.PredefinedType = PredefinedType;
  51276. }
  51277. static FromTape(expressID, type, tape) {
  51278. let ptr = 0;
  51279. let GlobalId = tape[ptr++];
  51280. let OwnerHistory = tape[ptr++];
  51281. let Name = tape[ptr++];
  51282. let Description = tape[ptr++];
  51283. let ObjectType = tape[ptr++];
  51284. let ObjectPlacement = tape[ptr++];
  51285. let Representation = tape[ptr++];
  51286. let Tag = tape[ptr++];
  51287. let PredefinedType = tape[ptr++];
  51288. return new IfcVibrationIsolator(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  51289. }
  51290. ToTape() {
  51291. let args = [];
  51292. args.push(this.GlobalId);
  51293. ;
  51294. args.push(this.OwnerHistory);
  51295. ;
  51296. args.push(this.Name);
  51297. ;
  51298. args.push(this.Description);
  51299. ;
  51300. args.push(this.ObjectType);
  51301. ;
  51302. args.push(this.ObjectPlacement);
  51303. ;
  51304. args.push(this.Representation);
  51305. ;
  51306. args.push(this.Tag);
  51307. ;
  51308. args.push(this.PredefinedType);
  51309. ;
  51310. return args;
  51311. }
  51312. };
  51313. var IfcVibrationIsolatorType = class {
  51314. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  51315. this.expressID = expressID;
  51316. this.type = type;
  51317. this.GlobalId = GlobalId;
  51318. this.OwnerHistory = OwnerHistory;
  51319. this.Name = Name;
  51320. this.Description = Description;
  51321. this.ApplicableOccurrence = ApplicableOccurrence;
  51322. this.HasPropertySets = HasPropertySets;
  51323. this.RepresentationMaps = RepresentationMaps;
  51324. this.Tag = Tag;
  51325. this.ElementType = ElementType;
  51326. this.PredefinedType = PredefinedType;
  51327. }
  51328. static FromTape(expressID, type, tape) {
  51329. let ptr = 0;
  51330. let GlobalId = tape[ptr++];
  51331. let OwnerHistory = tape[ptr++];
  51332. let Name = tape[ptr++];
  51333. let Description = tape[ptr++];
  51334. let ApplicableOccurrence = tape[ptr++];
  51335. let HasPropertySets = tape[ptr++];
  51336. let RepresentationMaps = tape[ptr++];
  51337. let Tag = tape[ptr++];
  51338. let ElementType = tape[ptr++];
  51339. let PredefinedType = tape[ptr++];
  51340. return new IfcVibrationIsolatorType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  51341. }
  51342. ToTape() {
  51343. let args = [];
  51344. args.push(this.GlobalId);
  51345. ;
  51346. args.push(this.OwnerHistory);
  51347. ;
  51348. args.push(this.Name);
  51349. ;
  51350. args.push(this.Description);
  51351. ;
  51352. args.push(this.ApplicableOccurrence);
  51353. ;
  51354. args.push(this.HasPropertySets);
  51355. ;
  51356. args.push(this.RepresentationMaps);
  51357. ;
  51358. args.push(this.Tag);
  51359. ;
  51360. args.push(this.ElementType);
  51361. ;
  51362. args.push(this.PredefinedType);
  51363. ;
  51364. return args;
  51365. }
  51366. };
  51367. var IfcVirtualElement = class {
  51368. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag) {
  51369. this.expressID = expressID;
  51370. this.type = type;
  51371. this.GlobalId = GlobalId;
  51372. this.OwnerHistory = OwnerHistory;
  51373. this.Name = Name;
  51374. this.Description = Description;
  51375. this.ObjectType = ObjectType;
  51376. this.ObjectPlacement = ObjectPlacement;
  51377. this.Representation = Representation;
  51378. this.Tag = Tag;
  51379. }
  51380. static FromTape(expressID, type, tape) {
  51381. let ptr = 0;
  51382. let GlobalId = tape[ptr++];
  51383. let OwnerHistory = tape[ptr++];
  51384. let Name = tape[ptr++];
  51385. let Description = tape[ptr++];
  51386. let ObjectType = tape[ptr++];
  51387. let ObjectPlacement = tape[ptr++];
  51388. let Representation = tape[ptr++];
  51389. let Tag = tape[ptr++];
  51390. return new IfcVirtualElement(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag);
  51391. }
  51392. ToTape() {
  51393. let args = [];
  51394. args.push(this.GlobalId);
  51395. ;
  51396. args.push(this.OwnerHistory);
  51397. ;
  51398. args.push(this.Name);
  51399. ;
  51400. args.push(this.Description);
  51401. ;
  51402. args.push(this.ObjectType);
  51403. ;
  51404. args.push(this.ObjectPlacement);
  51405. ;
  51406. args.push(this.Representation);
  51407. ;
  51408. args.push(this.Tag);
  51409. ;
  51410. return args;
  51411. }
  51412. };
  51413. var IfcVirtualGridIntersection = class {
  51414. constructor(expressID, type, IntersectingAxes, OffsetDistances) {
  51415. this.expressID = expressID;
  51416. this.type = type;
  51417. this.IntersectingAxes = IntersectingAxes;
  51418. this.OffsetDistances = OffsetDistances;
  51419. }
  51420. static FromTape(expressID, type, tape) {
  51421. let ptr = 0;
  51422. let IntersectingAxes = tape[ptr++];
  51423. let OffsetDistances = tape[ptr++];
  51424. return new IfcVirtualGridIntersection(expressID, type, IntersectingAxes, OffsetDistances);
  51425. }
  51426. ToTape() {
  51427. let args = [];
  51428. args.push(this.IntersectingAxes);
  51429. ;
  51430. args.push(this.OffsetDistances);
  51431. ;
  51432. return args;
  51433. }
  51434. };
  51435. var IfcVoidingFeature = class {
  51436. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  51437. this.expressID = expressID;
  51438. this.type = type;
  51439. this.GlobalId = GlobalId;
  51440. this.OwnerHistory = OwnerHistory;
  51441. this.Name = Name;
  51442. this.Description = Description;
  51443. this.ObjectType = ObjectType;
  51444. this.ObjectPlacement = ObjectPlacement;
  51445. this.Representation = Representation;
  51446. this.Tag = Tag;
  51447. this.PredefinedType = PredefinedType;
  51448. }
  51449. static FromTape(expressID, type, tape) {
  51450. let ptr = 0;
  51451. let GlobalId = tape[ptr++];
  51452. let OwnerHistory = tape[ptr++];
  51453. let Name = tape[ptr++];
  51454. let Description = tape[ptr++];
  51455. let ObjectType = tape[ptr++];
  51456. let ObjectPlacement = tape[ptr++];
  51457. let Representation = tape[ptr++];
  51458. let Tag = tape[ptr++];
  51459. let PredefinedType = tape[ptr++];
  51460. return new IfcVoidingFeature(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  51461. }
  51462. ToTape() {
  51463. let args = [];
  51464. args.push(this.GlobalId);
  51465. ;
  51466. args.push(this.OwnerHistory);
  51467. ;
  51468. args.push(this.Name);
  51469. ;
  51470. args.push(this.Description);
  51471. ;
  51472. args.push(this.ObjectType);
  51473. ;
  51474. args.push(this.ObjectPlacement);
  51475. ;
  51476. args.push(this.Representation);
  51477. ;
  51478. args.push(this.Tag);
  51479. ;
  51480. args.push(this.PredefinedType);
  51481. ;
  51482. return args;
  51483. }
  51484. };
  51485. var IfcWall = class {
  51486. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  51487. this.expressID = expressID;
  51488. this.type = type;
  51489. this.GlobalId = GlobalId;
  51490. this.OwnerHistory = OwnerHistory;
  51491. this.Name = Name;
  51492. this.Description = Description;
  51493. this.ObjectType = ObjectType;
  51494. this.ObjectPlacement = ObjectPlacement;
  51495. this.Representation = Representation;
  51496. this.Tag = Tag;
  51497. this.PredefinedType = PredefinedType;
  51498. }
  51499. static FromTape(expressID, type, tape) {
  51500. let ptr = 0;
  51501. let GlobalId = tape[ptr++];
  51502. let OwnerHistory = tape[ptr++];
  51503. let Name = tape[ptr++];
  51504. let Description = tape[ptr++];
  51505. let ObjectType = tape[ptr++];
  51506. let ObjectPlacement = tape[ptr++];
  51507. let Representation = tape[ptr++];
  51508. let Tag = tape[ptr++];
  51509. let PredefinedType = tape[ptr++];
  51510. return new IfcWall(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  51511. }
  51512. ToTape() {
  51513. let args = [];
  51514. args.push(this.GlobalId);
  51515. ;
  51516. args.push(this.OwnerHistory);
  51517. ;
  51518. args.push(this.Name);
  51519. ;
  51520. args.push(this.Description);
  51521. ;
  51522. args.push(this.ObjectType);
  51523. ;
  51524. args.push(this.ObjectPlacement);
  51525. ;
  51526. args.push(this.Representation);
  51527. ;
  51528. args.push(this.Tag);
  51529. ;
  51530. args.push(this.PredefinedType);
  51531. ;
  51532. return args;
  51533. }
  51534. };
  51535. var IfcWallElementedCase = class {
  51536. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  51537. this.expressID = expressID;
  51538. this.type = type;
  51539. this.GlobalId = GlobalId;
  51540. this.OwnerHistory = OwnerHistory;
  51541. this.Name = Name;
  51542. this.Description = Description;
  51543. this.ObjectType = ObjectType;
  51544. this.ObjectPlacement = ObjectPlacement;
  51545. this.Representation = Representation;
  51546. this.Tag = Tag;
  51547. this.PredefinedType = PredefinedType;
  51548. }
  51549. static FromTape(expressID, type, tape) {
  51550. let ptr = 0;
  51551. let GlobalId = tape[ptr++];
  51552. let OwnerHistory = tape[ptr++];
  51553. let Name = tape[ptr++];
  51554. let Description = tape[ptr++];
  51555. let ObjectType = tape[ptr++];
  51556. let ObjectPlacement = tape[ptr++];
  51557. let Representation = tape[ptr++];
  51558. let Tag = tape[ptr++];
  51559. let PredefinedType = tape[ptr++];
  51560. return new IfcWallElementedCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  51561. }
  51562. ToTape() {
  51563. let args = [];
  51564. args.push(this.GlobalId);
  51565. ;
  51566. args.push(this.OwnerHistory);
  51567. ;
  51568. args.push(this.Name);
  51569. ;
  51570. args.push(this.Description);
  51571. ;
  51572. args.push(this.ObjectType);
  51573. ;
  51574. args.push(this.ObjectPlacement);
  51575. ;
  51576. args.push(this.Representation);
  51577. ;
  51578. args.push(this.Tag);
  51579. ;
  51580. args.push(this.PredefinedType);
  51581. ;
  51582. return args;
  51583. }
  51584. };
  51585. var IfcWallStandardCase = class {
  51586. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  51587. this.expressID = expressID;
  51588. this.type = type;
  51589. this.GlobalId = GlobalId;
  51590. this.OwnerHistory = OwnerHistory;
  51591. this.Name = Name;
  51592. this.Description = Description;
  51593. this.ObjectType = ObjectType;
  51594. this.ObjectPlacement = ObjectPlacement;
  51595. this.Representation = Representation;
  51596. this.Tag = Tag;
  51597. this.PredefinedType = PredefinedType;
  51598. }
  51599. static FromTape(expressID, type, tape) {
  51600. let ptr = 0;
  51601. let GlobalId = tape[ptr++];
  51602. let OwnerHistory = tape[ptr++];
  51603. let Name = tape[ptr++];
  51604. let Description = tape[ptr++];
  51605. let ObjectType = tape[ptr++];
  51606. let ObjectPlacement = tape[ptr++];
  51607. let Representation = tape[ptr++];
  51608. let Tag = tape[ptr++];
  51609. let PredefinedType = tape[ptr++];
  51610. return new IfcWallStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  51611. }
  51612. ToTape() {
  51613. let args = [];
  51614. args.push(this.GlobalId);
  51615. ;
  51616. args.push(this.OwnerHistory);
  51617. ;
  51618. args.push(this.Name);
  51619. ;
  51620. args.push(this.Description);
  51621. ;
  51622. args.push(this.ObjectType);
  51623. ;
  51624. args.push(this.ObjectPlacement);
  51625. ;
  51626. args.push(this.Representation);
  51627. ;
  51628. args.push(this.Tag);
  51629. ;
  51630. args.push(this.PredefinedType);
  51631. ;
  51632. return args;
  51633. }
  51634. };
  51635. var IfcWallType = class {
  51636. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  51637. this.expressID = expressID;
  51638. this.type = type;
  51639. this.GlobalId = GlobalId;
  51640. this.OwnerHistory = OwnerHistory;
  51641. this.Name = Name;
  51642. this.Description = Description;
  51643. this.ApplicableOccurrence = ApplicableOccurrence;
  51644. this.HasPropertySets = HasPropertySets;
  51645. this.RepresentationMaps = RepresentationMaps;
  51646. this.Tag = Tag;
  51647. this.ElementType = ElementType;
  51648. this.PredefinedType = PredefinedType;
  51649. }
  51650. static FromTape(expressID, type, tape) {
  51651. let ptr = 0;
  51652. let GlobalId = tape[ptr++];
  51653. let OwnerHistory = tape[ptr++];
  51654. let Name = tape[ptr++];
  51655. let Description = tape[ptr++];
  51656. let ApplicableOccurrence = tape[ptr++];
  51657. let HasPropertySets = tape[ptr++];
  51658. let RepresentationMaps = tape[ptr++];
  51659. let Tag = tape[ptr++];
  51660. let ElementType = tape[ptr++];
  51661. let PredefinedType = tape[ptr++];
  51662. return new IfcWallType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  51663. }
  51664. ToTape() {
  51665. let args = [];
  51666. args.push(this.GlobalId);
  51667. ;
  51668. args.push(this.OwnerHistory);
  51669. ;
  51670. args.push(this.Name);
  51671. ;
  51672. args.push(this.Description);
  51673. ;
  51674. args.push(this.ApplicableOccurrence);
  51675. ;
  51676. args.push(this.HasPropertySets);
  51677. ;
  51678. args.push(this.RepresentationMaps);
  51679. ;
  51680. args.push(this.Tag);
  51681. ;
  51682. args.push(this.ElementType);
  51683. ;
  51684. args.push(this.PredefinedType);
  51685. ;
  51686. return args;
  51687. }
  51688. };
  51689. var IfcWasteTerminal = class {
  51690. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType) {
  51691. this.expressID = expressID;
  51692. this.type = type;
  51693. this.GlobalId = GlobalId;
  51694. this.OwnerHistory = OwnerHistory;
  51695. this.Name = Name;
  51696. this.Description = Description;
  51697. this.ObjectType = ObjectType;
  51698. this.ObjectPlacement = ObjectPlacement;
  51699. this.Representation = Representation;
  51700. this.Tag = Tag;
  51701. this.PredefinedType = PredefinedType;
  51702. }
  51703. static FromTape(expressID, type, tape) {
  51704. let ptr = 0;
  51705. let GlobalId = tape[ptr++];
  51706. let OwnerHistory = tape[ptr++];
  51707. let Name = tape[ptr++];
  51708. let Description = tape[ptr++];
  51709. let ObjectType = tape[ptr++];
  51710. let ObjectPlacement = tape[ptr++];
  51711. let Representation = tape[ptr++];
  51712. let Tag = tape[ptr++];
  51713. let PredefinedType = tape[ptr++];
  51714. return new IfcWasteTerminal(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, PredefinedType);
  51715. }
  51716. ToTape() {
  51717. let args = [];
  51718. args.push(this.GlobalId);
  51719. ;
  51720. args.push(this.OwnerHistory);
  51721. ;
  51722. args.push(this.Name);
  51723. ;
  51724. args.push(this.Description);
  51725. ;
  51726. args.push(this.ObjectType);
  51727. ;
  51728. args.push(this.ObjectPlacement);
  51729. ;
  51730. args.push(this.Representation);
  51731. ;
  51732. args.push(this.Tag);
  51733. ;
  51734. args.push(this.PredefinedType);
  51735. ;
  51736. return args;
  51737. }
  51738. };
  51739. var IfcWasteTerminalType = class {
  51740. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType) {
  51741. this.expressID = expressID;
  51742. this.type = type;
  51743. this.GlobalId = GlobalId;
  51744. this.OwnerHistory = OwnerHistory;
  51745. this.Name = Name;
  51746. this.Description = Description;
  51747. this.ApplicableOccurrence = ApplicableOccurrence;
  51748. this.HasPropertySets = HasPropertySets;
  51749. this.RepresentationMaps = RepresentationMaps;
  51750. this.Tag = Tag;
  51751. this.ElementType = ElementType;
  51752. this.PredefinedType = PredefinedType;
  51753. }
  51754. static FromTape(expressID, type, tape) {
  51755. let ptr = 0;
  51756. let GlobalId = tape[ptr++];
  51757. let OwnerHistory = tape[ptr++];
  51758. let Name = tape[ptr++];
  51759. let Description = tape[ptr++];
  51760. let ApplicableOccurrence = tape[ptr++];
  51761. let HasPropertySets = tape[ptr++];
  51762. let RepresentationMaps = tape[ptr++];
  51763. let Tag = tape[ptr++];
  51764. let ElementType = tape[ptr++];
  51765. let PredefinedType = tape[ptr++];
  51766. return new IfcWasteTerminalType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType);
  51767. }
  51768. ToTape() {
  51769. let args = [];
  51770. args.push(this.GlobalId);
  51771. ;
  51772. args.push(this.OwnerHistory);
  51773. ;
  51774. args.push(this.Name);
  51775. ;
  51776. args.push(this.Description);
  51777. ;
  51778. args.push(this.ApplicableOccurrence);
  51779. ;
  51780. args.push(this.HasPropertySets);
  51781. ;
  51782. args.push(this.RepresentationMaps);
  51783. ;
  51784. args.push(this.Tag);
  51785. ;
  51786. args.push(this.ElementType);
  51787. ;
  51788. args.push(this.PredefinedType);
  51789. ;
  51790. return args;
  51791. }
  51792. };
  51793. var IfcWindow = class {
  51794. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, OverallHeight, OverallWidth, PredefinedType, PartitioningType, UserDefinedPartitioningType) {
  51795. this.expressID = expressID;
  51796. this.type = type;
  51797. this.GlobalId = GlobalId;
  51798. this.OwnerHistory = OwnerHistory;
  51799. this.Name = Name;
  51800. this.Description = Description;
  51801. this.ObjectType = ObjectType;
  51802. this.ObjectPlacement = ObjectPlacement;
  51803. this.Representation = Representation;
  51804. this.Tag = Tag;
  51805. this.OverallHeight = OverallHeight;
  51806. this.OverallWidth = OverallWidth;
  51807. this.PredefinedType = PredefinedType;
  51808. this.PartitioningType = PartitioningType;
  51809. this.UserDefinedPartitioningType = UserDefinedPartitioningType;
  51810. }
  51811. static FromTape(expressID, type, tape) {
  51812. let ptr = 0;
  51813. let GlobalId = tape[ptr++];
  51814. let OwnerHistory = tape[ptr++];
  51815. let Name = tape[ptr++];
  51816. let Description = tape[ptr++];
  51817. let ObjectType = tape[ptr++];
  51818. let ObjectPlacement = tape[ptr++];
  51819. let Representation = tape[ptr++];
  51820. let Tag = tape[ptr++];
  51821. let OverallHeight = tape[ptr++];
  51822. let OverallWidth = tape[ptr++];
  51823. let PredefinedType = tape[ptr++];
  51824. let PartitioningType = tape[ptr++];
  51825. let UserDefinedPartitioningType = tape[ptr++];
  51826. return new IfcWindow(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, OverallHeight, OverallWidth, PredefinedType, PartitioningType, UserDefinedPartitioningType);
  51827. }
  51828. ToTape() {
  51829. let args = [];
  51830. args.push(this.GlobalId);
  51831. ;
  51832. args.push(this.OwnerHistory);
  51833. ;
  51834. args.push(this.Name);
  51835. ;
  51836. args.push(this.Description);
  51837. ;
  51838. args.push(this.ObjectType);
  51839. ;
  51840. args.push(this.ObjectPlacement);
  51841. ;
  51842. args.push(this.Representation);
  51843. ;
  51844. args.push(this.Tag);
  51845. ;
  51846. args.push(this.OverallHeight);
  51847. ;
  51848. args.push(this.OverallWidth);
  51849. ;
  51850. args.push(this.PredefinedType);
  51851. ;
  51852. args.push(this.PartitioningType);
  51853. ;
  51854. args.push(this.UserDefinedPartitioningType);
  51855. ;
  51856. return args;
  51857. }
  51858. };
  51859. var IfcWindowLiningProperties = class {
  51860. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, LiningDepth, LiningThickness, TransomThickness, MullionThickness, FirstTransomOffset, SecondTransomOffset, FirstMullionOffset, SecondMullionOffset, ShapeAspectStyle, LiningOffset, LiningToPanelOffsetX, LiningToPanelOffsetY) {
  51861. this.expressID = expressID;
  51862. this.type = type;
  51863. this.GlobalId = GlobalId;
  51864. this.OwnerHistory = OwnerHistory;
  51865. this.Name = Name;
  51866. this.Description = Description;
  51867. this.LiningDepth = LiningDepth;
  51868. this.LiningThickness = LiningThickness;
  51869. this.TransomThickness = TransomThickness;
  51870. this.MullionThickness = MullionThickness;
  51871. this.FirstTransomOffset = FirstTransomOffset;
  51872. this.SecondTransomOffset = SecondTransomOffset;
  51873. this.FirstMullionOffset = FirstMullionOffset;
  51874. this.SecondMullionOffset = SecondMullionOffset;
  51875. this.ShapeAspectStyle = ShapeAspectStyle;
  51876. this.LiningOffset = LiningOffset;
  51877. this.LiningToPanelOffsetX = LiningToPanelOffsetX;
  51878. this.LiningToPanelOffsetY = LiningToPanelOffsetY;
  51879. }
  51880. static FromTape(expressID, type, tape) {
  51881. let ptr = 0;
  51882. let GlobalId = tape[ptr++];
  51883. let OwnerHistory = tape[ptr++];
  51884. let Name = tape[ptr++];
  51885. let Description = tape[ptr++];
  51886. let LiningDepth = tape[ptr++];
  51887. let LiningThickness = tape[ptr++];
  51888. let TransomThickness = tape[ptr++];
  51889. let MullionThickness = tape[ptr++];
  51890. let FirstTransomOffset = tape[ptr++];
  51891. let SecondTransomOffset = tape[ptr++];
  51892. let FirstMullionOffset = tape[ptr++];
  51893. let SecondMullionOffset = tape[ptr++];
  51894. let ShapeAspectStyle = tape[ptr++];
  51895. let LiningOffset = tape[ptr++];
  51896. let LiningToPanelOffsetX = tape[ptr++];
  51897. let LiningToPanelOffsetY = tape[ptr++];
  51898. return new IfcWindowLiningProperties(expressID, type, GlobalId, OwnerHistory, Name, Description, LiningDepth, LiningThickness, TransomThickness, MullionThickness, FirstTransomOffset, SecondTransomOffset, FirstMullionOffset, SecondMullionOffset, ShapeAspectStyle, LiningOffset, LiningToPanelOffsetX, LiningToPanelOffsetY);
  51899. }
  51900. ToTape() {
  51901. let args = [];
  51902. args.push(this.GlobalId);
  51903. ;
  51904. args.push(this.OwnerHistory);
  51905. ;
  51906. args.push(this.Name);
  51907. ;
  51908. args.push(this.Description);
  51909. ;
  51910. args.push(this.LiningDepth);
  51911. ;
  51912. args.push(this.LiningThickness);
  51913. ;
  51914. args.push(this.TransomThickness);
  51915. ;
  51916. args.push(this.MullionThickness);
  51917. ;
  51918. args.push(this.FirstTransomOffset);
  51919. ;
  51920. args.push(this.SecondTransomOffset);
  51921. ;
  51922. args.push(this.FirstMullionOffset);
  51923. ;
  51924. args.push(this.SecondMullionOffset);
  51925. ;
  51926. args.push(this.ShapeAspectStyle);
  51927. ;
  51928. args.push(this.LiningOffset);
  51929. ;
  51930. args.push(this.LiningToPanelOffsetX);
  51931. ;
  51932. args.push(this.LiningToPanelOffsetY);
  51933. ;
  51934. return args;
  51935. }
  51936. };
  51937. var IfcWindowPanelProperties = class {
  51938. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, OperationType, PanelPosition, FrameDepth, FrameThickness, ShapeAspectStyle) {
  51939. this.expressID = expressID;
  51940. this.type = type;
  51941. this.GlobalId = GlobalId;
  51942. this.OwnerHistory = OwnerHistory;
  51943. this.Name = Name;
  51944. this.Description = Description;
  51945. this.OperationType = OperationType;
  51946. this.PanelPosition = PanelPosition;
  51947. this.FrameDepth = FrameDepth;
  51948. this.FrameThickness = FrameThickness;
  51949. this.ShapeAspectStyle = ShapeAspectStyle;
  51950. }
  51951. static FromTape(expressID, type, tape) {
  51952. let ptr = 0;
  51953. let GlobalId = tape[ptr++];
  51954. let OwnerHistory = tape[ptr++];
  51955. let Name = tape[ptr++];
  51956. let Description = tape[ptr++];
  51957. let OperationType = tape[ptr++];
  51958. let PanelPosition = tape[ptr++];
  51959. let FrameDepth = tape[ptr++];
  51960. let FrameThickness = tape[ptr++];
  51961. let ShapeAspectStyle = tape[ptr++];
  51962. return new IfcWindowPanelProperties(expressID, type, GlobalId, OwnerHistory, Name, Description, OperationType, PanelPosition, FrameDepth, FrameThickness, ShapeAspectStyle);
  51963. }
  51964. ToTape() {
  51965. let args = [];
  51966. args.push(this.GlobalId);
  51967. ;
  51968. args.push(this.OwnerHistory);
  51969. ;
  51970. args.push(this.Name);
  51971. ;
  51972. args.push(this.Description);
  51973. ;
  51974. args.push(this.OperationType);
  51975. ;
  51976. args.push(this.PanelPosition);
  51977. ;
  51978. args.push(this.FrameDepth);
  51979. ;
  51980. args.push(this.FrameThickness);
  51981. ;
  51982. args.push(this.ShapeAspectStyle);
  51983. ;
  51984. return args;
  51985. }
  51986. };
  51987. var IfcWindowStandardCase = class {
  51988. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, OverallHeight, OverallWidth, PredefinedType, PartitioningType, UserDefinedPartitioningType) {
  51989. this.expressID = expressID;
  51990. this.type = type;
  51991. this.GlobalId = GlobalId;
  51992. this.OwnerHistory = OwnerHistory;
  51993. this.Name = Name;
  51994. this.Description = Description;
  51995. this.ObjectType = ObjectType;
  51996. this.ObjectPlacement = ObjectPlacement;
  51997. this.Representation = Representation;
  51998. this.Tag = Tag;
  51999. this.OverallHeight = OverallHeight;
  52000. this.OverallWidth = OverallWidth;
  52001. this.PredefinedType = PredefinedType;
  52002. this.PartitioningType = PartitioningType;
  52003. this.UserDefinedPartitioningType = UserDefinedPartitioningType;
  52004. }
  52005. static FromTape(expressID, type, tape) {
  52006. let ptr = 0;
  52007. let GlobalId = tape[ptr++];
  52008. let OwnerHistory = tape[ptr++];
  52009. let Name = tape[ptr++];
  52010. let Description = tape[ptr++];
  52011. let ObjectType = tape[ptr++];
  52012. let ObjectPlacement = tape[ptr++];
  52013. let Representation = tape[ptr++];
  52014. let Tag = tape[ptr++];
  52015. let OverallHeight = tape[ptr++];
  52016. let OverallWidth = tape[ptr++];
  52017. let PredefinedType = tape[ptr++];
  52018. let PartitioningType = tape[ptr++];
  52019. let UserDefinedPartitioningType = tape[ptr++];
  52020. return new IfcWindowStandardCase(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, ObjectPlacement, Representation, Tag, OverallHeight, OverallWidth, PredefinedType, PartitioningType, UserDefinedPartitioningType);
  52021. }
  52022. ToTape() {
  52023. let args = [];
  52024. args.push(this.GlobalId);
  52025. ;
  52026. args.push(this.OwnerHistory);
  52027. ;
  52028. args.push(this.Name);
  52029. ;
  52030. args.push(this.Description);
  52031. ;
  52032. args.push(this.ObjectType);
  52033. ;
  52034. args.push(this.ObjectPlacement);
  52035. ;
  52036. args.push(this.Representation);
  52037. ;
  52038. args.push(this.Tag);
  52039. ;
  52040. args.push(this.OverallHeight);
  52041. ;
  52042. args.push(this.OverallWidth);
  52043. ;
  52044. args.push(this.PredefinedType);
  52045. ;
  52046. args.push(this.PartitioningType);
  52047. ;
  52048. args.push(this.UserDefinedPartitioningType);
  52049. ;
  52050. return args;
  52051. }
  52052. };
  52053. var IfcWindowStyle = class {
  52054. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ConstructionType, OperationType, ParameterTakesPrecedence, Sizeable) {
  52055. this.expressID = expressID;
  52056. this.type = type;
  52057. this.GlobalId = GlobalId;
  52058. this.OwnerHistory = OwnerHistory;
  52059. this.Name = Name;
  52060. this.Description = Description;
  52061. this.ApplicableOccurrence = ApplicableOccurrence;
  52062. this.HasPropertySets = HasPropertySets;
  52063. this.RepresentationMaps = RepresentationMaps;
  52064. this.Tag = Tag;
  52065. this.ConstructionType = ConstructionType;
  52066. this.OperationType = OperationType;
  52067. this.ParameterTakesPrecedence = ParameterTakesPrecedence;
  52068. this.Sizeable = Sizeable;
  52069. }
  52070. static FromTape(expressID, type, tape) {
  52071. let ptr = 0;
  52072. let GlobalId = tape[ptr++];
  52073. let OwnerHistory = tape[ptr++];
  52074. let Name = tape[ptr++];
  52075. let Description = tape[ptr++];
  52076. let ApplicableOccurrence = tape[ptr++];
  52077. let HasPropertySets = tape[ptr++];
  52078. let RepresentationMaps = tape[ptr++];
  52079. let Tag = tape[ptr++];
  52080. let ConstructionType = tape[ptr++];
  52081. let OperationType = tape[ptr++];
  52082. let ParameterTakesPrecedence = tape[ptr++];
  52083. let Sizeable = tape[ptr++];
  52084. return new IfcWindowStyle(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ConstructionType, OperationType, ParameterTakesPrecedence, Sizeable);
  52085. }
  52086. ToTape() {
  52087. let args = [];
  52088. args.push(this.GlobalId);
  52089. ;
  52090. args.push(this.OwnerHistory);
  52091. ;
  52092. args.push(this.Name);
  52093. ;
  52094. args.push(this.Description);
  52095. ;
  52096. args.push(this.ApplicableOccurrence);
  52097. ;
  52098. args.push(this.HasPropertySets);
  52099. ;
  52100. args.push(this.RepresentationMaps);
  52101. ;
  52102. args.push(this.Tag);
  52103. ;
  52104. args.push(this.ConstructionType);
  52105. ;
  52106. args.push(this.OperationType);
  52107. ;
  52108. args.push(this.ParameterTakesPrecedence);
  52109. ;
  52110. args.push(this.Sizeable);
  52111. ;
  52112. return args;
  52113. }
  52114. };
  52115. var IfcWindowType = class {
  52116. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, PartitioningType, ParameterTakesPrecedence, UserDefinedPartitioningType) {
  52117. this.expressID = expressID;
  52118. this.type = type;
  52119. this.GlobalId = GlobalId;
  52120. this.OwnerHistory = OwnerHistory;
  52121. this.Name = Name;
  52122. this.Description = Description;
  52123. this.ApplicableOccurrence = ApplicableOccurrence;
  52124. this.HasPropertySets = HasPropertySets;
  52125. this.RepresentationMaps = RepresentationMaps;
  52126. this.Tag = Tag;
  52127. this.ElementType = ElementType;
  52128. this.PredefinedType = PredefinedType;
  52129. this.PartitioningType = PartitioningType;
  52130. this.ParameterTakesPrecedence = ParameterTakesPrecedence;
  52131. this.UserDefinedPartitioningType = UserDefinedPartitioningType;
  52132. }
  52133. static FromTape(expressID, type, tape) {
  52134. let ptr = 0;
  52135. let GlobalId = tape[ptr++];
  52136. let OwnerHistory = tape[ptr++];
  52137. let Name = tape[ptr++];
  52138. let Description = tape[ptr++];
  52139. let ApplicableOccurrence = tape[ptr++];
  52140. let HasPropertySets = tape[ptr++];
  52141. let RepresentationMaps = tape[ptr++];
  52142. let Tag = tape[ptr++];
  52143. let ElementType = tape[ptr++];
  52144. let PredefinedType = tape[ptr++];
  52145. let PartitioningType = tape[ptr++];
  52146. let ParameterTakesPrecedence = tape[ptr++];
  52147. let UserDefinedPartitioningType = tape[ptr++];
  52148. return new IfcWindowType(expressID, type, GlobalId, OwnerHistory, Name, Description, ApplicableOccurrence, HasPropertySets, RepresentationMaps, Tag, ElementType, PredefinedType, PartitioningType, ParameterTakesPrecedence, UserDefinedPartitioningType);
  52149. }
  52150. ToTape() {
  52151. let args = [];
  52152. args.push(this.GlobalId);
  52153. ;
  52154. args.push(this.OwnerHistory);
  52155. ;
  52156. args.push(this.Name);
  52157. ;
  52158. args.push(this.Description);
  52159. ;
  52160. args.push(this.ApplicableOccurrence);
  52161. ;
  52162. args.push(this.HasPropertySets);
  52163. ;
  52164. args.push(this.RepresentationMaps);
  52165. ;
  52166. args.push(this.Tag);
  52167. ;
  52168. args.push(this.ElementType);
  52169. ;
  52170. args.push(this.PredefinedType);
  52171. ;
  52172. args.push(this.PartitioningType);
  52173. ;
  52174. args.push(this.ParameterTakesPrecedence);
  52175. ;
  52176. args.push(this.UserDefinedPartitioningType);
  52177. ;
  52178. return args;
  52179. }
  52180. };
  52181. var IfcWorkCalendar = class {
  52182. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, WorkingTimes, ExceptionTimes, PredefinedType) {
  52183. this.expressID = expressID;
  52184. this.type = type;
  52185. this.GlobalId = GlobalId;
  52186. this.OwnerHistory = OwnerHistory;
  52187. this.Name = Name;
  52188. this.Description = Description;
  52189. this.ObjectType = ObjectType;
  52190. this.Identification = Identification;
  52191. this.WorkingTimes = WorkingTimes;
  52192. this.ExceptionTimes = ExceptionTimes;
  52193. this.PredefinedType = PredefinedType;
  52194. }
  52195. static FromTape(expressID, type, tape) {
  52196. let ptr = 0;
  52197. let GlobalId = tape[ptr++];
  52198. let OwnerHistory = tape[ptr++];
  52199. let Name = tape[ptr++];
  52200. let Description = tape[ptr++];
  52201. let ObjectType = tape[ptr++];
  52202. let Identification = tape[ptr++];
  52203. let WorkingTimes = tape[ptr++];
  52204. let ExceptionTimes = tape[ptr++];
  52205. let PredefinedType = tape[ptr++];
  52206. return new IfcWorkCalendar(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, WorkingTimes, ExceptionTimes, PredefinedType);
  52207. }
  52208. ToTape() {
  52209. let args = [];
  52210. args.push(this.GlobalId);
  52211. ;
  52212. args.push(this.OwnerHistory);
  52213. ;
  52214. args.push(this.Name);
  52215. ;
  52216. args.push(this.Description);
  52217. ;
  52218. args.push(this.ObjectType);
  52219. ;
  52220. args.push(this.Identification);
  52221. ;
  52222. args.push(this.WorkingTimes);
  52223. ;
  52224. args.push(this.ExceptionTimes);
  52225. ;
  52226. args.push(this.PredefinedType);
  52227. ;
  52228. return args;
  52229. }
  52230. };
  52231. var IfcWorkControl = class {
  52232. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, CreationDate, Creators, Purpose, Duration, TotalFloat, StartTime, FinishTime) {
  52233. this.expressID = expressID;
  52234. this.type = type;
  52235. this.GlobalId = GlobalId;
  52236. this.OwnerHistory = OwnerHistory;
  52237. this.Name = Name;
  52238. this.Description = Description;
  52239. this.ObjectType = ObjectType;
  52240. this.Identification = Identification;
  52241. this.CreationDate = CreationDate;
  52242. this.Creators = Creators;
  52243. this.Purpose = Purpose;
  52244. this.Duration = Duration;
  52245. this.TotalFloat = TotalFloat;
  52246. this.StartTime = StartTime;
  52247. this.FinishTime = FinishTime;
  52248. }
  52249. static FromTape(expressID, type, tape) {
  52250. let ptr = 0;
  52251. let GlobalId = tape[ptr++];
  52252. let OwnerHistory = tape[ptr++];
  52253. let Name = tape[ptr++];
  52254. let Description = tape[ptr++];
  52255. let ObjectType = tape[ptr++];
  52256. let Identification = tape[ptr++];
  52257. let CreationDate = tape[ptr++];
  52258. let Creators = tape[ptr++];
  52259. let Purpose = tape[ptr++];
  52260. let Duration = tape[ptr++];
  52261. let TotalFloat = tape[ptr++];
  52262. let StartTime = tape[ptr++];
  52263. let FinishTime = tape[ptr++];
  52264. return new IfcWorkControl(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, CreationDate, Creators, Purpose, Duration, TotalFloat, StartTime, FinishTime);
  52265. }
  52266. ToTape() {
  52267. let args = [];
  52268. args.push(this.GlobalId);
  52269. ;
  52270. args.push(this.OwnerHistory);
  52271. ;
  52272. args.push(this.Name);
  52273. ;
  52274. args.push(this.Description);
  52275. ;
  52276. args.push(this.ObjectType);
  52277. ;
  52278. args.push(this.Identification);
  52279. ;
  52280. args.push(this.CreationDate);
  52281. ;
  52282. args.push(this.Creators);
  52283. ;
  52284. args.push(this.Purpose);
  52285. ;
  52286. args.push(this.Duration);
  52287. ;
  52288. args.push(this.TotalFloat);
  52289. ;
  52290. args.push(this.StartTime);
  52291. ;
  52292. args.push(this.FinishTime);
  52293. ;
  52294. return args;
  52295. }
  52296. };
  52297. var IfcWorkPlan = class {
  52298. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, CreationDate, Creators, Purpose, Duration, TotalFloat, StartTime, FinishTime, PredefinedType) {
  52299. this.expressID = expressID;
  52300. this.type = type;
  52301. this.GlobalId = GlobalId;
  52302. this.OwnerHistory = OwnerHistory;
  52303. this.Name = Name;
  52304. this.Description = Description;
  52305. this.ObjectType = ObjectType;
  52306. this.Identification = Identification;
  52307. this.CreationDate = CreationDate;
  52308. this.Creators = Creators;
  52309. this.Purpose = Purpose;
  52310. this.Duration = Duration;
  52311. this.TotalFloat = TotalFloat;
  52312. this.StartTime = StartTime;
  52313. this.FinishTime = FinishTime;
  52314. this.PredefinedType = PredefinedType;
  52315. }
  52316. static FromTape(expressID, type, tape) {
  52317. let ptr = 0;
  52318. let GlobalId = tape[ptr++];
  52319. let OwnerHistory = tape[ptr++];
  52320. let Name = tape[ptr++];
  52321. let Description = tape[ptr++];
  52322. let ObjectType = tape[ptr++];
  52323. let Identification = tape[ptr++];
  52324. let CreationDate = tape[ptr++];
  52325. let Creators = tape[ptr++];
  52326. let Purpose = tape[ptr++];
  52327. let Duration = tape[ptr++];
  52328. let TotalFloat = tape[ptr++];
  52329. let StartTime = tape[ptr++];
  52330. let FinishTime = tape[ptr++];
  52331. let PredefinedType = tape[ptr++];
  52332. return new IfcWorkPlan(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, CreationDate, Creators, Purpose, Duration, TotalFloat, StartTime, FinishTime, PredefinedType);
  52333. }
  52334. ToTape() {
  52335. let args = [];
  52336. args.push(this.GlobalId);
  52337. ;
  52338. args.push(this.OwnerHistory);
  52339. ;
  52340. args.push(this.Name);
  52341. ;
  52342. args.push(this.Description);
  52343. ;
  52344. args.push(this.ObjectType);
  52345. ;
  52346. args.push(this.Identification);
  52347. ;
  52348. args.push(this.CreationDate);
  52349. ;
  52350. args.push(this.Creators);
  52351. ;
  52352. args.push(this.Purpose);
  52353. ;
  52354. args.push(this.Duration);
  52355. ;
  52356. args.push(this.TotalFloat);
  52357. ;
  52358. args.push(this.StartTime);
  52359. ;
  52360. args.push(this.FinishTime);
  52361. ;
  52362. args.push(this.PredefinedType);
  52363. ;
  52364. return args;
  52365. }
  52366. };
  52367. var IfcWorkSchedule = class {
  52368. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, CreationDate, Creators, Purpose, Duration, TotalFloat, StartTime, FinishTime, PredefinedType) {
  52369. this.expressID = expressID;
  52370. this.type = type;
  52371. this.GlobalId = GlobalId;
  52372. this.OwnerHistory = OwnerHistory;
  52373. this.Name = Name;
  52374. this.Description = Description;
  52375. this.ObjectType = ObjectType;
  52376. this.Identification = Identification;
  52377. this.CreationDate = CreationDate;
  52378. this.Creators = Creators;
  52379. this.Purpose = Purpose;
  52380. this.Duration = Duration;
  52381. this.TotalFloat = TotalFloat;
  52382. this.StartTime = StartTime;
  52383. this.FinishTime = FinishTime;
  52384. this.PredefinedType = PredefinedType;
  52385. }
  52386. static FromTape(expressID, type, tape) {
  52387. let ptr = 0;
  52388. let GlobalId = tape[ptr++];
  52389. let OwnerHistory = tape[ptr++];
  52390. let Name = tape[ptr++];
  52391. let Description = tape[ptr++];
  52392. let ObjectType = tape[ptr++];
  52393. let Identification = tape[ptr++];
  52394. let CreationDate = tape[ptr++];
  52395. let Creators = tape[ptr++];
  52396. let Purpose = tape[ptr++];
  52397. let Duration = tape[ptr++];
  52398. let TotalFloat = tape[ptr++];
  52399. let StartTime = tape[ptr++];
  52400. let FinishTime = tape[ptr++];
  52401. let PredefinedType = tape[ptr++];
  52402. return new IfcWorkSchedule(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, Identification, CreationDate, Creators, Purpose, Duration, TotalFloat, StartTime, FinishTime, PredefinedType);
  52403. }
  52404. ToTape() {
  52405. let args = [];
  52406. args.push(this.GlobalId);
  52407. ;
  52408. args.push(this.OwnerHistory);
  52409. ;
  52410. args.push(this.Name);
  52411. ;
  52412. args.push(this.Description);
  52413. ;
  52414. args.push(this.ObjectType);
  52415. ;
  52416. args.push(this.Identification);
  52417. ;
  52418. args.push(this.CreationDate);
  52419. ;
  52420. args.push(this.Creators);
  52421. ;
  52422. args.push(this.Purpose);
  52423. ;
  52424. args.push(this.Duration);
  52425. ;
  52426. args.push(this.TotalFloat);
  52427. ;
  52428. args.push(this.StartTime);
  52429. ;
  52430. args.push(this.FinishTime);
  52431. ;
  52432. args.push(this.PredefinedType);
  52433. ;
  52434. return args;
  52435. }
  52436. };
  52437. var IfcWorkTime = class {
  52438. constructor(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, RecurrencePattern, Start, Finish) {
  52439. this.expressID = expressID;
  52440. this.type = type;
  52441. this.Name = Name;
  52442. this.DataOrigin = DataOrigin;
  52443. this.UserDefinedDataOrigin = UserDefinedDataOrigin;
  52444. this.RecurrencePattern = RecurrencePattern;
  52445. this.Start = Start;
  52446. this.Finish = Finish;
  52447. }
  52448. static FromTape(expressID, type, tape) {
  52449. let ptr = 0;
  52450. let Name = tape[ptr++];
  52451. let DataOrigin = tape[ptr++];
  52452. let UserDefinedDataOrigin = tape[ptr++];
  52453. let RecurrencePattern = tape[ptr++];
  52454. let Start = tape[ptr++];
  52455. let Finish = tape[ptr++];
  52456. return new IfcWorkTime(expressID, type, Name, DataOrigin, UserDefinedDataOrigin, RecurrencePattern, Start, Finish);
  52457. }
  52458. ToTape() {
  52459. let args = [];
  52460. args.push(this.Name);
  52461. ;
  52462. args.push(this.DataOrigin);
  52463. ;
  52464. args.push(this.UserDefinedDataOrigin);
  52465. ;
  52466. args.push(this.RecurrencePattern);
  52467. ;
  52468. args.push(this.Start);
  52469. ;
  52470. args.push(this.Finish);
  52471. ;
  52472. return args;
  52473. }
  52474. };
  52475. var IfcZShapeProfileDef = class {
  52476. constructor(expressID, type, ProfileType, ProfileName, Position, Depth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius, EdgeRadius) {
  52477. this.expressID = expressID;
  52478. this.type = type;
  52479. this.ProfileType = ProfileType;
  52480. this.ProfileName = ProfileName;
  52481. this.Position = Position;
  52482. this.Depth = Depth;
  52483. this.FlangeWidth = FlangeWidth;
  52484. this.WebThickness = WebThickness;
  52485. this.FlangeThickness = FlangeThickness;
  52486. this.FilletRadius = FilletRadius;
  52487. this.EdgeRadius = EdgeRadius;
  52488. }
  52489. static FromTape(expressID, type, tape) {
  52490. let ptr = 0;
  52491. let ProfileType = tape[ptr++];
  52492. let ProfileName = tape[ptr++];
  52493. let Position = tape[ptr++];
  52494. let Depth = tape[ptr++];
  52495. let FlangeWidth = tape[ptr++];
  52496. let WebThickness = tape[ptr++];
  52497. let FlangeThickness = tape[ptr++];
  52498. let FilletRadius = tape[ptr++];
  52499. let EdgeRadius = tape[ptr++];
  52500. return new IfcZShapeProfileDef(expressID, type, ProfileType, ProfileName, Position, Depth, FlangeWidth, WebThickness, FlangeThickness, FilletRadius, EdgeRadius);
  52501. }
  52502. ToTape() {
  52503. let args = [];
  52504. args.push(this.ProfileType);
  52505. ;
  52506. args.push(this.ProfileName);
  52507. ;
  52508. args.push(this.Position);
  52509. ;
  52510. args.push(this.Depth);
  52511. ;
  52512. args.push(this.FlangeWidth);
  52513. ;
  52514. args.push(this.WebThickness);
  52515. ;
  52516. args.push(this.FlangeThickness);
  52517. ;
  52518. args.push(this.FilletRadius);
  52519. ;
  52520. args.push(this.EdgeRadius);
  52521. ;
  52522. return args;
  52523. }
  52524. };
  52525. var IfcZone = class {
  52526. constructor(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName) {
  52527. this.expressID = expressID;
  52528. this.type = type;
  52529. this.GlobalId = GlobalId;
  52530. this.OwnerHistory = OwnerHistory;
  52531. this.Name = Name;
  52532. this.Description = Description;
  52533. this.ObjectType = ObjectType;
  52534. this.LongName = LongName;
  52535. }
  52536. static FromTape(expressID, type, tape) {
  52537. let ptr = 0;
  52538. let GlobalId = tape[ptr++];
  52539. let OwnerHistory = tape[ptr++];
  52540. let Name = tape[ptr++];
  52541. let Description = tape[ptr++];
  52542. let ObjectType = tape[ptr++];
  52543. let LongName = tape[ptr++];
  52544. return new IfcZone(expressID, type, GlobalId, OwnerHistory, Name, Description, ObjectType, LongName);
  52545. }
  52546. ToTape() {
  52547. let args = [];
  52548. args.push(this.GlobalId);
  52549. ;
  52550. args.push(this.OwnerHistory);
  52551. ;
  52552. args.push(this.Name);
  52553. ;
  52554. args.push(this.Description);
  52555. ;
  52556. args.push(this.ObjectType);
  52557. ;
  52558. args.push(this.LongName);
  52559. ;
  52560. return args;
  52561. }
  52562. };
  52563. // dist/helpers/ifc-elements.ts
  52564. var IfcElements2 = {
  52565. 103090709: "IFCPROJECT",
  52566. 4097777520: "IFCSITE",
  52567. 4031249490: "IFCBUILDING",
  52568. 3124254112: "IFCBUILDINGSTOREY",
  52569. 3856911033: "IFCSPACE",
  52570. 1674181508: "IFCANNOTATION",
  52571. 25142252: "IFCCONTROLLER",
  52572. 32344328: "IFCBOILER",
  52573. 76236018: "IFCLAMP",
  52574. 90941305: "IFCPUMP",
  52575. 177149247: "IFCAIRTERMINALBOX",
  52576. 182646315: "IFCFLOWINSTRUMENT",
  52577. 263784265: "IFCFURNISHINGELEMENT",
  52578. 264262732: "IFCELECTRICGENERATOR",
  52579. 277319702: "IFCAUDIOVISUALAPPLIANCE",
  52580. 310824031: "IFCPIPEFITTING",
  52581. 331165859: "IFCSTAIR",
  52582. 342316401: "IFCDUCTFITTING",
  52583. 377706215: "IFCMECHANICALFASTENER",
  52584. 395920057: "IFCDOOR",
  52585. 402227799: "IFCELECTRICMOTOR",
  52586. 413509423: "IFCSYSTEMFURNITUREELEMENT",
  52587. 484807127: "IFCEVAPORATOR",
  52588. 486154966: "IFCWINDOWSTANDARDCASE",
  52589. 629592764: "IFCLIGHTFIXTURE",
  52590. 630975310: "IFCUNITARYCONTROLELEMENT",
  52591. 635142910: "IFCCABLECARRIERFITTING",
  52592. 639361253: "IFCCOIL",
  52593. 647756555: "IFCFASTENER",
  52594. 707683696: "IFCFLOWSTORAGEDEVICE",
  52595. 738039164: "IFCPROTECTIVEDEVICE",
  52596. 753842376: "IFCBEAM",
  52597. 812556717: "IFCTANK",
  52598. 819412036: "IFCFILTER",
  52599. 843113511: "IFCCOLUMN",
  52600. 862014818: "IFCELECTRICDISTRIBUTIONBOARD",
  52601. 900683007: "IFCFOOTING",
  52602. 905975707: "IFCCOLUMNSTANDARDCASE",
  52603. 926996030: "IFCVOIDINGFEATURE",
  52604. 979691226: "IFCREINFORCINGBAR",
  52605. 987401354: "IFCFLOWSEGMENT",
  52606. 1003880860: "IFCELECTRICTIMECONTROL",
  52607. 1051757585: "IFCCABLEFITTING",
  52608. 1052013943: "IFCDISTRIBUTIONCHAMBERELEMENT",
  52609. 1062813311: "IFCDISTRIBUTIONCONTROLELEMENT",
  52610. 1073191201: "IFCMEMBER",
  52611. 1095909175: "IFCBUILDINGELEMENTPROXY",
  52612. 1156407060: "IFCPLATESTANDARDCASE",
  52613. 1162798199: "IFCSWITCHINGDEVICE",
  52614. 1329646415: "IFCSHADINGDEVICE",
  52615. 1335981549: "IFCDISCRETEACCESSORY",
  52616. 1360408905: "IFCDUCTSILENCER",
  52617. 1404847402: "IFCSTACKTERMINAL",
  52618. 1426591983: "IFCFIRESUPPRESSIONTERMINAL",
  52619. 1437502449: "IFCMEDICALDEVICE",
  52620. 1509553395: "IFCFURNITURE",
  52621. 1529196076: "IFCSLAB",
  52622. 1620046519: "IFCTRANSPORTELEMENT",
  52623. 1634111441: "IFCAIRTERMINAL",
  52624. 1658829314: "IFCENERGYCONVERSIONDEVICE",
  52625. 1677625105: "IFCCIVILELEMENT",
  52626. 1687234759: "IFCPILE",
  52627. 1904799276: "IFCELECTRICAPPLIANCE",
  52628. 1911478936: "IFCMEMBERSTANDARDCASE",
  52629. 1945004755: "IFCDISTRIBUTIONELEMENT",
  52630. 1973544240: "IFCCOVERING",
  52631. 1999602285: "IFCSPACEHEATER",
  52632. 2016517767: "IFCROOF",
  52633. 2056796094: "IFCAIRTOAIRHEATRECOVERY",
  52634. 2058353004: "IFCFLOWCONTROLLER",
  52635. 2068733104: "IFCHUMIDIFIER",
  52636. 2176052936: "IFCJUNCTIONBOX",
  52637. 2188021234: "IFCFLOWMETER",
  52638. 2223149337: "IFCFLOWTERMINAL",
  52639. 2262370178: "IFCRAILING",
  52640. 2272882330: "IFCCONDENSER",
  52641. 2295281155: "IFCPROTECTIVEDEVICETRIPPINGUNIT",
  52642. 2320036040: "IFCREINFORCINGMESH",
  52643. 2347447852: "IFCTENDONANCHOR",
  52644. 2391383451: "IFCVIBRATIONISOLATOR",
  52645. 2391406946: "IFCWALL",
  52646. 2474470126: "IFCMOTORCONNECTION",
  52647. 2769231204: "IFCVIRTUALELEMENT",
  52648. 2814081492: "IFCENGINE",
  52649. 2906023776: "IFCBEAMSTANDARDCASE",
  52650. 2938176219: "IFCBURNER",
  52651. 2979338954: "IFCBUILDINGELEMENTPART",
  52652. 3024970846: "IFCRAMP",
  52653. 3026737570: "IFCTUBEBUNDLE",
  52654. 3027962421: "IFCSLABSTANDARDCASE",
  52655. 3040386961: "IFCDISTRIBUTIONFLOWELEMENT",
  52656. 3053780830: "IFCSANITARYTERMINAL",
  52657. 3079942009: "IFCOPENINGSTANDARDCASE",
  52658. 3087945054: "IFCALARM",
  52659. 3101698114: "IFCSURFACEFEATURE",
  52660. 3127900445: "IFCSLABELEMENTEDCASE",
  52661. 3132237377: "IFCFLOWMOVINGDEVICE",
  52662. 3171933400: "IFCPLATE",
  52663. 3221913625: "IFCCOMMUNICATIONSAPPLIANCE",
  52664. 3242481149: "IFCDOORSTANDARDCASE",
  52665. 3283111854: "IFCRAMPFLIGHT",
  52666. 3296154744: "IFCCHIMNEY",
  52667. 3304561284: "IFCWINDOW",
  52668. 3310460725: "IFCELECTRICFLOWSTORAGEDEVICE",
  52669. 3319311131: "IFCHEATEXCHANGER",
  52670. 3415622556: "IFCFAN",
  52671. 3420628829: "IFCSOLARDEVICE",
  52672. 3493046030: "IFCGEOGRAPHICELEMENT",
  52673. 3495092785: "IFCCURTAINWALL",
  52674. 3508470533: "IFCFLOWTREATMENTDEVICE",
  52675. 3512223829: "IFCWALLSTANDARDCASE",
  52676. 3518393246: "IFCDUCTSEGMENT",
  52677. 3571504051: "IFCCOMPRESSOR",
  52678. 3588315303: "IFCOPENINGELEMENT",
  52679. 3612865200: "IFCPIPESEGMENT",
  52680. 3640358203: "IFCCOOLINGTOWER",
  52681. 3651124850: "IFCPROJECTIONELEMENT",
  52682. 3694346114: "IFCOUTLET",
  52683. 3747195512: "IFCEVAPORATIVECOOLER",
  52684. 3758799889: "IFCCABLECARRIERSEGMENT",
  52685. 3824725483: "IFCTENDON",
  52686. 3825984169: "IFCTRANSFORMER",
  52687. 3902619387: "IFCCHILLER",
  52688. 4074379575: "IFCDAMPER",
  52689. 4086658281: "IFCSENSOR",
  52690. 4123344466: "IFCELEMENTASSEMBLY",
  52691. 4136498852: "IFCCOOLEDBEAM",
  52692. 4156078855: "IFCWALLELEMENTEDCASE",
  52693. 4175244083: "IFCINTERCEPTOR",
  52694. 4207607924: "IFCVALVE",
  52695. 4217484030: "IFCCABLESEGMENT",
  52696. 4237592921: "IFCWASTETERMINAL",
  52697. 4252922144: "IFCSTAIRFLIGHT",
  52698. 4278956645: "IFCFLOWFITTING",
  52699. 4288193352: "IFCACTUATOR",
  52700. 4292641817: "IFCUNITARYEQUIPMENT",
  52701. 3009204131: "IFCGRID"
  52702. };
  52703. // dist/helpers/types-map.ts
  52704. var IfcTypesMap = {
  52705. 3821786052: "IFCACTIONREQUEST",
  52706. 2296667514: "IFCACTOR",
  52707. 3630933823: "IFCACTORROLE",
  52708. 4288193352: "IFCACTUATOR",
  52709. 2874132201: "IFCACTUATORTYPE",
  52710. 618182010: "IFCADDRESS",
  52711. 1635779807: "IFCADVANCEDBREP",
  52712. 2603310189: "IFCADVANCEDBREPWITHVOIDS",
  52713. 3406155212: "IFCADVANCEDFACE",
  52714. 1634111441: "IFCAIRTERMINAL",
  52715. 177149247: "IFCAIRTERMINALBOX",
  52716. 1411407467: "IFCAIRTERMINALBOXTYPE",
  52717. 3352864051: "IFCAIRTERMINALTYPE",
  52718. 2056796094: "IFCAIRTOAIRHEATRECOVERY",
  52719. 1871374353: "IFCAIRTOAIRHEATRECOVERYTYPE",
  52720. 3087945054: "IFCALARM",
  52721. 3001207471: "IFCALARMTYPE",
  52722. 325726236: "IFCALIGNMENT",
  52723. 749761778: "IFCALIGNMENT2DHORIZONTAL",
  52724. 3199563722: "IFCALIGNMENT2DHORIZONTALSEGMENT",
  52725. 2483840362: "IFCALIGNMENT2DSEGMENT",
  52726. 3379348081: "IFCALIGNMENT2DVERSEGCIRCULARARC",
  52727. 3239324667: "IFCALIGNMENT2DVERSEGLINE",
  52728. 4263986512: "IFCALIGNMENT2DVERSEGPARABOLICARC",
  52729. 53199957: "IFCALIGNMENT2DVERTICAL",
  52730. 2029264950: "IFCALIGNMENT2DVERTICALSEGMENT",
  52731. 3512275521: "IFCALIGNMENTCURVE",
  52732. 1674181508: "IFCANNOTATION",
  52733. 669184980: "IFCANNOTATIONFILLAREA",
  52734. 639542469: "IFCAPPLICATION",
  52735. 411424972: "IFCAPPLIEDVALUE",
  52736. 130549933: "IFCAPPROVAL",
  52737. 3869604511: "IFCAPPROVALRELATIONSHIP",
  52738. 3798115385: "IFCARBITRARYCLOSEDPROFILEDEF",
  52739. 1310608509: "IFCARBITRARYOPENPROFILEDEF",
  52740. 2705031697: "IFCARBITRARYPROFILEDEFWITHVOIDS",
  52741. 3460190687: "IFCASSET",
  52742. 3207858831: "IFCASYMMETRICISHAPEPROFILEDEF",
  52743. 277319702: "IFCAUDIOVISUALAPPLIANCE",
  52744. 1532957894: "IFCAUDIOVISUALAPPLIANCETYPE",
  52745. 4261334040: "IFCAXIS1PLACEMENT",
  52746. 3125803723: "IFCAXIS2PLACEMENT2D",
  52747. 2740243338: "IFCAXIS2PLACEMENT3D",
  52748. 1967976161: "IFCBSPLINECURVE",
  52749. 2461110595: "IFCBSPLINECURVEWITHKNOTS",
  52750. 2887950389: "IFCBSPLINESURFACE",
  52751. 167062518: "IFCBSPLINESURFACEWITHKNOTS",
  52752. 753842376: "IFCBEAM",
  52753. 2906023776: "IFCBEAMSTANDARDCASE",
  52754. 819618141: "IFCBEAMTYPE",
  52755. 4196446775: "IFCBEARING",
  52756. 3649138523: "IFCBEARINGTYPE",
  52757. 616511568: "IFCBLOBTEXTURE",
  52758. 1334484129: "IFCBLOCK",
  52759. 32344328: "IFCBOILER",
  52760. 231477066: "IFCBOILERTYPE",
  52761. 3649129432: "IFCBOOLEANCLIPPINGRESULT",
  52762. 2736907675: "IFCBOOLEANRESULT",
  52763. 4037036970: "IFCBOUNDARYCONDITION",
  52764. 1136057603: "IFCBOUNDARYCURVE",
  52765. 1560379544: "IFCBOUNDARYEDGECONDITION",
  52766. 3367102660: "IFCBOUNDARYFACECONDITION",
  52767. 1387855156: "IFCBOUNDARYNODECONDITION",
  52768. 2069777674: "IFCBOUNDARYNODECONDITIONWARPING",
  52769. 1260505505: "IFCBOUNDEDCURVE",
  52770. 4182860854: "IFCBOUNDEDSURFACE",
  52771. 2581212453: "IFCBOUNDINGBOX",
  52772. 2713105998: "IFCBOXEDHALFSPACE",
  52773. 644574406: "IFCBRIDGE",
  52774. 963979645: "IFCBRIDGEPART",
  52775. 4031249490: "IFCBUILDING",
  52776. 3299480353: "IFCBUILDINGELEMENT",
  52777. 2979338954: "IFCBUILDINGELEMENTPART",
  52778. 39481116: "IFCBUILDINGELEMENTPARTTYPE",
  52779. 1095909175: "IFCBUILDINGELEMENTPROXY",
  52780. 1909888760: "IFCBUILDINGELEMENTPROXYTYPE",
  52781. 1950629157: "IFCBUILDINGELEMENTTYPE",
  52782. 3124254112: "IFCBUILDINGSTOREY",
  52783. 1177604601: "IFCBUILDINGSYSTEM",
  52784. 2938176219: "IFCBURNER",
  52785. 2188180465: "IFCBURNERTYPE",
  52786. 2898889636: "IFCCSHAPEPROFILEDEF",
  52787. 635142910: "IFCCABLECARRIERFITTING",
  52788. 395041908: "IFCCABLECARRIERFITTINGTYPE",
  52789. 3758799889: "IFCCABLECARRIERSEGMENT",
  52790. 3293546465: "IFCCABLECARRIERSEGMENTTYPE",
  52791. 1051757585: "IFCCABLEFITTING",
  52792. 2674252688: "IFCCABLEFITTINGTYPE",
  52793. 4217484030: "IFCCABLESEGMENT",
  52794. 1285652485: "IFCCABLESEGMENTTYPE",
  52795. 3999819293: "IFCCAISSONFOUNDATION",
  52796. 3203706013: "IFCCAISSONFOUNDATIONTYPE",
  52797. 1123145078: "IFCCARTESIANPOINT",
  52798. 574549367: "IFCCARTESIANPOINTLIST",
  52799. 1675464909: "IFCCARTESIANPOINTLIST2D",
  52800. 2059837836: "IFCCARTESIANPOINTLIST3D",
  52801. 59481748: "IFCCARTESIANTRANSFORMATIONOPERATOR",
  52802. 3749851601: "IFCCARTESIANTRANSFORMATIONOPERATOR2D",
  52803. 3486308946: "IFCCARTESIANTRANSFORMATIONOPERATOR2DNONUNIFORM",
  52804. 3331915920: "IFCCARTESIANTRANSFORMATIONOPERATOR3D",
  52805. 1416205885: "IFCCARTESIANTRANSFORMATIONOPERATOR3DNONUNIFORM",
  52806. 3150382593: "IFCCENTERLINEPROFILEDEF",
  52807. 3902619387: "IFCCHILLER",
  52808. 2951183804: "IFCCHILLERTYPE",
  52809. 3296154744: "IFCCHIMNEY",
  52810. 2197970202: "IFCCHIMNEYTYPE",
  52811. 2611217952: "IFCCIRCLE",
  52812. 2937912522: "IFCCIRCLEHOLLOWPROFILEDEF",
  52813. 1383045692: "IFCCIRCLEPROFILEDEF",
  52814. 1062206242: "IFCCIRCULARARCSEGMENT2D",
  52815. 1677625105: "IFCCIVILELEMENT",
  52816. 3893394355: "IFCCIVILELEMENTTYPE",
  52817. 747523909: "IFCCLASSIFICATION",
  52818. 647927063: "IFCCLASSIFICATIONREFERENCE",
  52819. 2205249479: "IFCCLOSEDSHELL",
  52820. 639361253: "IFCCOIL",
  52821. 2301859152: "IFCCOILTYPE",
  52822. 776857604: "IFCCOLOURRGB",
  52823. 3285139300: "IFCCOLOURRGBLIST",
  52824. 3264961684: "IFCCOLOURSPECIFICATION",
  52825. 843113511: "IFCCOLUMN",
  52826. 905975707: "IFCCOLUMNSTANDARDCASE",
  52827. 300633059: "IFCCOLUMNTYPE",
  52828. 3221913625: "IFCCOMMUNICATIONSAPPLIANCE",
  52829. 400855858: "IFCCOMMUNICATIONSAPPLIANCETYPE",
  52830. 2542286263: "IFCCOMPLEXPROPERTY",
  52831. 3875453745: "IFCCOMPLEXPROPERTYTEMPLATE",
  52832. 3732776249: "IFCCOMPOSITECURVE",
  52833. 15328376: "IFCCOMPOSITECURVEONSURFACE",
  52834. 2485617015: "IFCCOMPOSITECURVESEGMENT",
  52835. 1485152156: "IFCCOMPOSITEPROFILEDEF",
  52836. 3571504051: "IFCCOMPRESSOR",
  52837. 3850581409: "IFCCOMPRESSORTYPE",
  52838. 2272882330: "IFCCONDENSER",
  52839. 2816379211: "IFCCONDENSERTYPE",
  52840. 2510884976: "IFCCONIC",
  52841. 370225590: "IFCCONNECTEDFACESET",
  52842. 1981873012: "IFCCONNECTIONCURVEGEOMETRY",
  52843. 2859738748: "IFCCONNECTIONGEOMETRY",
  52844. 45288368: "IFCCONNECTIONPOINTECCENTRICITY",
  52845. 2614616156: "IFCCONNECTIONPOINTGEOMETRY",
  52846. 2732653382: "IFCCONNECTIONSURFACEGEOMETRY",
  52847. 775493141: "IFCCONNECTIONVOLUMEGEOMETRY",
  52848. 1959218052: "IFCCONSTRAINT",
  52849. 3898045240: "IFCCONSTRUCTIONEQUIPMENTRESOURCE",
  52850. 2185764099: "IFCCONSTRUCTIONEQUIPMENTRESOURCETYPE",
  52851. 1060000209: "IFCCONSTRUCTIONMATERIALRESOURCE",
  52852. 4105962743: "IFCCONSTRUCTIONMATERIALRESOURCETYPE",
  52853. 488727124: "IFCCONSTRUCTIONPRODUCTRESOURCE",
  52854. 1525564444: "IFCCONSTRUCTIONPRODUCTRESOURCETYPE",
  52855. 2559216714: "IFCCONSTRUCTIONRESOURCE",
  52856. 2574617495: "IFCCONSTRUCTIONRESOURCETYPE",
  52857. 3419103109: "IFCCONTEXT",
  52858. 3050246964: "IFCCONTEXTDEPENDENTUNIT",
  52859. 3293443760: "IFCCONTROL",
  52860. 25142252: "IFCCONTROLLER",
  52861. 578613899: "IFCCONTROLLERTYPE",
  52862. 2889183280: "IFCCONVERSIONBASEDUNIT",
  52863. 2713554722: "IFCCONVERSIONBASEDUNITWITHOFFSET",
  52864. 4136498852: "IFCCOOLEDBEAM",
  52865. 335055490: "IFCCOOLEDBEAMTYPE",
  52866. 3640358203: "IFCCOOLINGTOWER",
  52867. 2954562838: "IFCCOOLINGTOWERTYPE",
  52868. 1785450214: "IFCCOORDINATEOPERATION",
  52869. 1466758467: "IFCCOORDINATEREFERENCESYSTEM",
  52870. 3895139033: "IFCCOSTITEM",
  52871. 1419761937: "IFCCOSTSCHEDULE",
  52872. 602808272: "IFCCOSTVALUE",
  52873. 1973544240: "IFCCOVERING",
  52874. 1916426348: "IFCCOVERINGTYPE",
  52875. 3295246426: "IFCCREWRESOURCE",
  52876. 1815067380: "IFCCREWRESOURCETYPE",
  52877. 2506170314: "IFCCSGPRIMITIVE3D",
  52878. 2147822146: "IFCCSGSOLID",
  52879. 539742890: "IFCCURRENCYRELATIONSHIP",
  52880. 3495092785: "IFCCURTAINWALL",
  52881. 1457835157: "IFCCURTAINWALLTYPE",
  52882. 2601014836: "IFCCURVE",
  52883. 2827736869: "IFCCURVEBOUNDEDPLANE",
  52884. 2629017746: "IFCCURVEBOUNDEDSURFACE",
  52885. 1186437898: "IFCCURVESEGMENT2D",
  52886. 3800577675: "IFCCURVESTYLE",
  52887. 1105321065: "IFCCURVESTYLEFONT",
  52888. 2367409068: "IFCCURVESTYLEFONTANDSCALING",
  52889. 3510044353: "IFCCURVESTYLEFONTPATTERN",
  52890. 1213902940: "IFCCYLINDRICALSURFACE",
  52891. 4074379575: "IFCDAMPER",
  52892. 3961806047: "IFCDAMPERTYPE",
  52893. 3426335179: "IFCDEEPFOUNDATION",
  52894. 1306400036: "IFCDEEPFOUNDATIONTYPE",
  52895. 3632507154: "IFCDERIVEDPROFILEDEF",
  52896. 1765591967: "IFCDERIVEDUNIT",
  52897. 1045800335: "IFCDERIVEDUNITELEMENT",
  52898. 2949456006: "IFCDIMENSIONALEXPONENTS",
  52899. 32440307: "IFCDIRECTION",
  52900. 1335981549: "IFCDISCRETEACCESSORY",
  52901. 2635815018: "IFCDISCRETEACCESSORYTYPE",
  52902. 1945343521: "IFCDISTANCEEXPRESSION",
  52903. 1052013943: "IFCDISTRIBUTIONCHAMBERELEMENT",
  52904. 1599208980: "IFCDISTRIBUTIONCHAMBERELEMENTTYPE",
  52905. 562808652: "IFCDISTRIBUTIONCIRCUIT",
  52906. 1062813311: "IFCDISTRIBUTIONCONTROLELEMENT",
  52907. 2063403501: "IFCDISTRIBUTIONCONTROLELEMENTTYPE",
  52908. 1945004755: "IFCDISTRIBUTIONELEMENT",
  52909. 3256556792: "IFCDISTRIBUTIONELEMENTTYPE",
  52910. 3040386961: "IFCDISTRIBUTIONFLOWELEMENT",
  52911. 3849074793: "IFCDISTRIBUTIONFLOWELEMENTTYPE",
  52912. 3041715199: "IFCDISTRIBUTIONPORT",
  52913. 3205830791: "IFCDISTRIBUTIONSYSTEM",
  52914. 1154170062: "IFCDOCUMENTINFORMATION",
  52915. 770865208: "IFCDOCUMENTINFORMATIONRELATIONSHIP",
  52916. 3732053477: "IFCDOCUMENTREFERENCE",
  52917. 395920057: "IFCDOOR",
  52918. 2963535650: "IFCDOORLININGPROPERTIES",
  52919. 1714330368: "IFCDOORPANELPROPERTIES",
  52920. 3242481149: "IFCDOORSTANDARDCASE",
  52921. 526551008: "IFCDOORSTYLE",
  52922. 2323601079: "IFCDOORTYPE",
  52923. 445594917: "IFCDRAUGHTINGPREDEFINEDCOLOUR",
  52924. 4006246654: "IFCDRAUGHTINGPREDEFINEDCURVEFONT",
  52925. 342316401: "IFCDUCTFITTING",
  52926. 869906466: "IFCDUCTFITTINGTYPE",
  52927. 3518393246: "IFCDUCTSEGMENT",
  52928. 3760055223: "IFCDUCTSEGMENTTYPE",
  52929. 1360408905: "IFCDUCTSILENCER",
  52930. 2030761528: "IFCDUCTSILENCERTYPE",
  52931. 3900360178: "IFCEDGE",
  52932. 476780140: "IFCEDGECURVE",
  52933. 1472233963: "IFCEDGELOOP",
  52934. 1904799276: "IFCELECTRICAPPLIANCE",
  52935. 663422040: "IFCELECTRICAPPLIANCETYPE",
  52936. 862014818: "IFCELECTRICDISTRIBUTIONBOARD",
  52937. 2417008758: "IFCELECTRICDISTRIBUTIONBOARDTYPE",
  52938. 3310460725: "IFCELECTRICFLOWSTORAGEDEVICE",
  52939. 3277789161: "IFCELECTRICFLOWSTORAGEDEVICETYPE",
  52940. 264262732: "IFCELECTRICGENERATOR",
  52941. 1534661035: "IFCELECTRICGENERATORTYPE",
  52942. 402227799: "IFCELECTRICMOTOR",
  52943. 1217240411: "IFCELECTRICMOTORTYPE",
  52944. 1003880860: "IFCELECTRICTIMECONTROL",
  52945. 712377611: "IFCELECTRICTIMECONTROLTYPE",
  52946. 1758889154: "IFCELEMENT",
  52947. 4123344466: "IFCELEMENTASSEMBLY",
  52948. 2397081782: "IFCELEMENTASSEMBLYTYPE",
  52949. 1623761950: "IFCELEMENTCOMPONENT",
  52950. 2590856083: "IFCELEMENTCOMPONENTTYPE",
  52951. 1883228015: "IFCELEMENTQUANTITY",
  52952. 339256511: "IFCELEMENTTYPE",
  52953. 2777663545: "IFCELEMENTARYSURFACE",
  52954. 1704287377: "IFCELLIPSE",
  52955. 2835456948: "IFCELLIPSEPROFILEDEF",
  52956. 1658829314: "IFCENERGYCONVERSIONDEVICE",
  52957. 2107101300: "IFCENERGYCONVERSIONDEVICETYPE",
  52958. 2814081492: "IFCENGINE",
  52959. 132023988: "IFCENGINETYPE",
  52960. 3747195512: "IFCEVAPORATIVECOOLER",
  52961. 3174744832: "IFCEVAPORATIVECOOLERTYPE",
  52962. 484807127: "IFCEVAPORATOR",
  52963. 3390157468: "IFCEVAPORATORTYPE",
  52964. 4148101412: "IFCEVENT",
  52965. 211053100: "IFCEVENTTIME",
  52966. 4024345920: "IFCEVENTTYPE",
  52967. 297599258: "IFCEXTENDEDPROPERTIES",
  52968. 4294318154: "IFCEXTERNALINFORMATION",
  52969. 3200245327: "IFCEXTERNALREFERENCE",
  52970. 1437805879: "IFCEXTERNALREFERENCERELATIONSHIP",
  52971. 1209101575: "IFCEXTERNALSPATIALELEMENT",
  52972. 2853485674: "IFCEXTERNALSPATIALSTRUCTUREELEMENT",
  52973. 2242383968: "IFCEXTERNALLYDEFINEDHATCHSTYLE",
  52974. 1040185647: "IFCEXTERNALLYDEFINEDSURFACESTYLE",
  52975. 3548104201: "IFCEXTERNALLYDEFINEDTEXTFONT",
  52976. 477187591: "IFCEXTRUDEDAREASOLID",
  52977. 2804161546: "IFCEXTRUDEDAREASOLIDTAPERED",
  52978. 2556980723: "IFCFACE",
  52979. 2047409740: "IFCFACEBASEDSURFACEMODEL",
  52980. 1809719519: "IFCFACEBOUND",
  52981. 803316827: "IFCFACEOUTERBOUND",
  52982. 3008276851: "IFCFACESURFACE",
  52983. 807026263: "IFCFACETEDBREP",
  52984. 3737207727: "IFCFACETEDBREPWITHVOIDS",
  52985. 24185140: "IFCFACILITY",
  52986. 1310830890: "IFCFACILITYPART",
  52987. 4219587988: "IFCFAILURECONNECTIONCONDITION",
  52988. 3415622556: "IFCFAN",
  52989. 346874300: "IFCFANTYPE",
  52990. 647756555: "IFCFASTENER",
  52991. 2489546625: "IFCFASTENERTYPE",
  52992. 2827207264: "IFCFEATUREELEMENT",
  52993. 2143335405: "IFCFEATUREELEMENTADDITION",
  52994. 1287392070: "IFCFEATUREELEMENTSUBTRACTION",
  52995. 738692330: "IFCFILLAREASTYLE",
  52996. 374418227: "IFCFILLAREASTYLEHATCHING",
  52997. 315944413: "IFCFILLAREASTYLETILES",
  52998. 819412036: "IFCFILTER",
  52999. 1810631287: "IFCFILTERTYPE",
  53000. 1426591983: "IFCFIRESUPPRESSIONTERMINAL",
  53001. 4222183408: "IFCFIRESUPPRESSIONTERMINALTYPE",
  53002. 2652556860: "IFCFIXEDREFERENCESWEPTAREASOLID",
  53003. 2058353004: "IFCFLOWCONTROLLER",
  53004. 3907093117: "IFCFLOWCONTROLLERTYPE",
  53005. 4278956645: "IFCFLOWFITTING",
  53006. 3198132628: "IFCFLOWFITTINGTYPE",
  53007. 182646315: "IFCFLOWINSTRUMENT",
  53008. 4037862832: "IFCFLOWINSTRUMENTTYPE",
  53009. 2188021234: "IFCFLOWMETER",
  53010. 3815607619: "IFCFLOWMETERTYPE",
  53011. 3132237377: "IFCFLOWMOVINGDEVICE",
  53012. 1482959167: "IFCFLOWMOVINGDEVICETYPE",
  53013. 987401354: "IFCFLOWSEGMENT",
  53014. 1834744321: "IFCFLOWSEGMENTTYPE",
  53015. 707683696: "IFCFLOWSTORAGEDEVICE",
  53016. 1339347760: "IFCFLOWSTORAGEDEVICETYPE",
  53017. 2223149337: "IFCFLOWTERMINAL",
  53018. 2297155007: "IFCFLOWTERMINALTYPE",
  53019. 3508470533: "IFCFLOWTREATMENTDEVICE",
  53020. 3009222698: "IFCFLOWTREATMENTDEVICETYPE",
  53021. 900683007: "IFCFOOTING",
  53022. 1893162501: "IFCFOOTINGTYPE",
  53023. 263784265: "IFCFURNISHINGELEMENT",
  53024. 4238390223: "IFCFURNISHINGELEMENTTYPE",
  53025. 1509553395: "IFCFURNITURE",
  53026. 1268542332: "IFCFURNITURETYPE",
  53027. 3493046030: "IFCGEOGRAPHICELEMENT",
  53028. 4095422895: "IFCGEOGRAPHICELEMENTTYPE",
  53029. 987898635: "IFCGEOMETRICCURVESET",
  53030. 3448662350: "IFCGEOMETRICREPRESENTATIONCONTEXT",
  53031. 2453401579: "IFCGEOMETRICREPRESENTATIONITEM",
  53032. 4142052618: "IFCGEOMETRICREPRESENTATIONSUBCONTEXT",
  53033. 3590301190: "IFCGEOMETRICSET",
  53034. 3009204131: "IFCGRID",
  53035. 852622518: "IFCGRIDAXIS",
  53036. 178086475: "IFCGRIDPLACEMENT",
  53037. 2706460486: "IFCGROUP",
  53038. 812098782: "IFCHALFSPACESOLID",
  53039. 3319311131: "IFCHEATEXCHANGER",
  53040. 1251058090: "IFCHEATEXCHANGERTYPE",
  53041. 2068733104: "IFCHUMIDIFIER",
  53042. 1806887404: "IFCHUMIDIFIERTYPE",
  53043. 1484403080: "IFCISHAPEPROFILEDEF",
  53044. 3905492369: "IFCIMAGETEXTURE",
  53045. 3570813810: "IFCINDEXEDCOLOURMAP",
  53046. 2571569899: "IFCINDEXEDPOLYCURVE",
  53047. 178912537: "IFCINDEXEDPOLYGONALFACE",
  53048. 2294589976: "IFCINDEXEDPOLYGONALFACEWITHVOIDS",
  53049. 1437953363: "IFCINDEXEDTEXTUREMAP",
  53050. 2133299955: "IFCINDEXEDTRIANGLETEXTUREMAP",
  53051. 4175244083: "IFCINTERCEPTOR",
  53052. 3946677679: "IFCINTERCEPTORTYPE",
  53053. 3113134337: "IFCINTERSECTIONCURVE",
  53054. 2391368822: "IFCINVENTORY",
  53055. 3741457305: "IFCIRREGULARTIMESERIES",
  53056. 3020489413: "IFCIRREGULARTIMESERIESVALUE",
  53057. 2176052936: "IFCJUNCTIONBOX",
  53058. 4288270099: "IFCJUNCTIONBOXTYPE",
  53059. 572779678: "IFCLSHAPEPROFILEDEF",
  53060. 3827777499: "IFCLABORRESOURCE",
  53061. 428585644: "IFCLABORRESOURCETYPE",
  53062. 1585845231: "IFCLAGTIME",
  53063. 76236018: "IFCLAMP",
  53064. 1051575348: "IFCLAMPTYPE",
  53065. 2655187982: "IFCLIBRARYINFORMATION",
  53066. 3452421091: "IFCLIBRARYREFERENCE",
  53067. 4162380809: "IFCLIGHTDISTRIBUTIONDATA",
  53068. 629592764: "IFCLIGHTFIXTURE",
  53069. 1161773419: "IFCLIGHTFIXTURETYPE",
  53070. 1566485204: "IFCLIGHTINTENSITYDISTRIBUTION",
  53071. 1402838566: "IFCLIGHTSOURCE",
  53072. 125510826: "IFCLIGHTSOURCEAMBIENT",
  53073. 2604431987: "IFCLIGHTSOURCEDIRECTIONAL",
  53074. 4266656042: "IFCLIGHTSOURCEGONIOMETRIC",
  53075. 1520743889: "IFCLIGHTSOURCEPOSITIONAL",
  53076. 3422422726: "IFCLIGHTSOURCESPOT",
  53077. 1281925730: "IFCLINE",
  53078. 3092502836: "IFCLINESEGMENT2D",
  53079. 388784114: "IFCLINEARPLACEMENT",
  53080. 1154579445: "IFCLINEARPOSITIONINGELEMENT",
  53081. 2624227202: "IFCLOCALPLACEMENT",
  53082. 1008929658: "IFCLOOP",
  53083. 1425443689: "IFCMANIFOLDSOLIDBREP",
  53084. 3057273783: "IFCMAPCONVERSION",
  53085. 2347385850: "IFCMAPPEDITEM",
  53086. 1838606355: "IFCMATERIAL",
  53087. 1847130766: "IFCMATERIALCLASSIFICATIONRELATIONSHIP",
  53088. 3708119e3: "IFCMATERIALCONSTITUENT",
  53089. 2852063980: "IFCMATERIALCONSTITUENTSET",
  53090. 760658860: "IFCMATERIALDEFINITION",
  53091. 2022407955: "IFCMATERIALDEFINITIONREPRESENTATION",
  53092. 248100487: "IFCMATERIALLAYER",
  53093. 3303938423: "IFCMATERIALLAYERSET",
  53094. 1303795690: "IFCMATERIALLAYERSETUSAGE",
  53095. 1847252529: "IFCMATERIALLAYERWITHOFFSETS",
  53096. 2199411900: "IFCMATERIALLIST",
  53097. 2235152071: "IFCMATERIALPROFILE",
  53098. 164193824: "IFCMATERIALPROFILESET",
  53099. 3079605661: "IFCMATERIALPROFILESETUSAGE",
  53100. 3404854881: "IFCMATERIALPROFILESETUSAGETAPERING",
  53101. 552965576: "IFCMATERIALPROFILEWITHOFFSETS",
  53102. 3265635763: "IFCMATERIALPROPERTIES",
  53103. 853536259: "IFCMATERIALRELATIONSHIP",
  53104. 1507914824: "IFCMATERIALUSAGEDEFINITION",
  53105. 2597039031: "IFCMEASUREWITHUNIT",
  53106. 377706215: "IFCMECHANICALFASTENER",
  53107. 2108223431: "IFCMECHANICALFASTENERTYPE",
  53108. 1437502449: "IFCMEDICALDEVICE",
  53109. 1114901282: "IFCMEDICALDEVICETYPE",
  53110. 1073191201: "IFCMEMBER",
  53111. 1911478936: "IFCMEMBERSTANDARDCASE",
  53112. 3181161470: "IFCMEMBERTYPE",
  53113. 3368373690: "IFCMETRIC",
  53114. 2998442950: "IFCMIRROREDPROFILEDEF",
  53115. 2706619895: "IFCMONETARYUNIT",
  53116. 2474470126: "IFCMOTORCONNECTION",
  53117. 977012517: "IFCMOTORCONNECTIONTYPE",
  53118. 1918398963: "IFCNAMEDUNIT",
  53119. 3888040117: "IFCOBJECT",
  53120. 219451334: "IFCOBJECTDEFINITION",
  53121. 3701648758: "IFCOBJECTPLACEMENT",
  53122. 2251480897: "IFCOBJECTIVE",
  53123. 4143007308: "IFCOCCUPANT",
  53124. 590820931: "IFCOFFSETCURVE",
  53125. 3388369263: "IFCOFFSETCURVE2D",
  53126. 3505215534: "IFCOFFSETCURVE3D",
  53127. 2485787929: "IFCOFFSETCURVEBYDISTANCES",
  53128. 2665983363: "IFCOPENSHELL",
  53129. 3588315303: "IFCOPENINGELEMENT",
  53130. 3079942009: "IFCOPENINGSTANDARDCASE",
  53131. 4251960020: "IFCORGANIZATION",
  53132. 1411181986: "IFCORGANIZATIONRELATIONSHIP",
  53133. 643959842: "IFCORIENTATIONEXPRESSION",
  53134. 1029017970: "IFCORIENTEDEDGE",
  53135. 144952367: "IFCOUTERBOUNDARYCURVE",
  53136. 3694346114: "IFCOUTLET",
  53137. 2837617999: "IFCOUTLETTYPE",
  53138. 1207048766: "IFCOWNERHISTORY",
  53139. 2529465313: "IFCPARAMETERIZEDPROFILEDEF",
  53140. 2519244187: "IFCPATH",
  53141. 1682466193: "IFCPCURVE",
  53142. 2382730787: "IFCPERFORMANCEHISTORY",
  53143. 3566463478: "IFCPERMEABLECOVERINGPROPERTIES",
  53144. 3327091369: "IFCPERMIT",
  53145. 2077209135: "IFCPERSON",
  53146. 101040310: "IFCPERSONANDORGANIZATION",
  53147. 3021840470: "IFCPHYSICALCOMPLEXQUANTITY",
  53148. 2483315170: "IFCPHYSICALQUANTITY",
  53149. 2226359599: "IFCPHYSICALSIMPLEQUANTITY",
  53150. 1687234759: "IFCPILE",
  53151. 1158309216: "IFCPILETYPE",
  53152. 310824031: "IFCPIPEFITTING",
  53153. 804291784: "IFCPIPEFITTINGTYPE",
  53154. 3612865200: "IFCPIPESEGMENT",
  53155. 4231323485: "IFCPIPESEGMENTTYPE",
  53156. 597895409: "IFCPIXELTEXTURE",
  53157. 2004835150: "IFCPLACEMENT",
  53158. 603570806: "IFCPLANARBOX",
  53159. 1663979128: "IFCPLANAREXTENT",
  53160. 220341763: "IFCPLANE",
  53161. 3171933400: "IFCPLATE",
  53162. 1156407060: "IFCPLATESTANDARDCASE",
  53163. 4017108033: "IFCPLATETYPE",
  53164. 2067069095: "IFCPOINT",
  53165. 4022376103: "IFCPOINTONCURVE",
  53166. 1423911732: "IFCPOINTONSURFACE",
  53167. 2924175390: "IFCPOLYLOOP",
  53168. 2775532180: "IFCPOLYGONALBOUNDEDHALFSPACE",
  53169. 2839578677: "IFCPOLYGONALFACESET",
  53170. 3724593414: "IFCPOLYLINE",
  53171. 3740093272: "IFCPORT",
  53172. 1946335990: "IFCPOSITIONINGELEMENT",
  53173. 3355820592: "IFCPOSTALADDRESS",
  53174. 759155922: "IFCPREDEFINEDCOLOUR",
  53175. 2559016684: "IFCPREDEFINEDCURVEFONT",
  53176. 3727388367: "IFCPREDEFINEDITEM",
  53177. 3778827333: "IFCPREDEFINEDPROPERTIES",
  53178. 3967405729: "IFCPREDEFINEDPROPERTYSET",
  53179. 1775413392: "IFCPREDEFINEDTEXTFONT",
  53180. 677532197: "IFCPRESENTATIONITEM",
  53181. 2022622350: "IFCPRESENTATIONLAYERASSIGNMENT",
  53182. 1304840413: "IFCPRESENTATIONLAYERWITHSTYLE",
  53183. 3119450353: "IFCPRESENTATIONSTYLE",
  53184. 2417041796: "IFCPRESENTATIONSTYLEASSIGNMENT",
  53185. 2744685151: "IFCPROCEDURE",
  53186. 569719735: "IFCPROCEDURETYPE",
  53187. 2945172077: "IFCPROCESS",
  53188. 4208778838: "IFCPRODUCT",
  53189. 673634403: "IFCPRODUCTDEFINITIONSHAPE",
  53190. 2095639259: "IFCPRODUCTREPRESENTATION",
  53191. 3958567839: "IFCPROFILEDEF",
  53192. 2802850158: "IFCPROFILEPROPERTIES",
  53193. 103090709: "IFCPROJECT",
  53194. 653396225: "IFCPROJECTLIBRARY",
  53195. 2904328755: "IFCPROJECTORDER",
  53196. 3843373140: "IFCPROJECTEDCRS",
  53197. 3651124850: "IFCPROJECTIONELEMENT",
  53198. 2598011224: "IFCPROPERTY",
  53199. 986844984: "IFCPROPERTYABSTRACTION",
  53200. 871118103: "IFCPROPERTYBOUNDEDVALUE",
  53201. 1680319473: "IFCPROPERTYDEFINITION",
  53202. 148025276: "IFCPROPERTYDEPENDENCYRELATIONSHIP",
  53203. 4166981789: "IFCPROPERTYENUMERATEDVALUE",
  53204. 3710013099: "IFCPROPERTYENUMERATION",
  53205. 2752243245: "IFCPROPERTYLISTVALUE",
  53206. 941946838: "IFCPROPERTYREFERENCEVALUE",
  53207. 1451395588: "IFCPROPERTYSET",
  53208. 3357820518: "IFCPROPERTYSETDEFINITION",
  53209. 492091185: "IFCPROPERTYSETTEMPLATE",
  53210. 3650150729: "IFCPROPERTYSINGLEVALUE",
  53211. 110355661: "IFCPROPERTYTABLEVALUE",
  53212. 3521284610: "IFCPROPERTYTEMPLATE",
  53213. 1482703590: "IFCPROPERTYTEMPLATEDEFINITION",
  53214. 738039164: "IFCPROTECTIVEDEVICE",
  53215. 2295281155: "IFCPROTECTIVEDEVICETRIPPINGUNIT",
  53216. 655969474: "IFCPROTECTIVEDEVICETRIPPINGUNITTYPE",
  53217. 1842657554: "IFCPROTECTIVEDEVICETYPE",
  53218. 3219374653: "IFCPROXY",
  53219. 90941305: "IFCPUMP",
  53220. 2250791053: "IFCPUMPTYPE",
  53221. 2044713172: "IFCQUANTITYAREA",
  53222. 2093928680: "IFCQUANTITYCOUNT",
  53223. 931644368: "IFCQUANTITYLENGTH",
  53224. 2090586900: "IFCQUANTITYSET",
  53225. 3252649465: "IFCQUANTITYTIME",
  53226. 2405470396: "IFCQUANTITYVOLUME",
  53227. 825690147: "IFCQUANTITYWEIGHT",
  53228. 2262370178: "IFCRAILING",
  53229. 2893384427: "IFCRAILINGTYPE",
  53230. 3024970846: "IFCRAMP",
  53231. 3283111854: "IFCRAMPFLIGHT",
  53232. 2324767716: "IFCRAMPFLIGHTTYPE",
  53233. 1469900589: "IFCRAMPTYPE",
  53234. 1232101972: "IFCRATIONALBSPLINECURVEWITHKNOTS",
  53235. 683857671: "IFCRATIONALBSPLINESURFACEWITHKNOTS",
  53236. 2770003689: "IFCRECTANGLEHOLLOWPROFILEDEF",
  53237. 3615266464: "IFCRECTANGLEPROFILEDEF",
  53238. 2798486643: "IFCRECTANGULARPYRAMID",
  53239. 3454111270: "IFCRECTANGULARTRIMMEDSURFACE",
  53240. 3915482550: "IFCRECURRENCEPATTERN",
  53241. 2433181523: "IFCREFERENCE",
  53242. 4021432810: "IFCREFERENT",
  53243. 3413951693: "IFCREGULARTIMESERIES",
  53244. 1580146022: "IFCREINFORCEMENTBARPROPERTIES",
  53245. 3765753017: "IFCREINFORCEMENTDEFINITIONPROPERTIES",
  53246. 979691226: "IFCREINFORCINGBAR",
  53247. 2572171363: "IFCREINFORCINGBARTYPE",
  53248. 3027567501: "IFCREINFORCINGELEMENT",
  53249. 964333572: "IFCREINFORCINGELEMENTTYPE",
  53250. 2320036040: "IFCREINFORCINGMESH",
  53251. 2310774935: "IFCREINFORCINGMESHTYPE",
  53252. 160246688: "IFCRELAGGREGATES",
  53253. 3939117080: "IFCRELASSIGNS",
  53254. 1683148259: "IFCRELASSIGNSTOACTOR",
  53255. 2495723537: "IFCRELASSIGNSTOCONTROL",
  53256. 1307041759: "IFCRELASSIGNSTOGROUP",
  53257. 1027710054: "IFCRELASSIGNSTOGROUPBYFACTOR",
  53258. 4278684876: "IFCRELASSIGNSTOPROCESS",
  53259. 2857406711: "IFCRELASSIGNSTOPRODUCT",
  53260. 205026976: "IFCRELASSIGNSTORESOURCE",
  53261. 1865459582: "IFCRELASSOCIATES",
  53262. 4095574036: "IFCRELASSOCIATESAPPROVAL",
  53263. 919958153: "IFCRELASSOCIATESCLASSIFICATION",
  53264. 2728634034: "IFCRELASSOCIATESCONSTRAINT",
  53265. 982818633: "IFCRELASSOCIATESDOCUMENT",
  53266. 3840914261: "IFCRELASSOCIATESLIBRARY",
  53267. 2655215786: "IFCRELASSOCIATESMATERIAL",
  53268. 826625072: "IFCRELCONNECTS",
  53269. 1204542856: "IFCRELCONNECTSELEMENTS",
  53270. 3945020480: "IFCRELCONNECTSPATHELEMENTS",
  53271. 4201705270: "IFCRELCONNECTSPORTTOELEMENT",
  53272. 3190031847: "IFCRELCONNECTSPORTS",
  53273. 2127690289: "IFCRELCONNECTSSTRUCTURALACTIVITY",
  53274. 1638771189: "IFCRELCONNECTSSTRUCTURALMEMBER",
  53275. 504942748: "IFCRELCONNECTSWITHECCENTRICITY",
  53276. 3678494232: "IFCRELCONNECTSWITHREALIZINGELEMENTS",
  53277. 3242617779: "IFCRELCONTAINEDINSPATIALSTRUCTURE",
  53278. 886880790: "IFCRELCOVERSBLDGELEMENTS",
  53279. 2802773753: "IFCRELCOVERSSPACES",
  53280. 2565941209: "IFCRELDECLARES",
  53281. 2551354335: "IFCRELDECOMPOSES",
  53282. 693640335: "IFCRELDEFINES",
  53283. 1462361463: "IFCRELDEFINESBYOBJECT",
  53284. 4186316022: "IFCRELDEFINESBYPROPERTIES",
  53285. 307848117: "IFCRELDEFINESBYTEMPLATE",
  53286. 781010003: "IFCRELDEFINESBYTYPE",
  53287. 3940055652: "IFCRELFILLSELEMENT",
  53288. 279856033: "IFCRELFLOWCONTROLELEMENTS",
  53289. 427948657: "IFCRELINTERFERESELEMENTS",
  53290. 3268803585: "IFCRELNESTS",
  53291. 1441486842: "IFCRELPOSITIONS",
  53292. 750771296: "IFCRELPROJECTSELEMENT",
  53293. 1245217292: "IFCRELREFERENCEDINSPATIALSTRUCTURE",
  53294. 4122056220: "IFCRELSEQUENCE",
  53295. 366585022: "IFCRELSERVICESBUILDINGS",
  53296. 3451746338: "IFCRELSPACEBOUNDARY",
  53297. 3523091289: "IFCRELSPACEBOUNDARY1STLEVEL",
  53298. 1521410863: "IFCRELSPACEBOUNDARY2NDLEVEL",
  53299. 1401173127: "IFCRELVOIDSELEMENT",
  53300. 478536968: "IFCRELATIONSHIP",
  53301. 816062949: "IFCREPARAMETRISEDCOMPOSITECURVESEGMENT",
  53302. 1076942058: "IFCREPRESENTATION",
  53303. 3377609919: "IFCREPRESENTATIONCONTEXT",
  53304. 3008791417: "IFCREPRESENTATIONITEM",
  53305. 1660063152: "IFCREPRESENTATIONMAP",
  53306. 2914609552: "IFCRESOURCE",
  53307. 2943643501: "IFCRESOURCEAPPROVALRELATIONSHIP",
  53308. 1608871552: "IFCRESOURCECONSTRAINTRELATIONSHIP",
  53309. 2439245199: "IFCRESOURCELEVELRELATIONSHIP",
  53310. 1042787934: "IFCRESOURCETIME",
  53311. 1856042241: "IFCREVOLVEDAREASOLID",
  53312. 3243963512: "IFCREVOLVEDAREASOLIDTAPERED",
  53313. 4158566097: "IFCRIGHTCIRCULARCONE",
  53314. 3626867408: "IFCRIGHTCIRCULARCYLINDER",
  53315. 2016517767: "IFCROOF",
  53316. 2781568857: "IFCROOFTYPE",
  53317. 2341007311: "IFCROOT",
  53318. 2778083089: "IFCROUNDEDRECTANGLEPROFILEDEF",
  53319. 448429030: "IFCSIUNIT",
  53320. 3053780830: "IFCSANITARYTERMINAL",
  53321. 1768891740: "IFCSANITARYTERMINALTYPE",
  53322. 1054537805: "IFCSCHEDULINGTIME",
  53323. 2157484638: "IFCSEAMCURVE",
  53324. 2042790032: "IFCSECTIONPROPERTIES",
  53325. 4165799628: "IFCSECTIONREINFORCEMENTPROPERTIES",
  53326. 1862484736: "IFCSECTIONEDSOLID",
  53327. 1290935644: "IFCSECTIONEDSOLIDHORIZONTAL",
  53328. 1509187699: "IFCSECTIONEDSPINE",
  53329. 4086658281: "IFCSENSOR",
  53330. 1783015770: "IFCSENSORTYPE",
  53331. 1329646415: "IFCSHADINGDEVICE",
  53332. 4074543187: "IFCSHADINGDEVICETYPE",
  53333. 867548509: "IFCSHAPEASPECT",
  53334. 3982875396: "IFCSHAPEMODEL",
  53335. 4240577450: "IFCSHAPEREPRESENTATION",
  53336. 4124623270: "IFCSHELLBASEDSURFACEMODEL",
  53337. 3692461612: "IFCSIMPLEPROPERTY",
  53338. 3663146110: "IFCSIMPLEPROPERTYTEMPLATE",
  53339. 4097777520: "IFCSITE",
  53340. 1529196076: "IFCSLAB",
  53341. 3127900445: "IFCSLABELEMENTEDCASE",
  53342. 3027962421: "IFCSLABSTANDARDCASE",
  53343. 2533589738: "IFCSLABTYPE",
  53344. 2609359061: "IFCSLIPPAGECONNECTIONCONDITION",
  53345. 3420628829: "IFCSOLARDEVICE",
  53346. 1072016465: "IFCSOLARDEVICETYPE",
  53347. 723233188: "IFCSOLIDMODEL",
  53348. 3856911033: "IFCSPACE",
  53349. 1999602285: "IFCSPACEHEATER",
  53350. 1305183839: "IFCSPACEHEATERTYPE",
  53351. 3812236995: "IFCSPACETYPE",
  53352. 1412071761: "IFCSPATIALELEMENT",
  53353. 710998568: "IFCSPATIALELEMENTTYPE",
  53354. 2706606064: "IFCSPATIALSTRUCTUREELEMENT",
  53355. 3893378262: "IFCSPATIALSTRUCTUREELEMENTTYPE",
  53356. 463610769: "IFCSPATIALZONE",
  53357. 2481509218: "IFCSPATIALZONETYPE",
  53358. 451544542: "IFCSPHERE",
  53359. 4015995234: "IFCSPHERICALSURFACE",
  53360. 1404847402: "IFCSTACKTERMINAL",
  53361. 3112655638: "IFCSTACKTERMINALTYPE",
  53362. 331165859: "IFCSTAIR",
  53363. 4252922144: "IFCSTAIRFLIGHT",
  53364. 1039846685: "IFCSTAIRFLIGHTTYPE",
  53365. 338393293: "IFCSTAIRTYPE",
  53366. 682877961: "IFCSTRUCTURALACTION",
  53367. 3544373492: "IFCSTRUCTURALACTIVITY",
  53368. 2515109513: "IFCSTRUCTURALANALYSISMODEL",
  53369. 1179482911: "IFCSTRUCTURALCONNECTION",
  53370. 2273995522: "IFCSTRUCTURALCONNECTIONCONDITION",
  53371. 1004757350: "IFCSTRUCTURALCURVEACTION",
  53372. 4243806635: "IFCSTRUCTURALCURVECONNECTION",
  53373. 214636428: "IFCSTRUCTURALCURVEMEMBER",
  53374. 2445595289: "IFCSTRUCTURALCURVEMEMBERVARYING",
  53375. 2757150158: "IFCSTRUCTURALCURVEREACTION",
  53376. 3136571912: "IFCSTRUCTURALITEM",
  53377. 1807405624: "IFCSTRUCTURALLINEARACTION",
  53378. 2162789131: "IFCSTRUCTURALLOAD",
  53379. 385403989: "IFCSTRUCTURALLOADCASE",
  53380. 3478079324: "IFCSTRUCTURALLOADCONFIGURATION",
  53381. 1252848954: "IFCSTRUCTURALLOADGROUP",
  53382. 1595516126: "IFCSTRUCTURALLOADLINEARFORCE",
  53383. 609421318: "IFCSTRUCTURALLOADORRESULT",
  53384. 2668620305: "IFCSTRUCTURALLOADPLANARFORCE",
  53385. 2473145415: "IFCSTRUCTURALLOADSINGLEDISPLACEMENT",
  53386. 1973038258: "IFCSTRUCTURALLOADSINGLEDISPLACEMENTDISTORTION",
  53387. 1597423693: "IFCSTRUCTURALLOADSINGLEFORCE",
  53388. 1190533807: "IFCSTRUCTURALLOADSINGLEFORCEWARPING",
  53389. 2525727697: "IFCSTRUCTURALLOADSTATIC",
  53390. 3408363356: "IFCSTRUCTURALLOADTEMPERATURE",
  53391. 530289379: "IFCSTRUCTURALMEMBER",
  53392. 1621171031: "IFCSTRUCTURALPLANARACTION",
  53393. 2082059205: "IFCSTRUCTURALPOINTACTION",
  53394. 734778138: "IFCSTRUCTURALPOINTCONNECTION",
  53395. 1235345126: "IFCSTRUCTURALPOINTREACTION",
  53396. 3689010777: "IFCSTRUCTURALREACTION",
  53397. 2986769608: "IFCSTRUCTURALRESULTGROUP",
  53398. 3657597509: "IFCSTRUCTURALSURFACEACTION",
  53399. 1975003073: "IFCSTRUCTURALSURFACECONNECTION",
  53400. 3979015343: "IFCSTRUCTURALSURFACEMEMBER",
  53401. 2218152070: "IFCSTRUCTURALSURFACEMEMBERVARYING",
  53402. 603775116: "IFCSTRUCTURALSURFACEREACTION",
  53403. 2830218821: "IFCSTYLEMODEL",
  53404. 3958052878: "IFCSTYLEDITEM",
  53405. 3049322572: "IFCSTYLEDREPRESENTATION",
  53406. 148013059: "IFCSUBCONTRACTRESOURCE",
  53407. 4095615324: "IFCSUBCONTRACTRESOURCETYPE",
  53408. 2233826070: "IFCSUBEDGE",
  53409. 2513912981: "IFCSURFACE",
  53410. 699246055: "IFCSURFACECURVE",
  53411. 2028607225: "IFCSURFACECURVESWEPTAREASOLID",
  53412. 3101698114: "IFCSURFACEFEATURE",
  53413. 2809605785: "IFCSURFACEOFLINEAREXTRUSION",
  53414. 4124788165: "IFCSURFACEOFREVOLUTION",
  53415. 2934153892: "IFCSURFACEREINFORCEMENTAREA",
  53416. 1300840506: "IFCSURFACESTYLE",
  53417. 3303107099: "IFCSURFACESTYLELIGHTING",
  53418. 1607154358: "IFCSURFACESTYLEREFRACTION",
  53419. 1878645084: "IFCSURFACESTYLERENDERING",
  53420. 846575682: "IFCSURFACESTYLESHADING",
  53421. 1351298697: "IFCSURFACESTYLEWITHTEXTURES",
  53422. 626085974: "IFCSURFACETEXTURE",
  53423. 2247615214: "IFCSWEPTAREASOLID",
  53424. 1260650574: "IFCSWEPTDISKSOLID",
  53425. 1096409881: "IFCSWEPTDISKSOLIDPOLYGONAL",
  53426. 230924584: "IFCSWEPTSURFACE",
  53427. 1162798199: "IFCSWITCHINGDEVICE",
  53428. 2315554128: "IFCSWITCHINGDEVICETYPE",
  53429. 2254336722: "IFCSYSTEM",
  53430. 413509423: "IFCSYSTEMFURNITUREELEMENT",
  53431. 1580310250: "IFCSYSTEMFURNITUREELEMENTTYPE",
  53432. 3071757647: "IFCTSHAPEPROFILEDEF",
  53433. 985171141: "IFCTABLE",
  53434. 2043862942: "IFCTABLECOLUMN",
  53435. 531007025: "IFCTABLEROW",
  53436. 812556717: "IFCTANK",
  53437. 5716631: "IFCTANKTYPE",
  53438. 3473067441: "IFCTASK",
  53439. 1549132990: "IFCTASKTIME",
  53440. 2771591690: "IFCTASKTIMERECURRING",
  53441. 3206491090: "IFCTASKTYPE",
  53442. 912023232: "IFCTELECOMADDRESS",
  53443. 3824725483: "IFCTENDON",
  53444. 2347447852: "IFCTENDONANCHOR",
  53445. 3081323446: "IFCTENDONANCHORTYPE",
  53446. 3663046924: "IFCTENDONCONDUIT",
  53447. 2281632017: "IFCTENDONCONDUITTYPE",
  53448. 2415094496: "IFCTENDONTYPE",
  53449. 2387106220: "IFCTESSELLATEDFACESET",
  53450. 901063453: "IFCTESSELLATEDITEM",
  53451. 4282788508: "IFCTEXTLITERAL",
  53452. 3124975700: "IFCTEXTLITERALWITHEXTENT",
  53453. 1447204868: "IFCTEXTSTYLE",
  53454. 1983826977: "IFCTEXTSTYLEFONTMODEL",
  53455. 2636378356: "IFCTEXTSTYLEFORDEFINEDFONT",
  53456. 1640371178: "IFCTEXTSTYLETEXTMODEL",
  53457. 280115917: "IFCTEXTURECOORDINATE",
  53458. 1742049831: "IFCTEXTURECOORDINATEGENERATOR",
  53459. 2552916305: "IFCTEXTUREMAP",
  53460. 1210645708: "IFCTEXTUREVERTEX",
  53461. 3611470254: "IFCTEXTUREVERTEXLIST",
  53462. 1199560280: "IFCTIMEPERIOD",
  53463. 3101149627: "IFCTIMESERIES",
  53464. 581633288: "IFCTIMESERIESVALUE",
  53465. 1377556343: "IFCTOPOLOGICALREPRESENTATIONITEM",
  53466. 1735638870: "IFCTOPOLOGYREPRESENTATION",
  53467. 1935646853: "IFCTOROIDALSURFACE",
  53468. 3825984169: "IFCTRANSFORMER",
  53469. 1692211062: "IFCTRANSFORMERTYPE",
  53470. 2595432518: "IFCTRANSITIONCURVESEGMENT2D",
  53471. 1620046519: "IFCTRANSPORTELEMENT",
  53472. 2097647324: "IFCTRANSPORTELEMENTTYPE",
  53473. 2715220739: "IFCTRAPEZIUMPROFILEDEF",
  53474. 2916149573: "IFCTRIANGULATEDFACESET",
  53475. 1229763772: "IFCTRIANGULATEDIRREGULARNETWORK",
  53476. 3593883385: "IFCTRIMMEDCURVE",
  53477. 3026737570: "IFCTUBEBUNDLE",
  53478. 1600972822: "IFCTUBEBUNDLETYPE",
  53479. 1628702193: "IFCTYPEOBJECT",
  53480. 3736923433: "IFCTYPEPROCESS",
  53481. 2347495698: "IFCTYPEPRODUCT",
  53482. 3698973494: "IFCTYPERESOURCE",
  53483. 427810014: "IFCUSHAPEPROFILEDEF",
  53484. 180925521: "IFCUNITASSIGNMENT",
  53485. 630975310: "IFCUNITARYCONTROLELEMENT",
  53486. 3179687236: "IFCUNITARYCONTROLELEMENTTYPE",
  53487. 4292641817: "IFCUNITARYEQUIPMENT",
  53488. 1911125066: "IFCUNITARYEQUIPMENTTYPE",
  53489. 4207607924: "IFCVALVE",
  53490. 728799441: "IFCVALVETYPE",
  53491. 1417489154: "IFCVECTOR",
  53492. 2799835756: "IFCVERTEX",
  53493. 2759199220: "IFCVERTEXLOOP",
  53494. 1907098498: "IFCVERTEXPOINT",
  53495. 1530820697: "IFCVIBRATIONDAMPER",
  53496. 3956297820: "IFCVIBRATIONDAMPERTYPE",
  53497. 2391383451: "IFCVIBRATIONISOLATOR",
  53498. 3313531582: "IFCVIBRATIONISOLATORTYPE",
  53499. 2769231204: "IFCVIRTUALELEMENT",
  53500. 891718957: "IFCVIRTUALGRIDINTERSECTION",
  53501. 926996030: "IFCVOIDINGFEATURE",
  53502. 2391406946: "IFCWALL",
  53503. 4156078855: "IFCWALLELEMENTEDCASE",
  53504. 3512223829: "IFCWALLSTANDARDCASE",
  53505. 1898987631: "IFCWALLTYPE",
  53506. 4237592921: "IFCWASTETERMINAL",
  53507. 1133259667: "IFCWASTETERMINALTYPE",
  53508. 3304561284: "IFCWINDOW",
  53509. 336235671: "IFCWINDOWLININGPROPERTIES",
  53510. 512836454: "IFCWINDOWPANELPROPERTIES",
  53511. 486154966: "IFCWINDOWSTANDARDCASE",
  53512. 1299126871: "IFCWINDOWSTYLE",
  53513. 4009809668: "IFCWINDOWTYPE",
  53514. 4088093105: "IFCWORKCALENDAR",
  53515. 1028945134: "IFCWORKCONTROL",
  53516. 4218914973: "IFCWORKPLAN",
  53517. 3342526732: "IFCWORKSCHEDULE",
  53518. 1236880293: "IFCWORKTIME",
  53519. 2543172580: "IFCZSHAPEPROFILEDEF",
  53520. 1033361043: "IFCZONE"
  53521. };
  53522. // dist/helpers/properties.ts
  53523. var PropsNames = {
  53524. aggregates: {
  53525. name: IFCRELAGGREGATES,
  53526. relating: "RelatingObject",
  53527. related: "RelatedObjects",
  53528. key: "children"
  53529. },
  53530. spatial: {
  53531. name: IFCRELCONTAINEDINSPATIALSTRUCTURE,
  53532. relating: "RelatingStructure",
  53533. related: "RelatedElements",
  53534. key: "children"
  53535. },
  53536. psets: {
  53537. name: IFCRELDEFINESBYPROPERTIES,
  53538. relating: "RelatingPropertyDefinition",
  53539. related: "RelatedObjects",
  53540. key: "hasPsets"
  53541. },
  53542. materials: {
  53543. name: IFCRELASSOCIATESMATERIAL,
  53544. relating: "RelatingMaterial",
  53545. related: "RelatedObjects",
  53546. key: "hasMaterial"
  53547. },
  53548. type: {
  53549. name: IFCRELDEFINESBYTYPE,
  53550. relating: "RelatingType",
  53551. related: "RelatedObjects",
  53552. key: "hasType"
  53553. }
  53554. };
  53555. var Properties = class {
  53556. constructor(api) {
  53557. this.api = api;
  53558. }
  53559. getIfcType(type) {
  53560. return IfcTypesMap[type];
  53561. }
  53562. getItemProperties(modelID, id, recursive = false) {
  53563. return __async(this, null, function* () {
  53564. return this.api.GetLine(modelID, id, recursive);
  53565. });
  53566. }
  53567. getPropertySets(modelID, elementID, recursive = false) {
  53568. return __async(this, null, function* () {
  53569. return yield this.getProperty(modelID, elementID, recursive, PropsNames.psets);
  53570. });
  53571. }
  53572. getTypeProperties(modelID, elementID, recursive = false) {
  53573. return __async(this, null, function* () {
  53574. return yield this.getProperty(modelID, elementID, recursive, PropsNames.type);
  53575. });
  53576. }
  53577. getMaterialsProperties(modelID, elementID, recursive = false) {
  53578. return __async(this, null, function* () {
  53579. return yield this.getProperty(modelID, elementID, recursive, PropsNames.materials);
  53580. });
  53581. }
  53582. getSpatialStructure(modelID, includeProperties) {
  53583. return __async(this, null, function* () {
  53584. yield this.getAllTypesOfModel(modelID);
  53585. const chunks = yield this.getSpatialTreeChunks(modelID);
  53586. const allLines = yield this.api.GetLineIDsWithType(modelID, IFCPROJECT);
  53587. const projectID = allLines.get(0);
  53588. const project = Properties.newIfcProject(projectID);
  53589. yield this.getSpatialNode(modelID, project, chunks, includeProperties);
  53590. this.cleanupTypes();
  53591. return project;
  53592. });
  53593. }
  53594. getAllItemsOfType(modelID, type, verbose) {
  53595. return __async(this, null, function* () {
  53596. let items = [];
  53597. const lines = yield this.api.GetLineIDsWithType(modelID, type);
  53598. for (let i = 0; i < lines.size(); i++)
  53599. items.push(lines.get(i));
  53600. if (!verbose)
  53601. return items;
  53602. const result = [];
  53603. for (let i = 0; i < items.length; i++) {
  53604. result.push(yield this.api.GetLine(modelID, items[i]));
  53605. }
  53606. return result;
  53607. });
  53608. }
  53609. getProperty(modelID, elementID, recursive = false, propName) {
  53610. return __async(this, null, function* () {
  53611. const propSetIds = yield this.getAllRelatedItemsOfType(modelID, elementID, propName);
  53612. const result = [];
  53613. for (let i = 0; i < propSetIds.length; i++) {
  53614. result.push(yield this.api.GetLine(modelID, propSetIds[i], recursive));
  53615. }
  53616. return result;
  53617. });
  53618. }
  53619. getChunks(modelID, chunks, propNames) {
  53620. return __async(this, null, function* () {
  53621. const relation = yield this.api.GetLineIDsWithType(modelID, propNames.name);
  53622. for (let i = 0; i < relation.size(); i++) {
  53623. const rel = yield this.api.GetLine(modelID, relation.get(i), false);
  53624. this.saveChunk(chunks, propNames, rel);
  53625. }
  53626. });
  53627. }
  53628. static isRelated(id, rel, propNames) {
  53629. const relatedItems = rel[propNames.related];
  53630. if (Array.isArray(relatedItems)) {
  53631. const values = relatedItems.map((item) => item.value);
  53632. return values.includes(id);
  53633. }
  53634. return relatedItems.value === id;
  53635. }
  53636. static newIfcProject(id) {
  53637. return {
  53638. expressID: id,
  53639. type: "IFCPROJECT",
  53640. children: []
  53641. };
  53642. }
  53643. getSpatialNode(modelID, node, treeChunks, includeProperties) {
  53644. return __async(this, null, function* () {
  53645. yield this.getChildren(modelID, node, treeChunks, PropsNames.aggregates, includeProperties);
  53646. yield this.getChildren(modelID, node, treeChunks, PropsNames.spatial, includeProperties);
  53647. });
  53648. }
  53649. getChildren(modelID, node, treeChunks, propNames, includeProperties) {
  53650. return __async(this, null, function* () {
  53651. const children = treeChunks[node.expressID];
  53652. if (children == void 0)
  53653. return;
  53654. const prop = propNames.key;
  53655. const nodes = [];
  53656. for (let i = 0; i < children.length; i++) {
  53657. const child = children[i];
  53658. let node2 = this.newNode(child);
  53659. if (includeProperties) {
  53660. const properties = yield this.getItemProperties(modelID, node2.expressID);
  53661. node2 = __spreadValues(__spreadValues({}, properties), node2);
  53662. }
  53663. yield this.getSpatialNode(modelID, node2, treeChunks, includeProperties);
  53664. nodes.push(node2);
  53665. }
  53666. node[prop] = nodes;
  53667. });
  53668. }
  53669. newNode(id) {
  53670. const typeName = this.getNodeType(id);
  53671. return {
  53672. expressID: id,
  53673. type: typeName,
  53674. children: []
  53675. };
  53676. }
  53677. getNodeType(id) {
  53678. const typeID = this.types[id];
  53679. return IfcElements2[typeID];
  53680. }
  53681. getSpatialTreeChunks(modelID) {
  53682. return __async(this, null, function* () {
  53683. const treeChunks = {};
  53684. yield this.getChunks(modelID, treeChunks, PropsNames.aggregates);
  53685. yield this.getChunks(modelID, treeChunks, PropsNames.spatial);
  53686. return treeChunks;
  53687. });
  53688. }
  53689. saveChunk(chunks, propNames, rel) {
  53690. const relating = rel[propNames.relating].value;
  53691. const related = rel[propNames.related].map((r) => r.value);
  53692. if (chunks[relating] == void 0) {
  53693. chunks[relating] = related;
  53694. } else {
  53695. chunks[relating] = chunks[relating].concat(related);
  53696. }
  53697. }
  53698. getRelated(rel, propNames, IDs) {
  53699. const element = rel[propNames.relating];
  53700. if (!Array.isArray(element))
  53701. IDs.push(element.value);
  53702. else
  53703. element.forEach((ele) => IDs.push(ele.value));
  53704. }
  53705. getAllRelatedItemsOfType(modelID, id, propNames) {
  53706. return __async(this, null, function* () {
  53707. const lines = yield this.api.GetLineIDsWithType(modelID, propNames.name);
  53708. const IDs = [];
  53709. for (let i = 0; i < lines.size(); i++) {
  53710. const rel = yield this.api.GetLine(modelID, lines.get(i));
  53711. const isRelated = Properties.isRelated(id, rel, propNames);
  53712. if (isRelated)
  53713. this.getRelated(rel, propNames, IDs);
  53714. }
  53715. return IDs;
  53716. });
  53717. }
  53718. cleanupTypes() {
  53719. this.types = {};
  53720. }
  53721. getAllTypesOfModel(modelID) {
  53722. return __async(this, null, function* () {
  53723. const result = {};
  53724. const elements = Object.keys(IfcElements2).map((e) => parseInt(e));
  53725. for (let i = 0; i < elements.length; i++) {
  53726. const element = elements[i];
  53727. const lines = yield this.api.GetLineIDsWithType(modelID, element);
  53728. const size = lines.size();
  53729. for (let i2 = 0; i2 < size; i2++)
  53730. result[lines.get(i2)] = element;
  53731. }
  53732. this.types = result;
  53733. });
  53734. }
  53735. };
  53736. // dist/web-ifc-api.ts
  53737. var WebIFCWasm;
  53738. if (typeof self !== "undefined" && self.crossOriginIsolated) {
  53739. WebIFCWasm = require_web_ifc_mt();
  53740. } else {
  53741. WebIFCWasm = require_web_ifc();
  53742. }
  53743. var UNKNOWN = 0;
  53744. var STRING = 1;
  53745. var LABEL = 2;
  53746. var ENUM = 3;
  53747. var REAL = 4;
  53748. var REF = 5;
  53749. var EMPTY = 6;
  53750. var SET_BEGIN = 7;
  53751. var SET_END = 8;
  53752. var LINE_END = 9;
  53753. function ms() {
  53754. return new Date().getTime();
  53755. }
  53756. var IfcAPI2 = class {
  53757. constructor() {
  53758. this.wasmModule = void 0;
  53759. this.fs = void 0;
  53760. this.wasmPath = "";
  53761. this.isWasmPathAbsolute = false;
  53762. this.ifcGuidMap = new Map();
  53763. this.properties = new Properties(this);
  53764. }
  53765. Init(customLocateFileHandler) {
  53766. return __async(this, null, function* () {
  53767. if (WebIFCWasm) {
  53768. let locateFileHandler = (path, prefix) => {
  53769. if (path.endsWith(".wasm")) {
  53770. if (this.isWasmPathAbsolute) {
  53771. return this.wasmPath + path;
  53772. }
  53773. return prefix + this.wasmPath + path;
  53774. }
  53775. return prefix + path;
  53776. };
  53777. this.wasmModule = yield WebIFCWasm({ noInitialRun: true, locateFile: customLocateFileHandler || locateFileHandler });
  53778. this.fs = this.wasmModule.FS;
  53779. } else {
  53780. console.error(`Could not find wasm module at './web-ifc' from web-ifc-api.ts`);
  53781. }
  53782. });
  53783. }
  53784. OpenModel(data, settings) {
  53785. let s = __spreadValues({
  53786. COORDINATE_TO_ORIGIN: false,
  53787. USE_FAST_BOOLS: false,
  53788. CIRCLE_SEGMENTS_LOW: 5,
  53789. CIRCLE_SEGMENTS_MEDIUM: 8,
  53790. CIRCLE_SEGMENTS_HIGH: 12,
  53791. BOOL_ABORT_THRESHOLD: 1e4
  53792. }, settings);
  53793. let offsetInSrc = 0;
  53794. let result = this.wasmModule.OpenModel(s, (destPtr, destSize) => {
  53795. let srcSize = Math.min(data.byteLength - offsetInSrc, destSize);
  53796. let dest = this.wasmModule.HEAPU8.subarray(destPtr, destPtr + destSize);
  53797. let src = data.subarray(offsetInSrc, offsetInSrc + srcSize);
  53798. dest.set(src);
  53799. offsetInSrc += srcSize;
  53800. return srcSize;
  53801. });
  53802. return result;
  53803. }
  53804. CreateModel(settings) {
  53805. let s = __spreadValues({
  53806. COORDINATE_TO_ORIGIN: false,
  53807. USE_FAST_BOOLS: false,
  53808. CIRCLE_SEGMENTS_LOW: 5,
  53809. CIRCLE_SEGMENTS_MEDIUM: 8,
  53810. CIRCLE_SEGMENTS_HIGH: 12,
  53811. BOOL_ABORT_THRESHOLD: 1e4
  53812. }, settings);
  53813. let result = this.wasmModule.CreateModel(s);
  53814. return result;
  53815. }
  53816. ExportFileAsIFC(modelID) {
  53817. this.wasmModule.ExportFileAsIFC(modelID);
  53818. let result = this.fs.readFile("/export.ifc");
  53819. this.wasmModule["FS_unlink"]("/export.ifc");
  53820. return result;
  53821. }
  53822. GetGeometry(modelID, geometryExpressID) {
  53823. return this.wasmModule.GetGeometry(modelID, geometryExpressID);
  53824. }
  53825. GetLine(modelID, expressID, flatten = false) {
  53826. let rawLineData = this.GetRawLineData(modelID, expressID);
  53827. let lineData = FromRawLineData[rawLineData.type](rawLineData);
  53828. if (flatten) {
  53829. this.FlattenLine(modelID, lineData);
  53830. }
  53831. return lineData;
  53832. }
  53833. GetAndClearErrors(modelID) {
  53834. return this.wasmModule.GetAndClearErrors(modelID);
  53835. }
  53836. WriteLine(modelID, lineObject) {
  53837. Object.keys(lineObject).forEach((propertyName) => {
  53838. let property = lineObject[propertyName];
  53839. if (property && property.expressID !== void 0) {
  53840. this.WriteLine(modelID, property);
  53841. lineObject[propertyName] = {
  53842. type: 5,
  53843. value: property.expressID
  53844. };
  53845. } else if (Array.isArray(property) && property.length > 0) {
  53846. for (let i = 0; i < property.length; i++) {
  53847. if (property[i].expressID !== void 0) {
  53848. this.WriteLine(modelID, property[i]);
  53849. lineObject[propertyName][i] = {
  53850. type: 5,
  53851. value: property[i].expressID
  53852. };
  53853. }
  53854. }
  53855. }
  53856. });
  53857. if (lineObject.expressID == void 0 || lineObject.type == void 0 || lineObject.ToType === void 0) {
  53858. console.warn("Line object cannot be serialized: ", lineObject);
  53859. return;
  53860. }
  53861. let rawLineData = {
  53862. ID: lineObject.expressID,
  53863. type: lineObject.type,
  53864. arguments: lineObject.ToTape()
  53865. };
  53866. this.WriteRawLineData(modelID, rawLineData);
  53867. }
  53868. FlattenLine(modelID, line) {
  53869. Object.keys(line).forEach((propertyName) => {
  53870. let property = line[propertyName];
  53871. if (property && property.type === 5) {
  53872. line[propertyName] = this.GetLine(modelID, property.value, true);
  53873. } else if (Array.isArray(property) && property.length > 0 && property[0].type === 5) {
  53874. for (let i = 0; i < property.length; i++) {
  53875. line[propertyName][i] = this.GetLine(modelID, property[i].value, true);
  53876. }
  53877. }
  53878. });
  53879. }
  53880. GetRawLineData(modelID, expressID) {
  53881. return this.wasmModule.GetLine(modelID, expressID);
  53882. }
  53883. WriteRawLineData(modelID, data) {
  53884. return this.wasmModule.WriteLine(modelID, data.ID, data.type, data.arguments);
  53885. }
  53886. GetLineIDsWithType(modelID, type) {
  53887. return this.wasmModule.GetLineIDsWithType(modelID, type);
  53888. }
  53889. GetAllLines(modelID) {
  53890. return this.wasmModule.GetAllLines(modelID);
  53891. }
  53892. SetGeometryTransformation(modelID, transformationMatrix) {
  53893. if (transformationMatrix.length != 16) {
  53894. console.log(`Bad transformation matrix size: ${transformationMatrix.length}`);
  53895. return;
  53896. }
  53897. this.wasmModule.SetGeometryTransformation(modelID, transformationMatrix);
  53898. }
  53899. GetCoordinationMatrix(modelID) {
  53900. return this.wasmModule.GetCoordinationMatrix(modelID);
  53901. }
  53902. GetVertexArray(ptr, size) {
  53903. return this.getSubArray(this.wasmModule.HEAPF32, ptr, size);
  53904. }
  53905. GetIndexArray(ptr, size) {
  53906. return this.getSubArray(this.wasmModule.HEAPU32, ptr, size);
  53907. }
  53908. getSubArray(heap, startPtr, sizeBytes) {
  53909. return heap.subarray(startPtr / 4, startPtr / 4 + sizeBytes).slice(0);
  53910. }
  53911. CloseModel(modelID) {
  53912. this.ifcGuidMap.delete(modelID);
  53913. this.wasmModule.CloseModel(modelID);
  53914. }
  53915. StreamAllMeshes(modelID, meshCallback) {
  53916. this.wasmModule.StreamAllMeshes(modelID, meshCallback);
  53917. }
  53918. StreamAllMeshesWithTypes(modelID, types, meshCallback) {
  53919. this.wasmModule.StreamAllMeshesWithTypes(modelID, types, meshCallback);
  53920. }
  53921. IsModelOpen(modelID) {
  53922. return this.wasmModule.IsModelOpen(modelID);
  53923. }
  53924. LoadAllGeometry(modelID) {
  53925. return this.wasmModule.LoadAllGeometry(modelID);
  53926. }
  53927. GetFlatMesh(modelID, expressID) {
  53928. return this.wasmModule.GetFlatMesh(modelID, expressID);
  53929. }
  53930. CreateIfcGuidToExpressIdMapping(modelID) {
  53931. const map = new Map();
  53932. for (let x = 0; x < IfcElements.length; x++) {
  53933. const type = IfcElements[x];
  53934. const lines = this.GetLineIDsWithType(modelID, type);
  53935. const size = lines.size();
  53936. for (let y = 0; y < size; y++) {
  53937. const expressID = lines.get(y);
  53938. const info = this.GetLine(modelID, expressID);
  53939. const globalID = info.GlobalId.value;
  53940. map.set(expressID, globalID);
  53941. map.set(globalID, expressID);
  53942. }
  53943. }
  53944. this.ifcGuidMap.set(modelID, map);
  53945. }
  53946. SetWasmPath(path, absolute = false) {
  53947. this.wasmPath = path;
  53948. this.isWasmPathAbsolute = absolute;
  53949. }
  53950. };
  53951. export {
  53952. EMPTY,
  53953. ENUM,
  53954. FromRawLineData,
  53955. Handle,
  53956. IFCACTIONREQUEST,
  53957. IFCACTOR,
  53958. IFCACTORROLE,
  53959. IFCACTUATOR,
  53960. IFCACTUATORTYPE,
  53961. IFCADDRESS,
  53962. IFCADVANCEDBREP,
  53963. IFCADVANCEDBREPWITHVOIDS,
  53964. IFCADVANCEDFACE,
  53965. IFCAIRTERMINAL,
  53966. IFCAIRTERMINALBOX,
  53967. IFCAIRTERMINALBOXTYPE,
  53968. IFCAIRTERMINALTYPE,
  53969. IFCAIRTOAIRHEATRECOVERY,
  53970. IFCAIRTOAIRHEATRECOVERYTYPE,
  53971. IFCALARM,
  53972. IFCALARMTYPE,
  53973. IFCALIGNMENT,
  53974. IFCALIGNMENT2DHORIZONTAL,
  53975. IFCALIGNMENT2DHORIZONTALSEGMENT,
  53976. IFCALIGNMENT2DSEGMENT,
  53977. IFCALIGNMENT2DVERSEGCIRCULARARC,
  53978. IFCALIGNMENT2DVERSEGLINE,
  53979. IFCALIGNMENT2DVERSEGPARABOLICARC,
  53980. IFCALIGNMENT2DVERTICAL,
  53981. IFCALIGNMENT2DVERTICALSEGMENT,
  53982. IFCALIGNMENTCURVE,
  53983. IFCANNOTATION,
  53984. IFCANNOTATIONFILLAREA,
  53985. IFCAPPLICATION,
  53986. IFCAPPLIEDVALUE,
  53987. IFCAPPROVAL,
  53988. IFCAPPROVALRELATIONSHIP,
  53989. IFCARBITRARYCLOSEDPROFILEDEF,
  53990. IFCARBITRARYOPENPROFILEDEF,
  53991. IFCARBITRARYPROFILEDEFWITHVOIDS,
  53992. IFCASSET,
  53993. IFCASYMMETRICISHAPEPROFILEDEF,
  53994. IFCAUDIOVISUALAPPLIANCE,
  53995. IFCAUDIOVISUALAPPLIANCETYPE,
  53996. IFCAXIS1PLACEMENT,
  53997. IFCAXIS2PLACEMENT2D,
  53998. IFCAXIS2PLACEMENT3D,
  53999. IFCBEAM,
  54000. IFCBEAMSTANDARDCASE,
  54001. IFCBEAMTYPE,
  54002. IFCBEARING,
  54003. IFCBEARINGTYPE,
  54004. IFCBLOBTEXTURE,
  54005. IFCBLOCK,
  54006. IFCBOILER,
  54007. IFCBOILERTYPE,
  54008. IFCBOOLEANCLIPPINGRESULT,
  54009. IFCBOOLEANRESULT,
  54010. IFCBOUNDARYCONDITION,
  54011. IFCBOUNDARYCURVE,
  54012. IFCBOUNDARYEDGECONDITION,
  54013. IFCBOUNDARYFACECONDITION,
  54014. IFCBOUNDARYNODECONDITION,
  54015. IFCBOUNDARYNODECONDITIONWARPING,
  54016. IFCBOUNDEDCURVE,
  54017. IFCBOUNDEDSURFACE,
  54018. IFCBOUNDINGBOX,
  54019. IFCBOXEDHALFSPACE,
  54020. IFCBRIDGE,
  54021. IFCBRIDGEPART,
  54022. IFCBSPLINECURVE,
  54023. IFCBSPLINECURVEWITHKNOTS,
  54024. IFCBSPLINESURFACE,
  54025. IFCBSPLINESURFACEWITHKNOTS,
  54026. IFCBUILDING,
  54027. IFCBUILDINGELEMENT,
  54028. IFCBUILDINGELEMENTPART,
  54029. IFCBUILDINGELEMENTPARTTYPE,
  54030. IFCBUILDINGELEMENTPROXY,
  54031. IFCBUILDINGELEMENTPROXYTYPE,
  54032. IFCBUILDINGELEMENTTYPE,
  54033. IFCBUILDINGSTOREY,
  54034. IFCBUILDINGSYSTEM,
  54035. IFCBURNER,
  54036. IFCBURNERTYPE,
  54037. IFCCABLECARRIERFITTING,
  54038. IFCCABLECARRIERFITTINGTYPE,
  54039. IFCCABLECARRIERSEGMENT,
  54040. IFCCABLECARRIERSEGMENTTYPE,
  54041. IFCCABLEFITTING,
  54042. IFCCABLEFITTINGTYPE,
  54043. IFCCABLESEGMENT,
  54044. IFCCABLESEGMENTTYPE,
  54045. IFCCAISSONFOUNDATION,
  54046. IFCCAISSONFOUNDATIONTYPE,
  54047. IFCCARTESIANPOINT,
  54048. IFCCARTESIANPOINTLIST,
  54049. IFCCARTESIANPOINTLIST2D,
  54050. IFCCARTESIANPOINTLIST3D,
  54051. IFCCARTESIANTRANSFORMATIONOPERATOR,
  54052. IFCCARTESIANTRANSFORMATIONOPERATOR2D,
  54053. IFCCARTESIANTRANSFORMATIONOPERATOR2DNONUNIFORM,
  54054. IFCCARTESIANTRANSFORMATIONOPERATOR3D,
  54055. IFCCARTESIANTRANSFORMATIONOPERATOR3DNONUNIFORM,
  54056. IFCCENTERLINEPROFILEDEF,
  54057. IFCCHILLER,
  54058. IFCCHILLERTYPE,
  54059. IFCCHIMNEY,
  54060. IFCCHIMNEYTYPE,
  54061. IFCCIRCLE,
  54062. IFCCIRCLEHOLLOWPROFILEDEF,
  54063. IFCCIRCLEPROFILEDEF,
  54064. IFCCIRCULARARCSEGMENT2D,
  54065. IFCCIVILELEMENT,
  54066. IFCCIVILELEMENTTYPE,
  54067. IFCCLASSIFICATION,
  54068. IFCCLASSIFICATIONREFERENCE,
  54069. IFCCLOSEDSHELL,
  54070. IFCCOIL,
  54071. IFCCOILTYPE,
  54072. IFCCOLOURRGB,
  54073. IFCCOLOURRGBLIST,
  54074. IFCCOLOURSPECIFICATION,
  54075. IFCCOLUMN,
  54076. IFCCOLUMNSTANDARDCASE,
  54077. IFCCOLUMNTYPE,
  54078. IFCCOMMUNICATIONSAPPLIANCE,
  54079. IFCCOMMUNICATIONSAPPLIANCETYPE,
  54080. IFCCOMPLEXPROPERTY,
  54081. IFCCOMPLEXPROPERTYTEMPLATE,
  54082. IFCCOMPOSITECURVE,
  54083. IFCCOMPOSITECURVEONSURFACE,
  54084. IFCCOMPOSITECURVESEGMENT,
  54085. IFCCOMPOSITEPROFILEDEF,
  54086. IFCCOMPRESSOR,
  54087. IFCCOMPRESSORTYPE,
  54088. IFCCONDENSER,
  54089. IFCCONDENSERTYPE,
  54090. IFCCONIC,
  54091. IFCCONNECTEDFACESET,
  54092. IFCCONNECTIONCURVEGEOMETRY,
  54093. IFCCONNECTIONGEOMETRY,
  54094. IFCCONNECTIONPOINTECCENTRICITY,
  54095. IFCCONNECTIONPOINTGEOMETRY,
  54096. IFCCONNECTIONSURFACEGEOMETRY,
  54097. IFCCONNECTIONVOLUMEGEOMETRY,
  54098. IFCCONSTRAINT,
  54099. IFCCONSTRUCTIONEQUIPMENTRESOURCE,
  54100. IFCCONSTRUCTIONEQUIPMENTRESOURCETYPE,
  54101. IFCCONSTRUCTIONMATERIALRESOURCE,
  54102. IFCCONSTRUCTIONMATERIALRESOURCETYPE,
  54103. IFCCONSTRUCTIONPRODUCTRESOURCE,
  54104. IFCCONSTRUCTIONPRODUCTRESOURCETYPE,
  54105. IFCCONSTRUCTIONRESOURCE,
  54106. IFCCONSTRUCTIONRESOURCETYPE,
  54107. IFCCONTEXT,
  54108. IFCCONTEXTDEPENDENTUNIT,
  54109. IFCCONTROL,
  54110. IFCCONTROLLER,
  54111. IFCCONTROLLERTYPE,
  54112. IFCCONVERSIONBASEDUNIT,
  54113. IFCCONVERSIONBASEDUNITWITHOFFSET,
  54114. IFCCOOLEDBEAM,
  54115. IFCCOOLEDBEAMTYPE,
  54116. IFCCOOLINGTOWER,
  54117. IFCCOOLINGTOWERTYPE,
  54118. IFCCOORDINATEOPERATION,
  54119. IFCCOORDINATEREFERENCESYSTEM,
  54120. IFCCOSTITEM,
  54121. IFCCOSTSCHEDULE,
  54122. IFCCOSTVALUE,
  54123. IFCCOVERING,
  54124. IFCCOVERINGTYPE,
  54125. IFCCREWRESOURCE,
  54126. IFCCREWRESOURCETYPE,
  54127. IFCCSGPRIMITIVE3D,
  54128. IFCCSGSOLID,
  54129. IFCCSHAPEPROFILEDEF,
  54130. IFCCURRENCYRELATIONSHIP,
  54131. IFCCURTAINWALL,
  54132. IFCCURTAINWALLTYPE,
  54133. IFCCURVE,
  54134. IFCCURVEBOUNDEDPLANE,
  54135. IFCCURVEBOUNDEDSURFACE,
  54136. IFCCURVESEGMENT2D,
  54137. IFCCURVESTYLE,
  54138. IFCCURVESTYLEFONT,
  54139. IFCCURVESTYLEFONTANDSCALING,
  54140. IFCCURVESTYLEFONTPATTERN,
  54141. IFCCYLINDRICALSURFACE,
  54142. IFCDAMPER,
  54143. IFCDAMPERTYPE,
  54144. IFCDEEPFOUNDATION,
  54145. IFCDEEPFOUNDATIONTYPE,
  54146. IFCDERIVEDPROFILEDEF,
  54147. IFCDERIVEDUNIT,
  54148. IFCDERIVEDUNITELEMENT,
  54149. IFCDIMENSIONALEXPONENTS,
  54150. IFCDIRECTION,
  54151. IFCDISCRETEACCESSORY,
  54152. IFCDISCRETEACCESSORYTYPE,
  54153. IFCDISTANCEEXPRESSION,
  54154. IFCDISTRIBUTIONCHAMBERELEMENT,
  54155. IFCDISTRIBUTIONCHAMBERELEMENTTYPE,
  54156. IFCDISTRIBUTIONCIRCUIT,
  54157. IFCDISTRIBUTIONCONTROLELEMENT,
  54158. IFCDISTRIBUTIONCONTROLELEMENTTYPE,
  54159. IFCDISTRIBUTIONELEMENT,
  54160. IFCDISTRIBUTIONELEMENTTYPE,
  54161. IFCDISTRIBUTIONFLOWELEMENT,
  54162. IFCDISTRIBUTIONFLOWELEMENTTYPE,
  54163. IFCDISTRIBUTIONPORT,
  54164. IFCDISTRIBUTIONSYSTEM,
  54165. IFCDOCUMENTINFORMATION,
  54166. IFCDOCUMENTINFORMATIONRELATIONSHIP,
  54167. IFCDOCUMENTREFERENCE,
  54168. IFCDOOR,
  54169. IFCDOORLININGPROPERTIES,
  54170. IFCDOORPANELPROPERTIES,
  54171. IFCDOORSTANDARDCASE,
  54172. IFCDOORSTYLE,
  54173. IFCDOORTYPE,
  54174. IFCDRAUGHTINGPREDEFINEDCOLOUR,
  54175. IFCDRAUGHTINGPREDEFINEDCURVEFONT,
  54176. IFCDUCTFITTING,
  54177. IFCDUCTFITTINGTYPE,
  54178. IFCDUCTSEGMENT,
  54179. IFCDUCTSEGMENTTYPE,
  54180. IFCDUCTSILENCER,
  54181. IFCDUCTSILENCERTYPE,
  54182. IFCEDGE,
  54183. IFCEDGECURVE,
  54184. IFCEDGELOOP,
  54185. IFCELECTRICAPPLIANCE,
  54186. IFCELECTRICAPPLIANCETYPE,
  54187. IFCELECTRICDISTRIBUTIONBOARD,
  54188. IFCELECTRICDISTRIBUTIONBOARDTYPE,
  54189. IFCELECTRICFLOWSTORAGEDEVICE,
  54190. IFCELECTRICFLOWSTORAGEDEVICETYPE,
  54191. IFCELECTRICGENERATOR,
  54192. IFCELECTRICGENERATORTYPE,
  54193. IFCELECTRICMOTOR,
  54194. IFCELECTRICMOTORTYPE,
  54195. IFCELECTRICTIMECONTROL,
  54196. IFCELECTRICTIMECONTROLTYPE,
  54197. IFCELEMENT,
  54198. IFCELEMENTARYSURFACE,
  54199. IFCELEMENTASSEMBLY,
  54200. IFCELEMENTASSEMBLYTYPE,
  54201. IFCELEMENTCOMPONENT,
  54202. IFCELEMENTCOMPONENTTYPE,
  54203. IFCELEMENTQUANTITY,
  54204. IFCELEMENTTYPE,
  54205. IFCELLIPSE,
  54206. IFCELLIPSEPROFILEDEF,
  54207. IFCENERGYCONVERSIONDEVICE,
  54208. IFCENERGYCONVERSIONDEVICETYPE,
  54209. IFCENGINE,
  54210. IFCENGINETYPE,
  54211. IFCEVAPORATIVECOOLER,
  54212. IFCEVAPORATIVECOOLERTYPE,
  54213. IFCEVAPORATOR,
  54214. IFCEVAPORATORTYPE,
  54215. IFCEVENT,
  54216. IFCEVENTTIME,
  54217. IFCEVENTTYPE,
  54218. IFCEXTENDEDPROPERTIES,
  54219. IFCEXTERNALINFORMATION,
  54220. IFCEXTERNALLYDEFINEDHATCHSTYLE,
  54221. IFCEXTERNALLYDEFINEDSURFACESTYLE,
  54222. IFCEXTERNALLYDEFINEDTEXTFONT,
  54223. IFCEXTERNALREFERENCE,
  54224. IFCEXTERNALREFERENCERELATIONSHIP,
  54225. IFCEXTERNALSPATIALELEMENT,
  54226. IFCEXTERNALSPATIALSTRUCTUREELEMENT,
  54227. IFCEXTRUDEDAREASOLID,
  54228. IFCEXTRUDEDAREASOLIDTAPERED,
  54229. IFCFACE,
  54230. IFCFACEBASEDSURFACEMODEL,
  54231. IFCFACEBOUND,
  54232. IFCFACEOUTERBOUND,
  54233. IFCFACESURFACE,
  54234. IFCFACETEDBREP,
  54235. IFCFACETEDBREPWITHVOIDS,
  54236. IFCFACILITY,
  54237. IFCFACILITYPART,
  54238. IFCFAILURECONNECTIONCONDITION,
  54239. IFCFAN,
  54240. IFCFANTYPE,
  54241. IFCFASTENER,
  54242. IFCFASTENERTYPE,
  54243. IFCFEATUREELEMENT,
  54244. IFCFEATUREELEMENTADDITION,
  54245. IFCFEATUREELEMENTSUBTRACTION,
  54246. IFCFILLAREASTYLE,
  54247. IFCFILLAREASTYLEHATCHING,
  54248. IFCFILLAREASTYLETILES,
  54249. IFCFILTER,
  54250. IFCFILTERTYPE,
  54251. IFCFIRESUPPRESSIONTERMINAL,
  54252. IFCFIRESUPPRESSIONTERMINALTYPE,
  54253. IFCFIXEDREFERENCESWEPTAREASOLID,
  54254. IFCFLOWCONTROLLER,
  54255. IFCFLOWCONTROLLERTYPE,
  54256. IFCFLOWFITTING,
  54257. IFCFLOWFITTINGTYPE,
  54258. IFCFLOWINSTRUMENT,
  54259. IFCFLOWINSTRUMENTTYPE,
  54260. IFCFLOWMETER,
  54261. IFCFLOWMETERTYPE,
  54262. IFCFLOWMOVINGDEVICE,
  54263. IFCFLOWMOVINGDEVICETYPE,
  54264. IFCFLOWSEGMENT,
  54265. IFCFLOWSEGMENTTYPE,
  54266. IFCFLOWSTORAGEDEVICE,
  54267. IFCFLOWSTORAGEDEVICETYPE,
  54268. IFCFLOWTERMINAL,
  54269. IFCFLOWTERMINALTYPE,
  54270. IFCFLOWTREATMENTDEVICE,
  54271. IFCFLOWTREATMENTDEVICETYPE,
  54272. IFCFOOTING,
  54273. IFCFOOTINGTYPE,
  54274. IFCFURNISHINGELEMENT,
  54275. IFCFURNISHINGELEMENTTYPE,
  54276. IFCFURNITURE,
  54277. IFCFURNITURETYPE,
  54278. IFCGEOGRAPHICELEMENT,
  54279. IFCGEOGRAPHICELEMENTTYPE,
  54280. IFCGEOMETRICCURVESET,
  54281. IFCGEOMETRICREPRESENTATIONCONTEXT,
  54282. IFCGEOMETRICREPRESENTATIONITEM,
  54283. IFCGEOMETRICREPRESENTATIONSUBCONTEXT,
  54284. IFCGEOMETRICSET,
  54285. IFCGRID,
  54286. IFCGRIDAXIS,
  54287. IFCGRIDPLACEMENT,
  54288. IFCGROUP,
  54289. IFCHALFSPACESOLID,
  54290. IFCHEATEXCHANGER,
  54291. IFCHEATEXCHANGERTYPE,
  54292. IFCHUMIDIFIER,
  54293. IFCHUMIDIFIERTYPE,
  54294. IFCIMAGETEXTURE,
  54295. IFCINDEXEDCOLOURMAP,
  54296. IFCINDEXEDPOLYCURVE,
  54297. IFCINDEXEDPOLYGONALFACE,
  54298. IFCINDEXEDPOLYGONALFACEWITHVOIDS,
  54299. IFCINDEXEDTEXTUREMAP,
  54300. IFCINDEXEDTRIANGLETEXTUREMAP,
  54301. IFCINTERCEPTOR,
  54302. IFCINTERCEPTORTYPE,
  54303. IFCINTERSECTIONCURVE,
  54304. IFCINVENTORY,
  54305. IFCIRREGULARTIMESERIES,
  54306. IFCIRREGULARTIMESERIESVALUE,
  54307. IFCISHAPEPROFILEDEF,
  54308. IFCJUNCTIONBOX,
  54309. IFCJUNCTIONBOXTYPE,
  54310. IFCLABORRESOURCE,
  54311. IFCLABORRESOURCETYPE,
  54312. IFCLAGTIME,
  54313. IFCLAMP,
  54314. IFCLAMPTYPE,
  54315. IFCLIBRARYINFORMATION,
  54316. IFCLIBRARYREFERENCE,
  54317. IFCLIGHTDISTRIBUTIONDATA,
  54318. IFCLIGHTFIXTURE,
  54319. IFCLIGHTFIXTURETYPE,
  54320. IFCLIGHTINTENSITYDISTRIBUTION,
  54321. IFCLIGHTSOURCE,
  54322. IFCLIGHTSOURCEAMBIENT,
  54323. IFCLIGHTSOURCEDIRECTIONAL,
  54324. IFCLIGHTSOURCEGONIOMETRIC,
  54325. IFCLIGHTSOURCEPOSITIONAL,
  54326. IFCLIGHTSOURCESPOT,
  54327. IFCLINE,
  54328. IFCLINEARPLACEMENT,
  54329. IFCLINEARPOSITIONINGELEMENT,
  54330. IFCLINESEGMENT2D,
  54331. IFCLOCALPLACEMENT,
  54332. IFCLOOP,
  54333. IFCLSHAPEPROFILEDEF,
  54334. IFCMANIFOLDSOLIDBREP,
  54335. IFCMAPCONVERSION,
  54336. IFCMAPPEDITEM,
  54337. IFCMATERIAL,
  54338. IFCMATERIALCLASSIFICATIONRELATIONSHIP,
  54339. IFCMATERIALCONSTITUENT,
  54340. IFCMATERIALCONSTITUENTSET,
  54341. IFCMATERIALDEFINITION,
  54342. IFCMATERIALDEFINITIONREPRESENTATION,
  54343. IFCMATERIALLAYER,
  54344. IFCMATERIALLAYERSET,
  54345. IFCMATERIALLAYERSETUSAGE,
  54346. IFCMATERIALLAYERWITHOFFSETS,
  54347. IFCMATERIALLIST,
  54348. IFCMATERIALPROFILE,
  54349. IFCMATERIALPROFILESET,
  54350. IFCMATERIALPROFILESETUSAGE,
  54351. IFCMATERIALPROFILESETUSAGETAPERING,
  54352. IFCMATERIALPROFILEWITHOFFSETS,
  54353. IFCMATERIALPROPERTIES,
  54354. IFCMATERIALRELATIONSHIP,
  54355. IFCMATERIALUSAGEDEFINITION,
  54356. IFCMEASUREWITHUNIT,
  54357. IFCMECHANICALFASTENER,
  54358. IFCMECHANICALFASTENERTYPE,
  54359. IFCMEDICALDEVICE,
  54360. IFCMEDICALDEVICETYPE,
  54361. IFCMEMBER,
  54362. IFCMEMBERSTANDARDCASE,
  54363. IFCMEMBERTYPE,
  54364. IFCMETRIC,
  54365. IFCMIRROREDPROFILEDEF,
  54366. IFCMONETARYUNIT,
  54367. IFCMOTORCONNECTION,
  54368. IFCMOTORCONNECTIONTYPE,
  54369. IFCNAMEDUNIT,
  54370. IFCOBJECT,
  54371. IFCOBJECTDEFINITION,
  54372. IFCOBJECTIVE,
  54373. IFCOBJECTPLACEMENT,
  54374. IFCOCCUPANT,
  54375. IFCOFFSETCURVE,
  54376. IFCOFFSETCURVE2D,
  54377. IFCOFFSETCURVE3D,
  54378. IFCOFFSETCURVEBYDISTANCES,
  54379. IFCOPENINGELEMENT,
  54380. IFCOPENINGSTANDARDCASE,
  54381. IFCOPENSHELL,
  54382. IFCORGANIZATION,
  54383. IFCORGANIZATIONRELATIONSHIP,
  54384. IFCORIENTATIONEXPRESSION,
  54385. IFCORIENTEDEDGE,
  54386. IFCOUTERBOUNDARYCURVE,
  54387. IFCOUTLET,
  54388. IFCOUTLETTYPE,
  54389. IFCOWNERHISTORY,
  54390. IFCPARAMETERIZEDPROFILEDEF,
  54391. IFCPATH,
  54392. IFCPCURVE,
  54393. IFCPERFORMANCEHISTORY,
  54394. IFCPERMEABLECOVERINGPROPERTIES,
  54395. IFCPERMIT,
  54396. IFCPERSON,
  54397. IFCPERSONANDORGANIZATION,
  54398. IFCPHYSICALCOMPLEXQUANTITY,
  54399. IFCPHYSICALQUANTITY,
  54400. IFCPHYSICALSIMPLEQUANTITY,
  54401. IFCPILE,
  54402. IFCPILETYPE,
  54403. IFCPIPEFITTING,
  54404. IFCPIPEFITTINGTYPE,
  54405. IFCPIPESEGMENT,
  54406. IFCPIPESEGMENTTYPE,
  54407. IFCPIXELTEXTURE,
  54408. IFCPLACEMENT,
  54409. IFCPLANARBOX,
  54410. IFCPLANAREXTENT,
  54411. IFCPLANE,
  54412. IFCPLATE,
  54413. IFCPLATESTANDARDCASE,
  54414. IFCPLATETYPE,
  54415. IFCPOINT,
  54416. IFCPOINTONCURVE,
  54417. IFCPOINTONSURFACE,
  54418. IFCPOLYGONALBOUNDEDHALFSPACE,
  54419. IFCPOLYGONALFACESET,
  54420. IFCPOLYLINE,
  54421. IFCPOLYLOOP,
  54422. IFCPORT,
  54423. IFCPOSITIONINGELEMENT,
  54424. IFCPOSTALADDRESS,
  54425. IFCPREDEFINEDCOLOUR,
  54426. IFCPREDEFINEDCURVEFONT,
  54427. IFCPREDEFINEDITEM,
  54428. IFCPREDEFINEDPROPERTIES,
  54429. IFCPREDEFINEDPROPERTYSET,
  54430. IFCPREDEFINEDTEXTFONT,
  54431. IFCPRESENTATIONITEM,
  54432. IFCPRESENTATIONLAYERASSIGNMENT,
  54433. IFCPRESENTATIONLAYERWITHSTYLE,
  54434. IFCPRESENTATIONSTYLE,
  54435. IFCPRESENTATIONSTYLEASSIGNMENT,
  54436. IFCPROCEDURE,
  54437. IFCPROCEDURETYPE,
  54438. IFCPROCESS,
  54439. IFCPRODUCT,
  54440. IFCPRODUCTDEFINITIONSHAPE,
  54441. IFCPRODUCTREPRESENTATION,
  54442. IFCPROFILEDEF,
  54443. IFCPROFILEPROPERTIES,
  54444. IFCPROJECT,
  54445. IFCPROJECTEDCRS,
  54446. IFCPROJECTIONELEMENT,
  54447. IFCPROJECTLIBRARY,
  54448. IFCPROJECTORDER,
  54449. IFCPROPERTY,
  54450. IFCPROPERTYABSTRACTION,
  54451. IFCPROPERTYBOUNDEDVALUE,
  54452. IFCPROPERTYDEFINITION,
  54453. IFCPROPERTYDEPENDENCYRELATIONSHIP,
  54454. IFCPROPERTYENUMERATEDVALUE,
  54455. IFCPROPERTYENUMERATION,
  54456. IFCPROPERTYLISTVALUE,
  54457. IFCPROPERTYREFERENCEVALUE,
  54458. IFCPROPERTYSET,
  54459. IFCPROPERTYSETDEFINITION,
  54460. IFCPROPERTYSETTEMPLATE,
  54461. IFCPROPERTYSINGLEVALUE,
  54462. IFCPROPERTYTABLEVALUE,
  54463. IFCPROPERTYTEMPLATE,
  54464. IFCPROPERTYTEMPLATEDEFINITION,
  54465. IFCPROTECTIVEDEVICE,
  54466. IFCPROTECTIVEDEVICETRIPPINGUNIT,
  54467. IFCPROTECTIVEDEVICETRIPPINGUNITTYPE,
  54468. IFCPROTECTIVEDEVICETYPE,
  54469. IFCPROXY,
  54470. IFCPUMP,
  54471. IFCPUMPTYPE,
  54472. IFCQUANTITYAREA,
  54473. IFCQUANTITYCOUNT,
  54474. IFCQUANTITYLENGTH,
  54475. IFCQUANTITYSET,
  54476. IFCQUANTITYTIME,
  54477. IFCQUANTITYVOLUME,
  54478. IFCQUANTITYWEIGHT,
  54479. IFCRAILING,
  54480. IFCRAILINGTYPE,
  54481. IFCRAMP,
  54482. IFCRAMPFLIGHT,
  54483. IFCRAMPFLIGHTTYPE,
  54484. IFCRAMPTYPE,
  54485. IFCRATIONALBSPLINECURVEWITHKNOTS,
  54486. IFCRATIONALBSPLINESURFACEWITHKNOTS,
  54487. IFCRECTANGLEHOLLOWPROFILEDEF,
  54488. IFCRECTANGLEPROFILEDEF,
  54489. IFCRECTANGULARPYRAMID,
  54490. IFCRECTANGULARTRIMMEDSURFACE,
  54491. IFCRECURRENCEPATTERN,
  54492. IFCREFERENCE,
  54493. IFCREFERENT,
  54494. IFCREGULARTIMESERIES,
  54495. IFCREINFORCEMENTBARPROPERTIES,
  54496. IFCREINFORCEMENTDEFINITIONPROPERTIES,
  54497. IFCREINFORCINGBAR,
  54498. IFCREINFORCINGBARTYPE,
  54499. IFCREINFORCINGELEMENT,
  54500. IFCREINFORCINGELEMENTTYPE,
  54501. IFCREINFORCINGMESH,
  54502. IFCREINFORCINGMESHTYPE,
  54503. IFCRELAGGREGATES,
  54504. IFCRELASSIGNS,
  54505. IFCRELASSIGNSTOACTOR,
  54506. IFCRELASSIGNSTOCONTROL,
  54507. IFCRELASSIGNSTOGROUP,
  54508. IFCRELASSIGNSTOGROUPBYFACTOR,
  54509. IFCRELASSIGNSTOPROCESS,
  54510. IFCRELASSIGNSTOPRODUCT,
  54511. IFCRELASSIGNSTORESOURCE,
  54512. IFCRELASSOCIATES,
  54513. IFCRELASSOCIATESAPPROVAL,
  54514. IFCRELASSOCIATESCLASSIFICATION,
  54515. IFCRELASSOCIATESCONSTRAINT,
  54516. IFCRELASSOCIATESDOCUMENT,
  54517. IFCRELASSOCIATESLIBRARY,
  54518. IFCRELASSOCIATESMATERIAL,
  54519. IFCRELATIONSHIP,
  54520. IFCRELCONNECTS,
  54521. IFCRELCONNECTSELEMENTS,
  54522. IFCRELCONNECTSPATHELEMENTS,
  54523. IFCRELCONNECTSPORTS,
  54524. IFCRELCONNECTSPORTTOELEMENT,
  54525. IFCRELCONNECTSSTRUCTURALACTIVITY,
  54526. IFCRELCONNECTSSTRUCTURALMEMBER,
  54527. IFCRELCONNECTSWITHECCENTRICITY,
  54528. IFCRELCONNECTSWITHREALIZINGELEMENTS,
  54529. IFCRELCONTAINEDINSPATIALSTRUCTURE,
  54530. IFCRELCOVERSBLDGELEMENTS,
  54531. IFCRELCOVERSSPACES,
  54532. IFCRELDECLARES,
  54533. IFCRELDECOMPOSES,
  54534. IFCRELDEFINES,
  54535. IFCRELDEFINESBYOBJECT,
  54536. IFCRELDEFINESBYPROPERTIES,
  54537. IFCRELDEFINESBYTEMPLATE,
  54538. IFCRELDEFINESBYTYPE,
  54539. IFCRELFILLSELEMENT,
  54540. IFCRELFLOWCONTROLELEMENTS,
  54541. IFCRELINTERFERESELEMENTS,
  54542. IFCRELNESTS,
  54543. IFCRELPOSITIONS,
  54544. IFCRELPROJECTSELEMENT,
  54545. IFCRELREFERENCEDINSPATIALSTRUCTURE,
  54546. IFCRELSEQUENCE,
  54547. IFCRELSERVICESBUILDINGS,
  54548. IFCRELSPACEBOUNDARY,
  54549. IFCRELSPACEBOUNDARY1STLEVEL,
  54550. IFCRELSPACEBOUNDARY2NDLEVEL,
  54551. IFCRELVOIDSELEMENT,
  54552. IFCREPARAMETRISEDCOMPOSITECURVESEGMENT,
  54553. IFCREPRESENTATION,
  54554. IFCREPRESENTATIONCONTEXT,
  54555. IFCREPRESENTATIONITEM,
  54556. IFCREPRESENTATIONMAP,
  54557. IFCRESOURCE,
  54558. IFCRESOURCEAPPROVALRELATIONSHIP,
  54559. IFCRESOURCECONSTRAINTRELATIONSHIP,
  54560. IFCRESOURCELEVELRELATIONSHIP,
  54561. IFCRESOURCETIME,
  54562. IFCREVOLVEDAREASOLID,
  54563. IFCREVOLVEDAREASOLIDTAPERED,
  54564. IFCRIGHTCIRCULARCONE,
  54565. IFCRIGHTCIRCULARCYLINDER,
  54566. IFCROOF,
  54567. IFCROOFTYPE,
  54568. IFCROOT,
  54569. IFCROUNDEDRECTANGLEPROFILEDEF,
  54570. IFCSANITARYTERMINAL,
  54571. IFCSANITARYTERMINALTYPE,
  54572. IFCSCHEDULINGTIME,
  54573. IFCSEAMCURVE,
  54574. IFCSECTIONEDSOLID,
  54575. IFCSECTIONEDSOLIDHORIZONTAL,
  54576. IFCSECTIONEDSPINE,
  54577. IFCSECTIONPROPERTIES,
  54578. IFCSECTIONREINFORCEMENTPROPERTIES,
  54579. IFCSENSOR,
  54580. IFCSENSORTYPE,
  54581. IFCSHADINGDEVICE,
  54582. IFCSHADINGDEVICETYPE,
  54583. IFCSHAPEASPECT,
  54584. IFCSHAPEMODEL,
  54585. IFCSHAPEREPRESENTATION,
  54586. IFCSHELLBASEDSURFACEMODEL,
  54587. IFCSIMPLEPROPERTY,
  54588. IFCSIMPLEPROPERTYTEMPLATE,
  54589. IFCSITE,
  54590. IFCSIUNIT,
  54591. IFCSLAB,
  54592. IFCSLABELEMENTEDCASE,
  54593. IFCSLABSTANDARDCASE,
  54594. IFCSLABTYPE,
  54595. IFCSLIPPAGECONNECTIONCONDITION,
  54596. IFCSOLARDEVICE,
  54597. IFCSOLARDEVICETYPE,
  54598. IFCSOLIDMODEL,
  54599. IFCSPACE,
  54600. IFCSPACEHEATER,
  54601. IFCSPACEHEATERTYPE,
  54602. IFCSPACETYPE,
  54603. IFCSPATIALELEMENT,
  54604. IFCSPATIALELEMENTTYPE,
  54605. IFCSPATIALSTRUCTUREELEMENT,
  54606. IFCSPATIALSTRUCTUREELEMENTTYPE,
  54607. IFCSPATIALZONE,
  54608. IFCSPATIALZONETYPE,
  54609. IFCSPHERE,
  54610. IFCSPHERICALSURFACE,
  54611. IFCSTACKTERMINAL,
  54612. IFCSTACKTERMINALTYPE,
  54613. IFCSTAIR,
  54614. IFCSTAIRFLIGHT,
  54615. IFCSTAIRFLIGHTTYPE,
  54616. IFCSTAIRTYPE,
  54617. IFCSTRUCTURALACTION,
  54618. IFCSTRUCTURALACTIVITY,
  54619. IFCSTRUCTURALANALYSISMODEL,
  54620. IFCSTRUCTURALCONNECTION,
  54621. IFCSTRUCTURALCONNECTIONCONDITION,
  54622. IFCSTRUCTURALCURVEACTION,
  54623. IFCSTRUCTURALCURVECONNECTION,
  54624. IFCSTRUCTURALCURVEMEMBER,
  54625. IFCSTRUCTURALCURVEMEMBERVARYING,
  54626. IFCSTRUCTURALCURVEREACTION,
  54627. IFCSTRUCTURALITEM,
  54628. IFCSTRUCTURALLINEARACTION,
  54629. IFCSTRUCTURALLOAD,
  54630. IFCSTRUCTURALLOADCASE,
  54631. IFCSTRUCTURALLOADCONFIGURATION,
  54632. IFCSTRUCTURALLOADGROUP,
  54633. IFCSTRUCTURALLOADLINEARFORCE,
  54634. IFCSTRUCTURALLOADORRESULT,
  54635. IFCSTRUCTURALLOADPLANARFORCE,
  54636. IFCSTRUCTURALLOADSINGLEDISPLACEMENT,
  54637. IFCSTRUCTURALLOADSINGLEDISPLACEMENTDISTORTION,
  54638. IFCSTRUCTURALLOADSINGLEFORCE,
  54639. IFCSTRUCTURALLOADSINGLEFORCEWARPING,
  54640. IFCSTRUCTURALLOADSTATIC,
  54641. IFCSTRUCTURALLOADTEMPERATURE,
  54642. IFCSTRUCTURALMEMBER,
  54643. IFCSTRUCTURALPLANARACTION,
  54644. IFCSTRUCTURALPOINTACTION,
  54645. IFCSTRUCTURALPOINTCONNECTION,
  54646. IFCSTRUCTURALPOINTREACTION,
  54647. IFCSTRUCTURALREACTION,
  54648. IFCSTRUCTURALRESULTGROUP,
  54649. IFCSTRUCTURALSURFACEACTION,
  54650. IFCSTRUCTURALSURFACECONNECTION,
  54651. IFCSTRUCTURALSURFACEMEMBER,
  54652. IFCSTRUCTURALSURFACEMEMBERVARYING,
  54653. IFCSTRUCTURALSURFACEREACTION,
  54654. IFCSTYLEDITEM,
  54655. IFCSTYLEDREPRESENTATION,
  54656. IFCSTYLEMODEL,
  54657. IFCSUBCONTRACTRESOURCE,
  54658. IFCSUBCONTRACTRESOURCETYPE,
  54659. IFCSUBEDGE,
  54660. IFCSURFACE,
  54661. IFCSURFACECURVE,
  54662. IFCSURFACECURVESWEPTAREASOLID,
  54663. IFCSURFACEFEATURE,
  54664. IFCSURFACEOFLINEAREXTRUSION,
  54665. IFCSURFACEOFREVOLUTION,
  54666. IFCSURFACEREINFORCEMENTAREA,
  54667. IFCSURFACESTYLE,
  54668. IFCSURFACESTYLELIGHTING,
  54669. IFCSURFACESTYLEREFRACTION,
  54670. IFCSURFACESTYLERENDERING,
  54671. IFCSURFACESTYLESHADING,
  54672. IFCSURFACESTYLEWITHTEXTURES,
  54673. IFCSURFACETEXTURE,
  54674. IFCSWEPTAREASOLID,
  54675. IFCSWEPTDISKSOLID,
  54676. IFCSWEPTDISKSOLIDPOLYGONAL,
  54677. IFCSWEPTSURFACE,
  54678. IFCSWITCHINGDEVICE,
  54679. IFCSWITCHINGDEVICETYPE,
  54680. IFCSYSTEM,
  54681. IFCSYSTEMFURNITUREELEMENT,
  54682. IFCSYSTEMFURNITUREELEMENTTYPE,
  54683. IFCTABLE,
  54684. IFCTABLECOLUMN,
  54685. IFCTABLEROW,
  54686. IFCTANK,
  54687. IFCTANKTYPE,
  54688. IFCTASK,
  54689. IFCTASKTIME,
  54690. IFCTASKTIMERECURRING,
  54691. IFCTASKTYPE,
  54692. IFCTELECOMADDRESS,
  54693. IFCTENDON,
  54694. IFCTENDONANCHOR,
  54695. IFCTENDONANCHORTYPE,
  54696. IFCTENDONCONDUIT,
  54697. IFCTENDONCONDUITTYPE,
  54698. IFCTENDONTYPE,
  54699. IFCTESSELLATEDFACESET,
  54700. IFCTESSELLATEDITEM,
  54701. IFCTEXTLITERAL,
  54702. IFCTEXTLITERALWITHEXTENT,
  54703. IFCTEXTSTYLE,
  54704. IFCTEXTSTYLEFONTMODEL,
  54705. IFCTEXTSTYLEFORDEFINEDFONT,
  54706. IFCTEXTSTYLETEXTMODEL,
  54707. IFCTEXTURECOORDINATE,
  54708. IFCTEXTURECOORDINATEGENERATOR,
  54709. IFCTEXTUREMAP,
  54710. IFCTEXTUREVERTEX,
  54711. IFCTEXTUREVERTEXLIST,
  54712. IFCTIMEPERIOD,
  54713. IFCTIMESERIES,
  54714. IFCTIMESERIESVALUE,
  54715. IFCTOPOLOGICALREPRESENTATIONITEM,
  54716. IFCTOPOLOGYREPRESENTATION,
  54717. IFCTOROIDALSURFACE,
  54718. IFCTRANSFORMER,
  54719. IFCTRANSFORMERTYPE,
  54720. IFCTRANSITIONCURVESEGMENT2D,
  54721. IFCTRANSPORTELEMENT,
  54722. IFCTRANSPORTELEMENTTYPE,
  54723. IFCTRAPEZIUMPROFILEDEF,
  54724. IFCTRIANGULATEDFACESET,
  54725. IFCTRIANGULATEDIRREGULARNETWORK,
  54726. IFCTRIMMEDCURVE,
  54727. IFCTSHAPEPROFILEDEF,
  54728. IFCTUBEBUNDLE,
  54729. IFCTUBEBUNDLETYPE,
  54730. IFCTYPEOBJECT,
  54731. IFCTYPEPROCESS,
  54732. IFCTYPEPRODUCT,
  54733. IFCTYPERESOURCE,
  54734. IFCUNITARYCONTROLELEMENT,
  54735. IFCUNITARYCONTROLELEMENTTYPE,
  54736. IFCUNITARYEQUIPMENT,
  54737. IFCUNITARYEQUIPMENTTYPE,
  54738. IFCUNITASSIGNMENT,
  54739. IFCUSHAPEPROFILEDEF,
  54740. IFCVALVE,
  54741. IFCVALVETYPE,
  54742. IFCVECTOR,
  54743. IFCVERTEX,
  54744. IFCVERTEXLOOP,
  54745. IFCVERTEXPOINT,
  54746. IFCVIBRATIONDAMPER,
  54747. IFCVIBRATIONDAMPERTYPE,
  54748. IFCVIBRATIONISOLATOR,
  54749. IFCVIBRATIONISOLATORTYPE,
  54750. IFCVIRTUALELEMENT,
  54751. IFCVIRTUALGRIDINTERSECTION,
  54752. IFCVOIDINGFEATURE,
  54753. IFCWALL,
  54754. IFCWALLELEMENTEDCASE,
  54755. IFCWALLSTANDARDCASE,
  54756. IFCWALLTYPE,
  54757. IFCWASTETERMINAL,
  54758. IFCWASTETERMINALTYPE,
  54759. IFCWINDOW,
  54760. IFCWINDOWLININGPROPERTIES,
  54761. IFCWINDOWPANELPROPERTIES,
  54762. IFCWINDOWSTANDARDCASE,
  54763. IFCWINDOWSTYLE,
  54764. IFCWINDOWTYPE,
  54765. IFCWORKCALENDAR,
  54766. IFCWORKCONTROL,
  54767. IFCWORKPLAN,
  54768. IFCWORKSCHEDULE,
  54769. IFCWORKTIME,
  54770. IFCZONE,
  54771. IFCZSHAPEPROFILEDEF,
  54772. IfcAPI2 as IfcAPI,
  54773. IfcAbsorbedDoseMeasure,
  54774. IfcAccelerationMeasure,
  54775. IfcActionRequest,
  54776. IfcActionRequestTypeEnum,
  54777. IfcActionSourceTypeEnum,
  54778. IfcActionTypeEnum,
  54779. IfcActor,
  54780. IfcActorRole,
  54781. IfcActuator,
  54782. IfcActuatorType,
  54783. IfcActuatorTypeEnum,
  54784. IfcAddress,
  54785. IfcAddressTypeEnum,
  54786. IfcAdvancedBrep,
  54787. IfcAdvancedBrepWithVoids,
  54788. IfcAdvancedFace,
  54789. IfcAirTerminal,
  54790. IfcAirTerminalBox,
  54791. IfcAirTerminalBoxType,
  54792. IfcAirTerminalBoxTypeEnum,
  54793. IfcAirTerminalType,
  54794. IfcAirTerminalTypeEnum,
  54795. IfcAirToAirHeatRecovery,
  54796. IfcAirToAirHeatRecoveryType,
  54797. IfcAirToAirHeatRecoveryTypeEnum,
  54798. IfcAlarm,
  54799. IfcAlarmType,
  54800. IfcAlarmTypeEnum,
  54801. IfcAlignment,
  54802. IfcAlignment2DHorizontal,
  54803. IfcAlignment2DHorizontalSegment,
  54804. IfcAlignment2DSegment,
  54805. IfcAlignment2DVerSegCircularArc,
  54806. IfcAlignment2DVerSegLine,
  54807. IfcAlignment2DVerSegParabolicArc,
  54808. IfcAlignment2DVertical,
  54809. IfcAlignment2DVerticalSegment,
  54810. IfcAlignmentCurve,
  54811. IfcAlignmentTypeEnum,
  54812. IfcAmountOfSubstanceMeasure,
  54813. IfcAnalysisModelTypeEnum,
  54814. IfcAnalysisTheoryTypeEnum,
  54815. IfcAngularVelocityMeasure,
  54816. IfcAnnotation,
  54817. IfcAnnotationFillArea,
  54818. IfcApplication,
  54819. IfcAppliedValue,
  54820. IfcApproval,
  54821. IfcApprovalRelationship,
  54822. IfcArbitraryClosedProfileDef,
  54823. IfcArbitraryOpenProfileDef,
  54824. IfcArbitraryProfileDefWithVoids,
  54825. IfcAreaDensityMeasure,
  54826. IfcAreaMeasure,
  54827. IfcArithmeticOperatorEnum,
  54828. IfcAssemblyPlaceEnum,
  54829. IfcAsset,
  54830. IfcAsymmetricIShapeProfileDef,
  54831. IfcAudioVisualAppliance,
  54832. IfcAudioVisualApplianceType,
  54833. IfcAudioVisualApplianceTypeEnum,
  54834. IfcAxis1Placement,
  54835. IfcAxis2Placement2D,
  54836. IfcAxis2Placement3D,
  54837. IfcBSplineCurve,
  54838. IfcBSplineCurveForm,
  54839. IfcBSplineCurveWithKnots,
  54840. IfcBSplineSurface,
  54841. IfcBSplineSurfaceForm,
  54842. IfcBSplineSurfaceWithKnots,
  54843. IfcBeam,
  54844. IfcBeamStandardCase,
  54845. IfcBeamType,
  54846. IfcBeamTypeEnum,
  54847. IfcBearing,
  54848. IfcBearingType,
  54849. IfcBearingTypeDisplacementEnum,
  54850. IfcBearingTypeEnum,
  54851. IfcBenchmarkEnum,
  54852. IfcBinary,
  54853. IfcBlobTexture,
  54854. IfcBlock,
  54855. IfcBoiler,
  54856. IfcBoilerType,
  54857. IfcBoilerTypeEnum,
  54858. IfcBoolean,
  54859. IfcBooleanClippingResult,
  54860. IfcBooleanOperator,
  54861. IfcBooleanResult,
  54862. IfcBoundaryCondition,
  54863. IfcBoundaryCurve,
  54864. IfcBoundaryEdgeCondition,
  54865. IfcBoundaryFaceCondition,
  54866. IfcBoundaryNodeCondition,
  54867. IfcBoundaryNodeConditionWarping,
  54868. IfcBoundedCurve,
  54869. IfcBoundedSurface,
  54870. IfcBoundingBox,
  54871. IfcBoxAlignment,
  54872. IfcBoxedHalfSpace,
  54873. IfcBridge,
  54874. IfcBridgePart,
  54875. IfcBridgePartTypeEnum,
  54876. IfcBridgeTypeEnum,
  54877. IfcBuilding,
  54878. IfcBuildingElement,
  54879. IfcBuildingElementPart,
  54880. IfcBuildingElementPartType,
  54881. IfcBuildingElementPartTypeEnum,
  54882. IfcBuildingElementProxy,
  54883. IfcBuildingElementProxyType,
  54884. IfcBuildingElementProxyTypeEnum,
  54885. IfcBuildingElementType,
  54886. IfcBuildingStorey,
  54887. IfcBuildingSystem,
  54888. IfcBuildingSystemTypeEnum,
  54889. IfcBurner,
  54890. IfcBurnerType,
  54891. IfcBurnerTypeEnum,
  54892. IfcCShapeProfileDef,
  54893. IfcCableCarrierFitting,
  54894. IfcCableCarrierFittingType,
  54895. IfcCableCarrierFittingTypeEnum,
  54896. IfcCableCarrierSegment,
  54897. IfcCableCarrierSegmentType,
  54898. IfcCableCarrierSegmentTypeEnum,
  54899. IfcCableFitting,
  54900. IfcCableFittingType,
  54901. IfcCableFittingTypeEnum,
  54902. IfcCableSegment,
  54903. IfcCableSegmentType,
  54904. IfcCableSegmentTypeEnum,
  54905. IfcCaissonFoundation,
  54906. IfcCaissonFoundationType,
  54907. IfcCaissonFoundationTypeEnum,
  54908. IfcCardinalPointReference,
  54909. IfcCartesianPoint,
  54910. IfcCartesianPointList,
  54911. IfcCartesianPointList2D,
  54912. IfcCartesianPointList3D,
  54913. IfcCartesianTransformationOperator,
  54914. IfcCartesianTransformationOperator2D,
  54915. IfcCartesianTransformationOperator2DnonUniform,
  54916. IfcCartesianTransformationOperator3D,
  54917. IfcCartesianTransformationOperator3DnonUniform,
  54918. IfcCenterLineProfileDef,
  54919. IfcChangeActionEnum,
  54920. IfcChiller,
  54921. IfcChillerType,
  54922. IfcChillerTypeEnum,
  54923. IfcChimney,
  54924. IfcChimneyType,
  54925. IfcChimneyTypeEnum,
  54926. IfcCircle,
  54927. IfcCircleHollowProfileDef,
  54928. IfcCircleProfileDef,
  54929. IfcCircularArcSegment2D,
  54930. IfcCivilElement,
  54931. IfcCivilElementType,
  54932. IfcClassification,
  54933. IfcClassificationReference,
  54934. IfcClosedShell,
  54935. IfcCoil,
  54936. IfcCoilType,
  54937. IfcCoilTypeEnum,
  54938. IfcColourRgb,
  54939. IfcColourRgbList,
  54940. IfcColourSpecification,
  54941. IfcColumn,
  54942. IfcColumnStandardCase,
  54943. IfcColumnType,
  54944. IfcColumnTypeEnum,
  54945. IfcCommunicationsAppliance,
  54946. IfcCommunicationsApplianceType,
  54947. IfcCommunicationsApplianceTypeEnum,
  54948. IfcComplexProperty,
  54949. IfcComplexPropertyTemplate,
  54950. IfcComplexPropertyTemplateTypeEnum,
  54951. IfcCompositeCurve,
  54952. IfcCompositeCurveOnSurface,
  54953. IfcCompositeCurveSegment,
  54954. IfcCompositeProfileDef,
  54955. IfcCompressor,
  54956. IfcCompressorType,
  54957. IfcCompressorTypeEnum,
  54958. IfcCondenser,
  54959. IfcCondenserType,
  54960. IfcCondenserTypeEnum,
  54961. IfcConic,
  54962. IfcConnectedFaceSet,
  54963. IfcConnectionCurveGeometry,
  54964. IfcConnectionGeometry,
  54965. IfcConnectionPointEccentricity,
  54966. IfcConnectionPointGeometry,
  54967. IfcConnectionSurfaceGeometry,
  54968. IfcConnectionTypeEnum,
  54969. IfcConnectionVolumeGeometry,
  54970. IfcConstraint,
  54971. IfcConstraintEnum,
  54972. IfcConstructionEquipmentResource,
  54973. IfcConstructionEquipmentResourceType,
  54974. IfcConstructionEquipmentResourceTypeEnum,
  54975. IfcConstructionMaterialResource,
  54976. IfcConstructionMaterialResourceType,
  54977. IfcConstructionMaterialResourceTypeEnum,
  54978. IfcConstructionProductResource,
  54979. IfcConstructionProductResourceType,
  54980. IfcConstructionProductResourceTypeEnum,
  54981. IfcConstructionResource,
  54982. IfcConstructionResourceType,
  54983. IfcContext,
  54984. IfcContextDependentMeasure,
  54985. IfcContextDependentUnit,
  54986. IfcControl,
  54987. IfcController,
  54988. IfcControllerType,
  54989. IfcControllerTypeEnum,
  54990. IfcConversionBasedUnit,
  54991. IfcConversionBasedUnitWithOffset,
  54992. IfcCooledBeam,
  54993. IfcCooledBeamType,
  54994. IfcCooledBeamTypeEnum,
  54995. IfcCoolingTower,
  54996. IfcCoolingTowerType,
  54997. IfcCoolingTowerTypeEnum,
  54998. IfcCoordinateOperation,
  54999. IfcCoordinateReferenceSystem,
  55000. IfcCostItem,
  55001. IfcCostItemTypeEnum,
  55002. IfcCostSchedule,
  55003. IfcCostScheduleTypeEnum,
  55004. IfcCostValue,
  55005. IfcCountMeasure,
  55006. IfcCovering,
  55007. IfcCoveringType,
  55008. IfcCoveringTypeEnum,
  55009. IfcCrewResource,
  55010. IfcCrewResourceType,
  55011. IfcCrewResourceTypeEnum,
  55012. IfcCsgPrimitive3D,
  55013. IfcCsgSolid,
  55014. IfcCurrencyRelationship,
  55015. IfcCurtainWall,
  55016. IfcCurtainWallType,
  55017. IfcCurtainWallTypeEnum,
  55018. IfcCurvatureMeasure,
  55019. IfcCurve,
  55020. IfcCurveBoundedPlane,
  55021. IfcCurveBoundedSurface,
  55022. IfcCurveInterpolationEnum,
  55023. IfcCurveSegment2D,
  55024. IfcCurveStyle,
  55025. IfcCurveStyleFont,
  55026. IfcCurveStyleFontAndScaling,
  55027. IfcCurveStyleFontPattern,
  55028. IfcCylindricalSurface,
  55029. IfcDamper,
  55030. IfcDamperType,
  55031. IfcDamperTypeEnum,
  55032. IfcDataOriginEnum,
  55033. IfcDate,
  55034. IfcDateTime,
  55035. IfcDayInMonthNumber,
  55036. IfcDayInWeekNumber,
  55037. IfcDeepFoundation,
  55038. IfcDeepFoundationType,
  55039. IfcDerivedProfileDef,
  55040. IfcDerivedUnit,
  55041. IfcDerivedUnitElement,
  55042. IfcDerivedUnitEnum,
  55043. IfcDescriptiveMeasure,
  55044. IfcDimensionCount,
  55045. IfcDimensionalExponents,
  55046. IfcDirection,
  55047. IfcDirectionSenseEnum,
  55048. IfcDiscreteAccessory,
  55049. IfcDiscreteAccessoryType,
  55050. IfcDiscreteAccessoryTypeEnum,
  55051. IfcDistanceExpression,
  55052. IfcDistributionChamberElement,
  55053. IfcDistributionChamberElementType,
  55054. IfcDistributionChamberElementTypeEnum,
  55055. IfcDistributionCircuit,
  55056. IfcDistributionControlElement,
  55057. IfcDistributionControlElementType,
  55058. IfcDistributionElement,
  55059. IfcDistributionElementType,
  55060. IfcDistributionFlowElement,
  55061. IfcDistributionFlowElementType,
  55062. IfcDistributionPort,
  55063. IfcDistributionPortTypeEnum,
  55064. IfcDistributionSystem,
  55065. IfcDistributionSystemEnum,
  55066. IfcDocumentConfidentialityEnum,
  55067. IfcDocumentInformation,
  55068. IfcDocumentInformationRelationship,
  55069. IfcDocumentReference,
  55070. IfcDocumentStatusEnum,
  55071. IfcDoor,
  55072. IfcDoorLiningProperties,
  55073. IfcDoorPanelOperationEnum,
  55074. IfcDoorPanelPositionEnum,
  55075. IfcDoorPanelProperties,
  55076. IfcDoorStandardCase,
  55077. IfcDoorStyle,
  55078. IfcDoorStyleConstructionEnum,
  55079. IfcDoorStyleOperationEnum,
  55080. IfcDoorType,
  55081. IfcDoorTypeEnum,
  55082. IfcDoorTypeOperationEnum,
  55083. IfcDoseEquivalentMeasure,
  55084. IfcDraughtingPreDefinedColour,
  55085. IfcDraughtingPreDefinedCurveFont,
  55086. IfcDuctFitting,
  55087. IfcDuctFittingType,
  55088. IfcDuctFittingTypeEnum,
  55089. IfcDuctSegment,
  55090. IfcDuctSegmentType,
  55091. IfcDuctSegmentTypeEnum,
  55092. IfcDuctSilencer,
  55093. IfcDuctSilencerType,
  55094. IfcDuctSilencerTypeEnum,
  55095. IfcDuration,
  55096. IfcDynamicViscosityMeasure,
  55097. IfcEdge,
  55098. IfcEdgeCurve,
  55099. IfcEdgeLoop,
  55100. IfcElectricAppliance,
  55101. IfcElectricApplianceType,
  55102. IfcElectricApplianceTypeEnum,
  55103. IfcElectricCapacitanceMeasure,
  55104. IfcElectricChargeMeasure,
  55105. IfcElectricConductanceMeasure,
  55106. IfcElectricCurrentMeasure,
  55107. IfcElectricDistributionBoard,
  55108. IfcElectricDistributionBoardType,
  55109. IfcElectricDistributionBoardTypeEnum,
  55110. IfcElectricFlowStorageDevice,
  55111. IfcElectricFlowStorageDeviceType,
  55112. IfcElectricFlowStorageDeviceTypeEnum,
  55113. IfcElectricGenerator,
  55114. IfcElectricGeneratorType,
  55115. IfcElectricGeneratorTypeEnum,
  55116. IfcElectricMotor,
  55117. IfcElectricMotorType,
  55118. IfcElectricMotorTypeEnum,
  55119. IfcElectricResistanceMeasure,
  55120. IfcElectricTimeControl,
  55121. IfcElectricTimeControlType,
  55122. IfcElectricTimeControlTypeEnum,
  55123. IfcElectricVoltageMeasure,
  55124. IfcElement,
  55125. IfcElementAssembly,
  55126. IfcElementAssemblyType,
  55127. IfcElementAssemblyTypeEnum,
  55128. IfcElementComponent,
  55129. IfcElementComponentType,
  55130. IfcElementCompositionEnum,
  55131. IfcElementQuantity,
  55132. IfcElementType,
  55133. IfcElementarySurface,
  55134. IfcElements,
  55135. IfcEllipse,
  55136. IfcEllipseProfileDef,
  55137. IfcEnergyConversionDevice,
  55138. IfcEnergyConversionDeviceType,
  55139. IfcEnergyMeasure,
  55140. IfcEngine,
  55141. IfcEngineType,
  55142. IfcEngineTypeEnum,
  55143. IfcEvaporativeCooler,
  55144. IfcEvaporativeCoolerType,
  55145. IfcEvaporativeCoolerTypeEnum,
  55146. IfcEvaporator,
  55147. IfcEvaporatorType,
  55148. IfcEvaporatorTypeEnum,
  55149. IfcEvent,
  55150. IfcEventTime,
  55151. IfcEventTriggerTypeEnum,
  55152. IfcEventType,
  55153. IfcEventTypeEnum,
  55154. IfcExtendedProperties,
  55155. IfcExternalInformation,
  55156. IfcExternalReference,
  55157. IfcExternalReferenceRelationship,
  55158. IfcExternalSpatialElement,
  55159. IfcExternalSpatialElementTypeEnum,
  55160. IfcExternalSpatialStructureElement,
  55161. IfcExternallyDefinedHatchStyle,
  55162. IfcExternallyDefinedSurfaceStyle,
  55163. IfcExternallyDefinedTextFont,
  55164. IfcExtrudedAreaSolid,
  55165. IfcExtrudedAreaSolidTapered,
  55166. IfcFace,
  55167. IfcFaceBasedSurfaceModel,
  55168. IfcFaceBound,
  55169. IfcFaceOuterBound,
  55170. IfcFaceSurface,
  55171. IfcFacetedBrep,
  55172. IfcFacetedBrepWithVoids,
  55173. IfcFacility,
  55174. IfcFacilityPart,
  55175. IfcFailureConnectionCondition,
  55176. IfcFan,
  55177. IfcFanType,
  55178. IfcFanTypeEnum,
  55179. IfcFastener,
  55180. IfcFastenerType,
  55181. IfcFastenerTypeEnum,
  55182. IfcFeatureElement,
  55183. IfcFeatureElementAddition,
  55184. IfcFeatureElementSubtraction,
  55185. IfcFillAreaStyle,
  55186. IfcFillAreaStyleHatching,
  55187. IfcFillAreaStyleTiles,
  55188. IfcFilter,
  55189. IfcFilterType,
  55190. IfcFilterTypeEnum,
  55191. IfcFireSuppressionTerminal,
  55192. IfcFireSuppressionTerminalType,
  55193. IfcFireSuppressionTerminalTypeEnum,
  55194. IfcFixedReferenceSweptAreaSolid,
  55195. IfcFlowController,
  55196. IfcFlowControllerType,
  55197. IfcFlowDirectionEnum,
  55198. IfcFlowFitting,
  55199. IfcFlowFittingType,
  55200. IfcFlowInstrument,
  55201. IfcFlowInstrumentType,
  55202. IfcFlowInstrumentTypeEnum,
  55203. IfcFlowMeter,
  55204. IfcFlowMeterType,
  55205. IfcFlowMeterTypeEnum,
  55206. IfcFlowMovingDevice,
  55207. IfcFlowMovingDeviceType,
  55208. IfcFlowSegment,
  55209. IfcFlowSegmentType,
  55210. IfcFlowStorageDevice,
  55211. IfcFlowStorageDeviceType,
  55212. IfcFlowTerminal,
  55213. IfcFlowTerminalType,
  55214. IfcFlowTreatmentDevice,
  55215. IfcFlowTreatmentDeviceType,
  55216. IfcFontStyle,
  55217. IfcFontVariant,
  55218. IfcFontWeight,
  55219. IfcFooting,
  55220. IfcFootingType,
  55221. IfcFootingTypeEnum,
  55222. IfcForceMeasure,
  55223. IfcFrequencyMeasure,
  55224. IfcFurnishingElement,
  55225. IfcFurnishingElementType,
  55226. IfcFurniture,
  55227. IfcFurnitureType,
  55228. IfcFurnitureTypeEnum,
  55229. IfcGeographicElement,
  55230. IfcGeographicElementType,
  55231. IfcGeographicElementTypeEnum,
  55232. IfcGeometricCurveSet,
  55233. IfcGeometricProjectionEnum,
  55234. IfcGeometricRepresentationContext,
  55235. IfcGeometricRepresentationItem,
  55236. IfcGeometricRepresentationSubContext,
  55237. IfcGeometricSet,
  55238. IfcGlobalOrLocalEnum,
  55239. IfcGloballyUniqueId,
  55240. IfcGrid,
  55241. IfcGridAxis,
  55242. IfcGridPlacement,
  55243. IfcGridTypeEnum,
  55244. IfcGroup,
  55245. IfcHalfSpaceSolid,
  55246. IfcHeatExchanger,
  55247. IfcHeatExchangerType,
  55248. IfcHeatExchangerTypeEnum,
  55249. IfcHeatFluxDensityMeasure,
  55250. IfcHeatingValueMeasure,
  55251. IfcHumidifier,
  55252. IfcHumidifierType,
  55253. IfcHumidifierTypeEnum,
  55254. IfcIShapeProfileDef,
  55255. IfcIdentifier,
  55256. IfcIlluminanceMeasure,
  55257. IfcImageTexture,
  55258. IfcIndexedColourMap,
  55259. IfcIndexedPolyCurve,
  55260. IfcIndexedPolygonalFace,
  55261. IfcIndexedPolygonalFaceWithVoids,
  55262. IfcIndexedTextureMap,
  55263. IfcIndexedTriangleTextureMap,
  55264. IfcInductanceMeasure,
  55265. IfcInteger,
  55266. IfcIntegerCountRateMeasure,
  55267. IfcInterceptor,
  55268. IfcInterceptorType,
  55269. IfcInterceptorTypeEnum,
  55270. IfcInternalOrExternalEnum,
  55271. IfcIntersectionCurve,
  55272. IfcInventory,
  55273. IfcInventoryTypeEnum,
  55274. IfcIonConcentrationMeasure,
  55275. IfcIrregularTimeSeries,
  55276. IfcIrregularTimeSeriesValue,
  55277. IfcIsothermalMoistureCapacityMeasure,
  55278. IfcJunctionBox,
  55279. IfcJunctionBoxType,
  55280. IfcJunctionBoxTypeEnum,
  55281. IfcKinematicViscosityMeasure,
  55282. IfcKnotType,
  55283. IfcLShapeProfileDef,
  55284. IfcLabel,
  55285. IfcLaborResource,
  55286. IfcLaborResourceType,
  55287. IfcLaborResourceTypeEnum,
  55288. IfcLagTime,
  55289. IfcLamp,
  55290. IfcLampType,
  55291. IfcLampTypeEnum,
  55292. IfcLanguageId,
  55293. IfcLayerSetDirectionEnum,
  55294. IfcLengthMeasure,
  55295. IfcLibraryInformation,
  55296. IfcLibraryReference,
  55297. IfcLightDistributionCurveEnum,
  55298. IfcLightDistributionData,
  55299. IfcLightEmissionSourceEnum,
  55300. IfcLightFixture,
  55301. IfcLightFixtureType,
  55302. IfcLightFixtureTypeEnum,
  55303. IfcLightIntensityDistribution,
  55304. IfcLightSource,
  55305. IfcLightSourceAmbient,
  55306. IfcLightSourceDirectional,
  55307. IfcLightSourceGoniometric,
  55308. IfcLightSourcePositional,
  55309. IfcLightSourceSpot,
  55310. IfcLine,
  55311. IfcLineSegment2D,
  55312. IfcLinearForceMeasure,
  55313. IfcLinearMomentMeasure,
  55314. IfcLinearPlacement,
  55315. IfcLinearPositioningElement,
  55316. IfcLinearStiffnessMeasure,
  55317. IfcLinearVelocityMeasure,
  55318. IfcLoadGroupTypeEnum,
  55319. IfcLocalPlacement,
  55320. IfcLogical,
  55321. IfcLogicalOperatorEnum,
  55322. IfcLoop,
  55323. IfcLuminousFluxMeasure,
  55324. IfcLuminousIntensityDistributionMeasure,
  55325. IfcLuminousIntensityMeasure,
  55326. IfcMagneticFluxDensityMeasure,
  55327. IfcMagneticFluxMeasure,
  55328. IfcManifoldSolidBrep,
  55329. IfcMapConversion,
  55330. IfcMappedItem,
  55331. IfcMassDensityMeasure,
  55332. IfcMassFlowRateMeasure,
  55333. IfcMassMeasure,
  55334. IfcMassPerLengthMeasure,
  55335. IfcMaterial,
  55336. IfcMaterialClassificationRelationship,
  55337. IfcMaterialConstituent,
  55338. IfcMaterialConstituentSet,
  55339. IfcMaterialDefinition,
  55340. IfcMaterialDefinitionRepresentation,
  55341. IfcMaterialLayer,
  55342. IfcMaterialLayerSet,
  55343. IfcMaterialLayerSetUsage,
  55344. IfcMaterialLayerWithOffsets,
  55345. IfcMaterialList,
  55346. IfcMaterialProfile,
  55347. IfcMaterialProfileSet,
  55348. IfcMaterialProfileSetUsage,
  55349. IfcMaterialProfileSetUsageTapering,
  55350. IfcMaterialProfileWithOffsets,
  55351. IfcMaterialProperties,
  55352. IfcMaterialRelationship,
  55353. IfcMaterialUsageDefinition,
  55354. IfcMeasureWithUnit,
  55355. IfcMechanicalFastener,
  55356. IfcMechanicalFastenerType,
  55357. IfcMechanicalFastenerTypeEnum,
  55358. IfcMedicalDevice,
  55359. IfcMedicalDeviceType,
  55360. IfcMedicalDeviceTypeEnum,
  55361. IfcMember,
  55362. IfcMemberStandardCase,
  55363. IfcMemberType,
  55364. IfcMemberTypeEnum,
  55365. IfcMetric,
  55366. IfcMirroredProfileDef,
  55367. IfcModulusOfElasticityMeasure,
  55368. IfcModulusOfLinearSubgradeReactionMeasure,
  55369. IfcModulusOfRotationalSubgradeReactionMeasure,
  55370. IfcModulusOfSubgradeReactionMeasure,
  55371. IfcMoistureDiffusivityMeasure,
  55372. IfcMolecularWeightMeasure,
  55373. IfcMomentOfInertiaMeasure,
  55374. IfcMonetaryMeasure,
  55375. IfcMonetaryUnit,
  55376. IfcMonthInYearNumber,
  55377. IfcMotorConnection,
  55378. IfcMotorConnectionType,
  55379. IfcMotorConnectionTypeEnum,
  55380. IfcNamedUnit,
  55381. IfcNonNegativeLengthMeasure,
  55382. IfcNormalisedRatioMeasure,
  55383. IfcNullStyle,
  55384. IfcNumericMeasure,
  55385. IfcObject,
  55386. IfcObjectDefinition,
  55387. IfcObjectPlacement,
  55388. IfcObjectTypeEnum,
  55389. IfcObjective,
  55390. IfcObjectiveEnum,
  55391. IfcOccupant,
  55392. IfcOccupantTypeEnum,
  55393. IfcOffsetCurve,
  55394. IfcOffsetCurve2D,
  55395. IfcOffsetCurve3D,
  55396. IfcOffsetCurveByDistances,
  55397. IfcOpenShell,
  55398. IfcOpeningElement,
  55399. IfcOpeningElementTypeEnum,
  55400. IfcOpeningStandardCase,
  55401. IfcOrganization,
  55402. IfcOrganizationRelationship,
  55403. IfcOrientationExpression,
  55404. IfcOrientedEdge,
  55405. IfcOuterBoundaryCurve,
  55406. IfcOutlet,
  55407. IfcOutletType,
  55408. IfcOutletTypeEnum,
  55409. IfcOwnerHistory,
  55410. IfcPHMeasure,
  55411. IfcParameterValue,
  55412. IfcParameterizedProfileDef,
  55413. IfcPath,
  55414. IfcPcurve,
  55415. IfcPerformanceHistory,
  55416. IfcPerformanceHistoryTypeEnum,
  55417. IfcPermeableCoveringOperationEnum,
  55418. IfcPermeableCoveringProperties,
  55419. IfcPermit,
  55420. IfcPermitTypeEnum,
  55421. IfcPerson,
  55422. IfcPersonAndOrganization,
  55423. IfcPhysicalComplexQuantity,
  55424. IfcPhysicalOrVirtualEnum,
  55425. IfcPhysicalQuantity,
  55426. IfcPhysicalSimpleQuantity,
  55427. IfcPile,
  55428. IfcPileConstructionEnum,
  55429. IfcPileType,
  55430. IfcPileTypeEnum,
  55431. IfcPipeFitting,
  55432. IfcPipeFittingType,
  55433. IfcPipeFittingTypeEnum,
  55434. IfcPipeSegment,
  55435. IfcPipeSegmentType,
  55436. IfcPipeSegmentTypeEnum,
  55437. IfcPixelTexture,
  55438. IfcPlacement,
  55439. IfcPlanarBox,
  55440. IfcPlanarExtent,
  55441. IfcPlanarForceMeasure,
  55442. IfcPlane,
  55443. IfcPlaneAngleMeasure,
  55444. IfcPlate,
  55445. IfcPlateStandardCase,
  55446. IfcPlateType,
  55447. IfcPlateTypeEnum,
  55448. IfcPoint,
  55449. IfcPointOnCurve,
  55450. IfcPointOnSurface,
  55451. IfcPolyLoop,
  55452. IfcPolygonalBoundedHalfSpace,
  55453. IfcPolygonalFaceSet,
  55454. IfcPolyline,
  55455. IfcPort,
  55456. IfcPositioningElement,
  55457. IfcPositiveInteger,
  55458. IfcPositiveLengthMeasure,
  55459. IfcPositivePlaneAngleMeasure,
  55460. IfcPositiveRatioMeasure,
  55461. IfcPostalAddress,
  55462. IfcPowerMeasure,
  55463. IfcPreDefinedColour,
  55464. IfcPreDefinedCurveFont,
  55465. IfcPreDefinedItem,
  55466. IfcPreDefinedProperties,
  55467. IfcPreDefinedPropertySet,
  55468. IfcPreDefinedTextFont,
  55469. IfcPreferredSurfaceCurveRepresentation,
  55470. IfcPresentableText,
  55471. IfcPresentationItem,
  55472. IfcPresentationLayerAssignment,
  55473. IfcPresentationLayerWithStyle,
  55474. IfcPresentationStyle,
  55475. IfcPresentationStyleAssignment,
  55476. IfcPressureMeasure,
  55477. IfcProcedure,
  55478. IfcProcedureType,
  55479. IfcProcedureTypeEnum,
  55480. IfcProcess,
  55481. IfcProduct,
  55482. IfcProductDefinitionShape,
  55483. IfcProductRepresentation,
  55484. IfcProfileDef,
  55485. IfcProfileProperties,
  55486. IfcProfileTypeEnum,
  55487. IfcProject,
  55488. IfcProjectLibrary,
  55489. IfcProjectOrder,
  55490. IfcProjectOrderTypeEnum,
  55491. IfcProjectedCRS,
  55492. IfcProjectedOrTrueLengthEnum,
  55493. IfcProjectionElement,
  55494. IfcProjectionElementTypeEnum,
  55495. IfcProperty,
  55496. IfcPropertyAbstraction,
  55497. IfcPropertyBoundedValue,
  55498. IfcPropertyDefinition,
  55499. IfcPropertyDependencyRelationship,
  55500. IfcPropertyEnumeratedValue,
  55501. IfcPropertyEnumeration,
  55502. IfcPropertyListValue,
  55503. IfcPropertyReferenceValue,
  55504. IfcPropertySet,
  55505. IfcPropertySetDefinition,
  55506. IfcPropertySetTemplate,
  55507. IfcPropertySetTemplateTypeEnum,
  55508. IfcPropertySingleValue,
  55509. IfcPropertyTableValue,
  55510. IfcPropertyTemplate,
  55511. IfcPropertyTemplateDefinition,
  55512. IfcProtectiveDevice,
  55513. IfcProtectiveDeviceTrippingUnit,
  55514. IfcProtectiveDeviceTrippingUnitType,
  55515. IfcProtectiveDeviceTrippingUnitTypeEnum,
  55516. IfcProtectiveDeviceType,
  55517. IfcProtectiveDeviceTypeEnum,
  55518. IfcProxy,
  55519. IfcPump,
  55520. IfcPumpType,
  55521. IfcPumpTypeEnum,
  55522. IfcQuantityArea,
  55523. IfcQuantityCount,
  55524. IfcQuantityLength,
  55525. IfcQuantitySet,
  55526. IfcQuantityTime,
  55527. IfcQuantityVolume,
  55528. IfcQuantityWeight,
  55529. IfcRadioActivityMeasure,
  55530. IfcRailing,
  55531. IfcRailingType,
  55532. IfcRailingTypeEnum,
  55533. IfcRamp,
  55534. IfcRampFlight,
  55535. IfcRampFlightType,
  55536. IfcRampFlightTypeEnum,
  55537. IfcRampType,
  55538. IfcRampTypeEnum,
  55539. IfcRatioMeasure,
  55540. IfcRationalBSplineCurveWithKnots,
  55541. IfcRationalBSplineSurfaceWithKnots,
  55542. IfcReal,
  55543. IfcRectangleHollowProfileDef,
  55544. IfcRectangleProfileDef,
  55545. IfcRectangularPyramid,
  55546. IfcRectangularTrimmedSurface,
  55547. IfcRecurrencePattern,
  55548. IfcRecurrenceTypeEnum,
  55549. IfcReference,
  55550. IfcReferent,
  55551. IfcReferentTypeEnum,
  55552. IfcReflectanceMethodEnum,
  55553. IfcRegularTimeSeries,
  55554. IfcReinforcementBarProperties,
  55555. IfcReinforcementDefinitionProperties,
  55556. IfcReinforcingBar,
  55557. IfcReinforcingBarRoleEnum,
  55558. IfcReinforcingBarSurfaceEnum,
  55559. IfcReinforcingBarType,
  55560. IfcReinforcingBarTypeEnum,
  55561. IfcReinforcingElement,
  55562. IfcReinforcingElementType,
  55563. IfcReinforcingMesh,
  55564. IfcReinforcingMeshType,
  55565. IfcReinforcingMeshTypeEnum,
  55566. IfcRelAggregates,
  55567. IfcRelAssigns,
  55568. IfcRelAssignsToActor,
  55569. IfcRelAssignsToControl,
  55570. IfcRelAssignsToGroup,
  55571. IfcRelAssignsToGroupByFactor,
  55572. IfcRelAssignsToProcess,
  55573. IfcRelAssignsToProduct,
  55574. IfcRelAssignsToResource,
  55575. IfcRelAssociates,
  55576. IfcRelAssociatesApproval,
  55577. IfcRelAssociatesClassification,
  55578. IfcRelAssociatesConstraint,
  55579. IfcRelAssociatesDocument,
  55580. IfcRelAssociatesLibrary,
  55581. IfcRelAssociatesMaterial,
  55582. IfcRelConnects,
  55583. IfcRelConnectsElements,
  55584. IfcRelConnectsPathElements,
  55585. IfcRelConnectsPortToElement,
  55586. IfcRelConnectsPorts,
  55587. IfcRelConnectsStructuralActivity,
  55588. IfcRelConnectsStructuralMember,
  55589. IfcRelConnectsWithEccentricity,
  55590. IfcRelConnectsWithRealizingElements,
  55591. IfcRelContainedInSpatialStructure,
  55592. IfcRelCoversBldgElements,
  55593. IfcRelCoversSpaces,
  55594. IfcRelDeclares,
  55595. IfcRelDecomposes,
  55596. IfcRelDefines,
  55597. IfcRelDefinesByObject,
  55598. IfcRelDefinesByProperties,
  55599. IfcRelDefinesByTemplate,
  55600. IfcRelDefinesByType,
  55601. IfcRelFillsElement,
  55602. IfcRelFlowControlElements,
  55603. IfcRelInterferesElements,
  55604. IfcRelNests,
  55605. IfcRelPositions,
  55606. IfcRelProjectsElement,
  55607. IfcRelReferencedInSpatialStructure,
  55608. IfcRelSequence,
  55609. IfcRelServicesBuildings,
  55610. IfcRelSpaceBoundary,
  55611. IfcRelSpaceBoundary1stLevel,
  55612. IfcRelSpaceBoundary2ndLevel,
  55613. IfcRelVoidsElement,
  55614. IfcRelationship,
  55615. IfcReparametrisedCompositeCurveSegment,
  55616. IfcRepresentation,
  55617. IfcRepresentationContext,
  55618. IfcRepresentationItem,
  55619. IfcRepresentationMap,
  55620. IfcResource,
  55621. IfcResourceApprovalRelationship,
  55622. IfcResourceConstraintRelationship,
  55623. IfcResourceLevelRelationship,
  55624. IfcResourceTime,
  55625. IfcRevolvedAreaSolid,
  55626. IfcRevolvedAreaSolidTapered,
  55627. IfcRightCircularCone,
  55628. IfcRightCircularCylinder,
  55629. IfcRoleEnum,
  55630. IfcRoof,
  55631. IfcRoofType,
  55632. IfcRoofTypeEnum,
  55633. IfcRoot,
  55634. IfcRotationalFrequencyMeasure,
  55635. IfcRotationalMassMeasure,
  55636. IfcRotationalStiffnessMeasure,
  55637. IfcRoundedRectangleProfileDef,
  55638. IfcSIPrefix,
  55639. IfcSIUnit,
  55640. IfcSIUnitName,
  55641. IfcSanitaryTerminal,
  55642. IfcSanitaryTerminalType,
  55643. IfcSanitaryTerminalTypeEnum,
  55644. IfcSchedulingTime,
  55645. IfcSeamCurve,
  55646. IfcSectionModulusMeasure,
  55647. IfcSectionProperties,
  55648. IfcSectionReinforcementProperties,
  55649. IfcSectionTypeEnum,
  55650. IfcSectionalAreaIntegralMeasure,
  55651. IfcSectionedSolid,
  55652. IfcSectionedSolidHorizontal,
  55653. IfcSectionedSpine,
  55654. IfcSensor,
  55655. IfcSensorType,
  55656. IfcSensorTypeEnum,
  55657. IfcSequenceEnum,
  55658. IfcShadingDevice,
  55659. IfcShadingDeviceType,
  55660. IfcShadingDeviceTypeEnum,
  55661. IfcShapeAspect,
  55662. IfcShapeModel,
  55663. IfcShapeRepresentation,
  55664. IfcShearModulusMeasure,
  55665. IfcShellBasedSurfaceModel,
  55666. IfcSimpleProperty,
  55667. IfcSimplePropertyTemplate,
  55668. IfcSimplePropertyTemplateTypeEnum,
  55669. IfcSite,
  55670. IfcSlab,
  55671. IfcSlabElementedCase,
  55672. IfcSlabStandardCase,
  55673. IfcSlabType,
  55674. IfcSlabTypeEnum,
  55675. IfcSlippageConnectionCondition,
  55676. IfcSolarDevice,
  55677. IfcSolarDeviceType,
  55678. IfcSolarDeviceTypeEnum,
  55679. IfcSolidAngleMeasure,
  55680. IfcSolidModel,
  55681. IfcSoundPowerLevelMeasure,
  55682. IfcSoundPowerMeasure,
  55683. IfcSoundPressureLevelMeasure,
  55684. IfcSoundPressureMeasure,
  55685. IfcSpace,
  55686. IfcSpaceHeater,
  55687. IfcSpaceHeaterType,
  55688. IfcSpaceHeaterTypeEnum,
  55689. IfcSpaceType,
  55690. IfcSpaceTypeEnum,
  55691. IfcSpatialElement,
  55692. IfcSpatialElementType,
  55693. IfcSpatialStructureElement,
  55694. IfcSpatialStructureElementType,
  55695. IfcSpatialZone,
  55696. IfcSpatialZoneType,
  55697. IfcSpatialZoneTypeEnum,
  55698. IfcSpecificHeatCapacityMeasure,
  55699. IfcSpecularExponent,
  55700. IfcSpecularRoughness,
  55701. IfcSphere,
  55702. IfcSphericalSurface,
  55703. IfcStackTerminal,
  55704. IfcStackTerminalType,
  55705. IfcStackTerminalTypeEnum,
  55706. IfcStair,
  55707. IfcStairFlight,
  55708. IfcStairFlightType,
  55709. IfcStairFlightTypeEnum,
  55710. IfcStairType,
  55711. IfcStairTypeEnum,
  55712. IfcStateEnum,
  55713. IfcStructuralAction,
  55714. IfcStructuralActivity,
  55715. IfcStructuralAnalysisModel,
  55716. IfcStructuralConnection,
  55717. IfcStructuralConnectionCondition,
  55718. IfcStructuralCurveAction,
  55719. IfcStructuralCurveActivityTypeEnum,
  55720. IfcStructuralCurveConnection,
  55721. IfcStructuralCurveMember,
  55722. IfcStructuralCurveMemberTypeEnum,
  55723. IfcStructuralCurveMemberVarying,
  55724. IfcStructuralCurveReaction,
  55725. IfcStructuralItem,
  55726. IfcStructuralLinearAction,
  55727. IfcStructuralLoad,
  55728. IfcStructuralLoadCase,
  55729. IfcStructuralLoadConfiguration,
  55730. IfcStructuralLoadGroup,
  55731. IfcStructuralLoadLinearForce,
  55732. IfcStructuralLoadOrResult,
  55733. IfcStructuralLoadPlanarForce,
  55734. IfcStructuralLoadSingleDisplacement,
  55735. IfcStructuralLoadSingleDisplacementDistortion,
  55736. IfcStructuralLoadSingleForce,
  55737. IfcStructuralLoadSingleForceWarping,
  55738. IfcStructuralLoadStatic,
  55739. IfcStructuralLoadTemperature,
  55740. IfcStructuralMember,
  55741. IfcStructuralPlanarAction,
  55742. IfcStructuralPointAction,
  55743. IfcStructuralPointConnection,
  55744. IfcStructuralPointReaction,
  55745. IfcStructuralReaction,
  55746. IfcStructuralResultGroup,
  55747. IfcStructuralSurfaceAction,
  55748. IfcStructuralSurfaceActivityTypeEnum,
  55749. IfcStructuralSurfaceConnection,
  55750. IfcStructuralSurfaceMember,
  55751. IfcStructuralSurfaceMemberTypeEnum,
  55752. IfcStructuralSurfaceMemberVarying,
  55753. IfcStructuralSurfaceReaction,
  55754. IfcStyleModel,
  55755. IfcStyledItem,
  55756. IfcStyledRepresentation,
  55757. IfcSubContractResource,
  55758. IfcSubContractResourceType,
  55759. IfcSubContractResourceTypeEnum,
  55760. IfcSubedge,
  55761. IfcSurface,
  55762. IfcSurfaceCurve,
  55763. IfcSurfaceCurveSweptAreaSolid,
  55764. IfcSurfaceFeature,
  55765. IfcSurfaceFeatureTypeEnum,
  55766. IfcSurfaceOfLinearExtrusion,
  55767. IfcSurfaceOfRevolution,
  55768. IfcSurfaceReinforcementArea,
  55769. IfcSurfaceSide,
  55770. IfcSurfaceStyle,
  55771. IfcSurfaceStyleLighting,
  55772. IfcSurfaceStyleRefraction,
  55773. IfcSurfaceStyleRendering,
  55774. IfcSurfaceStyleShading,
  55775. IfcSurfaceStyleWithTextures,
  55776. IfcSurfaceTexture,
  55777. IfcSweptAreaSolid,
  55778. IfcSweptDiskSolid,
  55779. IfcSweptDiskSolidPolygonal,
  55780. IfcSweptSurface,
  55781. IfcSwitchingDevice,
  55782. IfcSwitchingDeviceType,
  55783. IfcSwitchingDeviceTypeEnum,
  55784. IfcSystem,
  55785. IfcSystemFurnitureElement,
  55786. IfcSystemFurnitureElementType,
  55787. IfcSystemFurnitureElementTypeEnum,
  55788. IfcTShapeProfileDef,
  55789. IfcTable,
  55790. IfcTableColumn,
  55791. IfcTableRow,
  55792. IfcTank,
  55793. IfcTankType,
  55794. IfcTankTypeEnum,
  55795. IfcTask,
  55796. IfcTaskDurationEnum,
  55797. IfcTaskTime,
  55798. IfcTaskTimeRecurring,
  55799. IfcTaskType,
  55800. IfcTaskTypeEnum,
  55801. IfcTelecomAddress,
  55802. IfcTemperatureGradientMeasure,
  55803. IfcTemperatureRateOfChangeMeasure,
  55804. IfcTendon,
  55805. IfcTendonAnchor,
  55806. IfcTendonAnchorType,
  55807. IfcTendonAnchorTypeEnum,
  55808. IfcTendonConduit,
  55809. IfcTendonConduitType,
  55810. IfcTendonConduitTypeEnum,
  55811. IfcTendonType,
  55812. IfcTendonTypeEnum,
  55813. IfcTessellatedFaceSet,
  55814. IfcTessellatedItem,
  55815. IfcText,
  55816. IfcTextAlignment,
  55817. IfcTextDecoration,
  55818. IfcTextFontName,
  55819. IfcTextLiteral,
  55820. IfcTextLiteralWithExtent,
  55821. IfcTextPath,
  55822. IfcTextStyle,
  55823. IfcTextStyleFontModel,
  55824. IfcTextStyleForDefinedFont,
  55825. IfcTextStyleTextModel,
  55826. IfcTextTransformation,
  55827. IfcTextureCoordinate,
  55828. IfcTextureCoordinateGenerator,
  55829. IfcTextureMap,
  55830. IfcTextureVertex,
  55831. IfcTextureVertexList,
  55832. IfcThermalAdmittanceMeasure,
  55833. IfcThermalConductivityMeasure,
  55834. IfcThermalExpansionCoefficientMeasure,
  55835. IfcThermalResistanceMeasure,
  55836. IfcThermalTransmittanceMeasure,
  55837. IfcThermodynamicTemperatureMeasure,
  55838. IfcTime,
  55839. IfcTimeMeasure,
  55840. IfcTimePeriod,
  55841. IfcTimeSeries,
  55842. IfcTimeSeriesDataTypeEnum,
  55843. IfcTimeSeriesValue,
  55844. IfcTimeStamp,
  55845. IfcTopologicalRepresentationItem,
  55846. IfcTopologyRepresentation,
  55847. IfcToroidalSurface,
  55848. IfcTorqueMeasure,
  55849. IfcTransformer,
  55850. IfcTransformerType,
  55851. IfcTransformerTypeEnum,
  55852. IfcTransitionCode,
  55853. IfcTransitionCurveSegment2D,
  55854. IfcTransitionCurveType,
  55855. IfcTransportElement,
  55856. IfcTransportElementType,
  55857. IfcTransportElementTypeEnum,
  55858. IfcTrapeziumProfileDef,
  55859. IfcTriangulatedFaceSet,
  55860. IfcTriangulatedIrregularNetwork,
  55861. IfcTrimmedCurve,
  55862. IfcTrimmingPreference,
  55863. IfcTubeBundle,
  55864. IfcTubeBundleType,
  55865. IfcTubeBundleTypeEnum,
  55866. IfcTypeObject,
  55867. IfcTypeProcess,
  55868. IfcTypeProduct,
  55869. IfcTypeResource,
  55870. IfcURIReference,
  55871. IfcUShapeProfileDef,
  55872. IfcUnitAssignment,
  55873. IfcUnitEnum,
  55874. IfcUnitaryControlElement,
  55875. IfcUnitaryControlElementType,
  55876. IfcUnitaryControlElementTypeEnum,
  55877. IfcUnitaryEquipment,
  55878. IfcUnitaryEquipmentType,
  55879. IfcUnitaryEquipmentTypeEnum,
  55880. IfcValve,
  55881. IfcValveType,
  55882. IfcValveTypeEnum,
  55883. IfcVaporPermeabilityMeasure,
  55884. IfcVector,
  55885. IfcVertex,
  55886. IfcVertexLoop,
  55887. IfcVertexPoint,
  55888. IfcVibrationDamper,
  55889. IfcVibrationDamperType,
  55890. IfcVibrationDamperTypeEnum,
  55891. IfcVibrationIsolator,
  55892. IfcVibrationIsolatorType,
  55893. IfcVibrationIsolatorTypeEnum,
  55894. IfcVirtualElement,
  55895. IfcVirtualGridIntersection,
  55896. IfcVoidingFeature,
  55897. IfcVoidingFeatureTypeEnum,
  55898. IfcVolumeMeasure,
  55899. IfcVolumetricFlowRateMeasure,
  55900. IfcWall,
  55901. IfcWallElementedCase,
  55902. IfcWallStandardCase,
  55903. IfcWallType,
  55904. IfcWallTypeEnum,
  55905. IfcWarpingConstantMeasure,
  55906. IfcWarpingMomentMeasure,
  55907. IfcWasteTerminal,
  55908. IfcWasteTerminalType,
  55909. IfcWasteTerminalTypeEnum,
  55910. IfcWindow,
  55911. IfcWindowLiningProperties,
  55912. IfcWindowPanelOperationEnum,
  55913. IfcWindowPanelPositionEnum,
  55914. IfcWindowPanelProperties,
  55915. IfcWindowStandardCase,
  55916. IfcWindowStyle,
  55917. IfcWindowStyleConstructionEnum,
  55918. IfcWindowStyleOperationEnum,
  55919. IfcWindowType,
  55920. IfcWindowTypeEnum,
  55921. IfcWindowTypePartitioningEnum,
  55922. IfcWorkCalendar,
  55923. IfcWorkCalendarTypeEnum,
  55924. IfcWorkControl,
  55925. IfcWorkPlan,
  55926. IfcWorkPlanTypeEnum,
  55927. IfcWorkSchedule,
  55928. IfcWorkScheduleTypeEnum,
  55929. IfcWorkTime,
  55930. IfcZShapeProfileDef,
  55931. IfcZone,
  55932. LABEL,
  55933. LINE_END,
  55934. REAL,
  55935. REF,
  55936. SET_BEGIN,
  55937. SET_END,
  55938. STRING,
  55939. UNKNOWN,
  55940. Value,
  55941. ms
  55942. };