@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.cjs.js
CHANGED
|
@@ -13400,6 +13400,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13400
13400
|
* @interface ICrossSectioning
|
|
13401
13401
|
* @property {Array.<vertexvis.protobuf.stream.ISectionPlane>|null} [sectionPlanes] CrossSectioning sectionPlanes
|
|
13402
13402
|
* @property {vertexvis.protobuf.core.IRGBi|null} [highlightColor] CrossSectioning highlightColor
|
|
13403
|
+
* @property {google.protobuf.IFloatValue|null} [lineWidth] CrossSectioning lineWidth
|
|
13403
13404
|
*/
|
|
13404
13405
|
|
|
13405
13406
|
/**
|
|
@@ -13434,6 +13435,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13434
13435
|
*/
|
|
13435
13436
|
CrossSectioning.prototype.highlightColor = null;
|
|
13436
13437
|
|
|
13438
|
+
/**
|
|
13439
|
+
* CrossSectioning lineWidth.
|
|
13440
|
+
* @member {google.protobuf.IFloatValue|null|undefined} lineWidth
|
|
13441
|
+
* @memberof vertexvis.protobuf.stream.CrossSectioning
|
|
13442
|
+
* @instance
|
|
13443
|
+
*/
|
|
13444
|
+
CrossSectioning.prototype.lineWidth = null;
|
|
13445
|
+
|
|
13437
13446
|
/**
|
|
13438
13447
|
* Creates a new CrossSectioning instance using the specified properties.
|
|
13439
13448
|
* @function create
|
|
@@ -13463,6 +13472,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13463
13472
|
$root.vertexvis.protobuf.stream.SectionPlane.encode(message.sectionPlanes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
13464
13473
|
if (message.highlightColor != null && Object.hasOwnProperty.call(message, "highlightColor"))
|
|
13465
13474
|
$root.vertexvis.protobuf.core.RGBi.encode(message.highlightColor, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
13475
|
+
if (message.lineWidth != null && Object.hasOwnProperty.call(message, "lineWidth"))
|
|
13476
|
+
$root.google.protobuf.FloatValue.encode(message.lineWidth, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
13466
13477
|
return writer;
|
|
13467
13478
|
};
|
|
13468
13479
|
|
|
@@ -13505,6 +13516,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13505
13516
|
case 2:
|
|
13506
13517
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.decode(reader, reader.uint32());
|
|
13507
13518
|
break;
|
|
13519
|
+
case 3:
|
|
13520
|
+
message.lineWidth = $root.google.protobuf.FloatValue.decode(reader, reader.uint32());
|
|
13521
|
+
break;
|
|
13508
13522
|
default:
|
|
13509
13523
|
reader.skipType(tag & 7);
|
|
13510
13524
|
break;
|
|
@@ -13554,6 +13568,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13554
13568
|
if (error)
|
|
13555
13569
|
return "highlightColor." + error;
|
|
13556
13570
|
}
|
|
13571
|
+
if (message.lineWidth != null && message.hasOwnProperty("lineWidth")) {
|
|
13572
|
+
let error = $root.google.protobuf.FloatValue.verify(message.lineWidth);
|
|
13573
|
+
if (error)
|
|
13574
|
+
return "lineWidth." + error;
|
|
13575
|
+
}
|
|
13557
13576
|
return null;
|
|
13558
13577
|
};
|
|
13559
13578
|
|
|
@@ -13584,6 +13603,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13584
13603
|
throw TypeError(".vertexvis.protobuf.stream.CrossSectioning.highlightColor: object expected");
|
|
13585
13604
|
message.highlightColor = $root.vertexvis.protobuf.core.RGBi.fromObject(object.highlightColor);
|
|
13586
13605
|
}
|
|
13606
|
+
if (object.lineWidth != null) {
|
|
13607
|
+
if (typeof object.lineWidth !== "object")
|
|
13608
|
+
throw TypeError(".vertexvis.protobuf.stream.CrossSectioning.lineWidth: object expected");
|
|
13609
|
+
message.lineWidth = $root.google.protobuf.FloatValue.fromObject(object.lineWidth);
|
|
13610
|
+
}
|
|
13587
13611
|
return message;
|
|
13588
13612
|
};
|
|
13589
13613
|
|
|
@@ -13602,8 +13626,10 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13602
13626
|
let object = {};
|
|
13603
13627
|
if (options.arrays || options.defaults)
|
|
13604
13628
|
object.sectionPlanes = [];
|
|
13605
|
-
if (options.defaults)
|
|
13629
|
+
if (options.defaults) {
|
|
13606
13630
|
object.highlightColor = null;
|
|
13631
|
+
object.lineWidth = null;
|
|
13632
|
+
}
|
|
13607
13633
|
if (message.sectionPlanes && message.sectionPlanes.length) {
|
|
13608
13634
|
object.sectionPlanes = [];
|
|
13609
13635
|
for (let j = 0; j < message.sectionPlanes.length; ++j)
|
|
@@ -13611,6 +13637,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13611
13637
|
}
|
|
13612
13638
|
if (message.highlightColor != null && message.hasOwnProperty("highlightColor"))
|
|
13613
13639
|
object.highlightColor = $root.vertexvis.protobuf.core.RGBi.toObject(message.highlightColor, options);
|
|
13640
|
+
if (message.lineWidth != null && message.hasOwnProperty("lineWidth"))
|
|
13641
|
+
object.lineWidth = $root.google.protobuf.FloatValue.toObject(message.lineWidth, options);
|
|
13614
13642
|
return object;
|
|
13615
13643
|
};
|
|
13616
13644
|
|