@automovie/recovery 0.0.0 → 0.2.0
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/lib/compilation/index.d.ts +2 -2
- package/lib/compilation/index.js +16 -5
- package/lib/compilation/index.js.map +1 -1
- package/lib/curves/AutoMovieRecoveryCompactApproximation.d.ts +125 -0
- package/lib/curves/AutoMovieRecoveryCompactApproximation.js +62 -0
- package/lib/curves/AutoMovieRecoveryCompactApproximation.js.map +1 -0
- package/lib/curves/AutoMovieRecoveryConicApproximation.d.ts +218 -0
- package/lib/curves/AutoMovieRecoveryConicApproximation.js +113 -0
- package/lib/curves/AutoMovieRecoveryConicApproximation.js.map +1 -0
- package/lib/curves/approximateAutoMovieRecoveryCompactCurves.d.ts +30 -0
- package/lib/curves/approximateAutoMovieRecoveryCompactCurves.js +303 -0
- package/lib/curves/approximateAutoMovieRecoveryCompactCurves.js.map +1 -0
- package/lib/curves/approximateAutoMovieRecoveryConicsAhn.d.ts +39 -0
- package/lib/curves/approximateAutoMovieRecoveryConicsAhn.js +289 -0
- package/lib/curves/approximateAutoMovieRecoveryConicsAhn.js.map +1 -0
- package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.d.ts +32 -0
- package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.js +350 -0
- package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.js.map +1 -0
- package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.d.ts +29 -0
- package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.js +77 -0
- package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.js.map +1 -0
- package/lib/curves/index.d.ts +6 -1
- package/lib/curves/index.js +20 -3
- package/lib/curves/index.js.map +1 -1
- package/lib/fitting/index.d.ts +2 -2
- package/lib/fitting/index.js +16 -5
- package/lib/fitting/index.js.map +1 -1
- package/lib/index.d.ts +6 -57
- package/lib/index.js +6 -57
- package/lib/index.js.map +1 -1
- package/lib/internal/GhoshConicApproximationBalance.d.ts +25 -0
- package/lib/internal/GhoshConicApproximationBalance.js +177 -0
- package/lib/internal/GhoshConicApproximationBalance.js.map +1 -0
- package/lib/internal/GhoshConicApproximationDisplacement.d.ts +23 -0
- package/lib/internal/GhoshConicApproximationDisplacement.js +77 -0
- package/lib/internal/GhoshConicApproximationDisplacement.js.map +1 -0
- package/lib/internal/index.d.ts +183 -0
- package/lib/internal/index.js +200 -0
- package/lib/internal/index.js.map +1 -0
- package/lib/internal/mesh-observations/index.d.ts +1 -2
- package/lib/internal/mesh-observations/index.js +1 -2
- package/lib/internal/mesh-observations/index.js.map +1 -1
- package/lib/observation/index.d.ts +15 -15
- package/lib/observation/index.js +29 -31
- package/lib/observation/index.js.map +1 -1
- package/lib/reconstruction/index.d.ts +10 -10
- package/lib/reconstruction/index.js +24 -21
- package/lib/reconstruction/index.js.map +1 -1
- package/lib/structures/curve/index.d.ts +15 -15
- package/lib/structures/curve/index.js +29 -0
- package/lib/structures/curve/index.js.map +1 -1
- package/lib/structures/domain/index.d.ts +45 -45
- package/lib/structures/domain/index.js +59 -0
- package/lib/structures/domain/index.js.map +1 -1
- package/lib/structures/image/index.d.ts +45 -45
- package/lib/structures/image/index.js +59 -0
- package/lib/structures/image/index.js.map +1 -1
- package/lib/structures/index.d.ts +1 -0
- package/lib/structures/index.js +1 -0
- package/lib/structures/index.js.map +1 -1
- package/lib/structures/internal/index.d.ts +58 -0
- package/lib/structures/internal/index.js +75 -0
- package/lib/structures/internal/index.js.map +1 -0
- package/lib/structures/mesh/index.d.ts +19 -19
- package/lib/structures/mesh/index.js +33 -0
- package/lib/structures/mesh/index.js.map +1 -1
- package/lib/structures/node/index.d.ts +23 -23
- package/lib/structures/node/index.js +37 -0
- package/lib/structures/node/index.js.map +1 -1
- package/lib/structures/observation/index.d.ts +15 -15
- package/lib/structures/observation/index.js +29 -0
- package/lib/structures/observation/index.js.map +1 -1
- package/lib/structures/operation/index.d.ts +10 -10
- package/lib/structures/operation/index.js +24 -0
- package/lib/structures/operation/index.js.map +1 -1
- package/lib/typings/index.d.ts +6 -6
- package/lib/typings/index.js +20 -0
- package/lib/typings/index.js.map +1 -1
- package/package.json +6 -6
- package/src/compilation/index.ts +2 -2
- package/src/curves/AutoMovieRecoveryCompactApproximation.ts +149 -0
- package/src/curves/AutoMovieRecoveryConicApproximation.ts +282 -0
- package/src/curves/approximateAutoMovieRecoveryCompactCurves.ts +285 -0
- package/src/curves/approximateAutoMovieRecoveryConicsAhn.ts +315 -0
- package/src/curves/approximateAutoMovieRecoveryConicsGhosh.ts +444 -0
- package/src/curves/findAutoMovieRecoveryCubicCriticalParameters.ts +76 -0
- package/src/curves/index.ts +6 -1
- package/src/fitting/index.ts +2 -2
- package/src/index.ts +6 -57
- package/src/internal/GhoshConicApproximationBalance.ts +184 -0
- package/src/internal/GhoshConicApproximationDisplacement.ts +83 -0
- package/src/internal/index.ts +183 -0
- package/src/internal/mesh-observations/index.ts +1 -2
- package/src/observation/index.ts +15 -15
- package/src/reconstruction/index.ts +10 -10
- package/src/structures/curve/index.ts +15 -15
- package/src/structures/domain/index.ts +45 -45
- package/src/structures/image/index.ts +45 -45
- package/src/structures/index.ts +1 -0
- package/src/structures/internal/index.ts +58 -0
- package/src/structures/mesh/index.ts +19 -19
- package/src/structures/node/index.ts +23 -23
- package/src/structures/observation/index.ts +15 -15
- package/src/structures/operation/index.ts +10 -10
- package/src/typings/index.ts +6 -6
|
@@ -1,3 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IAutoMovieRecoveryContourResume"), exports);
|
|
18
|
+
__exportStar(require("./IAutoMovieRecoveryContourResumeInput"), exports);
|
|
19
|
+
__exportStar(require("./IAutoMovieRecoveryContourResumePolicy"), exports);
|
|
20
|
+
__exportStar(require("./IAutoMovieRecoveryMeshSections"), exports);
|
|
21
|
+
__exportStar(require("./IAutoMovieRecoveryPreparedInput"), exports);
|
|
22
|
+
__exportStar(require("./IAutoMovieRecoveryRegisteredInput"), exports);
|
|
23
|
+
__exportStar(require("./IAutoMovieRecoverySavedSection"), exports);
|
|
24
|
+
__exportStar(require("./IAutoMovieRecoverySectionCoverage"), exports);
|
|
25
|
+
__exportStar(require("./IAutoMovieRecoverySectionReport"), exports);
|
|
26
|
+
__exportStar(require("./IAutoMovieRecoverySectionSummary"), exports);
|
|
27
|
+
__exportStar(require("./IAutoMovieRecoverySections"), exports);
|
|
28
|
+
__exportStar(require("./IAutoMovieRecoverySectionsInput"), exports);
|
|
29
|
+
__exportStar(require("./IAutoMovieRecoverySlabPair"), exports);
|
|
30
|
+
__exportStar(require("./IAutoMovieRecoverySlabs"), exports);
|
|
31
|
+
__exportStar(require("./IAutoMovieRecoverySlabsInput"), exports);
|
|
32
|
+
__exportStar(require("./IAutoMovieRecoverySourceTerminal"), exports);
|
|
33
|
+
__exportStar(require("./IAutoMovieRecoveryTerminalSeed"), exports);
|
|
34
|
+
__exportStar(require("./IAutoMovieRecoveryTopologyGap"), exports);
|
|
35
|
+
__exportStar(require("./IAutoMovieRecoveryUnconsumedEvent"), exports);
|
|
3
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/structures/mesh/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/structures/mesh/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,yEAAuD;AACvD,0EAAwD;AACxD,mEAAiD;AACjD,oEAAkD;AAClD,sEAAoD;AACpD,mEAAiD;AACjD,sEAAoD;AACpD,oEAAkD;AAClD,qEAAmD;AACnD,+DAA6C;AAC7C,oEAAkD;AAClD,+DAA6C;AAC7C,4DAA0C;AAC1C,iEAA+C;AAC/C,qEAAmD;AACnD,mEAAiD;AACjD,kEAAgD;AAChD,sEAAoD"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
1
|
+
export * from "./IAutoMovieRecoveryArchiveInput";
|
|
2
|
+
export * from "./IAutoMovieRecoveryArchivedModel";
|
|
3
|
+
export * from "./IAutoMovieRecoveryArrayFragment";
|
|
4
|
+
export * from "./IAutoMovieRecoveryArraySource";
|
|
5
|
+
export * from "./IAutoMovieRecoveryArtifact";
|
|
6
|
+
export * from "./IAutoMovieRecoveryArtifactCoverage";
|
|
7
|
+
export * from "./IAutoMovieRecoveryArtifactInput";
|
|
8
|
+
export * from "./IAutoMovieRecoveryByteDigest";
|
|
9
|
+
export * from "./IAutoMovieRecoveryCompletion";
|
|
10
|
+
export * from "./IAutoMovieRecoveryContourFileMesh";
|
|
11
|
+
export * from "./IAutoMovieRecoveryFileReceipt";
|
|
12
|
+
export * from "./IAutoMovieRecoveryFrontierChannel";
|
|
13
|
+
export * from "./IAutoMovieRecoveryLocalBinding";
|
|
14
|
+
export * from "./IAutoMovieRecoveryLocalResult";
|
|
15
|
+
export * from "./IAutoMovieRecoveryMemoryPeaks";
|
|
16
|
+
export * from "./IAutoMovieRecoveryMemoryUsage";
|
|
17
|
+
export * from "./IAutoMovieRecoveryMeshChunkOwner";
|
|
18
|
+
export * from "./IAutoMovieRecoveryMeshCounts";
|
|
19
|
+
export * from "./IAutoMovieRecoveryMeshFrontier";
|
|
20
|
+
export * from "./IAutoMovieRecoveryMeshFrontierInput";
|
|
21
|
+
export * from "./IAutoMovieRecoveryMeshSpool";
|
|
22
|
+
export * from "./IAutoMovieRecoveryMetadata";
|
|
23
|
+
export * from "./IAutoMovieRecoveryModelCounts";
|
|
@@ -1,3 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IAutoMovieRecoveryArchiveInput"), exports);
|
|
18
|
+
__exportStar(require("./IAutoMovieRecoveryArchivedModel"), exports);
|
|
19
|
+
__exportStar(require("./IAutoMovieRecoveryArrayFragment"), exports);
|
|
20
|
+
__exportStar(require("./IAutoMovieRecoveryArraySource"), exports);
|
|
21
|
+
__exportStar(require("./IAutoMovieRecoveryArtifact"), exports);
|
|
22
|
+
__exportStar(require("./IAutoMovieRecoveryArtifactCoverage"), exports);
|
|
23
|
+
__exportStar(require("./IAutoMovieRecoveryArtifactInput"), exports);
|
|
24
|
+
__exportStar(require("./IAutoMovieRecoveryByteDigest"), exports);
|
|
25
|
+
__exportStar(require("./IAutoMovieRecoveryCompletion"), exports);
|
|
26
|
+
__exportStar(require("./IAutoMovieRecoveryContourFileMesh"), exports);
|
|
27
|
+
__exportStar(require("./IAutoMovieRecoveryFileReceipt"), exports);
|
|
28
|
+
__exportStar(require("./IAutoMovieRecoveryFrontierChannel"), exports);
|
|
29
|
+
__exportStar(require("./IAutoMovieRecoveryLocalBinding"), exports);
|
|
30
|
+
__exportStar(require("./IAutoMovieRecoveryLocalResult"), exports);
|
|
31
|
+
__exportStar(require("./IAutoMovieRecoveryMemoryPeaks"), exports);
|
|
32
|
+
__exportStar(require("./IAutoMovieRecoveryMemoryUsage"), exports);
|
|
33
|
+
__exportStar(require("./IAutoMovieRecoveryMeshChunkOwner"), exports);
|
|
34
|
+
__exportStar(require("./IAutoMovieRecoveryMeshCounts"), exports);
|
|
35
|
+
__exportStar(require("./IAutoMovieRecoveryMeshFrontier"), exports);
|
|
36
|
+
__exportStar(require("./IAutoMovieRecoveryMeshFrontierInput"), exports);
|
|
37
|
+
__exportStar(require("./IAutoMovieRecoveryMeshSpool"), exports);
|
|
38
|
+
__exportStar(require("./IAutoMovieRecoveryMetadata"), exports);
|
|
39
|
+
__exportStar(require("./IAutoMovieRecoveryModelCounts"), exports);
|
|
3
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/structures/node/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/structures/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,oEAAkD;AAClD,oEAAkD;AAClD,kEAAgD;AAChD,+DAA6C;AAC7C,uEAAqD;AACrD,oEAAkD;AAClD,iEAA+C;AAC/C,iEAA+C;AAC/C,sEAAoD;AACpD,kEAAgD;AAChD,sEAAoD;AACpD,mEAAiD;AACjD,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,qEAAmD;AACnD,iEAA+C;AAC/C,mEAAiD;AACjD,wEAAsD;AACtD,gEAA8C;AAC9C,+DAA6C;AAC7C,kEAAgD"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
1
|
+
export * from "./IAutoMovieRecoveryAtlasObservation";
|
|
2
|
+
export * from "./IAutoMovieRecoveryAtlasObservationInput";
|
|
3
|
+
export * from "./IAutoMovieRecoveryAtlasTessellation";
|
|
4
|
+
export * from "./IAutoMovieRecoveryObservationAnchor";
|
|
5
|
+
export * from "./IAutoMovieRecoveryObservationChart";
|
|
6
|
+
export * from "./IAutoMovieRecoveryObservationChartSeed";
|
|
7
|
+
export * from "./IAutoMovieRecoveryObservationEntry";
|
|
8
|
+
export * from "./IAutoMovieRecoveryObservationTangents";
|
|
9
|
+
export * from "./IAutoMovieRecoveryObservationTransportRefused";
|
|
10
|
+
export * from "./IAutoMovieRecoveryObservationTransported";
|
|
11
|
+
export * from "./IAutoMovieRecoveryObservedInteriorPoint";
|
|
12
|
+
export * from "./IAutoMovieRecoveryObservedPoint";
|
|
13
|
+
export * from "./IAutoMovieRecoverySlabObservation";
|
|
14
|
+
export * from "./IAutoMovieRecoverySourceLineage";
|
|
15
|
+
export * from "./IAutoMovieRecoveryTransportedObservationRow";
|
|
@@ -1,3 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IAutoMovieRecoveryAtlasObservation"), exports);
|
|
18
|
+
__exportStar(require("./IAutoMovieRecoveryAtlasObservationInput"), exports);
|
|
19
|
+
__exportStar(require("./IAutoMovieRecoveryAtlasTessellation"), exports);
|
|
20
|
+
__exportStar(require("./IAutoMovieRecoveryObservationAnchor"), exports);
|
|
21
|
+
__exportStar(require("./IAutoMovieRecoveryObservationChart"), exports);
|
|
22
|
+
__exportStar(require("./IAutoMovieRecoveryObservationChartSeed"), exports);
|
|
23
|
+
__exportStar(require("./IAutoMovieRecoveryObservationEntry"), exports);
|
|
24
|
+
__exportStar(require("./IAutoMovieRecoveryObservationTangents"), exports);
|
|
25
|
+
__exportStar(require("./IAutoMovieRecoveryObservationTransportRefused"), exports);
|
|
26
|
+
__exportStar(require("./IAutoMovieRecoveryObservationTransported"), exports);
|
|
27
|
+
__exportStar(require("./IAutoMovieRecoveryObservedInteriorPoint"), exports);
|
|
28
|
+
__exportStar(require("./IAutoMovieRecoveryObservedPoint"), exports);
|
|
29
|
+
__exportStar(require("./IAutoMovieRecoverySlabObservation"), exports);
|
|
30
|
+
__exportStar(require("./IAutoMovieRecoverySourceLineage"), exports);
|
|
31
|
+
__exportStar(require("./IAutoMovieRecoveryTransportedObservationRow"), exports);
|
|
3
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/structures/observation/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/structures/observation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,4EAA0D;AAC1D,wEAAsD;AACtD,wEAAsD;AACtD,uEAAqD;AACrD,2EAAyD;AACzD,uEAAqD;AACrD,0EAAwD;AACxD,kFAAgE;AAChE,6EAA2D;AAC3D,4EAA0D;AAC1D,oEAAkD;AAClD,sEAAoD;AACpD,oEAAkD;AAClD,gFAA8D"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
1
|
+
export * from "./IAutoMovieRecoveryAnalyticPublication";
|
|
2
|
+
export * from "./IAutoMovieRecoveryCompleted";
|
|
3
|
+
export * from "./IAutoMovieRecoveryDefaultObservationOptions";
|
|
4
|
+
export * from "./IAutoMovieRecoveryInputHashes";
|
|
5
|
+
export * from "./IAutoMovieRecoveryObservationOptions";
|
|
6
|
+
export * from "./IAutoMovieRecoveryOptions";
|
|
7
|
+
export * from "./IAutoMovieRecoveryOutcome";
|
|
8
|
+
export * from "./IAutoMovieRecoveryPublication";
|
|
9
|
+
export * from "./IAutoMovieRecoveryPublicationOptions";
|
|
10
|
+
export * from "./IAutoMovieRecoveryTerminated";
|
|
@@ -1,3 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IAutoMovieRecoveryAnalyticPublication"), exports);
|
|
18
|
+
__exportStar(require("./IAutoMovieRecoveryCompleted"), exports);
|
|
19
|
+
__exportStar(require("./IAutoMovieRecoveryDefaultObservationOptions"), exports);
|
|
20
|
+
__exportStar(require("./IAutoMovieRecoveryInputHashes"), exports);
|
|
21
|
+
__exportStar(require("./IAutoMovieRecoveryObservationOptions"), exports);
|
|
22
|
+
__exportStar(require("./IAutoMovieRecoveryOptions"), exports);
|
|
23
|
+
__exportStar(require("./IAutoMovieRecoveryOutcome"), exports);
|
|
24
|
+
__exportStar(require("./IAutoMovieRecoveryPublication"), exports);
|
|
25
|
+
__exportStar(require("./IAutoMovieRecoveryPublicationOptions"), exports);
|
|
26
|
+
__exportStar(require("./IAutoMovieRecoveryTerminated"), exports);
|
|
3
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/structures/operation/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/structures/operation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0EAAwD;AACxD,gEAA8C;AAC9C,gFAA8D;AAC9D,kEAAgD;AAChD,yEAAuD;AACvD,8DAA4C;AAC5C,8DAA4C;AAC5C,kEAAgD;AAChD,yEAAuD;AACvD,iEAA+C"}
|
package/lib/typings/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
1
|
+
export * from "./AutoMovieRecoveryCurveData";
|
|
2
|
+
export * from "./AutoMovieRecoveryCurveFormat";
|
|
3
|
+
export * from "./AutoMovieRecoveryObservationProvenance";
|
|
4
|
+
export * from "./AutoMovieRecoveryObservationTransport";
|
|
5
|
+
export * from "./AutoMovieRecoveryOperator";
|
|
6
|
+
export * from "./IAutoMovieRecoveryResult";
|
package/lib/typings/index.js
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AutoMovieRecoveryCurveData"), exports);
|
|
18
|
+
__exportStar(require("./AutoMovieRecoveryCurveFormat"), exports);
|
|
19
|
+
__exportStar(require("./AutoMovieRecoveryObservationProvenance"), exports);
|
|
20
|
+
__exportStar(require("./AutoMovieRecoveryObservationTransport"), exports);
|
|
21
|
+
__exportStar(require("./AutoMovieRecoveryOperator"), exports);
|
|
22
|
+
__exportStar(require("./IAutoMovieRecoveryResult"), exports);
|
|
3
23
|
//# sourceMappingURL=index.js.map
|
package/lib/typings/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typings/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,iEAA+C;AAC/C,2EAAyD;AACzD,0EAAwD;AACxD,8DAA4C;AAC5C,6DAA2C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automovie/recovery",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Source-independent recovery workflows and Node artifact commands",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@automovie/
|
|
32
|
-
"@automovie/
|
|
31
|
+
"@automovie/engine": "^0.2.0",
|
|
32
|
+
"@automovie/interface": "^0.2.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"rimraf": "^6.0.1",
|
|
36
|
-
"ttsc": "^0.
|
|
36
|
+
"ttsc": "^0.37.0",
|
|
37
37
|
"typescript": "^7.0.2",
|
|
38
|
-
"@ttsc/lint": "^0.
|
|
38
|
+
"@ttsc/lint": "^0.37.0",
|
|
39
39
|
"@wrtnlabs/evidence": "^0.8.2",
|
|
40
|
-
"@ttsc/evidence": "^0.
|
|
40
|
+
"@ttsc/evidence": "^0.37.0",
|
|
41
41
|
"@types/node": "^22.19.17"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
package/src/compilation/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from "./compileAutoMovieRecoveryImageLoft";
|
|
2
|
+
export * from "./compileAutoMovieRecoverySupportLoft";
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { AutoMovieBernstein64 as B } from "@automovie/engine";
|
|
2
|
+
|
|
3
|
+
import { AutoMovieRecoveryConicApproximation as Conic } from "./AutoMovieRecoveryConicApproximation";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Planar coefficient-reduction experiment, independent of source meshes.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/development/common.md#meaningful-documentation Defines physical units, source observation knots, coefficient charts and sampled evidence limits.
|
|
9
|
+
* @evidence contracts/development/design.md#principled-representation Discriminated polynomial and positive rational coefficients retain domains and millimetre coordinates.
|
|
10
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface Recovery owns the fitter contract used by the experiment and portable tests; the existing planar source contract is reused.
|
|
11
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts No specimen, baked observation, mesh fallback or global-minimum claim is represented.
|
|
12
|
+
*/
|
|
13
|
+
export namespace AutoMovieRecoveryCompactApproximation {
|
|
14
|
+
/**
|
|
15
|
+
* Source knots are observation locations, not mandatory output boundaries.
|
|
16
|
+
* The inherited breaks alone identify actual corners that cannot be crossed.
|
|
17
|
+
*
|
|
18
|
+
* @evidence contracts/development/common.md#meaningful-documentation Separates source sampling support from immutable feature boundaries and inherits millimetre callback units.
|
|
19
|
+
* @evidence contracts/development/design.md#principled-representation A readonly interior knot list records piecewise source support without forcing its old representation into the result.
|
|
20
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface Extends the existing planar callback owner only with support needed by fitting and independent checks.
|
|
21
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts No source controls or anatomy-specific measurements enter this generic contract.
|
|
22
|
+
*/
|
|
23
|
+
export interface ICurve extends Conic.ICurve {
|
|
24
|
+
/** Every source piece boundary, strictly inside domain, for observation coverage. */
|
|
25
|
+
knots: readonly number[];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Error and finite work controls for a fixed-degree or storage-selected fit.
|
|
30
|
+
*
|
|
31
|
+
* @evidence contracts/development/common.md#meaningful-documentation States geometric tolerance, candidate degrees and distinct output, subdivision and callback budgets.
|
|
32
|
+
* @evidence contracts/development/design.md#principled-representation Closed degree choices prevent unsupported fitting modes; positive finite limits require runtime admission.
|
|
33
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface These controls are read by the current fitter and comparison consumer.
|
|
34
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts No specimen preset, hidden quality mode or tolerance relaxation is supplied.
|
|
35
|
+
*/
|
|
36
|
+
export interface IOptions {
|
|
37
|
+
/** Maximum admitted held-out correspondence discrepancy, millimetres. */
|
|
38
|
+
toleranceMm: number;
|
|
39
|
+
/** Mixed admits one conic and polynomial degrees three through five. */
|
|
40
|
+
degree: 3 | 4 | 5 | "mixed";
|
|
41
|
+
/** Maximum accepted plus unresolved leaf pieces. */
|
|
42
|
+
maximumPieces: number;
|
|
43
|
+
/** Maximum binary subdivision depth per initial chart. */
|
|
44
|
+
maximumDepth: number;
|
|
45
|
+
/** Maximum source evaluate/derivative invocations, including conic fitting. */
|
|
46
|
+
maximumQueries: number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Source-registered polynomial or bitangent conic coefficient record.
|
|
51
|
+
* Polynomial u=(t-a)/(b-a); a conic's u is its own rational parameter.
|
|
52
|
+
*
|
|
53
|
+
* @evidence contracts/development/common.md#meaningful-documentation Distinguishes source registration from rational speed and identifies sampled error and millimetre controls.
|
|
54
|
+
* @evidence contracts/development/design.md#principled-representation The closed union requires exactly the fields for polynomial or normalized rational evaluation.
|
|
55
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface One union supports fitting, coefficient-only generation and storage comparison.
|
|
56
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts No source evaluator or dense sample table is retained in output.
|
|
57
|
+
*/
|
|
58
|
+
export type IPiece = {
|
|
59
|
+
/** Selects polynomial Bernstein evaluation and linear source registration. */
|
|
60
|
+
kind: "polynomial";
|
|
61
|
+
/** Actual polynomial degree; there are degree plus one planar controls. */
|
|
62
|
+
degree: 3 | 4 | 5;
|
|
63
|
+
/** Ordered original source interval, in the callback's parameter unit. */
|
|
64
|
+
domain: readonly [number, number];
|
|
65
|
+
/** Bernstein controls in the source's planar millimetre coordinate frame. */
|
|
66
|
+
controls: readonly Conic.Point[];
|
|
67
|
+
/** Largest observed fitting/held-out correspondence discrepancy, millimetres. */
|
|
68
|
+
maximumSampleErrorMm: number;
|
|
69
|
+
} | {
|
|
70
|
+
/** Selects rational quadratic evaluation with independent local speed. */
|
|
71
|
+
kind: "conic";
|
|
72
|
+
/** Source interval represented by this conic, without equal-speed implication. */
|
|
73
|
+
domain: readonly [number, number];
|
|
74
|
+
/** Planar millimetre endpoint, tangent intersection, endpoint coefficients. */
|
|
75
|
+
controls: readonly [Conic.Point, Conic.Point, Conic.Point];
|
|
76
|
+
/** Positive dimensionless middle weight; both endpoint weights are one. */
|
|
77
|
+
weight: number;
|
|
78
|
+
/** Largest fitting/held-out radial correspondence discrepancy, millimetres. */
|
|
79
|
+
maximumSampleErrorMm: number;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Admitted coefficients, omitted-domain status and explicit evidence scope.
|
|
84
|
+
*
|
|
85
|
+
* @evidence contracts/development/common.md#meaningful-documentation Defines completion as sampled fit coverage, not continuous error, topology or likeness certification.
|
|
86
|
+
* @evidence contracts/development/design.md#principled-representation The status union and immutable coefficients distinguish complete, incomplete and empty refused outputs.
|
|
87
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface The comparison consumes every reported measurement, including numeric storage and callback cost.
|
|
88
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts certified is always false because held-out samples do not establish continuous Hausdorff bounds.
|
|
89
|
+
*/
|
|
90
|
+
export interface IResult {
|
|
91
|
+
/** Whether sampled fitting covered the entire requested domain, only part, or none. */
|
|
92
|
+
status: "complete" | "partial" | "refused";
|
|
93
|
+
/** Ordered admitted coefficient records; omitted domains have no fabricated piece. */
|
|
94
|
+
pieces: readonly IPiece[];
|
|
95
|
+
/** Maximum sampled discrepancy across retained pieces, millimetres; zero when empty. */
|
|
96
|
+
maximumSampleErrorMm: number;
|
|
97
|
+
/** Numeric coefficient/chart count under storedScalars' planar seam-sharing convention. */
|
|
98
|
+
storedScalars: number;
|
|
99
|
+
/** Actual source position and derivative callback invocations, including nested conic fitting. */
|
|
100
|
+
queries: number;
|
|
101
|
+
/** Representation limitations, numerical admission failures and omitted-domain reasons. */
|
|
102
|
+
diagnostics: readonly string[];
|
|
103
|
+
/** Always false: finite fitting/held-out observations are not continuous error certificates. */
|
|
104
|
+
certified: false;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Evaluate only saved coefficients at the piece's own normalized parameter.
|
|
109
|
+
*
|
|
110
|
+
* @evidence contracts/development/common.md#meaningful-documentation States normalized parameter and millimetre output, and does not borrow a source evaluator.
|
|
111
|
+
* @evidence contracts/development/implementation.md#principled-implementation Existing engine Bernstein evaluation and the existing rational conic quotient implement the two admitted representations.
|
|
112
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One dispatch keeps generation and fitter coefficient semantics identical.
|
|
113
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No resampling, source interpolation or fallback curve changes stored coefficients.
|
|
114
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Degree is at most five; two scalar Bernstein evaluations use constant bounded work and storage.
|
|
115
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Rational evaluation reuses the existing conic owner; polynomial evaluation reuses engine algebra.
|
|
116
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Temporary scalar arrays expire after each pure call; no input or handle is retained.
|
|
117
|
+
*/
|
|
118
|
+
export function evaluate(piece: IPiece, u: number): Conic.Point {
|
|
119
|
+
if (piece.kind === "conic") return Conic.evaluate(piece, u);
|
|
120
|
+
return [
|
|
121
|
+
B.scalar(piece.controls.map((p: Conic.Point): number => p[0]), u),
|
|
122
|
+
B.scalar(piece.controls.map((p: Conic.Point): number => p[1]), u),
|
|
123
|
+
];
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Count the actual planar numeric representation, including chart metadata.
|
|
128
|
+
* Adjacent equal endpoints are counted once; corners may share position.
|
|
129
|
+
*
|
|
130
|
+
* @evidence contracts/development/common.md#meaningful-documentation Defines two coordinates per control, one degree or weight, two interval endpoints and exact shared-endpoint accounting.
|
|
131
|
+
* @evidence contracts/development/implementation.md#principled-implementation Direct coefficient cardinality measures stored numbers rather than output tessellation or source observation counts.
|
|
132
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure The same owner supplies candidate and final representation cost.
|
|
133
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Coordinate plane reduction is not attributed to polynomial degree, and no approximate endpoint equality hides a gap.
|
|
134
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms One pass over P pieces costs O(P) with scalar scratch only.
|
|
135
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Adjacent controls are read once per seam; no sample generation is needed.
|
|
136
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The function borrows the immutable coefficient array and retains no data after return.
|
|
137
|
+
*/
|
|
138
|
+
export function storedScalars(pieces: readonly IPiece[]): number {
|
|
139
|
+
let total: number = 0;
|
|
140
|
+
let previous: Conic.Point | undefined;
|
|
141
|
+
for (const piece of pieces) {
|
|
142
|
+
total += 2 * piece.controls.length + 3;
|
|
143
|
+
const first: Conic.Point = piece.controls[0]!;
|
|
144
|
+
if (previous !== undefined && previous[0] === first[0] && previous[1] === first[1]) total -= 2;
|
|
145
|
+
previous = piece.controls.at(-1)!;
|
|
146
|
+
}
|
|
147
|
+
return total;
|
|
148
|
+
}
|
|
149
|
+
}
|