@shapediver/viewer.rendering-engine.intersection-restriction-engine 3.16.7 → 3.16.9

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.
Files changed (95) hide show
  1. package/dist/api/implementation/AbstractRestrictionApi.d.ts +12 -12
  2. package/dist/api/implementation/AbstractRestrictionApi.js +46 -46
  3. package/dist/api/implementation/AbstractRestrictionApi.js.map +1 -1
  4. package/dist/api/implementation/AbstractSnapRestrictionApi.d.ts +12 -12
  5. package/dist/api/implementation/AbstractSnapRestrictionApi.js +46 -46
  6. package/dist/api/implementation/AbstractSnapRestrictionApi.js.map +1 -1
  7. package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.d.ts +6 -6
  8. package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.js +23 -23
  9. package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.js.map +1 -1
  10. package/dist/api/implementation/geometry/GeometryRestrictionApi.d.ts +14 -14
  11. package/dist/api/implementation/geometry/GeometryRestrictionApi.js +53 -53
  12. package/dist/api/implementation/geometry/GeometryRestrictionApi.js.map +1 -1
  13. package/dist/api/implementation/line/LineRestrictionApi.d.ts +10 -10
  14. package/dist/api/implementation/line/LineRestrictionApi.js +39 -39
  15. package/dist/api/implementation/line/LineRestrictionApi.js.map +1 -1
  16. package/dist/api/implementation/plane/PlaneRestrictionApi.d.ts +19 -19
  17. package/dist/api/implementation/plane/PlaneRestrictionApi.js +66 -66
  18. package/dist/api/implementation/plane/PlaneRestrictionApi.js.map +1 -1
  19. package/dist/api/implementation/plane/snap/AngularRestrictionApi.d.ts +9 -9
  20. package/dist/api/implementation/plane/snap/AngularRestrictionApi.js +39 -39
  21. package/dist/api/implementation/plane/snap/AngularRestrictionApi.js.map +1 -1
  22. package/dist/api/implementation/plane/snap/AxisRestrictionApi.d.ts +6 -6
  23. package/dist/api/implementation/plane/snap/AxisRestrictionApi.js +23 -23
  24. package/dist/api/implementation/plane/snap/AxisRestrictionApi.js.map +1 -1
  25. package/dist/api/implementation/plane/snap/GridRestrictionApi.d.ts +9 -9
  26. package/dist/api/implementation/plane/snap/GridRestrictionApi.js +39 -39
  27. package/dist/api/implementation/plane/snap/GridRestrictionApi.js.map +1 -1
  28. package/dist/api/implementation/point/PointRestrictionApi.d.ts +9 -9
  29. package/dist/api/implementation/point/PointRestrictionApi.js +36 -36
  30. package/dist/api/implementation/point/PointRestrictionApi.js.map +1 -1
  31. package/dist/api/interfaces/IRestrictionApi.d.ts +10 -10
  32. package/dist/api/interfaces/IRestrictionApi.js +2 -2
  33. package/dist/api/interfaces/ISnapRestrictionApi.d.ts +12 -12
  34. package/dist/api/interfaces/ISnapRestrictionApi.js +2 -2
  35. package/dist/implementation/EventManager.d.ts +25 -25
  36. package/dist/implementation/EventManager.d.ts.map +1 -1
  37. package/dist/implementation/EventManager.js +62 -62
  38. package/dist/implementation/EventManager.js.map +1 -1
  39. package/dist/implementation/GeometryMathManager.d.ts +87 -87
  40. package/dist/implementation/GeometryMathManager.js +260 -260
  41. package/dist/implementation/GeometryMathManager.js.map +1 -1
  42. package/dist/implementation/RestrictionManager.d.ts +28 -28
  43. package/dist/implementation/RestrictionManager.js +323 -323
  44. package/dist/implementation/RestrictionManager.js.map +1 -1
  45. package/dist/implementation/restrictions/AbstractRestriction.d.ts +42 -42
  46. package/dist/implementation/restrictions/AbstractRestriction.js +164 -154
  47. package/dist/implementation/restrictions/AbstractRestriction.js.map +1 -1
  48. package/dist/implementation/restrictions/AbstractSnapRestriction.d.ts +35 -35
  49. package/dist/implementation/restrictions/AbstractSnapRestriction.js +150 -140
  50. package/dist/implementation/restrictions/AbstractSnapRestriction.js.map +1 -1
  51. package/dist/implementation/restrictions/RestrictionsHelper.d.ts +10 -10
  52. package/dist/implementation/restrictions/RestrictionsHelper.d.ts.map +1 -1
  53. package/dist/implementation/restrictions/RestrictionsHelper.js +50 -50
  54. package/dist/implementation/restrictions/RestrictionsHelper.js.map +1 -1
  55. package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.d.ts +17 -17
  56. package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.js +62 -62
  57. package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.js.map +1 -1
  58. package/dist/implementation/restrictions/geometry/GeometryRestriction.d.ts +92 -92
  59. package/dist/implementation/restrictions/geometry/GeometryRestriction.js +410 -400
  60. package/dist/implementation/restrictions/geometry/GeometryRestriction.js.map +1 -1
  61. package/dist/implementation/restrictions/line/LineRestriction.d.ts +58 -58
  62. package/dist/implementation/restrictions/line/LineRestriction.js +291 -281
  63. package/dist/implementation/restrictions/line/LineRestriction.js.map +1 -1
  64. package/dist/implementation/restrictions/plane/PlaneRestriction.d.ts +65 -65
  65. package/dist/implementation/restrictions/plane/PlaneRestriction.js +306 -306
  66. package/dist/implementation/restrictions/plane/PlaneRestriction.js.map +1 -1
  67. package/dist/implementation/restrictions/plane/snap/AngularRestriction.d.ts +39 -39
  68. package/dist/implementation/restrictions/plane/snap/AngularRestriction.d.ts.map +1 -1
  69. package/dist/implementation/restrictions/plane/snap/AngularRestriction.js +346 -346
  70. package/dist/implementation/restrictions/plane/snap/AngularRestriction.js.map +1 -1
  71. package/dist/implementation/restrictions/plane/snap/AxisRestriction.d.ts +27 -27
  72. package/dist/implementation/restrictions/plane/snap/AxisRestriction.d.ts.map +1 -1
  73. package/dist/implementation/restrictions/plane/snap/AxisRestriction.js +239 -229
  74. package/dist/implementation/restrictions/plane/snap/AxisRestriction.js.map +1 -1
  75. package/dist/implementation/restrictions/plane/snap/GridRestriction.d.ts +39 -39
  76. package/dist/implementation/restrictions/plane/snap/GridRestriction.d.ts.map +1 -1
  77. package/dist/implementation/restrictions/plane/snap/GridRestriction.js +318 -308
  78. package/dist/implementation/restrictions/plane/snap/GridRestriction.js.map +1 -1
  79. package/dist/implementation/restrictions/point/PointRestriction.d.ts +45 -45
  80. package/dist/implementation/restrictions/point/PointRestriction.js +166 -156
  81. package/dist/implementation/restrictions/point/PointRestriction.js.map +1 -1
  82. package/dist/index.d.ts +29 -29
  83. package/dist/index.js +37 -37
  84. package/dist/interfaces/IDragAnchor.d.ts +8 -8
  85. package/dist/interfaces/IDragAnchor.js +2 -2
  86. package/dist/interfaces/IRestriction.d.ts +117 -117
  87. package/dist/interfaces/IRestriction.d.ts.map +1 -1
  88. package/dist/interfaces/IRestriction.js +23 -23
  89. package/dist/interfaces/IRestriction.js.map +1 -1
  90. package/dist/interfaces/IRestrictionManager.d.ts +13 -13
  91. package/dist/interfaces/IRestrictionManager.js +2 -2
  92. package/dist/interfaces/ISnapRestriction.d.ts +81 -81
  93. package/dist/interfaces/ISnapRestriction.d.ts.map +1 -1
  94. package/dist/interfaces/ISnapRestriction.js +3 -3
  95. package/package.json +10 -10
@@ -1,20 +1,20 @@
1
- import { vec3 } from "gl-matrix";
2
- import { PlaneRestriction } from "../../../implementation/restrictions/plane/PlaneRestriction";
3
- import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
4
- import { AngularRestrictionApi } from "./snap/AngularRestrictionApi";
5
- import { AxisRestrictionApi } from "./snap/AxisRestrictionApi";
6
- import { GridRestrictionApi } from "./snap/GridRestrictionApi";
7
- export declare class PlaneRestrictionApi extends AbstractRestrictionApi {
8
- #private;
9
- constructor(restriction: PlaneRestriction);
10
- get angularRestrictionApi(): AngularRestrictionApi;
11
- get axisRestrictionApi(): AxisRestrictionApi;
12
- get gridRestrictionApi(): GridRestrictionApi;
13
- get origin(): vec3;
14
- set origin(value: vec3);
15
- get vectorU(): vec3;
16
- set vectorU(value: vec3);
17
- get vectorV(): vec3;
18
- set vectorV(value: vec3);
19
- }
1
+ import { vec3 } from "gl-matrix";
2
+ import { PlaneRestriction } from "../../../implementation/restrictions/plane/PlaneRestriction";
3
+ import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
4
+ import { AngularRestrictionApi } from "./snap/AngularRestrictionApi";
5
+ import { AxisRestrictionApi } from "./snap/AxisRestrictionApi";
6
+ import { GridRestrictionApi } from "./snap/GridRestrictionApi";
7
+ export declare class PlaneRestrictionApi extends AbstractRestrictionApi {
8
+ #private;
9
+ constructor(restriction: PlaneRestriction);
10
+ get angularRestrictionApi(): AngularRestrictionApi;
11
+ get axisRestrictionApi(): AxisRestrictionApi;
12
+ get gridRestrictionApi(): GridRestrictionApi;
13
+ get origin(): vec3;
14
+ set origin(value: vec3);
15
+ get vectorU(): vec3;
16
+ set vectorU(value: vec3);
17
+ get vectorV(): vec3;
18
+ set vectorV(value: vec3);
19
+ }
20
20
  //# sourceMappingURL=PlaneRestrictionApi.d.ts.map
@@ -1,67 +1,67 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _PlaneRestrictionApi_angularRestrictionApi, _PlaneRestrictionApi_axisRestrictionApi, _PlaneRestrictionApi_gridRestrictionApi, _PlaneRestrictionApi_planeRestriction;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.PlaneRestrictionApi = void 0;
16
- const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
17
- const AngularRestrictionApi_1 = require("./snap/AngularRestrictionApi");
18
- const AxisRestrictionApi_1 = require("./snap/AxisRestrictionApi");
19
- const GridRestrictionApi_1 = require("./snap/GridRestrictionApi");
20
- class PlaneRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
21
- // #endregion Properties (4)
22
- // #region Constructors (1)
23
- constructor(restriction) {
24
- super(restriction);
25
- // #region Properties (4)
26
- _PlaneRestrictionApi_angularRestrictionApi.set(this, void 0);
27
- _PlaneRestrictionApi_axisRestrictionApi.set(this, void 0);
28
- _PlaneRestrictionApi_gridRestrictionApi.set(this, void 0);
29
- _PlaneRestrictionApi_planeRestriction.set(this, void 0);
30
- __classPrivateFieldSet(this, _PlaneRestrictionApi_planeRestriction, restriction, "f");
31
- __classPrivateFieldSet(this, _PlaneRestrictionApi_gridRestrictionApi, new GridRestrictionApi_1.GridRestrictionApi(restriction.gridRestriction), "f");
32
- __classPrivateFieldSet(this, _PlaneRestrictionApi_angularRestrictionApi, new AngularRestrictionApi_1.AngularRestrictionApi(restriction.angularRestriction), "f");
33
- __classPrivateFieldSet(this, _PlaneRestrictionApi_axisRestrictionApi, new AxisRestrictionApi_1.AxisRestrictionApi(restriction.axisRestriction), "f");
34
- }
35
- // #endregion Constructors (1)
36
- // #region Public Getters And Setters (9)
37
- get angularRestrictionApi() {
38
- return __classPrivateFieldGet(this, _PlaneRestrictionApi_angularRestrictionApi, "f");
39
- }
40
- get axisRestrictionApi() {
41
- return __classPrivateFieldGet(this, _PlaneRestrictionApi_axisRestrictionApi, "f");
42
- }
43
- get gridRestrictionApi() {
44
- return __classPrivateFieldGet(this, _PlaneRestrictionApi_gridRestrictionApi, "f");
45
- }
46
- get origin() {
47
- return __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").origin;
48
- }
49
- set origin(value) {
50
- __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").origin = value;
51
- }
52
- get vectorU() {
53
- return __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").vectorU;
54
- }
55
- set vectorU(value) {
56
- __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").vectorU = value;
57
- }
58
- get vectorV() {
59
- return __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").vectorV;
60
- }
61
- set vectorV(value) {
62
- __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").vectorV = value;
63
- }
64
- }
65
- exports.PlaneRestrictionApi = PlaneRestrictionApi;
66
- _PlaneRestrictionApi_angularRestrictionApi = new WeakMap(), _PlaneRestrictionApi_axisRestrictionApi = new WeakMap(), _PlaneRestrictionApi_gridRestrictionApi = new WeakMap(), _PlaneRestrictionApi_planeRestriction = new WeakMap();
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _PlaneRestrictionApi_angularRestrictionApi, _PlaneRestrictionApi_axisRestrictionApi, _PlaneRestrictionApi_gridRestrictionApi, _PlaneRestrictionApi_planeRestriction;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.PlaneRestrictionApi = void 0;
16
+ const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
17
+ const AngularRestrictionApi_1 = require("./snap/AngularRestrictionApi");
18
+ const AxisRestrictionApi_1 = require("./snap/AxisRestrictionApi");
19
+ const GridRestrictionApi_1 = require("./snap/GridRestrictionApi");
20
+ class PlaneRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
21
+ // #endregion Properties (4)
22
+ // #region Constructors (1)
23
+ constructor(restriction) {
24
+ super(restriction);
25
+ // #region Properties (4)
26
+ _PlaneRestrictionApi_angularRestrictionApi.set(this, void 0);
27
+ _PlaneRestrictionApi_axisRestrictionApi.set(this, void 0);
28
+ _PlaneRestrictionApi_gridRestrictionApi.set(this, void 0);
29
+ _PlaneRestrictionApi_planeRestriction.set(this, void 0);
30
+ __classPrivateFieldSet(this, _PlaneRestrictionApi_planeRestriction, restriction, "f");
31
+ __classPrivateFieldSet(this, _PlaneRestrictionApi_gridRestrictionApi, new GridRestrictionApi_1.GridRestrictionApi(restriction.gridRestriction), "f");
32
+ __classPrivateFieldSet(this, _PlaneRestrictionApi_angularRestrictionApi, new AngularRestrictionApi_1.AngularRestrictionApi(restriction.angularRestriction), "f");
33
+ __classPrivateFieldSet(this, _PlaneRestrictionApi_axisRestrictionApi, new AxisRestrictionApi_1.AxisRestrictionApi(restriction.axisRestriction), "f");
34
+ }
35
+ // #endregion Constructors (1)
36
+ // #region Public Getters And Setters (9)
37
+ get angularRestrictionApi() {
38
+ return __classPrivateFieldGet(this, _PlaneRestrictionApi_angularRestrictionApi, "f");
39
+ }
40
+ get axisRestrictionApi() {
41
+ return __classPrivateFieldGet(this, _PlaneRestrictionApi_axisRestrictionApi, "f");
42
+ }
43
+ get gridRestrictionApi() {
44
+ return __classPrivateFieldGet(this, _PlaneRestrictionApi_gridRestrictionApi, "f");
45
+ }
46
+ get origin() {
47
+ return __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").origin;
48
+ }
49
+ set origin(value) {
50
+ __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").origin = value;
51
+ }
52
+ get vectorU() {
53
+ return __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").vectorU;
54
+ }
55
+ set vectorU(value) {
56
+ __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").vectorU = value;
57
+ }
58
+ get vectorV() {
59
+ return __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").vectorV;
60
+ }
61
+ set vectorV(value) {
62
+ __classPrivateFieldGet(this, _PlaneRestrictionApi_planeRestriction, "f").vectorV = value;
63
+ }
64
+ }
65
+ exports.PlaneRestrictionApi = PlaneRestrictionApi;
66
+ _PlaneRestrictionApi_angularRestrictionApi = new WeakMap(), _PlaneRestrictionApi_axisRestrictionApi = new WeakMap(), _PlaneRestrictionApi_gridRestrictionApi = new WeakMap(), _PlaneRestrictionApi_planeRestriction = new WeakMap();
67
67
  //# sourceMappingURL=PlaneRestrictionApi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlaneRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/plane/PlaneRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,sEAAiE;AACjE,wEAAmE;AACnE,kEAA6D;AAC7D,kEAA6D;AAE7D,MAAa,mBAAoB,SAAQ,+CAAsB;IAQ9D,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA6B;QACxC,KAAK,CAAC,WAAW,CAAC,CAAC;QAZpB,yBAAyB;QAEzB,6DAAuD;QACvD,0DAAiD;QACjD,0DAAiD;QACjD,wDAA6C;QAQ5C,uBAAA,IAAI,yCAAqB,WAAW,MAAA,CAAC;QAErC,uBAAA,IAAI,2CAAuB,IAAI,uCAAkB,CAChD,WAAW,CAAC,eAAe,CAC3B,MAAA,CAAC;QACF,uBAAA,IAAI,8CAA0B,IAAI,6CAAqB,CACtD,WAAW,CAAC,kBAAkB,CAC9B,MAAA,CAAC;QACF,uBAAA,IAAI,2CAAuB,IAAI,uCAAkB,CAChD,WAAW,CAAC,eAAe,CAC3B,MAAA,CAAC;IACH,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,qBAAqB;QAC/B,OAAO,uBAAA,IAAI,kDAAuB,CAAC;IACpC,CAAC;IAED,IAAW,kBAAkB;QAC5B,OAAO,uBAAA,IAAI,+CAAoB,CAAC;IACjC,CAAC;IAED,IAAW,kBAAkB;QAC5B,OAAO,uBAAA,IAAI,+CAAoB,CAAC;IACjC,CAAC;IAED,IAAW,MAAM;QAChB,OAAO,uBAAA,IAAI,6CAAkB,CAAC,MAAM,CAAC;IACtC,CAAC;IAED,IAAW,MAAM,CAAC,KAAW;QAC5B,uBAAA,IAAI,6CAAkB,CAAC,MAAM,GAAG,KAAK,CAAC;IACvC,CAAC;IAED,IAAW,OAAO;QACjB,OAAO,uBAAA,IAAI,6CAAkB,CAAC,OAAO,CAAC;IACvC,CAAC;IAED,IAAW,OAAO,CAAC,KAAW;QAC7B,uBAAA,IAAI,6CAAkB,CAAC,OAAO,GAAG,KAAK,CAAC;IACxC,CAAC;IAED,IAAW,OAAO;QACjB,OAAO,uBAAA,IAAI,6CAAkB,CAAC,OAAO,CAAC;IACvC,CAAC;IAED,IAAW,OAAO,CAAC,KAAW;QAC7B,uBAAA,IAAI,6CAAkB,CAAC,OAAO,GAAG,KAAK,CAAC;IACxC,CAAC;CAGD;AApED,kDAoEC"}
1
+ {"version":3,"file":"PlaneRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/plane/PlaneRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,sEAAiE;AACjE,wEAAmE;AACnE,kEAA6D;AAC7D,kEAA6D;AAE7D,MAAa,mBAAoB,SAAQ,+CAAsB;IAQ9D,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA6B;QACxC,KAAK,CAAC,WAAW,CAAC,CAAC;QAZpB,yBAAyB;QAEhB,6DAA8C;QAC9C,0DAAwC;QACxC,0DAAwC;QACxC,wDAAoC;QAQ5C,uBAAA,IAAI,yCAAqB,WAAW,MAAA,CAAC;QAErC,uBAAA,IAAI,2CAAuB,IAAI,uCAAkB,CAChD,WAAW,CAAC,eAAe,CAC3B,MAAA,CAAC;QACF,uBAAA,IAAI,8CAA0B,IAAI,6CAAqB,CACtD,WAAW,CAAC,kBAAkB,CAC9B,MAAA,CAAC;QACF,uBAAA,IAAI,2CAAuB,IAAI,uCAAkB,CAChD,WAAW,CAAC,eAAe,CAC3B,MAAA,CAAC;IACH,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,qBAAqB;QAC/B,OAAO,uBAAA,IAAI,kDAAuB,CAAC;IACpC,CAAC;IAED,IAAW,kBAAkB;QAC5B,OAAO,uBAAA,IAAI,+CAAoB,CAAC;IACjC,CAAC;IAED,IAAW,kBAAkB;QAC5B,OAAO,uBAAA,IAAI,+CAAoB,CAAC;IACjC,CAAC;IAED,IAAW,MAAM;QAChB,OAAO,uBAAA,IAAI,6CAAkB,CAAC,MAAM,CAAC;IACtC,CAAC;IAED,IAAW,MAAM,CAAC,KAAW;QAC5B,uBAAA,IAAI,6CAAkB,CAAC,MAAM,GAAG,KAAK,CAAC;IACvC,CAAC;IAED,IAAW,OAAO;QACjB,OAAO,uBAAA,IAAI,6CAAkB,CAAC,OAAO,CAAC;IACvC,CAAC;IAED,IAAW,OAAO,CAAC,KAAW;QAC7B,uBAAA,IAAI,6CAAkB,CAAC,OAAO,GAAG,KAAK,CAAC;IACxC,CAAC;IAED,IAAW,OAAO;QACjB,OAAO,uBAAA,IAAI,6CAAkB,CAAC,OAAO,CAAC;IACvC,CAAC;IAED,IAAW,OAAO,CAAC,KAAW;QAC7B,uBAAA,IAAI,6CAAkB,CAAC,OAAO,GAAG,KAAK,CAAC;IACxC,CAAC;CAGD;AApED,kDAoEC"}
@@ -1,10 +1,10 @@
1
- import { AngularRestriction } from "../../../../implementation/restrictions/plane/snap/AngularRestriction";
2
- import { AbstractSnapRestrictionApi } from "../../AbstractSnapRestrictionApi";
3
- export declare class AngularRestrictionApi extends AbstractSnapRestrictionApi {
4
- #private;
5
- constructor(restriction: AngularRestriction);
6
- get angleStep(): number;
7
- set angleStep(value: number);
8
- get angleStepEditable(): boolean;
9
- }
1
+ import { AngularRestriction } from "../../../../implementation/restrictions/plane/snap/AngularRestriction";
2
+ import { AbstractSnapRestrictionApi } from "../../AbstractSnapRestrictionApi";
3
+ export declare class AngularRestrictionApi extends AbstractSnapRestrictionApi {
4
+ #private;
5
+ constructor(restriction: AngularRestriction);
6
+ get angleStep(): number;
7
+ set angleStep(value: number);
8
+ get angleStepEditable(): boolean;
9
+ }
10
10
  //# sourceMappingURL=AngularRestrictionApi.d.ts.map
@@ -1,40 +1,40 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _AngularRestrictionApi_angularRestriction;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.AngularRestrictionApi = void 0;
16
- const AbstractSnapRestrictionApi_1 = require("../../AbstractSnapRestrictionApi");
17
- class AngularRestrictionApi extends AbstractSnapRestrictionApi_1.AbstractSnapRestrictionApi {
18
- // #endregion Properties (1)
19
- // #region Constructors (1)
20
- constructor(restriction) {
21
- super(restriction);
22
- // #region Properties (1)
23
- _AngularRestrictionApi_angularRestriction.set(this, void 0);
24
- __classPrivateFieldSet(this, _AngularRestrictionApi_angularRestriction, restriction, "f");
25
- }
26
- // #endregion Constructors (1)
27
- // #region Public Getters And Setters (3)
28
- get angleStep() {
29
- return __classPrivateFieldGet(this, _AngularRestrictionApi_angularRestriction, "f").angleStep;
30
- }
31
- set angleStep(value) {
32
- __classPrivateFieldGet(this, _AngularRestrictionApi_angularRestriction, "f").angleStep = value;
33
- }
34
- get angleStepEditable() {
35
- return __classPrivateFieldGet(this, _AngularRestrictionApi_angularRestriction, "f").angleStepEditable;
36
- }
37
- }
38
- exports.AngularRestrictionApi = AngularRestrictionApi;
39
- _AngularRestrictionApi_angularRestriction = new WeakMap();
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _AngularRestrictionApi_angularRestriction;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AngularRestrictionApi = void 0;
16
+ const AbstractSnapRestrictionApi_1 = require("../../AbstractSnapRestrictionApi");
17
+ class AngularRestrictionApi extends AbstractSnapRestrictionApi_1.AbstractSnapRestrictionApi {
18
+ // #endregion Properties (1)
19
+ // #region Constructors (1)
20
+ constructor(restriction) {
21
+ super(restriction);
22
+ // #region Properties (1)
23
+ _AngularRestrictionApi_angularRestriction.set(this, void 0);
24
+ __classPrivateFieldSet(this, _AngularRestrictionApi_angularRestriction, restriction, "f");
25
+ }
26
+ // #endregion Constructors (1)
27
+ // #region Public Getters And Setters (3)
28
+ get angleStep() {
29
+ return __classPrivateFieldGet(this, _AngularRestrictionApi_angularRestriction, "f").angleStep;
30
+ }
31
+ set angleStep(value) {
32
+ __classPrivateFieldGet(this, _AngularRestrictionApi_angularRestriction, "f").angleStep = value;
33
+ }
34
+ get angleStepEditable() {
35
+ return __classPrivateFieldGet(this, _AngularRestrictionApi_angularRestriction, "f").angleStepEditable;
36
+ }
37
+ }
38
+ exports.AngularRestrictionApi = AngularRestrictionApi;
39
+ _AngularRestrictionApi_angularRestriction = new WeakMap();
40
40
  //# sourceMappingURL=AngularRestrictionApi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AngularRestrictionApi.js","sourceRoot":"","sources":["../../../../../src/api/implementation/plane/snap/AngularRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iFAA4E;AAE5E,MAAa,qBAAsB,SAAQ,uDAA0B;IAKpE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA+B;QAC1C,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEzB,4DAAiD;QAQhD,uBAAA,IAAI,6CAAuB,WAAW,MAAA,CAAC;IACxC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,SAAS;QACnB,OAAO,uBAAA,IAAI,iDAAoB,CAAC,SAAS,CAAC;IAC3C,CAAC;IAED,IAAW,SAAS,CAAC,KAAa;QACjC,uBAAA,IAAI,iDAAoB,CAAC,SAAS,GAAG,KAAK,CAAC;IAC5C,CAAC;IAED,IAAW,iBAAiB;QAC3B,OAAO,uBAAA,IAAI,iDAAoB,CAAC,iBAAiB,CAAC;IACnD,CAAC;CAGD;AA/BD,sDA+BC"}
1
+ {"version":3,"file":"AngularRestrictionApi.js","sourceRoot":"","sources":["../../../../../src/api/implementation/plane/snap/AngularRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iFAA4E;AAE5E,MAAa,qBAAsB,SAAQ,uDAA0B;IAKpE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA+B;QAC1C,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEhB,4DAAwC;QAQhD,uBAAA,IAAI,6CAAuB,WAAW,MAAA,CAAC;IACxC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,SAAS;QACnB,OAAO,uBAAA,IAAI,iDAAoB,CAAC,SAAS,CAAC;IAC3C,CAAC;IAED,IAAW,SAAS,CAAC,KAAa;QACjC,uBAAA,IAAI,iDAAoB,CAAC,SAAS,GAAG,KAAK,CAAC;IAC5C,CAAC;IAED,IAAW,iBAAiB;QAC3B,OAAO,uBAAA,IAAI,iDAAoB,CAAC,iBAAiB,CAAC;IACnD,CAAC;CAGD;AA/BD,sDA+BC"}
@@ -1,7 +1,7 @@
1
- import { AxisRestriction } from "../../../../implementation/restrictions/plane/snap/AxisRestriction";
2
- import { AbstractSnapRestrictionApi } from "../../AbstractSnapRestrictionApi";
3
- export declare class AxisRestrictionApi extends AbstractSnapRestrictionApi {
4
- #private;
5
- constructor(restriction: AxisRestriction);
6
- }
1
+ import { AxisRestriction } from "../../../../implementation/restrictions/plane/snap/AxisRestriction";
2
+ import { AbstractSnapRestrictionApi } from "../../AbstractSnapRestrictionApi";
3
+ export declare class AxisRestrictionApi extends AbstractSnapRestrictionApi {
4
+ #private;
5
+ constructor(restriction: AxisRestriction);
6
+ }
7
7
  //# sourceMappingURL=AxisRestrictionApi.d.ts.map
@@ -1,24 +1,24 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var _AxisRestrictionApi_axisRestriction;
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.AxisRestrictionApi = void 0;
11
- const AbstractSnapRestrictionApi_1 = require("../../AbstractSnapRestrictionApi");
12
- class AxisRestrictionApi extends AbstractSnapRestrictionApi_1.AbstractSnapRestrictionApi {
13
- // #endregion Properties (1)
14
- // #region Constructors (1)
15
- constructor(restriction) {
16
- super(restriction);
17
- // #region Properties (1)
18
- _AxisRestrictionApi_axisRestriction.set(this, void 0);
19
- __classPrivateFieldSet(this, _AxisRestrictionApi_axisRestriction, restriction, "f");
20
- }
21
- }
22
- exports.AxisRestrictionApi = AxisRestrictionApi;
23
- _AxisRestrictionApi_axisRestriction = new WeakMap();
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var _AxisRestrictionApi_axisRestriction;
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.AxisRestrictionApi = void 0;
11
+ const AbstractSnapRestrictionApi_1 = require("../../AbstractSnapRestrictionApi");
12
+ class AxisRestrictionApi extends AbstractSnapRestrictionApi_1.AbstractSnapRestrictionApi {
13
+ // #endregion Properties (1)
14
+ // #region Constructors (1)
15
+ constructor(restriction) {
16
+ super(restriction);
17
+ // #region Properties (1)
18
+ _AxisRestrictionApi_axisRestriction.set(this, void 0);
19
+ __classPrivateFieldSet(this, _AxisRestrictionApi_axisRestriction, restriction, "f");
20
+ }
21
+ }
22
+ exports.AxisRestrictionApi = AxisRestrictionApi;
23
+ _AxisRestrictionApi_axisRestriction = new WeakMap();
24
24
  //# sourceMappingURL=AxisRestrictionApi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AxisRestrictionApi.js","sourceRoot":"","sources":["../../../../../src/api/implementation/plane/snap/AxisRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;AACA,iFAA4E;AAE5E,MAAa,kBAAmB,SAAQ,uDAA0B;IAKjE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA4B;QACvC,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEzB,sDAA2C;QAQ1C,uBAAA,IAAI,uCAAoB,WAAW,MAAA,CAAC;IACrC,CAAC;CAGD;AAfD,gDAeC"}
1
+ {"version":3,"file":"AxisRestrictionApi.js","sourceRoot":"","sources":["../../../../../src/api/implementation/plane/snap/AxisRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;AACA,iFAA4E;AAE5E,MAAa,kBAAmB,SAAQ,uDAA0B;IAKjE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA4B;QACvC,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEhB,sDAAkC;QAQ1C,uBAAA,IAAI,uCAAoB,WAAW,MAAA,CAAC;IACrC,CAAC;CAGD;AAfD,gDAeC"}
@@ -1,10 +1,10 @@
1
- import { GridRestriction } from "../../../../implementation/restrictions/plane/snap/GridRestriction";
2
- import { AbstractSnapRestrictionApi } from "../../AbstractSnapRestrictionApi";
3
- export declare class GridRestrictionApi extends AbstractSnapRestrictionApi {
4
- #private;
5
- constructor(restriction: GridRestriction);
6
- get gridUnit(): number;
7
- set gridUnit(value: number);
8
- get gridUnitEditable(): boolean;
9
- }
1
+ import { GridRestriction } from "../../../../implementation/restrictions/plane/snap/GridRestriction";
2
+ import { AbstractSnapRestrictionApi } from "../../AbstractSnapRestrictionApi";
3
+ export declare class GridRestrictionApi extends AbstractSnapRestrictionApi {
4
+ #private;
5
+ constructor(restriction: GridRestriction);
6
+ get gridUnit(): number;
7
+ set gridUnit(value: number);
8
+ get gridUnitEditable(): boolean;
9
+ }
10
10
  //# sourceMappingURL=GridRestrictionApi.d.ts.map
@@ -1,40 +1,40 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _GridRestrictionApi_gridRestriction;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.GridRestrictionApi = void 0;
16
- const AbstractSnapRestrictionApi_1 = require("../../AbstractSnapRestrictionApi");
17
- class GridRestrictionApi extends AbstractSnapRestrictionApi_1.AbstractSnapRestrictionApi {
18
- // #endregion Properties (1)
19
- // #region Constructors (1)
20
- constructor(restriction) {
21
- super(restriction);
22
- // #region Properties (1)
23
- _GridRestrictionApi_gridRestriction.set(this, void 0);
24
- __classPrivateFieldSet(this, _GridRestrictionApi_gridRestriction, restriction, "f");
25
- }
26
- // #endregion Constructors (1)
27
- // #region Public Getters And Setters (3)
28
- get gridUnit() {
29
- return __classPrivateFieldGet(this, _GridRestrictionApi_gridRestriction, "f").gridUnit;
30
- }
31
- set gridUnit(value) {
32
- __classPrivateFieldGet(this, _GridRestrictionApi_gridRestriction, "f").gridUnit = value;
33
- }
34
- get gridUnitEditable() {
35
- return __classPrivateFieldGet(this, _GridRestrictionApi_gridRestriction, "f").gridUnitEditable;
36
- }
37
- }
38
- exports.GridRestrictionApi = GridRestrictionApi;
39
- _GridRestrictionApi_gridRestriction = new WeakMap();
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _GridRestrictionApi_gridRestriction;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GridRestrictionApi = void 0;
16
+ const AbstractSnapRestrictionApi_1 = require("../../AbstractSnapRestrictionApi");
17
+ class GridRestrictionApi extends AbstractSnapRestrictionApi_1.AbstractSnapRestrictionApi {
18
+ // #endregion Properties (1)
19
+ // #region Constructors (1)
20
+ constructor(restriction) {
21
+ super(restriction);
22
+ // #region Properties (1)
23
+ _GridRestrictionApi_gridRestriction.set(this, void 0);
24
+ __classPrivateFieldSet(this, _GridRestrictionApi_gridRestriction, restriction, "f");
25
+ }
26
+ // #endregion Constructors (1)
27
+ // #region Public Getters And Setters (3)
28
+ get gridUnit() {
29
+ return __classPrivateFieldGet(this, _GridRestrictionApi_gridRestriction, "f").gridUnit;
30
+ }
31
+ set gridUnit(value) {
32
+ __classPrivateFieldGet(this, _GridRestrictionApi_gridRestriction, "f").gridUnit = value;
33
+ }
34
+ get gridUnitEditable() {
35
+ return __classPrivateFieldGet(this, _GridRestrictionApi_gridRestriction, "f").gridUnitEditable;
36
+ }
37
+ }
38
+ exports.GridRestrictionApi = GridRestrictionApi;
39
+ _GridRestrictionApi_gridRestriction = new WeakMap();
40
40
  //# sourceMappingURL=GridRestrictionApi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridRestrictionApi.js","sourceRoot":"","sources":["../../../../../src/api/implementation/plane/snap/GridRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iFAA4E;AAE5E,MAAa,kBAAmB,SAAQ,uDAA0B;IAKjE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA4B;QACvC,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEzB,sDAA2C;QAQ1C,uBAAA,IAAI,uCAAoB,WAAW,MAAA,CAAC;IACrC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,2CAAiB,CAAC,QAAQ,CAAC;IACvC,CAAC;IAED,IAAW,QAAQ,CAAC,KAAa;QAChC,uBAAA,IAAI,2CAAiB,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxC,CAAC;IAED,IAAW,gBAAgB;QAC1B,OAAO,uBAAA,IAAI,2CAAiB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;CAGD;AA/BD,gDA+BC"}
1
+ {"version":3,"file":"GridRestrictionApi.js","sourceRoot":"","sources":["../../../../../src/api/implementation/plane/snap/GridRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iFAA4E;AAE5E,MAAa,kBAAmB,SAAQ,uDAA0B;IAKjE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA4B;QACvC,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEhB,sDAAkC;QAQ1C,uBAAA,IAAI,uCAAoB,WAAW,MAAA,CAAC;IACrC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,2CAAiB,CAAC,QAAQ,CAAC;IACvC,CAAC;IAED,IAAW,QAAQ,CAAC,KAAa;QAChC,uBAAA,IAAI,2CAAiB,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxC,CAAC;IAED,IAAW,gBAAgB;QAC1B,OAAO,uBAAA,IAAI,2CAAiB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;CAGD;AA/BD,gDA+BC"}
@@ -1,10 +1,10 @@
1
- import { vec3 } from "gl-matrix";
2
- import { PointRestriction } from "../../../implementation/restrictions/point/PointRestriction";
3
- import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
4
- export declare class PointRestrictionApi extends AbstractRestrictionApi {
5
- #private;
6
- constructor(restriction: PointRestriction);
7
- get point(): vec3;
8
- get radius(): number;
9
- }
1
+ import { vec3 } from "gl-matrix";
2
+ import { PointRestriction } from "../../../implementation/restrictions/point/PointRestriction";
3
+ import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
4
+ export declare class PointRestrictionApi extends AbstractRestrictionApi {
5
+ #private;
6
+ constructor(restriction: PointRestriction);
7
+ get point(): vec3;
8
+ get radius(): number;
9
+ }
10
10
  //# sourceMappingURL=PointRestrictionApi.d.ts.map
@@ -1,37 +1,37 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _PointRestrictionApi_pointRestriction;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.PointRestrictionApi = void 0;
16
- const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
17
- class PointRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
18
- // #endregion Properties (1)
19
- // #region Constructors (1)
20
- constructor(restriction) {
21
- super(restriction);
22
- // #region Properties (1)
23
- _PointRestrictionApi_pointRestriction.set(this, void 0);
24
- __classPrivateFieldSet(this, _PointRestrictionApi_pointRestriction, restriction, "f");
25
- }
26
- // #endregion Constructors (1)
27
- // #region Public Getters And Setters (2)
28
- get point() {
29
- return __classPrivateFieldGet(this, _PointRestrictionApi_pointRestriction, "f").point;
30
- }
31
- get radius() {
32
- return __classPrivateFieldGet(this, _PointRestrictionApi_pointRestriction, "f").radius;
33
- }
34
- }
35
- exports.PointRestrictionApi = PointRestrictionApi;
36
- _PointRestrictionApi_pointRestriction = new WeakMap();
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _PointRestrictionApi_pointRestriction;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.PointRestrictionApi = void 0;
16
+ const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
17
+ class PointRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
18
+ // #endregion Properties (1)
19
+ // #region Constructors (1)
20
+ constructor(restriction) {
21
+ super(restriction);
22
+ // #region Properties (1)
23
+ _PointRestrictionApi_pointRestriction.set(this, void 0);
24
+ __classPrivateFieldSet(this, _PointRestrictionApi_pointRestriction, restriction, "f");
25
+ }
26
+ // #endregion Constructors (1)
27
+ // #region Public Getters And Setters (2)
28
+ get point() {
29
+ return __classPrivateFieldGet(this, _PointRestrictionApi_pointRestriction, "f").point;
30
+ }
31
+ get radius() {
32
+ return __classPrivateFieldGet(this, _PointRestrictionApi_pointRestriction, "f").radius;
33
+ }
34
+ }
35
+ exports.PointRestrictionApi = PointRestrictionApi;
36
+ _PointRestrictionApi_pointRestriction = new WeakMap();
37
37
  //# sourceMappingURL=PointRestrictionApi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PointRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/point/PointRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,sEAAiE;AAEjE,MAAa,mBAAoB,SAAQ,+CAAsB;IAK9D,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA6B;QACxC,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEzB,wDAA6C;QAQ5C,uBAAA,IAAI,yCAAqB,WAAW,MAAA,CAAC;IACtC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,KAAK;QACf,OAAO,uBAAA,IAAI,6CAAkB,CAAC,KAAK,CAAC;IACrC,CAAC;IAED,IAAW,MAAM;QAChB,OAAO,uBAAA,IAAI,6CAAkB,CAAC,MAAM,CAAC;IACtC,CAAC;CAGD;AA3BD,kDA2BC"}
1
+ {"version":3,"file":"PointRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/point/PointRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,sEAAiE;AAEjE,MAAa,mBAAoB,SAAQ,+CAAsB;IAK9D,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA6B;QACxC,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEhB,wDAAoC;QAQ5C,uBAAA,IAAI,yCAAqB,WAAW,MAAA,CAAC;IACtC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,KAAK;QACf,OAAO,uBAAA,IAAI,6CAAkB,CAAC,KAAK,CAAC;IACrC,CAAC;IAED,IAAW,MAAM;QAChB,OAAO,uBAAA,IAAI,6CAAkB,CAAC,MAAM,CAAC;IACtC,CAAC;CAGD;AA3BD,kDA2BC"}
@@ -1,11 +1,11 @@
1
- export interface IRestrictionApi {
2
- /**
3
- * The unique identifier of the restriction.
4
- */
5
- readonly id: string;
6
- /**
7
- * Whether the restriction is enabled or not.
8
- */
9
- enabled: boolean;
10
- }
1
+ export interface IRestrictionApi {
2
+ /**
3
+ * The unique identifier of the restriction.
4
+ */
5
+ readonly id: string;
6
+ /**
7
+ * Whether the restriction is enabled or not.
8
+ */
9
+ enabled: boolean;
10
+ }
11
11
  //# sourceMappingURL=IRestrictionApi.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=IRestrictionApi.js.map