chbim-plugins 0.0.139 → 0.0.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chbim-plugins.js +7 -7
- package/chbim-plugins.umd.cjs +4 -4
- package/package.json +1 -1
package/chbim-plugins.js
CHANGED
|
@@ -5994,7 +5994,7 @@ const Hy = { class: "bim_background_plate" }, Vy = { class: "content" }, Wy = /*
|
|
|
5994
5994
|
function $(ft, Tt) {
|
|
5995
5995
|
ft.roughness.value = Tt.roughness, ft.metalness.value = Tt.metalness, Tt.roughnessMap && (ft.roughnessMap.value = Tt.roughnessMap), Tt.metalnessMap && (ft.metalnessMap.value = Tt.metalnessMap), Tt.emissiveMap && (ft.emissiveMap.value = Tt.emissiveMap), Tt.bumpMap && (ft.bumpMap.value = Tt.bumpMap, ft.bumpScale.value = Tt.bumpScale, Tt.side === 1 && (ft.bumpScale.value *= -1)), Tt.normalMap && (ft.normalMap.value = Tt.normalMap, ft.normalScale.value.copy(Tt.normalScale), Tt.side === 1 && ft.normalScale.value.negate()), Tt.displacementMap && (ft.displacementMap.value = Tt.displacementMap, ft.displacementScale.value = Tt.displacementScale, ft.displacementBias.value = Tt.displacementBias), Tt.envMap && (ft.envMapIntensity.value = Tt.envMapIntensity);
|
|
5996
5996
|
}
|
|
5997
|
-
|
|
5997
|
+
t = t || {};
|
|
5998
5998
|
var rt = t.canvas !== void 0 ? t.canvas : document.createElementNS("http://www.w3.org/1999/xhtml", "canvas"), xt = t.context !== void 0 ? t.context : null, gt = t.alpha !== void 0 ? t.alpha : !1, Ct = t.depth !== void 0 ? t.depth : !0, wt = t.stencil !== void 0 ? t.stencil : !0, Vt = t.antialias !== void 0 ? t.antialias : !1, J = t.premultipliedAlpha !== void 0 ? t.premultipliedAlpha : !0, ot = t.preserveDrawingBuffer !== void 0 ? t.preserveDrawingBuffer : !1, zt = t.powerPreference !== void 0 ? t.powerPreference : "default", ee = null, $t = null;
|
|
5999
5999
|
this.domElement = rt, this.context = null, this.sortObjects = this.autoClearStencil = this.autoClearDepth = this.autoClearColor = this.autoClear = !0, this.clippingPlanes = [], this.localClippingEnabled = !1, this.gammaFactor = 2, this.physicallyCorrectLights = this.gammaOutput = this.gammaInput = !1, this.toneMappingWhitePoint = this.toneMappingExposure = this.toneMapping = 1, this.maxMorphTargets = 8, this.maxMorphNormals = 4;
|
|
6000
6000
|
var Yt = this, Te = !1, me = null, De = null, be = null, ae = -1, We = e = null, Qe = !1, ci = null, Sn = null, mn = new _(), ji = new _(), Gi = null, en = 0, En = rt.width, Ce = rt.height, ti = 1, Ut = new _(0, 0, En, Ce), Ye = new _(0, 0, En, Ce), ei = !1, Hi = new E(), Ae = new W(), Xe = !1, ri = !1, Ai = new c(), Ci = new u();
|
|
@@ -20367,7 +20367,7 @@ class v1 {
|
|
|
20367
20367
|
a,
|
|
20368
20368
|
c.color,
|
|
20369
20369
|
c
|
|
20370
|
-
), c.clip) {
|
|
20370
|
+
), schemeEvnModify && c.clip) {
|
|
20371
20371
|
let { modelId: N, handleDataList: X } = c.clip;
|
|
20372
20372
|
X.forEach((K) => {
|
|
20373
20373
|
let { id: Z, positions: ct } = K;
|
|
@@ -24485,7 +24485,7 @@ class y1 {
|
|
|
24485
24485
|
vectorId: D,
|
|
24486
24486
|
// format: pointCount > 10000 ? this.simplifyFunc : null,
|
|
24487
24487
|
symbol: {
|
|
24488
|
-
type: "
|
|
24488
|
+
type: "polylineC",
|
|
24489
24489
|
styleOptions: {
|
|
24490
24490
|
width: C,
|
|
24491
24491
|
clampToGround: X,
|
|
@@ -24506,7 +24506,7 @@ class y1 {
|
|
|
24506
24506
|
break;
|
|
24507
24507
|
case "Polygon":
|
|
24508
24508
|
case "MultiPolygon":
|
|
24509
|
-
|
|
24509
|
+
U == "PolyGrass" && (N = {
|
|
24510
24510
|
evenColor: new Cesium.Color(0.25, 0.4, 0.1, 1),
|
|
24511
24511
|
oddColor: new Cesium.Color(0.1, 0.1, 0.1, 1),
|
|
24512
24512
|
frequency: 1.5
|
|
@@ -24516,7 +24516,7 @@ class y1 {
|
|
|
24516
24516
|
vectorId: D,
|
|
24517
24517
|
// format: pointCount > 10000 ? this.simplifyFunc : null,
|
|
24518
24518
|
symbol: {
|
|
24519
|
-
type: "
|
|
24519
|
+
type: "polygonC",
|
|
24520
24520
|
styleOptions: {
|
|
24521
24521
|
fill: _t,
|
|
24522
24522
|
diffHeight: G,
|
|
@@ -24543,7 +24543,7 @@ class y1 {
|
|
|
24543
24543
|
vectorId: D,
|
|
24544
24544
|
// format: pointCount > 10000 ? this.simplifyFunc : null,
|
|
24545
24545
|
symbol: {
|
|
24546
|
-
type: "
|
|
24546
|
+
type: "pointC",
|
|
24547
24547
|
styleOptions: {
|
|
24548
24548
|
color: At,
|
|
24549
24549
|
pixelSize: ce,
|
|
@@ -30546,7 +30546,7 @@ class S1 {
|
|
|
30546
30546
|
uid: I.id,
|
|
30547
30547
|
position: I._getLablePosition(),
|
|
30548
30548
|
label: I.name,
|
|
30549
|
-
width: u * I.name.length,
|
|
30549
|
+
width: I.name ? u * I.name.length : 0,
|
|
30550
30550
|
height: m,
|
|
30551
30551
|
color: _,
|
|
30552
30552
|
outline: s.label.outline,
|