@vertexvis/stream-api 0.17.3-canary.10 → 0.17.3-canary.12
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/bundle.cjs.js +29 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +29 -1
- package/dist/bundle.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/bundle.esm.js
CHANGED
|
@@ -13396,6 +13396,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13396
13396
|
* @interface ICrossSectioning
|
|
13397
13397
|
* @property {Array.<vertexvis.protobuf.stream.ISectionPlane>|null} [sectionPlanes] CrossSectioning sectionPlanes
|
|
13398
13398
|
* @property {vertexvis.protobuf.core.IRGBi|null} [highlightColor] CrossSectioning highlightColor
|
|
13399
|
+
* @property {google.protobuf.IFloatValue|null} [lineWidth] CrossSectioning lineWidth
|
|
13399
13400
|
*/
|
|
13400
13401
|
|
|
13401
13402
|
/**
|
|
@@ -13430,6 +13431,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13430
13431
|
*/
|
|
13431
13432
|
CrossSectioning.prototype.highlightColor = null;
|
|
13432
13433
|
|
|
13434
|
+
/**
|
|
13435
|
+
* CrossSectioning lineWidth.
|
|
13436
|
+
* @member {google.protobuf.IFloatValue|null|undefined} lineWidth
|
|
13437
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioning
|
|
13438
|
+
* @instance
|
|
13439
|
+
*/
|
|
13440
|
+
CrossSectioning.prototype.lineWidth = null;
|
|
13441
|
+
|
|
13433
13442
|
/**
|
|
13434
13443
|
* Creates a new CrossSectioning instance using the specified properties.
|
|
13435
13444
|
* @function create
|
|
@@ -13459,6 +13468,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13459
13468
|
$root.vertexvis.protobuf.stream.SectionPlane.encode(message.sectionPlanes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
13460
13469
|
if (message.highlightColor != null && Object.hasOwnProperty.call(message, "highlightColor"))
|
|
13461
13470
|
$root.vertexvis.protobuf.core.RGBi.encode(message.highlightColor, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
13471
|
+
if (message.lineWidth != null && Object.hasOwnProperty.call(message, "lineWidth"))
|
|
13472
|
+
$root.google.protobuf.FloatValue.encode(message.lineWidth, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
13462
13473
|
return writer;
|
|
13463
13474
|
};
|
|
13464
13475
|
|
|
@@ -13501,6 +13512,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13501
13512
|
case 2:
|
|
13502
13513
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.decode(reader, reader.uint32());
|
|
13503
13514
|
break;
|
|
13515
|
+
case 3:
|
|
13516
|
+
message.lineWidth = $root.google.protobuf.FloatValue.decode(reader, reader.uint32());
|
|
13517
|
+
break;
|
|
13504
13518
|
default:
|
|
13505
13519
|
reader.skipType(tag & 7);
|
|
13506
13520
|
break;
|
|
@@ -13550,6 +13564,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13550
13564
|
if (error)
|
|
13551
13565
|
return "highlightColor." + error;
|
|
13552
13566
|
}
|
|
13567
|
+
if (message.lineWidth != null && message.hasOwnProperty("lineWidth")) {
|
|
13568
|
+
let error = $root.google.protobuf.FloatValue.verify(message.lineWidth);
|
|
13569
|
+
if (error)
|
|
13570
|
+
return "lineWidth." + error;
|
|
13571
|
+
}
|
|
13553
13572
|
return null;
|
|
13554
13573
|
};
|
|
13555
13574
|
|
|
@@ -13580,6 +13599,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13580
13599
|
throw TypeError(".vertexvis.protobuf.stream.CrossSectioning.highlightColor: object expected");
|
|
13581
13600
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.fromObject(object.highlightColor);
|
|
13582
13601
|
}
|
|
13602
|
+
if (object.lineWidth != null) {
|
|
13603
|
+
if (typeof object.lineWidth !== "object")
|
|
13604
|
+
throw TypeError(".vertexvis.protobuf.stream.CrossSectioning.lineWidth: object expected");
|
|
13605
|
+
message.lineWidth = $root.google.protobuf.FloatValue.fromObject(object.lineWidth);
|
|
13606
|
+
}
|
|
13583
13607
|
return message;
|
|
13584
13608
|
};
|
|
13585
13609
|
|
|
@@ -13598,8 +13622,10 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13598
13622
|
let object = {};
|
|
13599
13623
|
if (options.arrays || options.defaults)
|
|
13600
13624
|
object.sectionPlanes = [];
|
|
13601
|
-
if (options.defaults)
|
|
13625
|
+
if (options.defaults) {
|
|
13602
13626
|
object.highlightColor = null;
|
|
13627
|
+
object.lineWidth = null;
|
|
13628
|
+
}
|
|
13603
13629
|
if (message.sectionPlanes && message.sectionPlanes.length) {
|
|
13604
13630
|
object.sectionPlanes = [];
|
|
13605
13631
|
for (let j = 0; j < message.sectionPlanes.length; ++j)
|
|
@@ -13607,6 +13633,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13607
13633
|
}
|
|
13608
13634
|
if (message.highlightColor != null && message.hasOwnProperty("highlightColor"))
|
|
13609
13635
|
object.highlightColor = $root.vertexvis.protobuf.core.RGBi.toObject(message.highlightColor, options);
|
|
13636
|
+
if (message.lineWidth != null && message.hasOwnProperty("lineWidth"))
|
|
13637
|
+
object.lineWidth = $root.google.protobuf.FloatValue.toObject(message.lineWidth, options);
|
|
13610
13638
|
return object;
|
|
13611
13639
|
};
|
|
13612
13640
|
|