diff --git a/examples/AngleMeasurement/index.html b/examples/AngleMeasurement/index.html index f60cce560..013df9e89 100644 --- a/examples/AngleMeasurement/index.html +++ b/examples/AngleMeasurement/index.html @@ -58,9 +58,9 @@ - - - + + + diff --git a/examples/AreaMeasurement/index.html b/examples/AreaMeasurement/index.html index 416e95a4c..b819e3164 100644 --- a/examples/AreaMeasurement/index.html +++ b/examples/AreaMeasurement/index.html @@ -58,11 +58,11 @@ - + - - + +
diff --git a/examples/BCFTopics/index.html b/examples/BCFTopics/index.html index 302532d71..bb6abe9ff 100644 --- a/examples/BCFTopics/index.html +++ b/examples/BCFTopics/index.html @@ -58,12 +58,12 @@ } - - + + - - - + + + diff --git a/examples/BoundingBoxer/index.html b/examples/BoundingBoxer/index.html index d300cd23d..f6e3dabde 100644 --- a/examples/BoundingBoxer/index.html +++ b/examples/BoundingBoxer/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/Civil3DNavigator/index.html b/examples/Civil3DNavigator/index.html index 54f718f83..ebea40881 100644 --- a/examples/Civil3DNavigator/index.html +++ b/examples/Civil3DNavigator/index.html @@ -58,11 +58,11 @@ - - + + - + diff --git a/examples/CivilCrossSectionNavigator/index.html b/examples/CivilCrossSectionNavigator/index.html index c8c732605..76b189eec 100644 --- a/examples/CivilCrossSectionNavigator/index.html +++ b/examples/CivilCrossSectionNavigator/index.html @@ -76,11 +76,11 @@ - - - - - + + + + + diff --git a/examples/CivilElevationNavigator/index.html b/examples/CivilElevationNavigator/index.html index 4021d4ae2..6691aed4c 100644 --- a/examples/CivilElevationNavigator/index.html +++ b/examples/CivilElevationNavigator/index.html @@ -77,11 +77,11 @@ - - - - - + + + + + diff --git a/examples/CivilPlanNavigator/index.html b/examples/CivilPlanNavigator/index.html index ff9eabf82..e9b09b7e5 100644 --- a/examples/CivilPlanNavigator/index.html +++ b/examples/CivilPlanNavigator/index.html @@ -66,11 +66,11 @@ - - - - - + + + + + diff --git a/examples/Classifier/index.html b/examples/Classifier/index.html index a44d17988..4386ef340 100644 --- a/examples/Classifier/index.html +++ b/examples/Classifier/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/ClipEdges/index.html b/examples/ClipEdges/index.html index 947d4c2cc..74b075ce9 100644 --- a/examples/ClipEdges/index.html +++ b/examples/ClipEdges/index.html @@ -58,12 +58,12 @@ - + - - - + + + diff --git a/examples/Clipper/index.html b/examples/Clipper/index.html index b79e48b76..883a2aa2a 100644 --- a/examples/Clipper/index.html +++ b/examples/Clipper/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/Cullers/index.html b/examples/Cullers/index.html index 052e12804..812e28bb4 100644 --- a/examples/Cullers/index.html +++ b/examples/Cullers/index.html @@ -58,10 +58,10 @@ - + - + diff --git a/examples/EdgeMeasurement/index.html b/examples/EdgeMeasurement/index.html index c0a25c1da..0ca7ec1f7 100644 --- a/examples/EdgeMeasurement/index.html +++ b/examples/EdgeMeasurement/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/Exploder/index.html b/examples/Exploder/index.html index 670eff3ee..7d7b13996 100644 --- a/examples/Exploder/index.html +++ b/examples/Exploder/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/FaceMeasurement/index.html b/examples/FaceMeasurement/index.html index d493129ac..8c367d061 100644 --- a/examples/FaceMeasurement/index.html +++ b/examples/FaceMeasurement/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/FragmentsManager/index.html b/examples/FragmentsManager/index.html index d24399bde..1bf18a270 100644 --- a/examples/FragmentsManager/index.html +++ b/examples/FragmentsManager/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/Grids/index.html b/examples/Grids/index.html index a4985a570..7cd57002e 100644 --- a/examples/Grids/index.html +++ b/examples/Grids/index.html @@ -64,11 +64,11 @@ - + - - + + diff --git a/examples/Hider/index.html b/examples/Hider/index.html index 84911dcff..afb8ca066 100644 --- a/examples/Hider/index.html +++ b/examples/Hider/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/Highlighter/index.html b/examples/Highlighter/index.html index 3c401b2b4..c9efe4fa7 100644 --- a/examples/Highlighter/index.html +++ b/examples/Highlighter/index.html @@ -58,9 +58,9 @@ - - - + + + diff --git a/examples/IDSSpecifications/index.html b/examples/IDSSpecifications/index.html index c81d23137..495b67d06 100644 --- a/examples/IDSSpecifications/index.html +++ b/examples/IDSSpecifications/index.html @@ -40,9 +40,9 @@ } - + - + diff --git a/examples/IfcFinder/index.html b/examples/IfcFinder/index.html index 2f117cabb..076368dbe 100644 --- a/examples/IfcFinder/index.html +++ b/examples/IfcFinder/index.html @@ -58,11 +58,11 @@ - - + + - + diff --git a/examples/IfcGeometryTiler/index.html b/examples/IfcGeometryTiler/index.html index 2f377833f..a65abf117 100644 --- a/examples/IfcGeometryTiler/index.html +++ b/examples/IfcGeometryTiler/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/IfcIsolator/index.html b/examples/IfcIsolator/index.html index e42c377ee..54a0fbcdd 100644 --- a/examples/IfcIsolator/index.html +++ b/examples/IfcIsolator/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/IfcJsonExporter/index.html b/examples/IfcJsonExporter/index.html index d41c2af0e..9e5a81d27 100644 --- a/examples/IfcJsonExporter/index.html +++ b/examples/IfcJsonExporter/index.html @@ -58,11 +58,11 @@ - + - - + + diff --git a/examples/IfcLoader/index.html b/examples/IfcLoader/index.html index 35e8a2b78..44eff05db 100644 --- a/examples/IfcLoader/index.html +++ b/examples/IfcLoader/index.html @@ -58,11 +58,11 @@ - - + + - + diff --git a/examples/IfcPropertiesManager/index.html b/examples/IfcPropertiesManager/index.html index c4de28322..b276f7e56 100644 --- a/examples/IfcPropertiesManager/index.html +++ b/examples/IfcPropertiesManager/index.html @@ -6,8 +6,8 @@0?C.start.copy(d.start):C.start.copy(u.start),l.subVectors(d.end,u.end),l.dot(o)<0?C.end.copy(d.end):C.end.copy(u.end)),!0)}}}();re.prototype.distanceToPoint=function(){const c=new B;return function(e){return this.closestPointToPoint(e,c),e.distanceTo(c)}}();re.prototype.distanceToTriangle=function(){const c=new B,t=new B,e=["a","b","c"],s=new Jt,i=new Jt;return function(r,o=null,a=null){const l=o||a?s:null;if(this.intersectsTriangle(r,l))return(o||a)&&(o&&l.getCenter(o),a&&l.getCenter(a)),0;let h=1/0;for(let d=0;d<3;d++){let u;const f=e[d],I=r[f];this.closestPointToPoint(I,c),u=I.distanceToSquared(c),u 0?C.start.copy(d.start):C.start.copy(u.start),l.subVectors(d.end,u.end),l.dot(o)<0?C.end.copy(d.end):C.end.copy(u.end)),!0)}}}();re.prototype.distanceToPoint=function(){const c=new B;return function(e){return this.closestPointToPoint(e,c),e.distanceTo(c)}}();re.prototype.distanceToTriangle=function(){const c=new B,t=new B,e=["a","b","c"],s=new Jt,i=new Jt;return function(r,o=null,a=null){const l=o||a?s:null;if(this.intersectsTriangle(r,l))return(o||a)&&(o&&l.getCenter(o),a&&l.getCenter(a)),0;let h=1/0;for(let d=0;d<3;d++){let u;const f=e[d],I=r[f];this.closestPointToPoint(I,c),u=I.distanceToSquared(c),uthis.tolerance)return!1;return!0}intersectRay(t,e){const s=this.faces;let i=-1/0,n=1/0;for(let r=0,o=s.length;ra&&(a=N),C&&T=Ee&&(y=Ee-1);const N=Se[y];N.count++,si(S,e,N.bounds)}const C=Se[Ee-1];vr(C.bounds,C.rightCacheBounds);for(let S=Ee-2;S>=0;S--){const T=Se[S],F=Se[S+1];Dr(T.bounds,F.rightCacheBounds,T.rightCacheBounds)}let g=0;for(let S=0;Sthis.tolerance)return!1;return!0}intersectRay(t,e){const s=this.faces;let i=-1/0,n=1/0;for(let r=0,o=s.length;rr.value!==s),await t.setProperties(s,null),this.registerChange(t,e,s))}addElementToPset(t,e,...s){this.components.get(te).addEntitiesRelation(t,e,{type:Qs,inv:"DefinesOcurrence"},...s)}async addPropToPset(t,e,...s){const i=await t.getProperties(e);if(i){for(const n of s){if(i.HasProperties.includes(n))continue;const r=new _e(n);i.HasProperties.push(r),this.onPropToPset.trigger({model:t,psetID:e,propID:n})}this.registerChange(t,e)}}async createIfcRel(t,e,s,i){const n=tu[e];if(!n)throw new Error(`IfcPropertiesManager: ${n} is unsoported.`);const r=Ye.getIFCSchema(t),o=Jh[n],a=ue[r][n];if(!(o&&a))throw new Error(`IfcPropertiesManager: ${n} is unsoported.`);const l=[new ue[r].IfcGloballyUniqueId(Ae.create())],{related:h,relating:d}=o,f=[...new Set(i)].map(m=>new _e(m)),I=(m,C)=>{for(let g=m;gr.value!==s),await t.setProperties(s,null),this.registerChange(t,e,s))}addElementToPset(t,e,...s){this.components.get(te).addEntitiesRelation(t,e,{type:Qs,inv:"DefinesOcurrence"},...s)}async addPropToPset(t,e,...s){const i=await t.getProperties(e);if(i){for(const n of s){if(i.HasProperties.includes(n))continue;const r=new _e(n);i.HasProperties.push(r),this.onPropToPset.trigger({model:t,psetID:e,propID:n})}this.registerChange(t,e)}}async createIfcRel(t,e,s,i){const n=tu[e];if(!n)throw new Error(`IfcPropertiesManager: ${n} is unsoported.`);const r=Ye.getIFCSchema(t),o=Jh[n],a=ue[r][n];if(!(o&&a))throw new Error(`IfcPropertiesManager: ${n} is unsoported.`);const l=[new ue[r].IfcGloballyUniqueId(Ae.create())],{related:h,relating:d}=o,f=[...new Set(i)].map(m=>new _e(m)),I=(m,C)=>{for(let g=m;g>6:64,E=2>4,h=(15&u)<<4|(f=o.indexOf(a.charAt(E++)))>>2,d=(3&f)<<6|(I=o.indexOf(a.charAt(E++))),g[m++]=l,f!==64&&(g[m++]=h),I!==64&&(g[m++]=d);return g}},{"./support":30,"./utils":32}],2:[function(e,s,i){var n=e("./external"),r=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function l(h,d,u,f,I){this.compressedSize=h,this.uncompressedSize=d,this.crc32=u,this.compression=f,this.compressedContent=I}l.prototype={getContentWorker:function(){var h=new r(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),d=this;return h.on("end",function(){if(this.streamInfo.data_length!==d.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),h},getCompressedWorker:function(){return new r(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(h,d,u){return h.pipe(new o).pipe(new a("uncompressedSize")).pipe(d.compressWorker(u)).pipe(new a("compressedSize")).withStreamInfo("compression",d)},s.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,s,i){var n=e("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},i.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,s,i){var n=e("./utils"),r=function(){for(var o,a=[],l=0;l<256;l++){o=l;for(var h=0;h<8;h++)o=1&o?3988292384^o>>>1:o>>>1;a[l]=o}return a}();s.exports=function(o,a){return o!==void 0&&o.length?n.getTypeOf(o)!=="string"?function(l,h,d,u){var f=r,I=u+d;l^=-1;for(var E=u;E>>8^f[255&(l^h[E])];return-1^l}(0|a,o,o.length,0):function(l,h,d,u){var f=r,I=u+d;l^=-1;for(var E=u;E>>8^f[255&(l^h.charCodeAt(E))];return-1^l}(0|a,o,o.length,0):0}},{"./utils":32}],5:[function(e,s,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(e,s,i){var n=null;n=typeof Promise<"u"?Promise:e("lie"),s.exports={Promise:n}},{lie:37}],7:[function(e,s,i){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",r=e("pako"),o=e("./utils"),a=e("./stream/GenericWorker"),l=n?"uint8array":"array";function h(d,u){a.call(this,"FlateWorker/"+d),this._pako=null,this._pakoAction=d,this._pakoOptions=u,this.meta={}}i.magic="\b\0",o.inherits(h,a),h.prototype.processChunk=function(d){this.meta=d.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(l,d.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var d=this;this._pako.onData=function(u){d.push({data:u,meta:d.meta})}},i.compressWorker=function(d){return new h("Deflate",d)},i.uncompressWorker=function(){return new h("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,s,i){function n(f,I){var E,m="";for(E=0;E>>=8;return m}function r(f,I,E,m,C,g){var S,T,F=f.file,y=f.compression,N=g!==l.utf8encode,w=o.transformTo("string",g(F.name)),P=o.transformTo("string",l.utf8encode(F.name)),M=F.comment,x=o.transformTo("string",g(M)),O=o.transformTo("string",l.utf8encode(M)),D=P.length!==F.name.length,R=O.length!==M.length,v="",X="",U="",j=F.dir,k=F.date,J={crc32:0,compressedSize:0,uncompressedSize:0};I&&!E||(J.crc32=f.crc32,J.compressedSize=f.compressedSize,J.uncompressedSize=f.uncompressedSize);var Y=0;I&&(Y|=8),N||!D&&!R||(Y|=2048);var V=0,nt=0;j&&(V|=16),C==="UNIX"?(nt=798,V|=function(tt,Ft){var Nt=tt;return tt||(Nt=Ft?16893:33204),(65535&Nt)<<16}(F.unixPermissions,j)):(nt=20,V|=function(tt){return 63&(tt||0)}(F.dosPermissions)),S=k.getUTCHours(),S<<=6,S|=k.getUTCMinutes(),S<<=5,S|=k.getUTCSeconds()/2,T=k.getUTCFullYear()-1980,T<<=4,T|=k.getUTCMonth()+1,T<<=5,T|=k.getUTCDate(),D&&(X=n(1,1)+n(h(w),4)+P,v+="up"+n(X.length,2)+X),R&&(U=n(1,1)+n(h(x),4)+O,v+="uc"+n(U.length,2)+U);var et="";return et+=`
-\0`,et+=n(Y,2),et+=y.magic,et+=n(S,2),et+=n(T,2),et+=n(J.crc32,4),et+=n(J.compressedSize,4),et+=n(J.uncompressedSize,4),et+=n(w.length,2),et+=n(v.length,2),{fileRecord:d.LOCAL_FILE_HEADER+et+w+v,dirRecord:d.CENTRAL_FILE_HEADER+n(nt,2)+et+n(x.length,2)+"\0\0\0\0"+n(V,4)+n(m,4)+w+v+x}}var o=e("../utils"),a=e("../stream/GenericWorker"),l=e("../utf8"),h=e("../crc32"),d=e("../signature");function u(f,I,E,m){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=I,this.zipPlatform=E,this.encodeFileName=m,this.streamFiles=f,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,a),u.prototype.push=function(f){var I=f.meta.percent||0,E=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(f):(this.bytesWritten+=f.data.length,a.prototype.push.call(this,{data:f.data,meta:{currentFile:this.currentFile,percent:E?(I+100*(E-m-1))/E:100}}))},u.prototype.openedSource=function(f){this.currentSourceOffset=this.bytesWritten,this.currentFile=f.file.name;var I=this.streamFiles&&!f.file.dir;if(I){var E=r(f,I,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:E.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(f){this.accumulate=!1;var I=this.streamFiles&&!f.file.dir,E=r(f,I,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(E.dirRecord),I)this.push({data:function(m){return d.DATA_DESCRIPTOR+n(m.crc32,4)+n(m.compressedSize,4)+n(m.uncompressedSize,4)}(f),meta:{percent:100}});else for(this.push({data:E.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var f=this.bytesWritten,I=0;I>10&1023,T[m++]=56320|1023&C)}return T.length!==m&&(T.subarray?T=T.subarray(0,m):T.length=m),n.applyFromCharCode(T)}(f=n.transformTo(r.uint8array?"uint8array":"array",f))},n.inherits(d,a),d.prototype.processChunk=function(f){var I=n.transformTo(r.uint8array?"uint8array":"array",f.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var E=I;(I=new Uint8Array(E.length+this.leftOver.length)).set(this.leftOver,0),I.set(E,this.leftOver.length)}else I=this.leftOver.concat(I);this.leftOver=null}var m=function(g,S){var T;for((S=S||g.length)>g.length&&(S=g.length),T=S-1;0<=T&&(192&g[T])==128;)T--;return T<0||T===0?S:T+l[g[T]]>S?T:S}(I),C=I;m!==I.length&&(r.uint8array?(C=I.subarray(0,m),this.leftOver=I.subarray(m,I.length)):(C=I.slice(0,m),this.leftOver=I.slice(m,I.length))),this.push({data:i.utf8decode(C),meta:f.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=d,n.inherits(u,a),u.prototype.processChunk=function(f){this.push({data:i.utf8encode(f.data),meta:f.meta})},i.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,s,i){var n=e("./support"),r=e("./base64"),o=e("./nodejsUtils"),a=e("./external");function l(E){return E}function h(E,m){for(var C=0;C