@shapediver/viewer.rendering-engine.intersection-restriction-engine 3.9.0 → 3.9.2

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 (107) hide show
  1. package/README.md +1 -1
  2. package/dist/api/implementation/AbstractRestrictionApi.d.ts +2 -2
  3. package/dist/api/implementation/AbstractRestrictionApi.d.ts.map +1 -1
  4. package/dist/api/implementation/AbstractRestrictionApi.js.map +1 -1
  5. package/dist/api/implementation/AbstractSnapRestrictionApi.d.ts +2 -2
  6. package/dist/api/implementation/AbstractSnapRestrictionApi.d.ts.map +1 -1
  7. package/dist/api/implementation/AbstractSnapRestrictionApi.js.map +1 -1
  8. package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.d.ts +2 -2
  9. package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.d.ts.map +1 -1
  10. package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.js.map +1 -1
  11. package/dist/api/implementation/geometry/GeometryRestrictionApi.d.ts +3 -3
  12. package/dist/api/implementation/geometry/GeometryRestrictionApi.d.ts.map +1 -1
  13. package/dist/api/implementation/geometry/GeometryRestrictionApi.js.map +1 -1
  14. package/dist/api/implementation/line/LineRestrictionApi.d.ts +3 -3
  15. package/dist/api/implementation/line/LineRestrictionApi.d.ts.map +1 -1
  16. package/dist/api/implementation/line/LineRestrictionApi.js.map +1 -1
  17. package/dist/api/implementation/plane/PlaneRestrictionApi.d.ts +6 -6
  18. package/dist/api/implementation/plane/PlaneRestrictionApi.d.ts.map +1 -1
  19. package/dist/api/implementation/plane/PlaneRestrictionApi.js.map +1 -1
  20. package/dist/api/implementation/plane/snap/AngularRestrictionApi.d.ts +2 -2
  21. package/dist/api/implementation/plane/snap/AngularRestrictionApi.d.ts.map +1 -1
  22. package/dist/api/implementation/plane/snap/AngularRestrictionApi.js.map +1 -1
  23. package/dist/api/implementation/plane/snap/AxisRestrictionApi.d.ts +2 -2
  24. package/dist/api/implementation/plane/snap/AxisRestrictionApi.d.ts.map +1 -1
  25. package/dist/api/implementation/plane/snap/AxisRestrictionApi.js.map +1 -1
  26. package/dist/api/implementation/plane/snap/GridRestrictionApi.d.ts +2 -2
  27. package/dist/api/implementation/plane/snap/GridRestrictionApi.d.ts.map +1 -1
  28. package/dist/api/implementation/plane/snap/GridRestrictionApi.js.map +1 -1
  29. package/dist/api/implementation/point/PointRestrictionApi.d.ts +3 -3
  30. package/dist/api/implementation/point/PointRestrictionApi.d.ts.map +1 -1
  31. package/dist/api/implementation/point/PointRestrictionApi.js.map +1 -1
  32. package/dist/api/interfaces/IRestrictionApi.d.ts.map +1 -1
  33. package/dist/api/interfaces/ISnapRestrictionApi.d.ts +1 -1
  34. package/dist/api/interfaces/ISnapRestrictionApi.d.ts.map +1 -1
  35. package/dist/implementation/EventManager.d.ts +3 -3
  36. package/dist/implementation/EventManager.d.ts.map +1 -1
  37. package/dist/implementation/EventManager.js.map +1 -1
  38. package/dist/implementation/GeometryMathManager.d.ts +4 -4
  39. package/dist/implementation/GeometryMathManager.d.ts.map +1 -1
  40. package/dist/implementation/GeometryMathManager.js +25 -13
  41. package/dist/implementation/GeometryMathManager.js.map +1 -1
  42. package/dist/implementation/RestrictionManager.d.ts +7 -6
  43. package/dist/implementation/RestrictionManager.d.ts.map +1 -1
  44. package/dist/implementation/RestrictionManager.js +65 -29
  45. package/dist/implementation/RestrictionManager.js.map +1 -1
  46. package/dist/implementation/restrictions/AbstractRestriction.d.ts +7 -7
  47. package/dist/implementation/restrictions/AbstractRestriction.d.ts.map +1 -1
  48. package/dist/implementation/restrictions/AbstractRestriction.js +8 -5
  49. package/dist/implementation/restrictions/AbstractRestriction.js.map +1 -1
  50. package/dist/implementation/restrictions/AbstractSnapRestriction.d.ts +7 -7
  51. package/dist/implementation/restrictions/AbstractSnapRestriction.d.ts.map +1 -1
  52. package/dist/implementation/restrictions/AbstractSnapRestriction.js +4 -4
  53. package/dist/implementation/restrictions/AbstractSnapRestriction.js.map +1 -1
  54. package/dist/implementation/restrictions/RestrictionsHelper.d.ts +2 -2
  55. package/dist/implementation/restrictions/RestrictionsHelper.d.ts.map +1 -1
  56. package/dist/implementation/restrictions/RestrictionsHelper.js +7 -3
  57. package/dist/implementation/restrictions/RestrictionsHelper.js.map +1 -1
  58. package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.d.ts +7 -7
  59. package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.d.ts.map +1 -1
  60. package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.js +2 -2
  61. package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.js.map +1 -1
  62. package/dist/implementation/restrictions/geometry/GeometryRestriction.d.ts +8 -8
  63. package/dist/implementation/restrictions/geometry/GeometryRestriction.d.ts.map +1 -1
  64. package/dist/implementation/restrictions/geometry/GeometryRestriction.js +67 -30
  65. package/dist/implementation/restrictions/geometry/GeometryRestriction.js.map +1 -1
  66. package/dist/implementation/restrictions/line/LineRestriction.d.ts +20 -9
  67. package/dist/implementation/restrictions/line/LineRestriction.d.ts.map +1 -1
  68. package/dist/implementation/restrictions/line/LineRestriction.js +66 -9
  69. package/dist/implementation/restrictions/line/LineRestriction.js.map +1 -1
  70. package/dist/implementation/restrictions/plane/PlaneRestriction.d.ts +11 -11
  71. package/dist/implementation/restrictions/plane/PlaneRestriction.d.ts.map +1 -1
  72. package/dist/implementation/restrictions/plane/PlaneRestriction.js +34 -16
  73. package/dist/implementation/restrictions/plane/PlaneRestriction.js.map +1 -1
  74. package/dist/implementation/restrictions/plane/snap/AngularRestriction.d.ts +9 -9
  75. package/dist/implementation/restrictions/plane/snap/AngularRestriction.d.ts.map +1 -1
  76. package/dist/implementation/restrictions/plane/snap/AngularRestriction.js +87 -35
  77. package/dist/implementation/restrictions/plane/snap/AngularRestriction.js.map +1 -1
  78. package/dist/implementation/restrictions/plane/snap/AxisRestriction.d.ts +8 -8
  79. package/dist/implementation/restrictions/plane/snap/AxisRestriction.d.ts.map +1 -1
  80. package/dist/implementation/restrictions/plane/snap/AxisRestriction.js +79 -24
  81. package/dist/implementation/restrictions/plane/snap/AxisRestriction.js.map +1 -1
  82. package/dist/implementation/restrictions/plane/snap/GridRestriction.d.ts +8 -8
  83. package/dist/implementation/restrictions/plane/snap/GridRestriction.d.ts.map +1 -1
  84. package/dist/implementation/restrictions/plane/snap/GridRestriction.js +118 -23
  85. package/dist/implementation/restrictions/plane/snap/GridRestriction.js.map +1 -1
  86. package/dist/implementation/restrictions/point/PointRestriction.d.ts +8 -8
  87. package/dist/implementation/restrictions/point/PointRestriction.d.ts.map +1 -1
  88. package/dist/implementation/restrictions/point/PointRestriction.js +5 -4
  89. package/dist/implementation/restrictions/point/PointRestriction.js.map +1 -1
  90. package/dist/index.d.ts +29 -29
  91. package/dist/index.d.ts.map +1 -1
  92. package/dist/index.js +18 -18
  93. package/dist/index.js.map +1 -1
  94. package/dist/interfaces/IDragAnchor.d.ts +1 -1
  95. package/dist/interfaces/IDragAnchor.d.ts.map +1 -1
  96. package/dist/interfaces/IRestriction.d.ts +14 -13
  97. package/dist/interfaces/IRestriction.d.ts.map +1 -1
  98. package/dist/interfaces/IRestriction.js +2 -2
  99. package/dist/interfaces/IRestriction.js.map +1 -1
  100. package/dist/interfaces/IRestrictionManager.d.ts +2 -2
  101. package/dist/interfaces/IRestrictionManager.d.ts.map +1 -1
  102. package/dist/interfaces/ISnapRestriction.d.ts +3 -3
  103. package/dist/interfaces/ISnapRestriction.d.ts.map +1 -1
  104. package/dist/interfaces/ISnapRestriction.js.map +1 -1
  105. package/dist/interfaces/IVisualizationSettings.d.ts +1 -1
  106. package/dist/interfaces/IVisualizationSettings.d.ts.map +1 -1
  107. package/package.json +52 -52
@@ -1 +1 @@
1
- {"version":3,"file":"PointRestriction.js","sourceRoot":"","sources":["../../../../src/implementation/restrictions/point/PointRestriction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAA6D;AAY7D,yCAAiC;AAejC,8BAA8B;A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EAAE,uBAAA,IAAI,+BAAO;gBACxB,wCAAwC,EAAE,QAAQ;gBAClD,WAAW,EAAE,IAAI;aACpB,CAAC;SACL;QACD,OAAO;IACX,CAAC;IAED,gCAAgC;IAEhC,gCAAgC;IAEtB,iBAAiB,KAAW,CAAC;CAG1C;AA1FD,4CA0FC;;AAED,yBAAyB"}
1
+ {"version":3,"file":"PointRestriction.js","sourceRoot":"","sources":["../../../../src/implementation/restrictions/point/PointRestriction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,yCAA+B;AAU/B,gEAA2D;AAe3D,8BAA8B;AAE9B,sBAAsB;AAEtB,MAAa,gBACZ,SAAQ,yCAAmB;IAW3B,4BAA4B;IAE5B,2BAA2B;IAE3B,YACC,QAAsB,EACtB,mBAAwC,EACxC,UAAqB,EACrB,EAAU,EACV,QAAgC,EAChC,UAAsC;QAEtC,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,CAAC,CAAC;QApB7C,yBAAyB;QAEzB,6CAAiC;QAEjC,0CAAa;QACb,2CAAgB;QAChB,6CAAuD,EAAE,EAAC;QAgBzD,uBAAA,IAAI,8BAAa,QAAQ,MAAA,CAAC;QAC1B,uBAAA,IAAI,2BAAU,UAAU,CAAC,KAAK,MAAA,CAAC;QAC/B,uBAAA,IAAI,4BAAW,UAAU,CAAC,MAAM,IAAI,CAAC,MAAA,CAAC;IACvC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,KAAK;QACf,OAAO,uBAAA,IAAI,+BAAO,CAAC;IACpB,CAAC;IAED,IAAW,MAAM;QAChB,OAAO,uBAAA,IAAI,gCAAQ,CAAC;IACrB,CAAC;IAED,IAAW,gBAAgB;QAC1B,OAAO,uBAAA,IAAI,0CAAkB,CAAC;IAC/B,CAAC;IAED,4CAA4C;IAE5C,6BAA6B;IAEtB,cAAc,CAAC,KAAW;QAChC,OAAO,CACN,gBAAI,CAAC,eAAe,CAAC,KAAK,EAAE,u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AAI,gCAAQ,GAAG,QAAQ,CAAC,CAAC;YACjE,6BAA6B;YAC7B,MAAM,KAAK,GAAG,CAAC,GAAG,MAAM,CAAC;YACzB,MAAM,wBAAwB,GAAG,gBAAI,CAAC,WAAW,CAChD,gBAAI,CAAC,MAAM,EAAE,EACb,GAAG,CAAC,MAAM,EACV,GAAG,CAAC,SAAS,EACb,KAAK,CACL,CAAC;YAEF,OAAO;gBACN,wBAAwB,EAAE,wBAAwB;gBAClD,+CAA+C,EAAE,KAAK,GAAG,KAAK;gBAC9D,WAAW,EAAE,uBAAA,IAAI,+BAAO;gBACxB,wCAAwC,EAAE,QAAQ;gBAClD,WAAW,EAAE,IAAI;aACjB,CAAC;SACF;QACD,OAAO;IACR,CAAC;IAED,gCAAgC;IAEhC,gCAAgC;IAEtB,iBAAiB,KAAU,CAAC;CAGtC;AAvHD,4CAuHC;;AAED,yBAAyB"}
package/dist/index.d.ts CHANGED
@@ -1,30 +1,30 @@
1
- import { AngularRestrictionApi } from './api/implementation/plane/snap/AngularRestrictionApi';
2
- import { AngularRestrictionProperties } from './implementation/restrictions/plane/snap/AngularRestriction';
3
- import { AxisRestrictionApi } from './api/implementation/plane/snap/AxisRestrictionApi';
4
- import { AxisRestrictionProperties } from './implementation/restrictions/plane/snap/AxisRestriction';
5
- import { CameraPlaneRestriction, CameraPlaneRestrictionProperties } from './implementation/restrictions/camera_plane/CameraPlaneRestriction';
6
- import { CameraPlaneRestrictionApi } from './api/implementation/camera_plane/CameraPlaneRestrictionApi';
7
- import { DraggingRestrictionMetaData, DrawingRestrictionMetaData, IRestriction, RayTraceResult, RESTRICTION_TYPE, RestrictionMetaData, RestrictionProperties, RestrictionPropertiesBase } from './interfaces/IRestriction';
8
- import { EventManager } from './implementation/EventManager';
9
- import { GeometryMathManager } from './implementation/GeometryMathManager';
10
- import { GeometryRestriction, GeometryRestrictionProperties } from './implementation/restrictions/geometry/GeometryRestriction';
11
- import { GeometryRestrictionApi } from './api/implementation/geometry/GeometryRestrictionApi';
12
- import { GridRestrictionApi } from './api/implementation/plane/snap/GridRestrictionApi';
13
- import { GridRestrictionProperties } from './implementation/restrictions/plane/snap/GridRestriction';
14
- import { IDragAnchor } from './interfaces/IDragAnchor';
15
- import { IRestrictionApi } from './api/interfaces/IRestrictionApi';
16
- import { IRestrictionManager } from './interfaces/IRestrictionManager';
17
- import { ISnapRestriction, SnapRestrictionProperties } from './interfaces/ISnapRestriction';
18
- import { ISnapRestrictionApi } from './api/interfaces/ISnapRestrictionApi';
19
- import { IVisualizationSettings } from './interfaces/IVisualizationSettings';
20
- import { LineRestriction, LineRestrictionProperties } from './implementation/restrictions/line/LineRestriction';
21
- import { LineRestrictionApi } from './api/implementation/line/LineRestrictionApi';
22
- import { PlaneRestriction, PlaneRestrictionProperties } from './implementation/restrictions/plane/PlaneRestriction';
23
- import { PlaneRestrictionApi } from './api/implementation/plane/PlaneRestrictionApi';
24
- import { PointRestriction, PointRestrictionProperties } from './implementation/restrictions/point/PointRestriction';
25
- import { PointRestrictionApi } from './api/implementation/point/PointRestrictionApi';
26
- import { RestrictionManager } from './implementation/RestrictionManager';
27
- export { IRestrictionManager, RestrictionManager, EventManager, GeometryMathManager, IDragAnchor, IRestriction, ISnapRestriction, IVisualizationSettings };
28
- export { RESTRICTION_TYPE, RayTraceResult, RestrictionProperties, RestrictionMetaData, DrawingRestrictionMetaData, DraggingRestrictionMetaData, SnapRestrictionProperties, PlaneRestriction, PlaneRestrictionProperties, AngularRestrictionProperties, AxisRestrictionProperties, GridRestrictionProperties, GeometryRestriction, GeometryRestrictionProperties, PointRestriction, PointRestrictionProperties, LineRestriction, LineRestrictionProperties, CameraPlaneRestriction, CameraPlaneRestrictionProperties, RestrictionPropertiesBase };
29
- export { IRestrictionApi, ISnapRestrictionApi, PlaneRestrictionApi, AngularRestrictionApi, AxisRestrictionApi, GridRestrictionApi, GeometryRestrictionApi, CameraPlaneRestrictionApi, PointRestrictionApi, LineRestrictionApi };
1
+ import { CameraPlaneRestrictionApi } from "./api/implementation/camera_plane/CameraPlaneRestrictionApi";
2
+ import { GeometryRestrictionApi } from "./api/implementation/geometry/GeometryRestrictionApi";
3
+ import { LineRestrictionApi } from "./api/implementation/line/LineRestrictionApi";
4
+ import { PlaneRestrictionApi } from "./api/implementation/plane/PlaneRestrictionApi";
5
+ import { AngularRestrictionApi } from "./api/implementation/plane/snap/AngularRestrictionApi";
6
+ import { AxisRestrictionApi } from "./api/implementation/plane/snap/AxisRestrictionApi";
7
+ import { GridRestrictionApi } from "./api/implementation/plane/snap/GridRestrictionApi";
8
+ import { PointRestrictionApi } from "./api/implementation/point/PointRestrictionApi";
9
+ import { IRestrictionApi } from "./api/interfaces/IRestrictionApi";
10
+ import { ISnapRestrictionApi } from "./api/interfaces/ISnapRestrictionApi";
11
+ import { EventManager } from "./implementation/EventManager";
12
+ import { GeometryMathManager } from "./implementation/GeometryMathManager";
13
+ import { RestrictionManager } from "./implementation/RestrictionManager";
14
+ import { CameraPlaneRestriction, CameraPlaneRestrictionProperties } from "./implementation/restrictions/camera_plane/CameraPlaneRestriction";
15
+ import { GeometryRestriction, GeometryRestrictionProperties } from "./implementation/restrictions/geometry/GeometryRestriction";
16
+ import { LineRestriction, LineRestrictionProperties } from "./implementation/restrictions/line/LineRestriction";
17
+ import { PlaneRestriction, PlaneRestrictionProperties } from "./implementation/restrictions/plane/PlaneRestriction";
18
+ import { AngularRestrictionProperties } from "./implementation/restrictions/plane/snap/AngularRestriction";
19
+ import { AxisRestrictionProperties } from "./implementation/restrictions/plane/snap/AxisRestriction";
20
+ import { GridRestrictionProperties } from "./implementation/restrictions/plane/snap/GridRestriction";
21
+ import { PointRestriction, PointRestrictionProperties } from "./implementation/restrictions/point/PointRestriction";
22
+ import { IDragAnchor } from "./interfaces/IDragAnchor";
23
+ import { DraggingRestrictionMetaData, DrawingRestrictionMetaData, IRestriction, RayTraceResult, RestrictionMetaData, RestrictionProperties, RestrictionPropertiesBase, RESTRICTION_TYPE } from "./interfaces/IRestriction";
24
+ import { IRestrictionManager } from "./interfaces/IRestrictionManager";
25
+ import { ISnapRestriction, SnapRestrictionProperties } from "./interfaces/ISnapRestriction";
26
+ import { IVisualizationSettings } from "./interfaces/IVisualizationSettings";
27
+ export { IRestrictionManager, RestrictionManager, EventManager, GeometryMathManager, IDragAnchor, IRestriction, ISnapRestriction, IVisualizationSettings, };
28
+ export { RESTRICTION_TYPE, RayTraceResult, RestrictionProperties, RestrictionMetaData, DrawingRestrictionMetaData, DraggingRestrictionMetaData, SnapRestrictionProperties, PlaneRestriction, PlaneRestrictionProperties, AngularRestrictionProperties, AxisRestrictionProperties, GridRestrictionProperties, GeometryRestriction, GeometryRestrictionProperties, PointRestriction, PointRestrictionProperties, LineRestriction, LineRestrictionProperties, CameraPlaneRestriction, CameraPlaneRestrictionProperties, RestrictionPropertiesBase, };
29
+ export { IRestrictionApi, ISnapRestrictionApi, PlaneRestrictionApi, AngularRestrictionApi, AxisRestrictionApi, GridRestrictionApi, GeometryRestrictionApi, CameraPlaneRestrictionApi, PointRestrictionApi, LineRestrictionApi, };
30
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0DAA0D,CAAC;AACrG,OAAO,EAAE,sBAAsB,EAAE,gCAAgC,EAAE,MAAM,mEAAmE,CAAC;AAC7I,OAAO,EAAE,yBAAyB,EAAE,MAAM,6DAA6D,CAAC;AACxG,OAAO,EACH,2BAA2B,EAC3B,0BAA0B,EAC1B,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EAC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,gBAAgB,EAChB,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,sBAAsB,EACtB,gCAAgC,EAChC,yBAAyB,GACzB,CAAC;AACF,OAAO,EACN,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,GAClB,CAAC"}
package/dist/index.js CHANGED
@@ -1,38 +1,38 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LineRestrictionApi = exports.PointRestrictionApi = exports.CameraPlaneRestrictionApi = exports.GeometryRestrictionApi = exports.GridRestrictionApi = exports.AxisRestrictionApi = exports.AngularRestrictionApi = exports.PlaneRestrictionApi = exports.CameraPlaneRestriction = exports.LineRestriction = exports.PointRestriction = exports.GeometryRestriction = exports.PlaneRestriction = exports.RESTRICTION_TYPE = exports.GeometryMathManager = exports.EventManager = exports.RestrictionManager = void 0;
4
+ const CameraPlaneRestrictionApi_1 = require("./api/implementation/camera_plane/CameraPlaneRestrictionApi");
5
+ Object.defineProperty(exports, "CameraPlaneRestrictionApi", { enumerable: true, get: function () { return CameraPlaneRestrictionApi_1.CameraPlaneRestrictionApi; } });
6
+ const GeometryRestrictionApi_1 = require("./api/implementation/geometry/GeometryRestrictionApi");
7
+ Object.defineProperty(exports, "GeometryRestrictionApi", { enumerable: true, get: function () { return GeometryRestrictionApi_1.GeometryRestrictionApi; } });
8
+ const LineRestrictionApi_1 = require("./api/implementation/line/LineRestrictionApi");
9
+ Object.defineProperty(exports, "LineRestrictionApi", { enumerable: true, get: function () { return LineRestrictionApi_1.LineRestrictionApi; } });
10
+ const PlaneRestrictionApi_1 = require("./api/implementation/plane/PlaneRestrictionApi");
11
+ Object.defineProperty(exports, "PlaneRestrictionApi", { enumerable: true, get: function () { return PlaneRestrictionApi_1.PlaneRestrictionApi; } });
4
12
  const AngularRestrictionApi_1 = require("./api/implementation/plane/snap/AngularRestrictionApi");
5
13
  Object.defineProperty(exports, "AngularRestrictionApi", { enumerable: true, get: function () { return AngularRestrictionApi_1.AngularRestrictionApi; } });
6
14
  const AxisRestrictionApi_1 = require("./api/implementation/plane/snap/AxisRestrictionApi");
7
15
  Object.defineProperty(exports, "AxisRestrictionApi", { enumerable: true, get: function () { return AxisRestrictionApi_1.AxisRestrictionApi; } });
8
- const CameraPlaneRestriction_1 = require("./implementation/restrictions/camera_plane/CameraPlaneRestriction");
9
- Object.defineProperty(exports, "CameraPlaneRestriction", { enumerable: true, get: function () { return CameraPlaneRestriction_1.CameraPlaneRestriction; } });
10
- const CameraPlaneRestrictionApi_1 = require("./api/implementation/camera_plane/CameraPlaneRestrictionApi");
11
- Object.defineProperty(exports, "CameraPlaneRestrictionApi", { enumerable: true, get: function () { return CameraPlaneRestrictionApi_1.CameraPlaneRestrictionApi; } });
12
- const IRestriction_1 = require("./interfaces/IRestriction");
13
- Object.defineProperty(exports, "RESTRICTION_TYPE", { enumerable: true, get: function () { return IRestriction_1.RESTRICTION_TYPE; } });
16
+ const GridRestrictionApi_1 = require("./api/implementation/plane/snap/GridRestrictionApi");
17
+ Object.defineProperty(exports, "GridRestrictionApi", { enumerable: true, get: function () { return GridRestrictionApi_1.GridRestrictionApi; } });
18
+ const PointRestrictionApi_1 = require("./api/implementation/point/PointRestrictionApi");
19
+ Object.defineProperty(exports, "PointRestrictionApi", { enumerable: true, get: function () { return PointRestrictionApi_1.PointRestrictionApi; } });
14
20
  const EventManager_1 = require("./implementation/EventManager");
15
21
  Object.defineProperty(exports, "EventManager", { enumerable: true, get: function () { return EventManager_1.EventManager; } });
16
22
  const GeometryMathManager_1 = require("./implementation/GeometryMathManager");
17
23
  Object.defineProperty(exports, "GeometryMathManager", { enumerable: true, get: function () { return GeometryMathManager_1.GeometryMathManager; } });
24
+ const RestrictionManager_1 = require("./implementation/RestrictionManager");
25
+ Object.defineProperty(exports, "RestrictionManager", { enumerable: true, get: function () { return RestrictionManager_1.RestrictionManager; } });
26
+ const CameraPlaneRestriction_1 = require("./implementation/restrictions/camera_plane/CameraPlaneRestriction");
27
+ Object.defineProperty(exports, "CameraPlaneRestriction", { enumerable: true, get: function () { return CameraPlaneRestriction_1.CameraPlaneRestriction; } });
18
28
  const GeometryRestriction_1 = require("./implementation/restrictions/geometry/GeometryRestriction");
19
29
  Object.defineProperty(exports, "GeometryRestriction", { enumerable: true, get: function () { return GeometryRestriction_1.GeometryRestriction; } });
20
- const GeometryRestrictionApi_1 = require("./api/implementation/geometry/GeometryRestrictionApi");
21
- Object.defineProperty(exports, "GeometryRestrictionApi", { enumerable: true, get: function () { return GeometryRestrictionApi_1.GeometryRestrictionApi; } });
22
- const GridRestrictionApi_1 = require("./api/implementation/plane/snap/GridRestrictionApi");
23
- Object.defineProperty(exports, "GridRestrictionApi", { enumerable: true, get: function () { return GridRestrictionApi_1.GridRestrictionApi; } });
24
30
  const LineRestriction_1 = require("./implementation/restrictions/line/LineRestriction");
25
31
  Object.defineProperty(exports, "LineRestriction", { enumerable: true, get: function () { return LineRestriction_1.LineRestriction; } });
26
- const LineRestrictionApi_1 = require("./api/implementation/line/LineRestrictionApi");
27
- Object.defineProperty(exports, "LineRestrictionApi", { enumerable: true, get: function () { return LineRestrictionApi_1.LineRestrictionApi; } });
28
32
  const PlaneRestriction_1 = require("./implementation/restrictions/plane/PlaneRestriction");
29
33
  Object.defineProperty(exports, "PlaneRestriction", { enumerable: true, get: function () { return PlaneRestriction_1.PlaneRestriction; } });
30
- const PlaneRestrictionApi_1 = require("./api/implementation/plane/PlaneRestrictionApi");
31
- Object.defineProperty(exports, "PlaneRestrictionApi", { enumerable: true, get: function () { return PlaneRestrictionApi_1.PlaneRestrictionApi; } });
32
34
  const PointRestriction_1 = require("./implementation/restrictions/point/PointRestriction");
33
35
  Object.defineProperty(exports, "PointRestriction", { enumerable: true, get: function () { return PointRestriction_1.PointRestriction; } });
34
- const PointRestrictionApi_1 = require("./api/implementation/point/PointRestrictionApi");
35
- Object.defineProperty(exports, "PointRestrictionApi", { enumerable: true, get: function () { return PointRestrictionApi_1.PointRestrictionApi; } });
36
- const RestrictionManager_1 = require("./implementation/RestrictionManager");
37
- Object.defineProperty(exports, "RestrictionManager", { enumerable: true, get: function () { return RestrictionManager_1.RestrictionManager; } });
36
+ const IRestriction_1 = require("./interfaces/IRestriction");
37
+ Object.defineProperty(exports, "RESTRICTION_TYPE", { enumerable: true, get: function () { return IRestriction_1.RESTRICTION_TYPE; } });
38
38
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,iGAA8F;AAuDrE,sGAvDhB,6CAAqB,OAuDgB;AArD9C,2FAAwF;AAqDxC,mGArDvC,uCAAkB,OAqDuC;AAnDlE,8GAA6I;AA6CzI,uGA7CK,+CAAsB,OA6CL;AA5C1B,2GAAwG;AAkDQ,0GAlDvG,qDAAyB,OAkDuG;AAjDzI,4DASmC;AA2B/B,iGA/BA,+BAAgB,OA+BA;AA1BpB,gEAA6D;AAqBhB,6FArBpC,2BAAY,OAqBoC;AApBzD,8EAA2E;AAoBhB,oGApBlD,yCAAmB,OAoBkD;AAnB9E,oGAAgI;AA4B5H,oGA5BK,yCAAmB,OA4BL;AA3BvB,iGAA8F;AAoCN,uGApC/E,+CAAsB,OAoC+E;AAnC9G,2FAAwF;AAmCpB,mGAnC3D,uCAAkB,OAmC2D;AA3BtF,wFAAgH;AAoB5G,gGApBK,iCAAe,OAoBL;AAnBnB,qFAAkF;AA0B8E,mGA1BvJ,uCAAkB,OA0BuJ;AAzBlL,2FAAoH;AAchH,iGAdK,mCAAgB,OAcL;AAbpB,wFAAqF;AAwBjF,oGAxBK,yCAAmB,OAwBL;AAvBvB,2FAAoH;AAehH,iGAfK,mCAAgB,OAeL;AAdpB,wFAAqF;AAsBsD,oGAtBlI,yCAAmB,OAsBkI;AArB9J,4EAAyE;AAGhD,mGAHhB,uCAAkB,OAGgB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,2GAAsG;AA+FrG,0GA/FO,qDAAyB,OA+FP;AA9F1B,iGAA4F;AA6F3F,uGA7FO,+CAAsB,OA6FP;AA5FvB,qFAAgF;AA+F/E,mGA/FO,uCAAkB,OA+FP;AA9FnB,wFAAmF;AAuFlF,oGAvFO,yCAAmB,OAuFP;AAtFpB,iGAA4F;AAuF3F,sGAvFO,6CAAqB,OAuFP;AAtFtB,2FAAsF;AAuFrF,mGAvFO,uCAAkB,OAuFP;AAtFnB,2FAAsF;AAuFrF,mGAvFO,uCAAkB,OAuFP;AAtFnB,wFAAmF;AAyFlF,oGAzFO,yCAAmB,OAyFP;AAtFpB,gEAA2D;AA+C1D,6FA/CO,2BAAY,OA+CP;AA9Cb,8EAAyE;AA+CxE,oGA/CO,yCAAmB,OA+CP;AA9CpB,4EAAuE;AA4CtE,mGA5CO,uCAAkB,OA4CP;AA3CnB,8GAG2E;AAmE1E,uGArEA,+CAAsB,OAqEA;AAlEvB,oGAGoE;AAyDnE,oGA3DA,yCAAmB,OA2DA;AAxDpB,wFAG4D;AAyD3D,gGA3DA,iCAAe,OA2DA;AAxDhB,2FAG8D;AA4C7D,iGA9CA,mCAAgB,OA8CA;AAxCjB,2FAG8D;AA4C7D,iGA9CA,mCAAgB,OA8CA;AA1CjB,4DASmC;AAmBlC,iGApBA,+BAAgB,OAoBA"}
@@ -1,4 +1,4 @@
1
- import { vec3 } from 'gl-matrix';
1
+ import { vec3 } from "gl-matrix";
2
2
  export interface IDragAnchor {
3
3
  position: vec3;
4
4
  rotation?: {
@@ -1 +1 @@
1
- {"version":3,"file":"IDragAnchor.d.ts","sourceRoot":"","sources":["../../src/interfaces/IDragAnchor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,WAAW;IAGxB,QAAQ,EAAE,IAAI,CAAC;IACf,QAAQ,CAAC,EAAE;QACP,IAAI,EAAE,IAAI,CAAC;QACX,KAAK,EAAE,MAAM,CAAA;KAChB,CAAA;CAGJ"}
1
+ {"version":3,"file":"IDragAnchor.d.ts","sourceRoot":"","sources":["../../src/interfaces/IDragAnchor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAE/B,MAAM,WAAW,WAAW;IAG3B,QAAQ,EAAE,IAAI,CAAC;IACf,QAAQ,CAAC,EAAE;QACV,IAAI,EAAE,IAAI,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;KACd,CAAC;CAGF"}
@@ -1,13 +1,13 @@
1
- import { mat4, vec3 } from 'gl-matrix';
2
- import { CameraPlaneRestrictionProperties } from '../implementation/restrictions/camera_plane/CameraPlaneRestriction';
3
- import { GeometryRestrictionProperties } from '../implementation/restrictions/geometry/GeometryRestriction';
4
- import { LineRestrictionProperties } from '../implementation/restrictions/line/LineRestriction';
5
- import { PlaneRestrictionProperties } from '../implementation/restrictions/plane/PlaneRestriction';
6
- import { PointRestrictionProperties } from '../implementation/restrictions/point/PointRestriction';
7
- import { IDragAnchor } from './IDragAnchor';
8
- import { ISnapRestriction } from './ISnapRestriction';
9
- import { IRay } from '@shapediver/viewer.shared.types';
10
- import { ITreeNode } from '@shapediver/viewer.shared.node-tree';
1
+ import { mat4, vec3 } from "gl-matrix";
2
+ import { ITreeNode } from "@shapediver/viewer.shared.node-tree";
3
+ import { IRay } from "@shapediver/viewer.shared.types";
4
+ import { CameraPlaneRestrictionProperties } from "../implementation/restrictions/camera_plane/CameraPlaneRestriction";
5
+ import { GeometryRestrictionProperties } from "../implementation/restrictions/geometry/GeometryRestriction";
6
+ import { LineRestrictionProperties } from "../implementation/restrictions/line/LineRestriction";
7
+ import { PlaneRestrictionProperties } from "../implementation/restrictions/plane/PlaneRestriction";
8
+ import { PointRestrictionProperties } from "../implementation/restrictions/point/PointRestriction";
9
+ import { IDragAnchor } from "./IDragAnchor";
10
+ import { ISnapRestriction } from "./ISnapRestriction";
11
11
  export declare enum RESTRICTION_TYPE {
12
12
  PLANE = "plane",
13
13
  GEOMETRY = "geometry",
@@ -19,12 +19,12 @@ export interface DraggingRestrictionMetaData extends RestrictionMetaData {
19
19
  dragAnchors?: IDragAnchor[];
20
20
  dragOrigin: vec3;
21
21
  node: ITreeNode;
22
- type: 'dragging';
22
+ type: "dragging";
23
23
  }
24
24
  export interface DrawingRestrictionMetaData extends RestrictionMetaData {
25
25
  index?: number;
26
26
  positionArray?: Float32Array;
27
- type: 'drawing';
27
+ type: "drawing";
28
28
  }
29
29
  export interface IRestriction {
30
30
  readonly id: string;
@@ -56,8 +56,9 @@ export interface IRestriction {
56
56
  }
57
57
  export interface RestrictionMetaData {
58
58
  pressedKeys?: string[];
59
+ toggledKeys?: string[];
59
60
  startPoint?: vec3;
60
- type: 'drawing' | 'dragging';
61
+ type: "drawing" | "dragging";
61
62
  }
62
63
  export interface RestrictionPropertiesBase {
63
64
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"IRestriction.d.ts","sourceRoot":"","sources":["../../src/interfaces/IRestriction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,gCAAgC,EAAE,MAAM,oEAAoE,CAAC;AACtH,OAAO,EAAE,6BAA6B,EAAE,MAAM,6DAA6D,CAAC;AAC5G,OAAO,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAChG,OAAO,EAAE,0BAA0B,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;A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,6BAA6B,GAC7B,gCAAgC,CAAC;AAEpC,oBAAY,iBAAiB,GAAG;IAC/B,wBAAwB,EAAE,IAAI,CAAC;IAC/B,+CAA+C,EAAE,MAAM,CAAC;IACxD,WAAW,EAAE,IAAI,CAAC;IAClB,wCAAwC,EAAE,MAAM,CAAC;IACjD,WAAW,EAAE,YAAY,CAAC;IAC1B,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,qBAAqB,cACtB,mBAAmB,4CAG9B,CAAC;AACF,eAAO,MAAM,oBAAoB,cACrB,mBAAmB,2CAG9B,CAAC"}
@@ -10,11 +10,11 @@ var RESTRICTION_TYPE;
10
10
  RESTRICTION_TYPE["CAMERA_PLANE"] = "camera_plane";
11
11
  })(RESTRICTION_TYPE = exports.RESTRICTION_TYPE || (exports.RESTRICTION_TYPE = {}));
12
12
  const isDraggingRestriction = (metaData) => {
13
- return (metaData === null || metaData === void 0 ? void 0 : metaData.type) === 'dragging';
13
+ return (metaData === null || metaData === void 0 ? void 0 : metaData.type) === "dragging";
14
14
  };
15
15
  exports.isDraggingRestriction = isDraggingRestriction;
16
16
  const isDrawingRestriction = (metaData) => {
17
- return (metaData === null || metaData === void 0 ? void 0 : metaData.type) === 'drawing';
17
+ return (metaData === null || metaData === void 0 ? void 0 : metaData.type) === "drawing";
18
18
  };
19
19
  exports.isDrawingRestriction = isDrawingRestriction;
20
20
  //# sourceMappingURL=IRestriction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IRestriction.js","sourceRoot":"","sources":["../../src/interfaces/IRestriction.ts"],"names":[],"mappings":";;;AAYA,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,mCAAe,CAAA;IACf,yCAAqB,CAAA;IACrB,mCAAe,CAAA;IACf,iCAAa,CAAA;IACb,iDAA6B,CAAA;AACjC,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAwGM,MAAM,qBAAqB,GAAG,CAAC,QAA8B,EAA2C,EAAE;IAC7G,OAAO,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,MAAK,UAAU,CAAC;AACzC,CAAC,CAAC;AAFW,QAAA,qBAAqB,yBAEhC;AACK,MAAM,oBAAoB,GAAG,CAAC,QAA8B,EAA0C,EAAE;IAC3G,OAAO,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,MAAK,SAAS,CAAC;AACxC,CAAC,CAAC;AAFW,QAAA,oBAAoB,wBAE/B"}
1
+ {"version":3,"file":"IRestriction.js","sourceRoot":"","sources":["../../src/interfaces/IRestriction.ts"],"names":[],"mappings":";;;AAYA,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,yCAAqB,CAAA;IACrB,mCAAe,CAAA;IACf,iCAAa,CAAA;IACb,iDAA6B,CAAA;AAC9B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAiHM,MAAM,qBAAqB,GAAG,CACpC,QAA8B,EACY,EAAE;IAC5C,OAAO,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,MAAK,UAAU,CAAC;AACtC,CAAC,CAAC;AAJW,QAAA,qBAAqB,yBAIhC;AACK,MAAM,oBAAoB,GAAG,CACnC,QAA8B,EACW,EAAE;IAC3C,OAAO,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,MAAK,SAAS,CAAC;AACrC,CAAC,CAAC;AAJW,QAAA,oBAAoB,wBAI/B"}
@@ -1,5 +1,5 @@
1
- import { DraggingRestrictionMetaData, DrawingRestrictionMetaData, IRestriction, RayTraceResult, RestrictionProperties } from './IRestriction';
2
- import { IRay } from '@shapediver/viewer.shared.types';
1
+ import { IRay } from "@shapediver/viewer.shared.types";
2
+ import { DraggingRestrictionMetaData, DrawingRestrictionMetaData, IRestriction, RayTraceResult, RestrictionProperties } from "./IRestriction";
3
3
  export interface IRestrictionManager {
4
4
  readonly restrictions: {
5
5
  [token: string]: IRestriction;
@@ -1 +1 @@
1
- {"version":3,"file":"IRestrictionManager.d.ts","sourceRoot":"","sources":["../../src/interfaces/IRestrictionManager.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,2BAA2B,EAC3B,0BAA0B,EAC1B,YAAY,EACZ,cAAc,EACd,qBAAqB,EACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AAEvD,MAAM,WAAW,mBAAmB;IAGhC,QAAQ,CAAC,YAAY,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAAA;KAAE,CAAC;IAEzD,4BAA4B,EAAE,OAAO,CAAC;IAMtC,cAAc,CAAC,UAAU,EAAE,qBAAqB,GAAG,MAAM,GAAG,SAAS,CAAC;IACtE,KAAK,IAAI,IAAI,CAAC;IACd,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC;IACxD,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,CAAC,EAAE,0BAA0B,GAAG,2BAA2B,GAAG,cAAc,GAAG,SAAS,CAAC;IACrH,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CAG7C"}
1
+ {"version":3,"file":"IRestrictionManager.d.ts","sourceRoot":"","sources":["../../src/interfaces/IRestrictionManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,iCAAiC,CAAC;AACrD,OAAO,EACN,2BAA2B,EAC3B,0BAA0B,EAC1B,YAAY,EACZ,cAAc,EACd,qBAAqB,EACrB,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,mBAAmB;IAGnC,QAAQ,CAAC,YAAY,EAAE;QAAC,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAAA;KAAC,CAAC;IAEvD,4BAA4B,EAAE,OAAO,CAAC;IAMtC,cAAc,CAAC,UAAU,EAAE,qBAAqB,GAAG,MAAM,GAAG,SAAS,CAAC;IACtE,KAAK,IAAI,IAAI,CAAC;IACd,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC;IACxD,QAAQ,CACP,GAAG,EAAE,IAAI,EACT,QAAQ,CAAC,EAAE,0BAA0B,GAAG,2BAA2B,GACjE,cAAc,GAAG,SAAS,CAAC;IAC9B,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CAG1C"}
@@ -1,6 +1,6 @@
1
- import { IRay } from '@shapediver/viewer.shared.types';
2
- import { RestrictionMetaData, RestrictionResult } from './IRestriction';
3
- import { vec3 } from 'gl-matrix';
1
+ import { IRay } from "@shapediver/viewer.shared.types";
2
+ import { vec3 } from "gl-matrix";
3
+ import { RestrictionMetaData, RestrictionResult } from "./IRestriction";
4
4
  export declare type SnapRestrictionProperties = {
5
5
  /**
6
6
  * If the restriction should be enabled by default.
@@ -1 +1 @@
1
- {"version":3,"file":"ISnapRestriction.d.ts","sourceRoot":"","sources":["../../src/interfaces/ISnapRestriction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAIjC,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAMF,MAAM,WAAW,gBAAgB;IAG7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAA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AAO,CAAC;IAM3B;;OAEG;IACH,mBAAmB,IAAI,IAAI,CAAC;IAC5B;;;;;;;;OAQG;IACH,IAAI,CACH,GAAG,EAAE,IAAI,EACT,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,mBAAmB,GAC5B,iBAAiB,GAAG,SAAS,CAAC;CAGjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ISnapRestriction.js","sourceRoot":"","sources":["../../src/interfaces/ISnapRestriction.ts"],"names":[],"mappings":";;AAsFA,4BAA4B"}
1
+ {"version":3,"file":"ISnapRestriction.js","sourceRoot":"","sources":["../../src/interfaces/ISnapRestriction.ts"],"names":[],"mappings":";;AA2FA,4BAA4B"}
@@ -1,4 +1,4 @@
1
- import { IMaterialBasicLineDataProperties, IMaterialMultiPointDataProperties } from '@shapediver/viewer.shared.types';
1
+ import { IMaterialBasicLineDataProperties, IMaterialMultiPointDataProperties } from "@shapediver/viewer.shared.types";
2
2
  export interface IVisualizationSettings {
3
3
  /**
4
4
  * If the distance labels are shown.
@@ -1 +1 @@
1
- {"version":3,"file":"IVisualizationSettings.d.ts","sourceRoot":"","sources":["../../src/interfaces/IVisualizationSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,iCAAiC,CAAC;AAEtH,MAAM,WAAW,sBAAsB;IAGnC;;;;;OAKG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;;;OAKG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,KAAK,EAAE,gCAAgC,CAAA;IACvC;;;;;OAKG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,iCAAiC,CAAC;CAG7C"}
1
+ {"version":3,"file":"IVisualizationSettings.d.ts","sourceRoot":"","sources":["../../src/interfaces/IVisualizationSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,gCAAgC,EAChC,iCAAiC,EACjC,MAAM,iCAAiC,CAAC;AAEzC,MAAM,WAAW,sBAAsB;IAGtC;;;;;OAKG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;;;OAKG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,KAAK,EAAE,gCAAgC,CAAC;IACxC;;;;;OAKG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,iCAAiC,CAAC;CAG1C"}
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
1
  {
2
- "name": "@shapediver/viewer.rendering-engine.intersection-restriction-engine",
3
- "version": "3.9.0",
4
- "description": "",
5
- "keywords": [],
6
- "author": "Michael Oppitz <michael@shapediver.com>",
7
- "license": "polyform-noncommercial-1.0.0",
8
- "main": "dist/index.js",
9
- "directories": {
10
- "test": "__tests__"
11
- },
12
- "files": [
13
- "package.json",
14
- "dist/",
15
- "README.md",
16
- "LICENSE"
17
- ],
18
- "publishConfig": {
19
- "access": "public"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/shapediver/Viewer.git"
24
- },
25
- "scripts": {
26
- "check": "tsc --noEmit",
27
- "build": "bash ../../scripts/building/build.sh",
28
- "build-all": "npm run build",
29
- "build-watch": "bash ../../scripts/building/build-watch.sh",
30
- "build-dep": "bash ../../scripts/building/build-dep.sh"
31
- },
32
- "bugs": {
33
- "url": "https://github.com/shapediver/Viewer/issues"
34
- },
35
- "homepage": "https://github.com/shapediver/Viewer#readme",
36
- "typings": "dist/index.d.ts",
37
- "jest": {
38
- "preset": "ts-jest",
39
- "testEnvironment": "node"
40
- },
41
- "dependencies": {
42
- "@shapediver/viewer": "3.9.0",
43
- "@shapediver/viewer.rendering-engine.intersection-engine": "3.9.0",
44
- "@shapediver/viewer.rendering-engine.rendering-engine-threejs": "3.9.0",
45
- "@shapediver/viewer.shared.math": "3.9.0",
46
- "@shapediver/viewer.shared.node-tree": "3.9.0",
47
- "@shapediver/viewer.shared.services": "3.9.0",
48
- "@shapediver/viewer.shared.types": "3.9.0",
49
- "@types/three": "0.162.0",
50
- "gl-matrix": "3.3.0",
51
- "three": "0.162.0"
52
- },
53
- "gitHead": "da9892981b62bf47cbae0605a8439dd1fc1dbc27"
2
+ "name": "@shapediver/viewer.rendering-engine.intersection-restriction-engine",
3
+ "version": "3.9.2",
4
+ "description": "",
5
+ "keywords": [],
6
+ "author": "Michael Oppitz <michael@shapediver.com>",
7
+ "license": "polyform-noncommercial-1.0.0",
8
+ "main": "dist/index.js",
9
+ "directories": {
10
+ "test": "__tests__"
11
+ },
12
+ "files": [
13
+ "package.json",
14
+ "dist/",
15
+ "README.md",
16
+ "LICENSE"
17
+ ],
18
+ "publishConfig": {
19
+ "access": "public"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/shapediver/Viewer.git"
24
+ },
25
+ "scripts": {
26
+ "check": "tsc --noEmit",
27
+ "build": "bash ../../scripts/building/build.sh",
28
+ "build-all": "npm run build",
29
+ "build-watch": "bash ../../scripts/building/build-watch.sh",
30
+ "build-dep": "bash ../../scripts/building/build-dep.sh"
31
+ },
32
+ "bugs": {
33
+ "url": "https://github.com/shapediver/Viewer/issues"
34
+ },
35
+ "homepage": "https://github.com/shapediver/Viewer#readme",
36
+ "typings": "dist/index.d.ts",
37
+ "jest": {
38
+ "preset": "ts-jest",
39
+ "testEnvironment": "node"
40
+ },
41
+ "dependencies": {
42
+ "@shapediver/viewer": "3.9.2",
43
+ "@shapediver/viewer.rendering-engine.intersection-engine": "3.9.2",
44
+ "@shapediver/viewer.rendering-engine.rendering-engine-threejs": "3.9.2",
45
+ "@shapediver/viewer.shared.math": "3.9.2",
46
+ "@shapediver/viewer.shared.node-tree": "3.9.2",
47
+ "@shapediver/viewer.shared.services": "3.9.2",
48
+ "@shapediver/viewer.shared.types": "3.9.2",
49
+ "@types/three": "0.162.0",
50
+ "gl-matrix": "3.3.0",
51
+ "three": "0.162.0"
52
+ },
53
+ "gitHead": "89e79c63e38e785a60e38750c4fce9a9637235c2"
54
54
  }