@xeokit/xeokit-sdk 2.3.0-beta-26 → 2.3.0-beta-27
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/dist/xeokit-sdk.cjs.js +31 -18
- package/dist/xeokit-sdk.es.js +31 -18
- package/dist/xeokit-sdk.min.cjs.js +1 -1
- package/dist/xeokit-sdk.min.es.js +1 -1
- package/package.json +1 -1
package/dist/xeokit-sdk.cjs.js
CHANGED
|
@@ -9600,21 +9600,34 @@ class AngleMeasurement extends Component {
|
|
|
9600
9600
|
|
|
9601
9601
|
this._originDot = new Dot(this._container, {
|
|
9602
9602
|
fillColor: this._color,
|
|
9603
|
-
zIndex: plugin.zIndex +
|
|
9603
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
9604
9604
|
});
|
|
9605
9605
|
this._cornerDot = new Dot(this._container, {
|
|
9606
9606
|
fillColor: this._color,
|
|
9607
|
-
zIndex: plugin.zIndex +
|
|
9607
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
9608
9608
|
});
|
|
9609
9609
|
this._targetDot = new Dot(this._container, {
|
|
9610
9610
|
fillColor: this._color,
|
|
9611
|
-
zIndex: plugin.zIndex +
|
|
9611
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
9612
9612
|
});
|
|
9613
9613
|
|
|
9614
|
-
this._originWire = new Wire(this._container, {
|
|
9615
|
-
|
|
9614
|
+
this._originWire = new Wire(this._container, {
|
|
9615
|
+
color: this._color || "blue",
|
|
9616
|
+
thickness: 1,
|
|
9617
|
+
zIndex: plugin.zIndex
|
|
9618
|
+
});
|
|
9619
|
+
this._targetWire = new Wire(this._container, {
|
|
9620
|
+
color: this._color || "red",
|
|
9621
|
+
thickness: 1,
|
|
9622
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
9623
|
+
});
|
|
9616
9624
|
|
|
9617
|
-
this._angleLabel = new Label(this._container, {
|
|
9625
|
+
this._angleLabel = new Label(this._container, {
|
|
9626
|
+
fillColor: this._color || "#00BBFF",
|
|
9627
|
+
prefix: "",
|
|
9628
|
+
text: "",
|
|
9629
|
+
zIndex: plugin.zIndex + 2
|
|
9630
|
+
});
|
|
9618
9631
|
|
|
9619
9632
|
this._wpDirty = false;
|
|
9620
9633
|
this._vpDirty = false;
|
|
@@ -10631,7 +10644,7 @@ class AngleMeasurementsPlugin extends Plugin {
|
|
|
10631
10644
|
this._measurements = {};
|
|
10632
10645
|
|
|
10633
10646
|
this.defaultColor = cfg.defaultColor;
|
|
10634
|
-
this.zIndex = cfg.zIndex;
|
|
10647
|
+
this.zIndex = cfg.zIndex || 10000;
|
|
10635
10648
|
}
|
|
10636
10649
|
|
|
10637
10650
|
/**
|
|
@@ -46189,64 +46202,64 @@ class DistanceMeasurement extends Component {
|
|
|
46189
46202
|
|
|
46190
46203
|
this._originDot = new Dot(this._container, {
|
|
46191
46204
|
fillColor: this._color,
|
|
46192
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46205
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
46193
46206
|
});
|
|
46194
46207
|
|
|
46195
46208
|
this._targetDot = new Dot(this._container, {
|
|
46196
46209
|
fillColor: this._color,
|
|
46197
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46210
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
46198
46211
|
});
|
|
46199
46212
|
|
|
46200
46213
|
this._lengthWire = new Wire(this._container, {
|
|
46201
46214
|
color: this._color,
|
|
46202
46215
|
thickness: 2,
|
|
46203
|
-
zIndex: plugin.zIndex
|
|
46216
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
46204
46217
|
});
|
|
46205
46218
|
|
|
46206
46219
|
this._xAxisWire = new Wire(this._container, {
|
|
46207
46220
|
color: "red",
|
|
46208
46221
|
thickness: 1,
|
|
46209
|
-
zIndex: plugin.zIndex
|
|
46222
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
46210
46223
|
});
|
|
46211
46224
|
|
|
46212
46225
|
this._yAxisWire = new Wire(this._container, {
|
|
46213
46226
|
color: "green",
|
|
46214
46227
|
thickness: 1,
|
|
46215
|
-
zIndex: plugin.zIndex
|
|
46228
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
46216
46229
|
});
|
|
46217
46230
|
|
|
46218
46231
|
this._zAxisWire = new Wire(this._container, {
|
|
46219
46232
|
color: "blue",
|
|
46220
46233
|
thickness: 1,
|
|
46221
|
-
zIndex: plugin.zIndex
|
|
46234
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
46222
46235
|
});
|
|
46223
46236
|
|
|
46224
46237
|
this._lengthLabel = new Label(this._container, {
|
|
46225
46238
|
fillColor: this._color,
|
|
46226
46239
|
prefix: "",
|
|
46227
46240
|
text: "",
|
|
46228
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46241
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 4: undefined
|
|
46229
46242
|
});
|
|
46230
46243
|
|
|
46231
46244
|
this._xAxisLabel = new Label(this._container, {
|
|
46232
46245
|
fillColor: "red",
|
|
46233
46246
|
prefix: "X",
|
|
46234
46247
|
text: "",
|
|
46235
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46248
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 3: undefined
|
|
46236
46249
|
});
|
|
46237
46250
|
|
|
46238
46251
|
this._yAxisLabel = new Label(this._container, {
|
|
46239
46252
|
fillColor: "green",
|
|
46240
46253
|
prefix: "Y",
|
|
46241
46254
|
text: "",
|
|
46242
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46255
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 3: undefined
|
|
46243
46256
|
});
|
|
46244
46257
|
|
|
46245
46258
|
this._zAxisLabel = new Label(this._container, {
|
|
46246
46259
|
fillColor: "blue",
|
|
46247
46260
|
prefix: "Z",
|
|
46248
46261
|
text: "",
|
|
46249
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46262
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 3: undefined
|
|
46250
46263
|
});
|
|
46251
46264
|
|
|
46252
46265
|
this._wpDirty = false;
|
|
@@ -87026,7 +87039,7 @@ class DistanceMeasurementsPlugin extends Plugin {
|
|
|
87026
87039
|
this.defaultWireVisible = cfg.defaultWireVisible !== false;
|
|
87027
87040
|
this.defaultAxisVisible = cfg.defaultAxisVisible !== false;
|
|
87028
87041
|
this.defaultColor = cfg.defaultColor !== undefined ? cfg.defaultColor : "#00BBFF";
|
|
87029
|
-
this.zIndex = cfg.zIndex;
|
|
87042
|
+
this.zIndex = cfg.zIndex || 10000;
|
|
87030
87043
|
}
|
|
87031
87044
|
|
|
87032
87045
|
/**
|
package/dist/xeokit-sdk.es.js
CHANGED
|
@@ -9596,21 +9596,34 @@ class AngleMeasurement extends Component {
|
|
|
9596
9596
|
|
|
9597
9597
|
this._originDot = new Dot(this._container, {
|
|
9598
9598
|
fillColor: this._color,
|
|
9599
|
-
zIndex: plugin.zIndex +
|
|
9599
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
9600
9600
|
});
|
|
9601
9601
|
this._cornerDot = new Dot(this._container, {
|
|
9602
9602
|
fillColor: this._color,
|
|
9603
|
-
zIndex: plugin.zIndex +
|
|
9603
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
9604
9604
|
});
|
|
9605
9605
|
this._targetDot = new Dot(this._container, {
|
|
9606
9606
|
fillColor: this._color,
|
|
9607
|
-
zIndex: plugin.zIndex +
|
|
9607
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
9608
9608
|
});
|
|
9609
9609
|
|
|
9610
|
-
this._originWire = new Wire(this._container, {
|
|
9611
|
-
|
|
9610
|
+
this._originWire = new Wire(this._container, {
|
|
9611
|
+
color: this._color || "blue",
|
|
9612
|
+
thickness: 1,
|
|
9613
|
+
zIndex: plugin.zIndex
|
|
9614
|
+
});
|
|
9615
|
+
this._targetWire = new Wire(this._container, {
|
|
9616
|
+
color: this._color || "red",
|
|
9617
|
+
thickness: 1,
|
|
9618
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
9619
|
+
});
|
|
9612
9620
|
|
|
9613
|
-
this._angleLabel = new Label(this._container, {
|
|
9621
|
+
this._angleLabel = new Label(this._container, {
|
|
9622
|
+
fillColor: this._color || "#00BBFF",
|
|
9623
|
+
prefix: "",
|
|
9624
|
+
text: "",
|
|
9625
|
+
zIndex: plugin.zIndex + 2
|
|
9626
|
+
});
|
|
9614
9627
|
|
|
9615
9628
|
this._wpDirty = false;
|
|
9616
9629
|
this._vpDirty = false;
|
|
@@ -10627,7 +10640,7 @@ class AngleMeasurementsPlugin extends Plugin {
|
|
|
10627
10640
|
this._measurements = {};
|
|
10628
10641
|
|
|
10629
10642
|
this.defaultColor = cfg.defaultColor;
|
|
10630
|
-
this.zIndex = cfg.zIndex;
|
|
10643
|
+
this.zIndex = cfg.zIndex || 10000;
|
|
10631
10644
|
}
|
|
10632
10645
|
|
|
10633
10646
|
/**
|
|
@@ -46185,64 +46198,64 @@ class DistanceMeasurement extends Component {
|
|
|
46185
46198
|
|
|
46186
46199
|
this._originDot = new Dot(this._container, {
|
|
46187
46200
|
fillColor: this._color,
|
|
46188
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46201
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
46189
46202
|
});
|
|
46190
46203
|
|
|
46191
46204
|
this._targetDot = new Dot(this._container, {
|
|
46192
46205
|
fillColor: this._color,
|
|
46193
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46206
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 2: undefined
|
|
46194
46207
|
});
|
|
46195
46208
|
|
|
46196
46209
|
this._lengthWire = new Wire(this._container, {
|
|
46197
46210
|
color: this._color,
|
|
46198
46211
|
thickness: 2,
|
|
46199
|
-
zIndex: plugin.zIndex
|
|
46212
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
46200
46213
|
});
|
|
46201
46214
|
|
|
46202
46215
|
this._xAxisWire = new Wire(this._container, {
|
|
46203
46216
|
color: "red",
|
|
46204
46217
|
thickness: 1,
|
|
46205
|
-
zIndex: plugin.zIndex
|
|
46218
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
46206
46219
|
});
|
|
46207
46220
|
|
|
46208
46221
|
this._yAxisWire = new Wire(this._container, {
|
|
46209
46222
|
color: "green",
|
|
46210
46223
|
thickness: 1,
|
|
46211
|
-
zIndex: plugin.zIndex
|
|
46224
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
46212
46225
|
});
|
|
46213
46226
|
|
|
46214
46227
|
this._zAxisWire = new Wire(this._container, {
|
|
46215
46228
|
color: "blue",
|
|
46216
46229
|
thickness: 1,
|
|
46217
|
-
zIndex: plugin.zIndex
|
|
46230
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 1: undefined
|
|
46218
46231
|
});
|
|
46219
46232
|
|
|
46220
46233
|
this._lengthLabel = new Label(this._container, {
|
|
46221
46234
|
fillColor: this._color,
|
|
46222
46235
|
prefix: "",
|
|
46223
46236
|
text: "",
|
|
46224
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46237
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 4: undefined
|
|
46225
46238
|
});
|
|
46226
46239
|
|
|
46227
46240
|
this._xAxisLabel = new Label(this._container, {
|
|
46228
46241
|
fillColor: "red",
|
|
46229
46242
|
prefix: "X",
|
|
46230
46243
|
text: "",
|
|
46231
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46244
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 3: undefined
|
|
46232
46245
|
});
|
|
46233
46246
|
|
|
46234
46247
|
this._yAxisLabel = new Label(this._container, {
|
|
46235
46248
|
fillColor: "green",
|
|
46236
46249
|
prefix: "Y",
|
|
46237
46250
|
text: "",
|
|
46238
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46251
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 3: undefined
|
|
46239
46252
|
});
|
|
46240
46253
|
|
|
46241
46254
|
this._zAxisLabel = new Label(this._container, {
|
|
46242
46255
|
fillColor: "blue",
|
|
46243
46256
|
prefix: "Z",
|
|
46244
46257
|
text: "",
|
|
46245
|
-
zIndex: plugin.zIndex !== undefined ? plugin.zIndex +
|
|
46258
|
+
zIndex: plugin.zIndex !== undefined ? plugin.zIndex + 3: undefined
|
|
46246
46259
|
});
|
|
46247
46260
|
|
|
46248
46261
|
this._wpDirty = false;
|
|
@@ -87022,7 +87035,7 @@ class DistanceMeasurementsPlugin extends Plugin {
|
|
|
87022
87035
|
this.defaultWireVisible = cfg.defaultWireVisible !== false;
|
|
87023
87036
|
this.defaultAxisVisible = cfg.defaultAxisVisible !== false;
|
|
87024
87037
|
this.defaultColor = cfg.defaultColor !== undefined ? cfg.defaultColor : "#00BBFF";
|
|
87025
|
-
this.zIndex = cfg.zIndex;
|
|
87038
|
+
this.zIndex = cfg.zIndex || 10000;
|
|
87026
87039
|
}
|
|
87027
87040
|
|
|
87028
87041
|
/**
|