@shapediver/viewer.rendering-engine.intersection-restriction-engine 3.16.8 → 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.
- package/dist/api/implementation/AbstractRestrictionApi.d.ts +12 -12
- package/dist/api/implementation/AbstractRestrictionApi.js +46 -46
- package/dist/api/implementation/AbstractRestrictionApi.js.map +1 -1
- package/dist/api/implementation/AbstractSnapRestrictionApi.d.ts +12 -12
- package/dist/api/implementation/AbstractSnapRestrictionApi.js +46 -46
- package/dist/api/implementation/AbstractSnapRestrictionApi.js.map +1 -1
- package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.d.ts +6 -6
- package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.js +23 -23
- package/dist/api/implementation/camera_plane/CameraPlaneRestrictionApi.js.map +1 -1
- package/dist/api/implementation/geometry/GeometryRestrictionApi.d.ts +14 -14
- package/dist/api/implementation/geometry/GeometryRestrictionApi.js +53 -53
- package/dist/api/implementation/geometry/GeometryRestrictionApi.js.map +1 -1
- package/dist/api/implementation/line/LineRestrictionApi.d.ts +10 -10
- package/dist/api/implementation/line/LineRestrictionApi.js +39 -39
- package/dist/api/implementation/line/LineRestrictionApi.js.map +1 -1
- package/dist/api/implementation/plane/PlaneRestrictionApi.d.ts +19 -19
- package/dist/api/implementation/plane/PlaneRestrictionApi.js +66 -66
- package/dist/api/implementation/plane/PlaneRestrictionApi.js.map +1 -1
- package/dist/api/implementation/plane/snap/AngularRestrictionApi.d.ts +9 -9
- package/dist/api/implementation/plane/snap/AngularRestrictionApi.js +39 -39
- package/dist/api/implementation/plane/snap/AngularRestrictionApi.js.map +1 -1
- package/dist/api/implementation/plane/snap/AxisRestrictionApi.d.ts +6 -6
- package/dist/api/implementation/plane/snap/AxisRestrictionApi.js +23 -23
- package/dist/api/implementation/plane/snap/AxisRestrictionApi.js.map +1 -1
- package/dist/api/implementation/plane/snap/GridRestrictionApi.d.ts +9 -9
- package/dist/api/implementation/plane/snap/GridRestrictionApi.js +39 -39
- package/dist/api/implementation/plane/snap/GridRestrictionApi.js.map +1 -1
- package/dist/api/implementation/point/PointRestrictionApi.d.ts +9 -9
- package/dist/api/implementation/point/PointRestrictionApi.js +36 -36
- package/dist/api/implementation/point/PointRestrictionApi.js.map +1 -1
- package/dist/api/interfaces/IRestrictionApi.d.ts +10 -10
- package/dist/api/interfaces/IRestrictionApi.js +2 -2
- package/dist/api/interfaces/ISnapRestrictionApi.d.ts +12 -12
- package/dist/api/interfaces/ISnapRestrictionApi.js +2 -2
- package/dist/implementation/EventManager.d.ts +25 -25
- package/dist/implementation/EventManager.d.ts.map +1 -1
- package/dist/implementation/EventManager.js +62 -62
- package/dist/implementation/EventManager.js.map +1 -1
- package/dist/implementation/GeometryMathManager.d.ts +87 -87
- package/dist/implementation/GeometryMathManager.js +260 -260
- package/dist/implementation/GeometryMathManager.js.map +1 -1
- package/dist/implementation/RestrictionManager.d.ts +28 -28
- package/dist/implementation/RestrictionManager.js +323 -323
- package/dist/implementation/RestrictionManager.js.map +1 -1
- package/dist/implementation/restrictions/AbstractRestriction.d.ts +42 -42
- package/dist/implementation/restrictions/AbstractRestriction.js +164 -154
- package/dist/implementation/restrictions/AbstractRestriction.js.map +1 -1
- package/dist/implementation/restrictions/AbstractSnapRestriction.d.ts +35 -35
- package/dist/implementation/restrictions/AbstractSnapRestriction.js +150 -140
- package/dist/implementation/restrictions/AbstractSnapRestriction.js.map +1 -1
- package/dist/implementation/restrictions/RestrictionsHelper.d.ts +10 -10
- package/dist/implementation/restrictions/RestrictionsHelper.d.ts.map +1 -1
- package/dist/implementation/restrictions/RestrictionsHelper.js +50 -50
- package/dist/implementation/restrictions/RestrictionsHelper.js.map +1 -1
- package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.d.ts +17 -17
- package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.js +62 -62
- package/dist/implementation/restrictions/camera_plane/CameraPlaneRestriction.js.map +1 -1
- package/dist/implementation/restrictions/geometry/GeometryRestriction.d.ts +92 -92
- package/dist/implementation/restrictions/geometry/GeometryRestriction.js +410 -400
- package/dist/implementation/restrictions/geometry/GeometryRestriction.js.map +1 -1
- package/dist/implementation/restrictions/line/LineRestriction.d.ts +58 -58
- package/dist/implementation/restrictions/line/LineRestriction.js +291 -281
- package/dist/implementation/restrictions/line/LineRestriction.js.map +1 -1
- package/dist/implementation/restrictions/plane/PlaneRestriction.d.ts +65 -65
- package/dist/implementation/restrictions/plane/PlaneRestriction.js +306 -306
- package/dist/implementation/restrictions/plane/PlaneRestriction.js.map +1 -1
- package/dist/implementation/restrictions/plane/snap/AngularRestriction.d.ts +39 -39
- package/dist/implementation/restrictions/plane/snap/AngularRestriction.d.ts.map +1 -1
- package/dist/implementation/restrictions/plane/snap/AngularRestriction.js +346 -346
- package/dist/implementation/restrictions/plane/snap/AngularRestriction.js.map +1 -1
- package/dist/implementation/restrictions/plane/snap/AxisRestriction.d.ts +27 -27
- package/dist/implementation/restrictions/plane/snap/AxisRestriction.d.ts.map +1 -1
- package/dist/implementation/restrictions/plane/snap/AxisRestriction.js +239 -229
- package/dist/implementation/restrictions/plane/snap/AxisRestriction.js.map +1 -1
- package/dist/implementation/restrictions/plane/snap/GridRestriction.d.ts +39 -39
- package/dist/implementation/restrictions/plane/snap/GridRestriction.d.ts.map +1 -1
- package/dist/implementation/restrictions/plane/snap/GridRestriction.js +318 -308
- package/dist/implementation/restrictions/plane/snap/GridRestriction.js.map +1 -1
- package/dist/implementation/restrictions/point/PointRestriction.d.ts +45 -45
- package/dist/implementation/restrictions/point/PointRestriction.js +166 -156
- package/dist/implementation/restrictions/point/PointRestriction.js.map +1 -1
- package/dist/index.d.ts +29 -29
- package/dist/index.js +37 -37
- package/dist/interfaces/IDragAnchor.d.ts +8 -8
- package/dist/interfaces/IDragAnchor.js +2 -2
- package/dist/interfaces/IRestriction.d.ts +117 -117
- package/dist/interfaces/IRestriction.d.ts.map +1 -1
- package/dist/interfaces/IRestriction.js +23 -23
- package/dist/interfaces/IRestriction.js.map +1 -1
- package/dist/interfaces/IRestrictionManager.d.ts +13 -13
- package/dist/interfaces/IRestrictionManager.js +2 -2
- package/dist/interfaces/ISnapRestriction.d.ts +81 -81
- package/dist/interfaces/ISnapRestriction.d.ts.map +1 -1
- package/dist/interfaces/ISnapRestriction.js +3 -3
- package/package.json +10 -10
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IRestriction } from "../../interfaces/IRestriction";
|
|
2
|
-
import { IRestrictionApi } from "../interfaces/IRestrictionApi";
|
|
3
|
-
export declare abstract class AbstractRestrictionApi implements IRestrictionApi {
|
|
4
|
-
#private;
|
|
5
|
-
constructor(restriction: IRestriction);
|
|
6
|
-
get enabled(): boolean;
|
|
7
|
-
set enabled(value: boolean);
|
|
8
|
-
get hideable(): boolean;
|
|
9
|
-
set hideable(value: boolean);
|
|
10
|
-
get priority(): number;
|
|
11
|
-
get id(): string;
|
|
12
|
-
}
|
|
1
|
+
import { IRestriction } from "../../interfaces/IRestriction";
|
|
2
|
+
import { IRestrictionApi } from "../interfaces/IRestrictionApi";
|
|
3
|
+
export declare abstract class AbstractRestrictionApi implements IRestrictionApi {
|
|
4
|
+
#private;
|
|
5
|
+
constructor(restriction: IRestriction);
|
|
6
|
+
get enabled(): boolean;
|
|
7
|
+
set enabled(value: boolean);
|
|
8
|
+
get hideable(): boolean;
|
|
9
|
+
set hideable(value: boolean);
|
|
10
|
+
get priority(): number;
|
|
11
|
+
get id(): string;
|
|
12
|
+
}
|
|
13
13
|
//# sourceMappingURL=AbstractRestrictionApi.d.ts.map
|
|
@@ -1,47 +1,47 @@
|
|
|
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 _AbstractRestrictionApi_restriction;
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.AbstractRestrictionApi = void 0;
|
|
16
|
-
class AbstractRestrictionApi {
|
|
17
|
-
// #endregion Properties (1)
|
|
18
|
-
// #region Constructors (1)
|
|
19
|
-
constructor(restriction) {
|
|
20
|
-
// #region Properties (1)
|
|
21
|
-
_AbstractRestrictionApi_restriction.set(this, void 0);
|
|
22
|
-
__classPrivateFieldSet(this, _AbstractRestrictionApi_restriction, restriction, "f");
|
|
23
|
-
}
|
|
24
|
-
// #endregion Constructors (1)
|
|
25
|
-
// #region Public Getters And Setters (3)
|
|
26
|
-
get enabled() {
|
|
27
|
-
return __classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").enabled;
|
|
28
|
-
}
|
|
29
|
-
set enabled(value) {
|
|
30
|
-
__classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").enabled = value;
|
|
31
|
-
}
|
|
32
|
-
get hideable() {
|
|
33
|
-
return __classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").hideable;
|
|
34
|
-
}
|
|
35
|
-
set hideable(value) {
|
|
36
|
-
__classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").hideable = value;
|
|
37
|
-
}
|
|
38
|
-
get priority() {
|
|
39
|
-
return __classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").priority;
|
|
40
|
-
}
|
|
41
|
-
get id() {
|
|
42
|
-
return __classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").id;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
exports.AbstractRestrictionApi = AbstractRestrictionApi;
|
|
46
|
-
_AbstractRestrictionApi_restriction = 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 _AbstractRestrictionApi_restriction;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AbstractRestrictionApi = void 0;
|
|
16
|
+
class AbstractRestrictionApi {
|
|
17
|
+
// #endregion Properties (1)
|
|
18
|
+
// #region Constructors (1)
|
|
19
|
+
constructor(restriction) {
|
|
20
|
+
// #region Properties (1)
|
|
21
|
+
_AbstractRestrictionApi_restriction.set(this, void 0);
|
|
22
|
+
__classPrivateFieldSet(this, _AbstractRestrictionApi_restriction, restriction, "f");
|
|
23
|
+
}
|
|
24
|
+
// #endregion Constructors (1)
|
|
25
|
+
// #region Public Getters And Setters (3)
|
|
26
|
+
get enabled() {
|
|
27
|
+
return __classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").enabled;
|
|
28
|
+
}
|
|
29
|
+
set enabled(value) {
|
|
30
|
+
__classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").enabled = value;
|
|
31
|
+
}
|
|
32
|
+
get hideable() {
|
|
33
|
+
return __classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").hideable;
|
|
34
|
+
}
|
|
35
|
+
set hideable(value) {
|
|
36
|
+
__classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").hideable = value;
|
|
37
|
+
}
|
|
38
|
+
get priority() {
|
|
39
|
+
return __classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").priority;
|
|
40
|
+
}
|
|
41
|
+
get id() {
|
|
42
|
+
return __classPrivateFieldGet(this, _AbstractRestrictionApi_restriction, "f").id;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.AbstractRestrictionApi = AbstractRestrictionApi;
|
|
46
|
+
_AbstractRestrictionApi_restriction = new WeakMap();
|
|
47
47
|
//# sourceMappingURL=AbstractRestrictionApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractRestrictionApi.js","sourceRoot":"","sources":["../../../src/api/implementation/AbstractRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,MAAsB,sBAAsB;IAK3C,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAAyB;QARrC,yBAAyB;
|
|
1
|
+
{"version":3,"file":"AbstractRestrictionApi.js","sourceRoot":"","sources":["../../../src/api/implementation/AbstractRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,MAAsB,sBAAsB;IAK3C,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAAyB;QARrC,yBAAyB;QAEhB,sDAA2B;QAOnC,uBAAA,IAAI,uCAAgB,WAAW,MAAA,CAAC;IACjC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,OAAO;QACjB,OAAO,uBAAA,IAAI,2CAAa,CAAC,OAAO,CAAC;IAClC,CAAC;IAED,IAAW,OAAO,CAAC,KAAc;QAChC,uBAAA,IAAI,2CAAa,CAAC,OAAO,GAAG,KAAK,CAAC;IACnC,CAAC;IAED,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,2CAAa,CAAC,QAAQ,CAAC;IACnC,CAAC;IAED,IAAW,QAAQ,CAAC,KAAc;QACjC,uBAAA,IAAI,2CAAa,CAAC,QAAQ,GAAG,KAAK,CAAC;IACpC,CAAC;IAED,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,2CAAa,CAAC,QAAQ,CAAC;IACnC,CAAC;IAED,IAAW,EAAE;QACZ,OAAO,uBAAA,IAAI,2CAAa,CAAC,EAAE,CAAC;IAC7B,CAAC;CAGD;AA1CD,wDA0CC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ISnapRestriction } from "../../interfaces/ISnapRestriction";
|
|
2
|
-
import { ISnapRestrictionApi } from "../interfaces/ISnapRestrictionApi";
|
|
3
|
-
export declare abstract class AbstractSnapRestrictionApi implements ISnapRestrictionApi {
|
|
4
|
-
#private;
|
|
5
|
-
constructor(restriction: ISnapRestriction);
|
|
6
|
-
get enabled(): boolean;
|
|
7
|
-
set enabled(value: boolean);
|
|
8
|
-
get enabledEditable(): boolean;
|
|
9
|
-
get id(): string;
|
|
10
|
-
get priority(): number;
|
|
11
|
-
set priority(value: number);
|
|
12
|
-
}
|
|
1
|
+
import { ISnapRestriction } from "../../interfaces/ISnapRestriction";
|
|
2
|
+
import { ISnapRestrictionApi } from "../interfaces/ISnapRestrictionApi";
|
|
3
|
+
export declare abstract class AbstractSnapRestrictionApi implements ISnapRestrictionApi {
|
|
4
|
+
#private;
|
|
5
|
+
constructor(restriction: ISnapRestriction);
|
|
6
|
+
get enabled(): boolean;
|
|
7
|
+
set enabled(value: boolean);
|
|
8
|
+
get enabledEditable(): boolean;
|
|
9
|
+
get id(): string;
|
|
10
|
+
get priority(): number;
|
|
11
|
+
set priority(value: number);
|
|
12
|
+
}
|
|
13
13
|
//# sourceMappingURL=AbstractSnapRestrictionApi.d.ts.map
|
|
@@ -1,47 +1,47 @@
|
|
|
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 _AbstractSnapRestrictionApi_restriction;
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.AbstractSnapRestrictionApi = void 0;
|
|
16
|
-
class AbstractSnapRestrictionApi {
|
|
17
|
-
// #endregion Properties (1)
|
|
18
|
-
// #region Constructors (1)
|
|
19
|
-
constructor(restriction) {
|
|
20
|
-
// #region Properties (1)
|
|
21
|
-
_AbstractSnapRestrictionApi_restriction.set(this, void 0);
|
|
22
|
-
__classPrivateFieldSet(this, _AbstractSnapRestrictionApi_restriction, restriction, "f");
|
|
23
|
-
}
|
|
24
|
-
// #endregion Constructors (1)
|
|
25
|
-
// #region Public Getters And Setters (6)
|
|
26
|
-
get enabled() {
|
|
27
|
-
return __classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").enabled;
|
|
28
|
-
}
|
|
29
|
-
set enabled(value) {
|
|
30
|
-
__classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").enabled = value;
|
|
31
|
-
}
|
|
32
|
-
get enabledEditable() {
|
|
33
|
-
return __classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").enabledEditable;
|
|
34
|
-
}
|
|
35
|
-
get id() {
|
|
36
|
-
return __classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").id;
|
|
37
|
-
}
|
|
38
|
-
get priority() {
|
|
39
|
-
return __classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").priority;
|
|
40
|
-
}
|
|
41
|
-
set priority(value) {
|
|
42
|
-
__classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").priority = value;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
exports.AbstractSnapRestrictionApi = AbstractSnapRestrictionApi;
|
|
46
|
-
_AbstractSnapRestrictionApi_restriction = 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 _AbstractSnapRestrictionApi_restriction;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AbstractSnapRestrictionApi = void 0;
|
|
16
|
+
class AbstractSnapRestrictionApi {
|
|
17
|
+
// #endregion Properties (1)
|
|
18
|
+
// #region Constructors (1)
|
|
19
|
+
constructor(restriction) {
|
|
20
|
+
// #region Properties (1)
|
|
21
|
+
_AbstractSnapRestrictionApi_restriction.set(this, void 0);
|
|
22
|
+
__classPrivateFieldSet(this, _AbstractSnapRestrictionApi_restriction, restriction, "f");
|
|
23
|
+
}
|
|
24
|
+
// #endregion Constructors (1)
|
|
25
|
+
// #region Public Getters And Setters (6)
|
|
26
|
+
get enabled() {
|
|
27
|
+
return __classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").enabled;
|
|
28
|
+
}
|
|
29
|
+
set enabled(value) {
|
|
30
|
+
__classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").enabled = value;
|
|
31
|
+
}
|
|
32
|
+
get enabledEditable() {
|
|
33
|
+
return __classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").enabledEditable;
|
|
34
|
+
}
|
|
35
|
+
get id() {
|
|
36
|
+
return __classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").id;
|
|
37
|
+
}
|
|
38
|
+
get priority() {
|
|
39
|
+
return __classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").priority;
|
|
40
|
+
}
|
|
41
|
+
set priority(value) {
|
|
42
|
+
__classPrivateFieldGet(this, _AbstractSnapRestrictionApi_restriction, "f").priority = value;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.AbstractSnapRestrictionApi = AbstractSnapRestrictionApi;
|
|
46
|
+
_AbstractSnapRestrictionApi_restriction = new WeakMap();
|
|
47
47
|
//# sourceMappingURL=AbstractSnapRestrictionApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractSnapRestrictionApi.js","sourceRoot":"","sources":["../../../src/api/implementation/AbstractSnapRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,MAAsB,0BAA0B;IAO/C,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA6B;QARzC,yBAAyB;
|
|
1
|
+
{"version":3,"file":"AbstractSnapRestrictionApi.js","sourceRoot":"","sources":["../../../src/api/implementation/AbstractSnapRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,MAAsB,0BAA0B;IAO/C,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA6B;QARzC,yBAAyB;QAEhB,0DAA+B;QAOvC,uBAAA,IAAI,2CAAgB,WAAW,MAAA,CAAC;IACjC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,OAAO;QACjB,OAAO,uBAAA,IAAI,+CAAa,CAAC,OAAO,CAAC;IAClC,CAAC;IAED,IAAW,OAAO,CAAC,KAAc;QAChC,uBAAA,IAAI,+CAAa,CAAC,OAAO,GAAG,KAAK,CAAC;IACnC,CAAC;IAED,IAAW,eAAe;QACzB,OAAO,uBAAA,IAAI,+CAAa,CAAC,eAAe,CAAC;IAC1C,CAAC;IAED,IAAW,EAAE;QACZ,OAAO,uBAAA,IAAI,+CAAa,CAAC,EAAE,CAAC;IAC7B,CAAC;IAED,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,+CAAa,CAAC,QAAQ,CAAC;IACnC,CAAC;IAED,IAAW,QAAQ,CAAC,KAAa;QAChC,uBAAA,IAAI,+CAAa,CAAC,QAAQ,GAAG,KAAK,CAAC;IACpC,CAAC;CAGD;AA5CD,gEA4CC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CameraPlaneRestriction } from "../../../implementation/restrictions/camera_plane/CameraPlaneRestriction";
|
|
2
|
-
import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
|
|
3
|
-
export declare class CameraPlaneRestrictionApi extends AbstractRestrictionApi {
|
|
4
|
-
#private;
|
|
5
|
-
constructor(restriction: CameraPlaneRestriction);
|
|
6
|
-
}
|
|
1
|
+
import { CameraPlaneRestriction } from "../../../implementation/restrictions/camera_plane/CameraPlaneRestriction";
|
|
2
|
+
import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
|
|
3
|
+
export declare class CameraPlaneRestrictionApi extends AbstractRestrictionApi {
|
|
4
|
+
#private;
|
|
5
|
+
constructor(restriction: CameraPlaneRestriction);
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=CameraPlaneRestrictionApi.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 _CameraPlaneRestrictionApi_cameraPlaneRestriction;
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.CameraPlaneRestrictionApi = void 0;
|
|
11
|
-
const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
|
|
12
|
-
class CameraPlaneRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
|
|
13
|
-
// #endregion Properties (1)
|
|
14
|
-
// #region Constructors (1)
|
|
15
|
-
constructor(restriction) {
|
|
16
|
-
super(restriction);
|
|
17
|
-
// #region Properties (1)
|
|
18
|
-
_CameraPlaneRestrictionApi_cameraPlaneRestriction.set(this, void 0);
|
|
19
|
-
__classPrivateFieldSet(this, _CameraPlaneRestrictionApi_cameraPlaneRestriction, restriction, "f");
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.CameraPlaneRestrictionApi = CameraPlaneRestrictionApi;
|
|
23
|
-
_CameraPlaneRestrictionApi_cameraPlaneRestriction = 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 _CameraPlaneRestrictionApi_cameraPlaneRestriction;
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.CameraPlaneRestrictionApi = void 0;
|
|
11
|
+
const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
|
|
12
|
+
class CameraPlaneRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
|
|
13
|
+
// #endregion Properties (1)
|
|
14
|
+
// #region Constructors (1)
|
|
15
|
+
constructor(restriction) {
|
|
16
|
+
super(restriction);
|
|
17
|
+
// #region Properties (1)
|
|
18
|
+
_CameraPlaneRestrictionApi_cameraPlaneRestriction.set(this, void 0);
|
|
19
|
+
__classPrivateFieldSet(this, _CameraPlaneRestrictionApi_cameraPlaneRestriction, restriction, "f");
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.CameraPlaneRestrictionApi = CameraPlaneRestrictionApi;
|
|
23
|
+
_CameraPlaneRestrictionApi_cameraPlaneRestriction = new WeakMap();
|
|
24
24
|
//# sourceMappingURL=CameraPlaneRestrictionApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CameraPlaneRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/camera_plane/CameraPlaneRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;AACA,sEAAiE;AAEjE,MAAa,yBAA0B,SAAQ,+CAAsB;IAKpE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAAmC;QAC9C,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;
|
|
1
|
+
{"version":3,"file":"CameraPlaneRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/camera_plane/CameraPlaneRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;AACA,sEAAiE;AAEjE,MAAa,yBAA0B,SAAQ,+CAAsB;IAKpE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAAmC;QAC9C,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEhB,oEAAgD;QAQxD,uBAAA,IAAI,qDAA2B,WAAW,MAAA,CAAC;IAC5C,CAAC;CAGD;AAfD,8DAeC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ITreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
2
|
-
import { GeometryRestriction } from "../../../implementation/restrictions/geometry/GeometryRestriction";
|
|
3
|
-
import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
|
|
4
|
-
export declare class GeometryRestrictionApi extends AbstractRestrictionApi {
|
|
5
|
-
#private;
|
|
6
|
-
constructor(restriction: GeometryRestriction);
|
|
7
|
-
get snapToEdges(): boolean;
|
|
8
|
-
set snapToEdges(value: boolean);
|
|
9
|
-
get snapToFaces(): boolean;
|
|
10
|
-
set snapToFaces(value: boolean);
|
|
11
|
-
get snapToVertices(): boolean;
|
|
12
|
-
set snapToVertices(value: boolean);
|
|
13
|
-
updateNodes(nodes: ITreeNode[]): void;
|
|
14
|
-
}
|
|
1
|
+
import { ITreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
2
|
+
import { GeometryRestriction } from "../../../implementation/restrictions/geometry/GeometryRestriction";
|
|
3
|
+
import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
|
|
4
|
+
export declare class GeometryRestrictionApi extends AbstractRestrictionApi {
|
|
5
|
+
#private;
|
|
6
|
+
constructor(restriction: GeometryRestriction);
|
|
7
|
+
get snapToEdges(): boolean;
|
|
8
|
+
set snapToEdges(value: boolean);
|
|
9
|
+
get snapToFaces(): boolean;
|
|
10
|
+
set snapToFaces(value: boolean);
|
|
11
|
+
get snapToVertices(): boolean;
|
|
12
|
+
set snapToVertices(value: boolean);
|
|
13
|
+
updateNodes(nodes: ITreeNode[]): void;
|
|
14
|
+
}
|
|
15
15
|
//# sourceMappingURL=GeometryRestrictionApi.d.ts.map
|
|
@@ -1,54 +1,54 @@
|
|
|
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 _GeometryRestrictionApi_geometryRestriction;
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.GeometryRestrictionApi = void 0;
|
|
16
|
-
const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
|
|
17
|
-
class GeometryRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
|
|
18
|
-
// #endregion Properties (1)
|
|
19
|
-
// #region Constructors (1)
|
|
20
|
-
constructor(restriction) {
|
|
21
|
-
super(restriction);
|
|
22
|
-
// #region Properties (1)
|
|
23
|
-
_GeometryRestrictionApi_geometryRestriction.set(this, void 0);
|
|
24
|
-
__classPrivateFieldSet(this, _GeometryRestrictionApi_geometryRestriction, restriction, "f");
|
|
25
|
-
}
|
|
26
|
-
// #endregion Constructors (1)
|
|
27
|
-
// #region Public Getters And Setters (6)
|
|
28
|
-
get snapToEdges() {
|
|
29
|
-
return __classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToEdges;
|
|
30
|
-
}
|
|
31
|
-
set snapToEdges(value) {
|
|
32
|
-
__classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToEdges = value;
|
|
33
|
-
}
|
|
34
|
-
get snapToFaces() {
|
|
35
|
-
return __classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToFaces;
|
|
36
|
-
}
|
|
37
|
-
set snapToFaces(value) {
|
|
38
|
-
__classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToFaces = value;
|
|
39
|
-
}
|
|
40
|
-
get snapToVertices() {
|
|
41
|
-
return __classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToVertices;
|
|
42
|
-
}
|
|
43
|
-
set snapToVertices(value) {
|
|
44
|
-
__classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToVertices = value;
|
|
45
|
-
}
|
|
46
|
-
// #endregion Public Getters And Setters (6)
|
|
47
|
-
// #region Public Methods (1)
|
|
48
|
-
updateNodes(nodes) {
|
|
49
|
-
__classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").updateNodes(nodes);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.GeometryRestrictionApi = GeometryRestrictionApi;
|
|
53
|
-
_GeometryRestrictionApi_geometryRestriction = 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 _GeometryRestrictionApi_geometryRestriction;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.GeometryRestrictionApi = void 0;
|
|
16
|
+
const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
|
|
17
|
+
class GeometryRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
|
|
18
|
+
// #endregion Properties (1)
|
|
19
|
+
// #region Constructors (1)
|
|
20
|
+
constructor(restriction) {
|
|
21
|
+
super(restriction);
|
|
22
|
+
// #region Properties (1)
|
|
23
|
+
_GeometryRestrictionApi_geometryRestriction.set(this, void 0);
|
|
24
|
+
__classPrivateFieldSet(this, _GeometryRestrictionApi_geometryRestriction, restriction, "f");
|
|
25
|
+
}
|
|
26
|
+
// #endregion Constructors (1)
|
|
27
|
+
// #region Public Getters And Setters (6)
|
|
28
|
+
get snapToEdges() {
|
|
29
|
+
return __classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToEdges;
|
|
30
|
+
}
|
|
31
|
+
set snapToEdges(value) {
|
|
32
|
+
__classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToEdges = value;
|
|
33
|
+
}
|
|
34
|
+
get snapToFaces() {
|
|
35
|
+
return __classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToFaces;
|
|
36
|
+
}
|
|
37
|
+
set snapToFaces(value) {
|
|
38
|
+
__classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToFaces = value;
|
|
39
|
+
}
|
|
40
|
+
get snapToVertices() {
|
|
41
|
+
return __classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToVertices;
|
|
42
|
+
}
|
|
43
|
+
set snapToVertices(value) {
|
|
44
|
+
__classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").snapToVertices = value;
|
|
45
|
+
}
|
|
46
|
+
// #endregion Public Getters And Setters (6)
|
|
47
|
+
// #region Public Methods (1)
|
|
48
|
+
updateNodes(nodes) {
|
|
49
|
+
__classPrivateFieldGet(this, _GeometryRestrictionApi_geometryRestriction, "f").updateNodes(nodes);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.GeometryRestrictionApi = GeometryRestrictionApi;
|
|
53
|
+
_GeometryRestrictionApi_geometryRestriction = new WeakMap();
|
|
54
54
|
//# sourceMappingURL=GeometryRestrictionApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeometryRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/geometry/GeometryRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,sEAAiE;AAEjE,MAAa,sBAAuB,SAAQ,+CAAsB;IAKjE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAAgC;QAC3C,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;
|
|
1
|
+
{"version":3,"file":"GeometryRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/geometry/GeometryRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,sEAAiE;AAEjE,MAAa,sBAAuB,SAAQ,+CAAsB;IAKjE,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAAgC;QAC3C,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;QAEhB,8DAA0C;QAQlD,uBAAA,IAAI,+CAAwB,WAAW,MAAA,CAAC;IACzC,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,WAAW;QACrB,OAAO,uBAAA,IAAI,mDAAqB,CAAC,WAAW,CAAC;IAC9C,CAAC;IAED,IAAW,WAAW,CAAC,KAAc;QACpC,uBAAA,IAAI,mDAAqB,CAAC,WAAW,GAAG,KAAK,CAAC;IAC/C,CAAC;IAED,IAAW,WAAW;QACrB,OAAO,uBAAA,IAAI,mDAAqB,CAAC,WAAW,CAAC;IAC9C,CAAC;IAED,IAAW,WAAW,CAAC,KAAc;QACpC,uBAAA,IAAI,mDAAqB,CAAC,WAAW,GAAG,KAAK,CAAC;IAC/C,CAAC;IAED,IAAW,cAAc;QACxB,OAAO,uBAAA,IAAI,mDAAqB,CAAC,cAAc,CAAC;IACjD,CAAC;IAED,IAAW,cAAc,CAAC,KAAc;QACvC,uBAAA,IAAI,mDAAqB,CAAC,cAAc,GAAG,KAAK,CAAC;IAClD,CAAC;IAED,4CAA4C;IAE5C,6BAA6B;IAEtB,WAAW,CAAC,KAAkB;QACpC,uBAAA,IAAI,mDAAqB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;CAGD;AAnDD,wDAmDC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { vec3 } from "gl-matrix";
|
|
2
|
-
import { LineRestriction } from "../../../implementation/restrictions/line/LineRestriction";
|
|
3
|
-
import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
|
|
4
|
-
export declare class LineRestrictionApi extends AbstractRestrictionApi {
|
|
5
|
-
#private;
|
|
6
|
-
constructor(restriction: LineRestriction);
|
|
7
|
-
get point1(): vec3;
|
|
8
|
-
get point2(): vec3;
|
|
9
|
-
get radius(): number;
|
|
10
|
-
}
|
|
1
|
+
import { vec3 } from "gl-matrix";
|
|
2
|
+
import { LineRestriction } from "../../../implementation/restrictions/line/LineRestriction";
|
|
3
|
+
import { AbstractRestrictionApi } from "../AbstractRestrictionApi";
|
|
4
|
+
export declare class LineRestrictionApi extends AbstractRestrictionApi {
|
|
5
|
+
#private;
|
|
6
|
+
constructor(restriction: LineRestriction);
|
|
7
|
+
get point1(): vec3;
|
|
8
|
+
get point2(): vec3;
|
|
9
|
+
get radius(): number;
|
|
10
|
+
}
|
|
11
11
|
//# sourceMappingURL=LineRestrictionApi.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 _LineRestrictionApi_lineRestriction;
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.LineRestrictionApi = void 0;
|
|
16
|
-
const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
|
|
17
|
-
class LineRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
|
|
18
|
-
// #endregion Properties (1)
|
|
19
|
-
// #region Constructors (1)
|
|
20
|
-
constructor(restriction) {
|
|
21
|
-
super(restriction);
|
|
22
|
-
// #region Properties (1)
|
|
23
|
-
_LineRestrictionApi_lineRestriction.set(this, void 0);
|
|
24
|
-
__classPrivateFieldSet(this, _LineRestrictionApi_lineRestriction, restriction, "f");
|
|
25
|
-
}
|
|
26
|
-
// #endregion Constructors (1)
|
|
27
|
-
// #region Public Getters And Setters (3)
|
|
28
|
-
get point1() {
|
|
29
|
-
return __classPrivateFieldGet(this, _LineRestrictionApi_lineRestriction, "f").point1;
|
|
30
|
-
}
|
|
31
|
-
get point2() {
|
|
32
|
-
return __classPrivateFieldGet(this, _LineRestrictionApi_lineRestriction, "f").point2;
|
|
33
|
-
}
|
|
34
|
-
get radius() {
|
|
35
|
-
return __classPrivateFieldGet(this, _LineRestrictionApi_lineRestriction, "f").radius;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.LineRestrictionApi = LineRestrictionApi;
|
|
39
|
-
_LineRestrictionApi_lineRestriction = 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 _LineRestrictionApi_lineRestriction;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.LineRestrictionApi = void 0;
|
|
16
|
+
const AbstractRestrictionApi_1 = require("../AbstractRestrictionApi");
|
|
17
|
+
class LineRestrictionApi extends AbstractRestrictionApi_1.AbstractRestrictionApi {
|
|
18
|
+
// #endregion Properties (1)
|
|
19
|
+
// #region Constructors (1)
|
|
20
|
+
constructor(restriction) {
|
|
21
|
+
super(restriction);
|
|
22
|
+
// #region Properties (1)
|
|
23
|
+
_LineRestrictionApi_lineRestriction.set(this, void 0);
|
|
24
|
+
__classPrivateFieldSet(this, _LineRestrictionApi_lineRestriction, restriction, "f");
|
|
25
|
+
}
|
|
26
|
+
// #endregion Constructors (1)
|
|
27
|
+
// #region Public Getters And Setters (3)
|
|
28
|
+
get point1() {
|
|
29
|
+
return __classPrivateFieldGet(this, _LineRestrictionApi_lineRestriction, "f").point1;
|
|
30
|
+
}
|
|
31
|
+
get point2() {
|
|
32
|
+
return __classPrivateFieldGet(this, _LineRestrictionApi_lineRestriction, "f").point2;
|
|
33
|
+
}
|
|
34
|
+
get radius() {
|
|
35
|
+
return __classPrivateFieldGet(this, _LineRestrictionApi_lineRestriction, "f").radius;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.LineRestrictionApi = LineRestrictionApi;
|
|
39
|
+
_LineRestrictionApi_lineRestriction = new WeakMap();
|
|
40
40
|
//# sourceMappingURL=LineRestrictionApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/line/LineRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,sEAAiE;AAEjE,MAAa,kBAAmB,SAAQ,+CAAsB;IAK7D,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,WAA4B;QACvC,KAAK,CAAC,WAAW,CAAC,CAAC;QATpB,yBAAyB;
|
|
1
|
+
{"version":3,"file":"LineRestrictionApi.js","sourceRoot":"","sources":["../../../../src/api/implementation/line/LineRestrictionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,sEAAiE;AAEjE,MAAa,kBAAmB,SAAQ,+CAAsB;IAK7D,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,MAAM;QAChB,OAAO,uBAAA,IAAI,2CAAiB,CAAC,MAAM,CAAC;IACrC,CAAC;IAED,IAAW,MAAM;QAChB,OAAO,uBAAA,IAAI,2CAAiB,CAAC,MAAM,CAAC;IACrC,CAAC;IAED,IAAW,MAAM;QAChB,OAAO,uBAAA,IAAI,2CAAiB,CAAC,MAAM,CAAC;IACrC,CAAC;CAGD;AA/BD,gDA+BC"}
|