@automovie/recovery 0.1.0 → 0.3.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.
Files changed (1194) hide show
  1. package/lib/compilation/compileAutoMovieRecoveryImageLoft.d.ts +1 -4
  2. package/lib/compilation/compileAutoMovieRecoveryImageLoft.js.map +1 -1
  3. package/lib/compilation/compileAutoMovieRecoverySupportLoft.d.ts +1 -4
  4. package/lib/compilation/compileAutoMovieRecoverySupportLoft.js.map +1 -1
  5. package/lib/curves/AutoMovieRecoveryCompactApproximation.d.ts +36 -0
  6. package/lib/curves/AutoMovieRecoveryCompactApproximation.js +64 -0
  7. package/lib/curves/AutoMovieRecoveryCompactApproximation.js.map +1 -0
  8. package/lib/curves/AutoMovieRecoveryConicApproximation.d.ts +82 -0
  9. package/lib/curves/AutoMovieRecoveryConicApproximation.js +125 -0
  10. package/lib/curves/AutoMovieRecoveryConicApproximation.js.map +1 -0
  11. package/lib/curves/approximateAutoMovieRecoveryCompactCurves.d.ts +30 -0
  12. package/lib/curves/approximateAutoMovieRecoveryCompactCurves.js +369 -0
  13. package/lib/curves/approximateAutoMovieRecoveryCompactCurves.js.map +1 -0
  14. package/lib/curves/approximateAutoMovieRecoveryConicsAhn.d.ts +39 -0
  15. package/lib/curves/approximateAutoMovieRecoveryConicsAhn.js +320 -0
  16. package/lib/curves/approximateAutoMovieRecoveryConicsAhn.js.map +1 -0
  17. package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.d.ts +32 -0
  18. package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.js +353 -0
  19. package/lib/curves/approximateAutoMovieRecoveryConicsGhosh.js.map +1 -0
  20. package/lib/curves/convertAutoMovieRecoveryCurves.d.ts +1 -2
  21. package/lib/curves/convertAutoMovieRecoveryCurves.js.map +1 -1
  22. package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.d.ts +34 -0
  23. package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.js +134 -0
  24. package/lib/curves/findAutoMovieRecoveryCubicCriticalParameters.js.map +1 -0
  25. package/lib/curves/index.d.ts +5 -0
  26. package/lib/curves/index.js +5 -0
  27. package/lib/curves/index.js.map +1 -1
  28. package/lib/fitting/fitAutoMovieRecoveryImageLoft.d.ts +1 -5
  29. package/lib/fitting/fitAutoMovieRecoveryImageLoft.js +30 -8
  30. package/lib/fitting/fitAutoMovieRecoveryImageLoft.js.map +1 -1
  31. package/lib/fitting/fitAutoMovieRecoveryImageSupportLoft.d.ts +1 -5
  32. package/lib/fitting/fitAutoMovieRecoveryImageSupportLoft.js +30 -8
  33. package/lib/fitting/fitAutoMovieRecoveryImageSupportLoft.js.map +1 -1
  34. package/lib/internal/GhoshConicApproximationBalance.d.ts +23 -0
  35. package/lib/internal/GhoshConicApproximationBalance.js +177 -0
  36. package/lib/internal/GhoshConicApproximationBalance.js.map +1 -0
  37. package/lib/internal/GhoshConicApproximationDisplacement.d.ts +21 -0
  38. package/lib/internal/GhoshConicApproximationDisplacement.js +77 -0
  39. package/lib/internal/GhoshConicApproximationDisplacement.js.map +1 -0
  40. package/lib/internal/IRecoveryAuthorityRecord.d.ts +1 -11
  41. package/lib/internal/IRecoveryChartLeafControls.d.ts +1 -75
  42. package/lib/internal/IRecoveryChartLeafFit.d.ts +1 -100
  43. package/lib/internal/IRecoveryDiskChart.d.ts +1 -66
  44. package/lib/internal/IRecoveryMultiBoundaryChart.d.ts +1 -53
  45. package/lib/internal/IRecoveryOpenContinuationRow.d.ts +1 -19
  46. package/lib/internal/IRecoveryOpenSlabGraph.d.ts +1 -94
  47. package/lib/internal/RecoveryAnnularChart.d.ts +2 -15
  48. package/lib/internal/RecoveryAnnularChart.js.map +1 -1
  49. package/lib/internal/RecoveryAtlasObservationChart.d.ts +2 -29
  50. package/lib/internal/RecoveryAtlasObservationChart.js.map +1 -1
  51. package/lib/internal/RecoveryAtlasObservationCreases.d.ts +2 -18
  52. package/lib/internal/RecoveryAtlasObservationCreases.js.map +1 -1
  53. package/lib/internal/RecoveryAtlasObservationFeatures.d.ts +2 -27
  54. package/lib/internal/RecoveryAtlasObservationFeatures.js.map +1 -1
  55. package/lib/internal/RecoveryAtlasObservationNormals.d.ts +2 -2
  56. package/lib/internal/RecoveryAtlasObservationNormals.js.map +1 -1
  57. package/lib/internal/RecoveryAtlasObservationPublish.d.ts +2 -33
  58. package/lib/internal/RecoveryAtlasObservationPublish.js.map +1 -1
  59. package/lib/internal/RecoveryAtlasObservationSource.d.ts +2 -13
  60. package/lib/internal/RecoveryAtlasObservationSource.js.map +1 -1
  61. package/lib/internal/RecoveryBezierFit.d.ts +5 -51
  62. package/lib/internal/RecoveryBezierFit.js +6 -4
  63. package/lib/internal/RecoveryBezierFit.js.map +1 -1
  64. package/lib/internal/RecoveryChartAreaObservations.d.ts +2 -18
  65. package/lib/internal/RecoveryChartAreaObservations.js.map +1 -1
  66. package/lib/internal/RecoveryChartAssembly.d.ts +2 -30
  67. package/lib/internal/RecoveryChartAssembly.js +8 -11
  68. package/lib/internal/RecoveryChartAssembly.js.map +1 -1
  69. package/lib/internal/RecoveryChartBatch.d.ts +2 -24
  70. package/lib/internal/RecoveryChartBatch.js.map +1 -1
  71. package/lib/internal/RecoveryChartBoundary.d.ts +2 -19
  72. package/lib/internal/RecoveryChartBoundary.js +6 -1
  73. package/lib/internal/RecoveryChartBoundary.js.map +1 -1
  74. package/lib/internal/RecoveryChartBoundaryNetwork.d.ts +2 -41
  75. package/lib/internal/RecoveryChartBoundaryNetwork.js.map +1 -1
  76. package/lib/internal/RecoveryChartBoundaryNetworkAugment.d.ts +2 -5
  77. package/lib/internal/RecoveryChartBoundaryNetworkAugment.js.map +1 -1
  78. package/lib/internal/RecoveryChartBoundaryNetworkBindings.d.ts +2 -5
  79. package/lib/internal/RecoveryChartBoundaryNetworkBindings.js +6 -1
  80. package/lib/internal/RecoveryChartBoundaryNetworkBindings.js.map +1 -1
  81. package/lib/internal/RecoveryChartBoundaryNetworkRegistry.d.ts +2 -34
  82. package/lib/internal/RecoveryChartBoundaryNetworkRegistry.js.map +1 -1
  83. package/lib/internal/RecoveryChartBoxSolve.d.ts +2 -20
  84. package/lib/internal/RecoveryChartBoxSolve.js.map +1 -1
  85. package/lib/internal/RecoveryChartCollar.d.ts +2 -36
  86. package/lib/internal/RecoveryChartCollar.js.map +1 -1
  87. package/lib/internal/RecoveryChartControlRelations.d.ts +2 -40
  88. package/lib/internal/RecoveryChartControlRelations.js.map +1 -1
  89. package/lib/internal/RecoveryChartFit.d.ts +5 -198
  90. package/lib/internal/RecoveryChartFit.js +3 -3
  91. package/lib/internal/RecoveryChartFit.js.map +1 -1
  92. package/lib/internal/RecoveryChartFitPrepare.d.ts +2 -19
  93. package/lib/internal/RecoveryChartFitPrepare.js.map +1 -1
  94. package/lib/internal/RecoveryChartFitReport.d.ts +2 -8
  95. package/lib/internal/RecoveryChartFitReport.js +1 -3
  96. package/lib/internal/RecoveryChartFitReport.js.map +1 -1
  97. package/lib/internal/RecoveryChartFitRows.d.ts +2 -17
  98. package/lib/internal/RecoveryChartFitRows.js.map +1 -1
  99. package/lib/internal/RecoveryChartFitSolve.d.ts +2 -17
  100. package/lib/internal/RecoveryChartFitSolve.js.map +1 -1
  101. package/lib/internal/RecoveryChartFitSystem.d.ts +2 -19
  102. package/lib/internal/RecoveryChartFitSystem.js.map +1 -1
  103. package/lib/internal/RecoveryChartLeafAssembly.d.ts +2 -23
  104. package/lib/internal/RecoveryChartLeafAssembly.js.map +1 -1
  105. package/lib/internal/RecoveryChartLeafControls.d.ts +2 -2
  106. package/lib/internal/RecoveryChartLeafControls.js.map +1 -1
  107. package/lib/internal/RecoveryChartLeafFit.d.ts +2 -2
  108. package/lib/internal/RecoveryChartLeafFit.js.map +1 -1
  109. package/lib/internal/RecoveryChartMap.d.ts +5 -50
  110. package/lib/internal/RecoveryChartMap.js +3 -3
  111. package/lib/internal/RecoveryChartMap.js.map +1 -1
  112. package/lib/internal/RecoveryChartPhysicalJet.d.ts +2 -40
  113. package/lib/internal/RecoveryChartPhysicalJet.js.map +1 -1
  114. package/lib/internal/RecoveryChartReachableBox.d.ts +2 -36
  115. package/lib/internal/RecoveryChartReachableBox.js.map +1 -1
  116. package/lib/internal/RecoveryChartRefinementClosure.d.ts +2 -28
  117. package/lib/internal/RecoveryChartRefinementClosure.js.map +1 -1
  118. package/lib/internal/RecoveryChartSurface.d.ts +5 -61
  119. package/lib/internal/RecoveryChartSurface.js +3 -3
  120. package/lib/internal/RecoveryChartSurface.js.map +1 -1
  121. package/lib/internal/RecoveryDiskChart.d.ts +2 -2
  122. package/lib/internal/RecoveryDiskChart.js +3 -1
  123. package/lib/internal/RecoveryDiskChart.js.map +1 -1
  124. package/lib/internal/RecoveryEventRegion.d.ts +2 -145
  125. package/lib/internal/RecoveryEventRegion.js.map +1 -1
  126. package/lib/internal/RecoveryEventRegionCells.d.ts +2 -18
  127. package/lib/internal/RecoveryEventRegionCells.js.map +1 -1
  128. package/lib/internal/RecoveryEventRegionPorts.d.ts +2 -9
  129. package/lib/internal/RecoveryEventRegionPorts.js +1 -1
  130. package/lib/internal/RecoveryEventRegionPorts.js.map +1 -1
  131. package/lib/internal/RecoveryEventRegionSource.d.ts +2 -12
  132. package/lib/internal/RecoveryEventRegionSource.js.map +1 -1
  133. package/lib/internal/RecoveryEventRegionTopology.d.ts +2 -14
  134. package/lib/internal/RecoveryEventRegionTopology.js.map +1 -1
  135. package/lib/internal/RecoveryFeatureChartCuts.d.ts +2 -49
  136. package/lib/internal/RecoveryFeatureChartCuts.js.map +1 -1
  137. package/lib/internal/RecoveryFeatureChartCutsFans.d.ts +3 -4
  138. package/lib/internal/RecoveryFeatureChartCutsFans.js.map +1 -1
  139. package/lib/internal/RecoveryFeatureChartCutsSeams.d.ts +2 -36
  140. package/lib/internal/RecoveryFeatureChartCutsSeams.js.map +1 -1
  141. package/lib/internal/RecoveryFeatureChartCutsSubdivide.d.ts +2 -34
  142. package/lib/internal/RecoveryFeatureChartCutsSubdivide.js +3 -1
  143. package/lib/internal/RecoveryFeatureChartCutsSubdivide.js.map +1 -1
  144. package/lib/internal/RecoveryFeatureChartCutsTopology.d.ts +2 -18
  145. package/lib/internal/RecoveryFeatureChartCutsTopology.js.map +1 -1
  146. package/lib/internal/RecoveryFeatureChartPreparation.d.ts +2 -26
  147. package/lib/internal/RecoveryFeatureChartPreparation.js.map +1 -1
  148. package/lib/internal/RecoveryLocalResult.d.ts +1 -45
  149. package/lib/internal/RecoveryLocalRunReport.d.ts +1 -39
  150. package/lib/internal/RecoveryMultiBoundaryChart.d.ts +2 -2
  151. package/lib/internal/RecoveryMultiBoundaryChart.js +3 -1
  152. package/lib/internal/RecoveryMultiBoundaryChart.js.map +1 -1
  153. package/lib/internal/RecoveryOpenSlabGraph.d.ts +5 -41
  154. package/lib/internal/RecoveryOpenSlabGraph.js +3 -3
  155. package/lib/internal/RecoveryOpenSlabGraph.js.map +1 -1
  156. package/lib/internal/RecoveryScalarIndex.d.ts +5 -7
  157. package/lib/internal/RecoveryScalarIndex.js +3 -3
  158. package/lib/internal/RecoveryScalarIndex.js.map +1 -1
  159. package/lib/internal/RecoverySlabGraph.d.ts +6 -40
  160. package/lib/internal/RecoverySlabGraph.js +3 -3
  161. package/lib/internal/RecoverySlabGraph.js.map +1 -1
  162. package/lib/internal/admitRecoveryCameraMap.d.ts +2 -3
  163. package/lib/internal/admitRecoveryCameraMap.js.map +1 -1
  164. package/lib/internal/admitRecoveryCameraPair.d.ts +2 -9
  165. package/lib/internal/admitRecoveryCameraPair.js.map +1 -1
  166. package/lib/internal/admitRecoveryCameraScene.d.ts +2 -3
  167. package/lib/internal/admitRecoveryCameraScene.js.map +1 -1
  168. package/lib/internal/admitRecoveryMapCurvature.d.ts +1 -1
  169. package/lib/internal/analyzeRecoveryMultiBoundarySurface.d.ts +2 -12
  170. package/lib/internal/analyzeRecoveryMultiBoundarySurface.js.map +1 -1
  171. package/lib/internal/assembleRecoveryMapCurvature.d.ts +1 -5
  172. package/lib/internal/assembleRecoveryMapCurvature.js.map +1 -1
  173. package/lib/internal/assertRecoveryImageChart.d.ts +2 -12
  174. package/lib/internal/assertRecoveryImageChart.js.map +1 -1
  175. package/lib/internal/bindRecoveryOrderedFits.d.ts +2 -2
  176. package/lib/internal/bindRecoveryOrderedFits.js +7 -4
  177. package/lib/internal/bindRecoveryOrderedFits.js.map +1 -1
  178. package/lib/internal/bindRecoverySavedSectionCuts.d.ts +2 -16
  179. package/lib/internal/bindRecoverySavedSectionCuts.js.map +1 -1
  180. package/lib/internal/calibrateRecoveryEpipolarMatrix.d.ts +2 -10
  181. package/lib/internal/calibrateRecoveryEpipolarMatrix.js.map +1 -1
  182. package/lib/internal/chooseRecoverySqpTightening.d.ts +1 -2
  183. package/lib/internal/chooseRecoverySqpTightening.js.map +1 -1
  184. package/lib/internal/collectRecoveryContourFaceSupport.d.ts +2 -4
  185. package/lib/internal/collectRecoveryContourFaceSupport.js.map +1 -1
  186. package/lib/internal/collectRecoverySceneSupport.d.ts +2 -4
  187. package/lib/internal/collectRecoverySceneSupport.js.map +1 -1
  188. package/lib/internal/completeRecoverySceneCheckpoint.d.ts +2 -12
  189. package/lib/internal/completeRecoverySceneCheckpoint.js.map +1 -1
  190. package/lib/internal/copyRecoveryUntiltedEstimate.d.ts +1 -1
  191. package/lib/internal/createRecoveryCameraChart.d.ts +2 -5
  192. package/lib/internal/createRecoveryCameraChart.js.map +1 -1
  193. package/lib/internal/createRecoveryCameraEstimate.d.ts +2 -9
  194. package/lib/internal/createRecoveryCameraEstimate.js.map +1 -1
  195. package/lib/internal/createRecoveryCameraMap.d.ts +2 -6
  196. package/lib/internal/createRecoveryCameraMap.js.map +1 -1
  197. package/lib/internal/createRecoveryCameraScene.d.ts +2 -7
  198. package/lib/internal/createRecoveryCameraScene.js.map +1 -1
  199. package/lib/internal/createRecoveryFeasibleDiagnostics.d.ts +1 -2
  200. package/lib/internal/createRecoveryFeasibleDiagnostics.js.map +1 -1
  201. package/lib/internal/createRecoveryFeasibleSqpArc.d.ts +1 -3
  202. package/lib/internal/createRecoveryFeasibleSqpArc.js.map +1 -1
  203. package/lib/internal/createRecoveryImageDirectionSolver.d.ts +2 -4
  204. package/lib/internal/createRecoveryImageDirectionSolver.js.map +1 -1
  205. package/lib/internal/createRecoveryMapMetric.d.ts +1 -2
  206. package/lib/internal/createRecoveryMapMetric.js.map +1 -1
  207. package/lib/internal/createRecoveryMapTriangularMetric.d.ts +1 -1
  208. package/lib/internal/createRecoveryMapTriangularMetric.js.map +1 -1
  209. package/lib/internal/createRecoveryPoseModel.d.ts +2 -9
  210. package/lib/internal/createRecoveryPoseModel.js.map +1 -1
  211. package/lib/internal/createRecoverySceneSeedReportObserver.d.ts +2 -5
  212. package/lib/internal/createRecoverySceneSeedReportObserver.js.map +1 -1
  213. package/lib/internal/describeRecoveryDomains.d.ts +2 -4
  214. package/lib/internal/describeRecoveryDomains.js.map +1 -1
  215. package/lib/internal/describeRecoveryNamedDomains.d.ts +2 -8
  216. package/lib/internal/describeRecoveryNamedDomains.js.map +1 -1
  217. package/lib/internal/describeRecoveryOpenRun.d.ts +2 -12
  218. package/lib/internal/describeRecoveryOpenRun.js.map +1 -1
  219. package/lib/internal/describeRecoverySceneRegistration.d.ts +1 -3
  220. package/lib/internal/describeRecoverySceneRegistration.js.map +1 -1
  221. package/lib/internal/differentiateRecoveryMapProjection.d.ts +1 -2
  222. package/lib/internal/differentiateRecoveryMapProjection.js.map +1 -1
  223. package/lib/internal/encodeRecoveryDiagnosticNumber.d.ts +2 -2
  224. package/lib/internal/evaluateRecoveryScenePoint.d.ts +2 -6
  225. package/lib/internal/evaluateRecoveryScenePoint.js.map +1 -1
  226. package/lib/internal/extractRecoveryImageFeatures.d.ts +2 -15
  227. package/lib/internal/extractRecoveryImageFeatures.js.map +1 -1
  228. package/lib/internal/extractRecoveryMeshSections.d.ts +1 -3
  229. package/lib/internal/extractRecoveryMeshSections.js +4 -1
  230. package/lib/internal/extractRecoveryMeshSections.js.map +1 -1
  231. package/lib/internal/factorRecoveryMapCurvature.d.ts +1 -3
  232. package/lib/internal/factorRecoveryMapCurvature.js.map +1 -1
  233. package/lib/internal/factorRecoveryMapDesign.d.ts +1 -2
  234. package/lib/internal/factorRecoveryMapDesign.js.map +1 -1
  235. package/lib/internal/factorRecoveryMapMetric.d.ts +1 -3
  236. package/lib/internal/factorRecoveryMapMetric.js.map +1 -1
  237. package/lib/internal/fitRecoveryEpipolarConsensus.d.ts +2 -16
  238. package/lib/internal/fitRecoveryEpipolarConsensus.js.map +1 -1
  239. package/lib/internal/fitRecoveryEpipolarMatrix.d.ts +2 -4
  240. package/lib/internal/fitRecoveryEpipolarMatrix.js.map +1 -1
  241. package/lib/internal/fitRecoveryHomography.d.ts +2 -5
  242. package/lib/internal/fitRecoveryHomography.js.map +1 -1
  243. package/lib/internal/fitRecoveryHomographyConsensus.d.ts +2 -15
  244. package/lib/internal/fitRecoveryHomographyConsensus.js.map +1 -1
  245. package/lib/internal/fitRecoveryImageProfiles.d.ts +2 -8
  246. package/lib/internal/fitRecoveryImageProfiles.js.map +1 -1
  247. package/lib/internal/fitRecoveryResectionConsensus.d.ts +2 -4
  248. package/lib/internal/fitRecoveryResectionConsensus.js.map +1 -1
  249. package/lib/internal/fitRecoveryResectionDesign.d.ts +1 -3
  250. package/lib/internal/fitRecoveryResectionDesign.js.map +1 -1
  251. package/lib/internal/fitRecoveryScalarProfiles.d.ts +2 -10
  252. package/lib/internal/fitRecoveryScalarProfiles.js.map +1 -1
  253. package/lib/internal/growRecoverySceneLandmarks.d.ts +2 -8
  254. package/lib/internal/growRecoverySceneLandmarks.js.map +1 -1
  255. package/lib/internal/index.d.ts +2 -1
  256. package/lib/internal/index.js +2 -1
  257. package/lib/internal/index.js.map +1 -1
  258. package/lib/internal/initializeRecoverySceneSeed.d.ts +2 -6
  259. package/lib/internal/initializeRecoverySceneSeed.js.map +1 -1
  260. package/lib/internal/isRecoveryMapIdentityGauge.d.ts +1 -1
  261. package/lib/internal/linearizeRecoveryFeasibleMap.d.ts +1 -3
  262. package/lib/internal/linearizeRecoveryFeasibleMap.js.map +1 -1
  263. package/lib/internal/linearizeRecoveryPoseResiduals.d.ts +2 -5
  264. package/lib/internal/linearizeRecoveryPoseResiduals.js.map +1 -1
  265. package/lib/internal/linkRecoveryCameraTracks.d.ts +2 -5
  266. package/lib/internal/linkRecoveryCameraTracks.js.map +1 -1
  267. package/lib/internal/matchRecoveryImageFeatures.d.ts +2 -9
  268. package/lib/internal/matchRecoveryImageFeatures.js.map +1 -1
  269. package/lib/internal/measureRecoveryEpipolarErrors.d.ts +2 -4
  270. package/lib/internal/measureRecoveryEpipolarErrors.js.map +1 -1
  271. package/lib/internal/measureRecoveryFeasibleArithmetic.d.ts +1 -2
  272. package/lib/internal/measureRecoveryFeasibleArithmetic.js.map +1 -1
  273. package/lib/internal/measureRecoveryHomographyErrors.d.ts +2 -4
  274. package/lib/internal/measureRecoveryHomographyErrors.js.map +1 -1
  275. package/lib/internal/mesh-observations/CriticalVertex.d.ts +1 -25
  276. package/lib/internal/mesh-observations/CutPoint.d.ts +1 -30
  277. package/lib/internal/mesh-observations/IAutoMovieRecoveryIndexedMesh.d.ts +1 -20
  278. package/lib/internal/mesh-observations/Plane.d.ts +1 -19
  279. package/lib/internal/mesh-observations/Polyline.d.ts +1 -24
  280. package/lib/internal/mesh-observations/V2.d.ts +1 -9
  281. package/lib/internal/mesh-observations/V3.d.ts +1 -9
  282. package/lib/internal/mesh-observations/critical.d.ts +2 -4
  283. package/lib/internal/mesh-observations/critical.js.map +1 -1
  284. package/lib/internal/mesh-observations/cross.d.ts +2 -2
  285. package/lib/internal/mesh-observations/cross.js.map +1 -1
  286. package/lib/internal/mesh-observations/cutExact.d.ts +6 -11
  287. package/lib/internal/mesh-observations/cutExact.js +3 -3
  288. package/lib/internal/mesh-observations/cutExact.js.map +1 -1
  289. package/lib/internal/mesh-observations/dist.d.ts +2 -2
  290. package/lib/internal/mesh-observations/dist.js.map +1 -1
  291. package/lib/internal/mesh-observations/dot.d.ts +2 -2
  292. package/lib/internal/mesh-observations/dot.js.map +1 -1
  293. package/lib/internal/mesh-observations/len.d.ts +2 -2
  294. package/lib/internal/mesh-observations/len.js.map +1 -1
  295. package/lib/internal/mesh-observations/mul.d.ts +2 -2
  296. package/lib/internal/mesh-observations/mul.js +1 -5
  297. package/lib/internal/mesh-observations/mul.js.map +1 -1
  298. package/lib/internal/mesh-observations/norm.d.ts +2 -2
  299. package/lib/internal/mesh-observations/norm.js.map +1 -1
  300. package/lib/internal/mesh-observations/planeFrame.d.ts +2 -3
  301. package/lib/internal/mesh-observations/planeFrame.js.map +1 -1
  302. package/lib/internal/mesh-observations/signedArea.d.ts +2 -2
  303. package/lib/internal/mesh-observations/signedArea.js.map +1 -1
  304. package/lib/internal/mesh-observations/sourceOrientation.d.ts +2 -4
  305. package/lib/internal/mesh-observations/sourceOrientation.js.map +1 -1
  306. package/lib/internal/mesh-observations/sub.d.ts +2 -2
  307. package/lib/internal/mesh-observations/sub.js +1 -5
  308. package/lib/internal/mesh-observations/sub.js.map +1 -1
  309. package/lib/internal/mesh-observations/to2.d.ts +2 -4
  310. package/lib/internal/mesh-observations/to2.js.map +1 -1
  311. package/lib/internal/mixRecoveryFeasibleSqpStep.d.ts +2 -3
  312. package/lib/internal/mixRecoveryFeasibleSqpStep.js.map +1 -1
  313. package/lib/internal/normalizeRecoveryCourse.d.ts +2 -2
  314. package/lib/internal/normalizeRecoveryCourse.js +6 -1
  315. package/lib/internal/normalizeRecoveryCourse.js.map +1 -1
  316. package/lib/internal/normalizeRecoveryImagePoints.d.ts +2 -4
  317. package/lib/internal/normalizeRecoveryImagePoints.js.map +1 -1
  318. package/lib/internal/observeRecoveryCameraSet.d.ts +1 -2
  319. package/lib/internal/observeRecoveryCameraSet.js.map +1 -1
  320. package/lib/internal/observeRecoveryOrderedCuts.d.ts +2 -2
  321. package/lib/internal/observeRecoveryOrderedCuts.js.map +1 -1
  322. package/lib/internal/observeRecoverySection.d.ts +2 -47
  323. package/lib/internal/observeRecoverySection.js.map +1 -1
  324. package/lib/internal/observeRecoverySourceSlabs.d.ts +2 -17
  325. package/lib/internal/observeRecoverySourceSlabs.js.map +1 -1
  326. package/lib/internal/observeRecoverySourceTerminals.d.ts +2 -14
  327. package/lib/internal/observeRecoverySourceTerminals.js.map +1 -1
  328. package/lib/internal/predictRecoveryMapDecrease.d.ts +1 -1
  329. package/lib/internal/prepareRecoveryChartLeafBoundary.d.ts +2 -4
  330. package/lib/internal/prepareRecoveryChartLeafBoundary.js.map +1 -1
  331. package/lib/internal/prepareRecoveryCheckpointReportCapacity.d.ts +1 -5
  332. package/lib/internal/prepareRecoveryCheckpointReportCapacity.js.map +1 -1
  333. package/lib/internal/prepareRecoveryCriticalBrackets.d.ts +2 -10
  334. package/lib/internal/prepareRecoveryCriticalBrackets.js.map +1 -1
  335. package/lib/internal/prepareRecoveryDiskBoundary.d.ts +2 -15
  336. package/lib/internal/prepareRecoveryDiskBoundary.js.map +1 -1
  337. package/lib/internal/prepareRecoveryFeasibleMapReporting.d.ts +1 -6
  338. package/lib/internal/prepareRecoveryFeasibleMapReporting.js.map +1 -1
  339. package/lib/internal/prepareRecoveryFeasibleMapWork.d.ts +1 -5
  340. package/lib/internal/prepareRecoveryFeasibleMapWork.js.map +1 -1
  341. package/lib/internal/prepareRecoveryFeasibleReportCapacity.d.ts +1 -1
  342. package/lib/internal/prepareRecoveryFeasibleReportCapacity.js.map +1 -1
  343. package/lib/internal/prepareRecoveryImageSupports.d.ts +2 -17
  344. package/lib/internal/prepareRecoveryImageSupports.js.map +1 -1
  345. package/lib/internal/prepareRecoveryLocalContinuation.d.ts +2 -22
  346. package/lib/internal/prepareRecoveryLocalContinuation.js.map +1 -1
  347. package/lib/internal/prepareRecoveryMapJointBlocks.d.ts +1 -3
  348. package/lib/internal/prepareRecoveryMapJointBlocks.js.map +1 -1
  349. package/lib/internal/prepareRecoveryMeshIncidence.d.ts +2 -13
  350. package/lib/internal/prepareRecoveryMeshIncidence.js.map +1 -1
  351. package/lib/internal/prepareRecoveryOpenRuns.d.ts +2 -20
  352. package/lib/internal/prepareRecoveryOpenRuns.js.map +1 -1
  353. package/lib/internal/prepareRecoveryOpenSlabGraph.d.ts +4 -4
  354. package/lib/internal/prepareRecoveryOpenSlabGraph.js.map +1 -1
  355. package/lib/internal/prepareRecoverySceneFeasibleRouting.d.ts +1 -4
  356. package/lib/internal/prepareRecoverySceneFeasibleRouting.js.map +1 -1
  357. package/lib/internal/prepareRecoverySceneReportCapacity.d.ts +1 -2
  358. package/lib/internal/prepareRecoverySceneReportCapacity.js.map +1 -1
  359. package/lib/internal/projectRecoveryMapPoint.d.ts +2 -3
  360. package/lib/internal/projectRecoveryMapPoint.js.map +1 -1
  361. package/lib/internal/readRecoveryEventCurveControls.d.ts +2 -3
  362. package/lib/internal/readRecoveryEventCurveControls.js.map +1 -1
  363. package/lib/internal/readRecoveryEventCurveParent.d.ts +2 -3
  364. package/lib/internal/readRecoveryEventCurveParent.js.map +1 -1
  365. package/lib/internal/rebindRecoveryCurveAuthorities.d.ts +1 -1
  366. package/lib/internal/rebindRecoveryCurveAuthorities.js.map +1 -1
  367. package/lib/internal/reconstructRecovery.d.ts +2 -7
  368. package/lib/internal/reconstructRecovery.js.map +1 -1
  369. package/lib/internal/reconstructRecoveryOpen.d.ts +2 -30
  370. package/lib/internal/reconstructRecoveryOpen.js +6 -1
  371. package/lib/internal/reconstructRecoveryOpen.js.map +1 -1
  372. package/lib/internal/refineRecoveryCameraMap.d.ts +2 -7
  373. package/lib/internal/refineRecoveryCameraMap.js.map +1 -1
  374. package/lib/internal/refineRecoveryCameraMapFeasible.d.ts +1 -6
  375. package/lib/internal/refineRecoveryCameraMapFeasible.js.map +1 -1
  376. package/lib/internal/refineRecoveryCameraPose.d.ts +2 -21
  377. package/lib/internal/refineRecoveryCameraPose.js.map +1 -1
  378. package/lib/internal/refineRecoveryChartBoundaryChords.d.ts +2 -12
  379. package/lib/internal/refineRecoveryChartBoundaryChords.js.map +1 -1
  380. package/lib/internal/refineRecoveryEpipolarModel.d.ts +2 -11
  381. package/lib/internal/refineRecoveryEpipolarModel.js.map +1 -1
  382. package/lib/internal/refineRecoveryFeasibleState.d.ts +1 -4
  383. package/lib/internal/refineRecoveryResection.d.ts +2 -12
  384. package/lib/internal/refineRecoveryResection.js.map +1 -1
  385. package/lib/internal/restoreRecoveryCurveBasis.d.ts +1 -1
  386. package/lib/internal/restoreRecoveryCurveBasis.js.map +1 -1
  387. package/lib/internal/scoreRecoveryCameraResiduals.d.ts +2 -5
  388. package/lib/internal/scoreRecoveryCameraResiduals.js.map +1 -1
  389. package/lib/internal/selectRecoveryCameraPose.d.ts +2 -13
  390. package/lib/internal/selectRecoveryCameraPose.js.map +1 -1
  391. package/lib/internal/selectRecoveryFeasibleTrial.d.ts +1 -4
  392. package/lib/internal/selectRecoveryFeasibleTrial.js.map +1 -1
  393. package/lib/internal/selectRecoveryScalarIntervals.d.ts +2 -6
  394. package/lib/internal/selectRecoveryScalarIntervals.js.map +1 -1
  395. package/lib/internal/solveRecoveryFeasibleDirection.d.ts +1 -2
  396. package/lib/internal/solveRecoveryFeasibleDirection.js.map +1 -1
  397. package/lib/internal/solveRecoveryMapDesign.d.ts +2 -3
  398. package/lib/internal/solveRecoveryMapDesign.js.map +1 -1
  399. package/lib/internal/solveRecoveryMapJointStep.d.ts +2 -4
  400. package/lib/internal/solveRecoveryMapJointStep.js.map +1 -1
  401. package/lib/internal/spendRecoverySceneWork.d.ts +1 -2
  402. package/lib/internal/spendRecoverySceneWork.js.map +1 -1
  403. package/lib/internal/stepRecoveryMapPose.d.ts +1 -1
  404. package/lib/internal/stepRecoveryMapPose.js.map +1 -1
  405. package/lib/internal/stepRecoveryMapSeedPose.d.ts +1 -1
  406. package/lib/internal/stepRecoveryMapSeedPose.js.map +1 -1
  407. package/lib/internal/stepRecoveryRelativePose.d.ts +2 -7
  408. package/lib/internal/stepRecoveryRelativePose.js.map +1 -1
  409. package/lib/internal/triangulateRecoveryCameraPoint.d.ts +2 -13
  410. package/lib/internal/triangulateRecoveryCameraPoint.js.map +1 -1
  411. package/lib/internal/triangulateRecoverySceneTrack.d.ts +2 -6
  412. package/lib/internal/triangulateRecoverySceneTrack.js.map +1 -1
  413. package/lib/internal/updateRecoveryRegularization.d.ts +1 -1
  414. package/lib/internal/validateRecoveryContourResume.d.ts +1 -1
  415. package/lib/internal/validateRecoveryContourResume.js.map +1 -1
  416. package/lib/internal/validateRecoveryMapMetricRow.d.ts +1 -1
  417. package/lib/observation/AutoMovieRecoveryEventCurve.d.ts +9 -13
  418. package/lib/observation/AutoMovieRecoveryEventCurve.js +6 -4
  419. package/lib/observation/AutoMovieRecoveryEventCurve.js.map +1 -1
  420. package/lib/observation/AutoMovieRecoveryMeshSections.d.ts +4 -6
  421. package/lib/observation/AutoMovieRecoveryMeshSections.js +3 -3
  422. package/lib/observation/AutoMovieRecoveryMeshSections.js.map +1 -1
  423. package/lib/observation/AutoMovieRecoveryOrderedLineage.d.ts +6 -192
  424. package/lib/observation/AutoMovieRecoveryOrderedLineage.js +3 -3
  425. package/lib/observation/AutoMovieRecoveryOrderedLineage.js.map +1 -1
  426. package/lib/observation/estimateAutoMovieRecoveryCameraMap.d.ts +3 -6
  427. package/lib/observation/estimateAutoMovieRecoveryCameraMap.js +17 -12
  428. package/lib/observation/estimateAutoMovieRecoveryCameraMap.js.map +1 -1
  429. package/lib/observation/estimateAutoMovieRecoveryCameraPair.d.ts +3 -6
  430. package/lib/observation/estimateAutoMovieRecoveryCameraPair.js +17 -12
  431. package/lib/observation/estimateAutoMovieRecoveryCameraPair.js.map +1 -1
  432. package/lib/observation/estimateAutoMovieRecoveryCameraScene.d.ts +3 -6
  433. package/lib/observation/estimateAutoMovieRecoveryCameraScene.js +17 -12
  434. package/lib/observation/estimateAutoMovieRecoveryCameraScene.js.map +1 -1
  435. package/lib/observation/observeAutoMovieRecovery.d.ts +1 -8
  436. package/lib/observation/observeAutoMovieRecovery.js +37 -21
  437. package/lib/observation/observeAutoMovieRecovery.js.map +1 -1
  438. package/lib/observation/observeAutoMovieRecoveryAtlas.d.ts +2 -3
  439. package/lib/observation/observeAutoMovieRecoveryAtlas.js.map +1 -1
  440. package/lib/observation/observeAutoMovieRecoveryImages.d.ts +1 -3
  441. package/lib/observation/observeAutoMovieRecoveryImages.js +30 -8
  442. package/lib/observation/observeAutoMovieRecoveryImages.js.map +1 -1
  443. package/lib/observation/observeAutoMovieRecoveryPolyline.d.ts +2 -7
  444. package/lib/observation/observeAutoMovieRecoveryPolyline.js +48 -32
  445. package/lib/observation/observeAutoMovieRecoveryPolyline.js.map +1 -1
  446. package/lib/observation/observeAutoMovieRecoverySections.d.ts +2 -7
  447. package/lib/observation/observeAutoMovieRecoverySections.js +94 -77
  448. package/lib/observation/observeAutoMovieRecoverySections.js.map +1 -1
  449. package/lib/observation/observeAutoMovieRecoverySlabs.d.ts +3 -6
  450. package/lib/observation/observeAutoMovieRecoverySlabs.js +38 -22
  451. package/lib/observation/observeAutoMovieRecoverySlabs.js.map +1 -1
  452. package/lib/observation/prepareAutoMovieRecoveryInput.d.ts +1 -3
  453. package/lib/observation/prepareAutoMovieRecoveryInput.js.map +1 -1
  454. package/lib/observation/resumeAutoMovieRecoveryContours.d.ts +2 -6
  455. package/lib/observation/resumeAutoMovieRecoveryContours.js +36 -20
  456. package/lib/observation/resumeAutoMovieRecoveryContours.js.map +1 -1
  457. package/lib/observation/transportAutoMovieRecoveryObservationChart.d.ts +2 -4
  458. package/lib/observation/transportAutoMovieRecoveryObservationChart.js +2 -8
  459. package/lib/observation/transportAutoMovieRecoveryObservationChart.js.map +1 -1
  460. package/lib/reconstruction/AutoMovieRecoveryOpenContinuation.d.ts +4 -6
  461. package/lib/reconstruction/AutoMovieRecoveryOpenContinuation.js +3 -3
  462. package/lib/reconstruction/AutoMovieRecoveryOpenContinuation.js.map +1 -1
  463. package/lib/reconstruction/applyAutoMovieRecoveryAnalyticPublication.d.ts +1 -3
  464. package/lib/reconstruction/applyAutoMovieRecoveryAnalyticPublication.js.map +1 -1
  465. package/lib/reconstruction/assembleAutoMovieRecoveryFieldComplex.d.ts +1 -3
  466. package/lib/reconstruction/assembleAutoMovieRecoveryFieldComplex.js +1 -3
  467. package/lib/reconstruction/assembleAutoMovieRecoveryFieldComplex.js.map +1 -1
  468. package/lib/reconstruction/compileAutoMovieRecoveryAtlas.d.ts +1 -2
  469. package/lib/reconstruction/compileAutoMovieRecoveryAtlas.js.map +1 -1
  470. package/lib/reconstruction/compileAutoMovieRecoveryEventDomain.d.ts +1 -4
  471. package/lib/reconstruction/compileAutoMovieRecoveryEventDomain.js +4 -1
  472. package/lib/reconstruction/compileAutoMovieRecoveryEventDomain.js.map +1 -1
  473. package/lib/reconstruction/compileAutoMovieRecoveryNativeNamedChart.d.ts +1 -4
  474. package/lib/reconstruction/compileAutoMovieRecoveryNativeNamedChart.js.map +1 -1
  475. package/lib/reconstruction/prepareAutoMovieRecoveryAnnularChart.d.ts +1 -2
  476. package/lib/reconstruction/prepareAutoMovieRecoveryAnnularChart.js.map +1 -1
  477. package/lib/reconstruction/realizeAutoMovieRecoveryAnalyticDomains.d.ts +2 -4
  478. package/lib/reconstruction/realizeAutoMovieRecoveryAnalyticDomains.js.map +1 -1
  479. package/lib/reconstruction/realizeAutoMovieRecoveryTensorFamilies.d.ts +1 -2
  480. package/lib/reconstruction/realizeAutoMovieRecoveryTensorFamilies.js.map +1 -1
  481. package/lib/reconstruction/reconstructAutoMovieRecoveryModel.d.ts +1 -5
  482. package/lib/reconstruction/reconstructAutoMovieRecoveryModel.js +36 -20
  483. package/lib/reconstruction/reconstructAutoMovieRecoveryModel.js.map +1 -1
  484. package/lib/structures/curve/IAutoMovieRecoveryCurveFit.d.ts +1 -23
  485. package/lib/structures/curve/IAutoMovieRecoveryCurveOverride.d.ts +1 -15
  486. package/lib/structures/curve/IAutoMovieRecoveryEventCurveArc.d.ts +1 -19
  487. package/lib/structures/curve/IAutoMovieRecoveryEventCurveCoefficients.d.ts +1 -13
  488. package/lib/structures/curve/IAutoMovieRecoveryEventCurvePiece.d.ts +1 -15
  489. package/lib/structures/curve/IAutoMovieRecoveryEventCurveSource.d.ts +1 -21
  490. package/lib/structures/curve/IAutoMovieRecoveryHermiteCurve.d.ts +1 -16
  491. package/lib/structures/curve/IAutoMovieRecoveryHermiteSpan.d.ts +1 -19
  492. package/lib/structures/curve/IAutoMovieRecoveryOpenContinuation.d.ts +1 -23
  493. package/lib/structures/curve/IAutoMovieRecoveryOpenContinuationInterval.d.ts +1 -20
  494. package/lib/structures/curve/IAutoMovieRecoveryOpenCurveGroup.d.ts +1 -16
  495. package/lib/structures/curve/IAutoMovieRecoveryOpenCurvePair.d.ts +1 -16
  496. package/lib/structures/curve/IAutoMovieRecoveryPolylineInput.d.ts +1 -26
  497. package/lib/structures/curve/IAutoMovieRecoveryTensorConstruction.d.ts +1 -13
  498. package/lib/structures/curve/index.d.ts +0 -1
  499. package/lib/structures/curve/index.js +0 -1
  500. package/lib/structures/curve/index.js.map +1 -1
  501. package/lib/structures/domain/IAutoMovieRecoveryAnalyticDomain.d.ts +1 -33
  502. package/lib/structures/domain/IAutoMovieRecoveryAnalyticDomainsInput.d.ts +1 -17
  503. package/lib/structures/domain/IAutoMovieRecoveryAnalyticPort.d.ts +1 -14
  504. package/lib/structures/domain/IAutoMovieRecoveryAnalyticRealization.d.ts +1 -25
  505. package/lib/structures/domain/IAutoMovieRecoveryAnalyticRealizationInput.d.ts +1 -14
  506. package/lib/structures/domain/IAutoMovieRecoveryAnalyticReport.d.ts +1 -27
  507. package/lib/structures/domain/IAutoMovieRecoveryAnnularChart.d.ts +1 -13
  508. package/lib/structures/domain/IAutoMovieRecoveryAtlasCompilation.d.ts +1 -21
  509. package/lib/structures/domain/IAutoMovieRecoveryAtlasCounts.d.ts +1 -18
  510. package/lib/structures/domain/IAutoMovieRecoveryAtlasGeneration.d.ts +1 -22
  511. package/lib/structures/domain/IAutoMovieRecoveryAtlasPrimitiveRange.d.ts +1 -26
  512. package/lib/structures/domain/IAutoMovieRecoveryAtlasRealization.d.ts +1 -19
  513. package/lib/structures/domain/IAutoMovieRecoveryChartEndpoint.d.ts +1 -14
  514. package/lib/structures/domain/IAutoMovieRecoveryChartPatchBudgetFailure.d.ts +1 -16
  515. package/lib/structures/domain/IAutoMovieRecoveryChartSourcePiece.d.ts +1 -17
  516. package/lib/structures/domain/IAutoMovieRecoveryCoefficientOverride.d.ts +1 -14
  517. package/lib/structures/domain/IAutoMovieRecoveryCoefficientPublication.d.ts +1 -17
  518. package/lib/structures/domain/IAutoMovieRecoveryCurveBinding.d.ts +1 -16
  519. package/lib/structures/domain/IAutoMovieRecoveryDomainAddress.d.ts +1 -14
  520. package/lib/structures/domain/IAutoMovieRecoveryDomainEmission.d.ts +1 -18
  521. package/lib/structures/domain/IAutoMovieRecoveryDomainLedger.d.ts +1 -22
  522. package/lib/structures/domain/IAutoMovieRecoveryDomainLedgerMember.d.ts +1 -32
  523. package/lib/structures/domain/IAutoMovieRecoveryDomainLedgerUnattributed.d.ts +1 -24
  524. package/lib/structures/domain/IAutoMovieRecoveryEndpointControlOwner.d.ts +1 -14
  525. package/lib/structures/domain/IAutoMovieRecoveryEventChart.d.ts +1 -21
  526. package/lib/structures/domain/IAutoMovieRecoveryEventChartInput.d.ts +1 -19
  527. package/lib/structures/domain/IAutoMovieRecoveryEventCompilationPolicy.d.ts +1 -20
  528. package/lib/structures/domain/IAutoMovieRecoveryEventDomainCompilation.d.ts +1 -24
  529. package/lib/structures/domain/IAutoMovieRecoveryFieldComplex.d.ts +1 -32
  530. package/lib/structures/domain/IAutoMovieRecoveryFieldComplexCounts.d.ts +1 -20
  531. package/lib/structures/domain/IAutoMovieRecoveryFieldComplexInput.d.ts +1 -20
  532. package/lib/structures/domain/IAutoMovieRecoveryFieldComplexPiece.d.ts +1 -13
  533. package/lib/structures/domain/IAutoMovieRecoveryFieldComplexPolicy.d.ts +1 -17
  534. package/lib/structures/domain/IAutoMovieRecoveryNativeChartCompilation.d.ts +1 -18
  535. package/lib/structures/domain/IAutoMovieRecoveryNativeCurveOwner.d.ts +1 -21
  536. package/lib/structures/domain/IAutoMovieRecoveryNativeEndpoint.d.ts +1 -14
  537. package/lib/structures/domain/IAutoMovieRecoveryOpenPairAddress.d.ts +1 -14
  538. package/lib/structures/domain/IAutoMovieRecoveryReconstructedModel.d.ts +1 -14
  539. package/lib/structures/domain/IAutoMovieRecoveryReconstruction.d.ts +1 -33
  540. package/lib/structures/domain/IAutoMovieRecoveryTensorBoundary.d.ts +1 -16
  541. package/lib/structures/domain/IAutoMovieRecoveryTensorFamiliesInput.d.ts +1 -14
  542. package/lib/structures/domain/IAutoMovieRecoveryTensorFamily.d.ts +1 -21
  543. package/lib/structures/domain/IAutoMovieRecoveryTensorRealization.d.ts +1 -21
  544. package/lib/structures/domain/IAutoMovieRecoveryTensorReport.d.ts +1 -29
  545. package/lib/structures/domain/IAutoMovieRecoveryUnsupportedDomain.d.ts +1 -16
  546. package/lib/structures/image/AutoMovieRecoveryDiagnosticScalars.d.ts +1 -15
  547. package/lib/structures/image/IAutoMovieRecoveryCameraConsensus.d.ts +1 -50
  548. package/lib/structures/image/IAutoMovieRecoveryCameraFeaturePopulation.d.ts +1 -24
  549. package/lib/structures/image/IAutoMovieRecoveryCameraFile.d.ts +1 -21
  550. package/lib/structures/image/IAutoMovieRecoveryCameraFiles.d.ts +1 -25
  551. package/lib/structures/image/IAutoMovieRecoveryCameraHomographyConsensus.d.ts +1 -28
  552. package/lib/structures/image/IAutoMovieRecoveryCameraMapEstimate.d.ts +1 -78
  553. package/lib/structures/image/IAutoMovieRecoveryCameraMapFiles.d.ts +1 -23
  554. package/lib/structures/image/IAutoMovieRecoveryCameraMatch.d.ts +1 -26
  555. package/lib/structures/image/IAutoMovieRecoveryCameraOptimizerFit.d.ts +1 -24
  556. package/lib/structures/image/IAutoMovieRecoveryCameraPairEstimate.d.ts +1 -43
  557. package/lib/structures/image/IAutoMovieRecoveryCameraRelativePose.d.ts +1 -20
  558. package/lib/structures/image/IAutoMovieRecoveryCameraSceneEstimate.d.ts +1 -81
  559. package/lib/structures/image/IAutoMovieRecoveryCameraSceneFiles.d.ts +1 -22
  560. package/lib/structures/image/IAutoMovieRecoveryCameraSource.d.ts +1 -23
  561. package/lib/structures/image/IAutoMovieRecoveryCurvatureReport.d.ts +1 -26
  562. package/lib/structures/image/IAutoMovieRecoveryDiagnosticNumber.d.ts +1 -12
  563. package/lib/structures/image/IAutoMovieRecoveryFeasibleDiagnostics.d.ts +1 -37
  564. package/lib/structures/image/IAutoMovieRecoveryImageDirectionRank.d.ts +1 -14
  565. package/lib/structures/image/IAutoMovieRecoveryImageFile.d.ts +1 -19
  566. package/lib/structures/image/IAutoMovieRecoveryImageFiles.d.ts +1 -23
  567. package/lib/structures/image/IAutoMovieRecoveryImageFit.d.ts +1 -37
  568. package/lib/structures/image/IAutoMovieRecoveryImageFitCounts.d.ts +1 -16
  569. package/lib/structures/image/IAutoMovieRecoveryImageFitPolicy.d.ts +1 -24
  570. package/lib/structures/image/IAutoMovieRecoveryImageLoftBudget.d.ts +1 -16
  571. package/lib/structures/image/IAutoMovieRecoveryImageProfileSample.d.ts +1 -14
  572. package/lib/structures/image/IAutoMovieRecoveryImageRealization.d.ts +1 -18
  573. package/lib/structures/image/IAutoMovieRecoveryImageSource.d.ts +1 -14
  574. package/lib/structures/image/IAutoMovieRecoveryMapJointFit.d.ts +1 -41
  575. package/lib/structures/image/IAutoMovieRecoveryMapLandmark.d.ts +1 -17
  576. package/lib/structures/image/IAutoMovieRecoveryMapObservation.d.ts +1 -16
  577. package/lib/structures/image/IAutoMovieRecoveryMapPose.d.ts +1 -14
  578. package/lib/structures/image/IAutoMovieRecoveryMapResection.d.ts +1 -30
  579. package/lib/structures/image/IAutoMovieRecoveryRegularizationReport.d.ts +1 -21
  580. package/lib/structures/image/IAutoMovieRecoveryRegularizationUpdate.d.ts +1 -26
  581. package/lib/structures/image/IAutoMovieRecoverySceneAttempt.d.ts +1 -30
  582. package/lib/structures/image/IAutoMovieRecoverySceneLandmark.d.ts +1 -15
  583. package/lib/structures/image/IAutoMovieRecoverySceneRegistration.d.ts +1 -20
  584. package/lib/structures/image/IAutoMovieRecoverySceneWork.d.ts +1 -24
  585. package/lib/structures/image/IAutoMovieRecoverySupportFit.d.ts +1 -33
  586. package/lib/structures/image/IAutoMovieRecoverySupportFitPolicy.d.ts +1 -25
  587. package/lib/structures/image/IAutoMovieRecoverySupportGeneration.d.ts +1 -18
  588. package/lib/structures/image/IAutoMovieRecoverySupportLoftBudget.d.ts +1 -22
  589. package/lib/structures/image/IAutoMovieRecoverySupportRealization.d.ts +1 -19
  590. package/lib/structures/image/IAutoMovieRecoverySupportRealizationMetrics.d.ts +1 -15
  591. package/lib/structures/internal/AutoMovieRecoverySqpCorrection.d.ts +1 -9
  592. package/lib/structures/internal/IAutoMovieRecoveryCameraSetObservation.d.ts +1 -18
  593. package/lib/structures/internal/IAutoMovieRecoveryCheckpointReporting.d.ts +1 -16
  594. package/lib/structures/internal/IAutoMovieRecoveryCurvatureAdmission.d.ts +1 -16
  595. package/lib/structures/internal/IAutoMovieRecoveryFeasibleArithmetic.d.ts +1 -16
  596. package/lib/structures/internal/IAutoMovieRecoveryFeasibleCandidate.d.ts +1 -18
  597. package/lib/structures/internal/IAutoMovieRecoveryFeasibleDirection.d.ts +1 -57
  598. package/lib/structures/internal/IAutoMovieRecoveryFeasibleDirectionReport.d.ts +1 -11
  599. package/lib/structures/internal/IAutoMovieRecoveryFeasibleFit.d.ts +1 -47
  600. package/lib/structures/internal/IAutoMovieRecoveryFeasibleJointOptions.d.ts +1 -23
  601. package/lib/structures/internal/IAutoMovieRecoveryFeasibleMapLinearization.d.ts +1 -16
  602. package/lib/structures/internal/IAutoMovieRecoveryFeasibleMapReporting.d.ts +1 -14
  603. package/lib/structures/internal/IAutoMovieRecoveryFeasibleMapWork.d.ts +1 -26
  604. package/lib/structures/internal/IAutoMovieRecoveryFeasibleModel.d.ts +1 -41
  605. package/lib/structures/internal/IAutoMovieRecoveryFeasibleProblem.d.ts +1 -76
  606. package/lib/structures/internal/IAutoMovieRecoveryFeasibleReportCapacity.d.ts +1 -17
  607. package/lib/structures/internal/IAutoMovieRecoveryFeasibleTrialSelection.d.ts +1 -22
  608. package/lib/structures/internal/IAutoMovieRecoveryFeasibleTrials.d.ts +1 -32
  609. package/lib/structures/internal/IAutoMovieRecoveryLinkedTrack.d.ts +1 -15
  610. package/lib/structures/internal/IAutoMovieRecoveryMapCurvatureBlocks.d.ts +1 -14
  611. package/lib/structures/internal/IAutoMovieRecoveryMapCurvatureFit.d.ts +1 -18
  612. package/lib/structures/internal/IAutoMovieRecoveryMapDesignFactor.d.ts +1 -23
  613. package/lib/structures/internal/IAutoMovieRecoveryMapDesignFit.d.ts +1 -16
  614. package/lib/structures/internal/IAutoMovieRecoveryMapElimination.d.ts +1 -16
  615. package/lib/structures/internal/IAutoMovieRecoveryMapEvaluation.d.ts +1 -17
  616. package/lib/structures/internal/IAutoMovieRecoveryMapJointBlock.d.ts +1 -16
  617. package/lib/structures/internal/IAutoMovieRecoveryMapJointPreparation.d.ts +1 -33
  618. package/lib/structures/internal/IAutoMovieRecoveryMapJointResult.d.ts +1 -14
  619. package/lib/structures/internal/IAutoMovieRecoveryMapJointStep.d.ts +1 -23
  620. package/lib/structures/internal/IAutoMovieRecoveryMapLocalCurvature.d.ts +1 -16
  621. package/lib/structures/internal/IAutoMovieRecoveryMapMetric.d.ts +1 -49
  622. package/lib/structures/internal/IAutoMovieRecoveryMapMetricFit.d.ts +1 -18
  623. package/lib/structures/internal/IAutoMovieRecoveryMapMetricScales.d.ts +1 -14
  624. package/lib/structures/internal/IAutoMovieRecoveryMapProjection.d.ts +1 -18
  625. package/lib/structures/internal/IAutoMovieRecoveryMapState.d.ts +1 -16
  626. package/lib/structures/internal/IAutoMovieRecoveryMapTriangularMetric.d.ts +1 -24
  627. package/lib/structures/internal/IAutoMovieRecoveryResectionConsensus.d.ts +1 -32
  628. package/lib/structures/internal/IAutoMovieRecoveryResectionDesign.d.ts +1 -19
  629. package/lib/structures/internal/IAutoMovieRecoveryResectionDesignTrace.d.ts +1 -29
  630. package/lib/structures/internal/IAutoMovieRecoveryResectionScore.d.ts +1 -14
  631. package/lib/structures/internal/IAutoMovieRecoveryResectionTrace.d.ts +1 -40
  632. package/lib/structures/internal/IAutoMovieRecoverySceneCandidate.d.ts +1 -15
  633. package/lib/structures/internal/IAutoMovieRecoverySceneCheckpoint.d.ts +1 -31
  634. package/lib/structures/internal/IAutoMovieRecoverySceneCheckpointTrace.d.ts +1 -27
  635. package/lib/structures/internal/IAutoMovieRecoverySceneFeasibleRouting.d.ts +1 -21
  636. package/lib/structures/internal/IAutoMovieRecoverySceneGrowth.d.ts +1 -17
  637. package/lib/structures/internal/IAutoMovieRecoveryScenePointEvaluation.d.ts +1 -22
  638. package/lib/structures/internal/IAutoMovieRecoverySceneQueue.d.ts +1 -15
  639. package/lib/structures/internal/IAutoMovieRecoverySceneRay.d.ts +1 -14
  640. package/lib/structures/internal/IAutoMovieRecoverySceneTriangulation.d.ts +1 -14
  641. package/lib/structures/internal/IAutoMovieRecoverySqpArc.d.ts +1 -24
  642. package/lib/structures/internal/IAutoMovieRecoverySqpMix.d.ts +1 -18
  643. package/lib/structures/internal/IAutoMovieRecoverySqpOptions.d.ts +1 -22
  644. package/lib/structures/internal/IAutoMovieRecoverySqpReport.d.ts +1 -51
  645. package/lib/structures/internal/IAutoMovieRecoverySqpTightening.d.ts +1 -20
  646. package/lib/structures/internal/IAutoMovieRecoveryTrackLinkage.d.ts +1 -21
  647. package/lib/structures/internal/IAutoMovieRecoveryTrackPair.d.ts +1 -19
  648. package/lib/structures/internal/IAutoMovieRecoveryUntiltedEstimate.d.ts +1 -18
  649. package/lib/structures/mesh/IAutoMovieRecoveryContourResume.d.ts +1 -87
  650. package/lib/structures/mesh/IAutoMovieRecoveryContourResumeInput.d.ts +1 -22
  651. package/lib/structures/mesh/IAutoMovieRecoveryContourResumePolicy.d.ts +1 -21
  652. package/lib/structures/mesh/IAutoMovieRecoveryMeshSections.d.ts +1 -33
  653. package/lib/structures/mesh/IAutoMovieRecoveryPreparedInput.d.ts +1 -15
  654. package/lib/structures/mesh/IAutoMovieRecoveryRegisteredInput.d.ts +1 -19
  655. package/lib/structures/mesh/IAutoMovieRecoverySavedSection.d.ts +1 -31
  656. package/lib/structures/mesh/IAutoMovieRecoverySectionCoverage.d.ts +1 -24
  657. package/lib/structures/mesh/IAutoMovieRecoverySectionReport.d.ts +1 -22
  658. package/lib/structures/mesh/IAutoMovieRecoverySectionSummary.d.ts +1 -20
  659. package/lib/structures/mesh/IAutoMovieRecoverySections.d.ts +1 -41
  660. package/lib/structures/mesh/IAutoMovieRecoverySectionsInput.d.ts +1 -23
  661. package/lib/structures/mesh/IAutoMovieRecoverySlabPair.d.ts +1 -14
  662. package/lib/structures/mesh/IAutoMovieRecoverySlabs.d.ts +1 -51
  663. package/lib/structures/mesh/IAutoMovieRecoverySlabsInput.d.ts +1 -26
  664. package/lib/structures/mesh/IAutoMovieRecoverySourceTerminal.d.ts +1 -40
  665. package/lib/structures/mesh/IAutoMovieRecoveryTerminalSeed.d.ts +1 -14
  666. package/lib/structures/mesh/IAutoMovieRecoveryTopologyGap.d.ts +1 -16
  667. package/lib/structures/mesh/IAutoMovieRecoveryUnconsumedEvent.d.ts +1 -15
  668. package/lib/structures/node/IAutoMovieRecoveryArchiveInput.d.ts +1 -13
  669. package/lib/structures/node/IAutoMovieRecoveryArchivedModel.d.ts +1 -17
  670. package/lib/structures/node/IAutoMovieRecoveryArrayFragment.d.ts +1 -13
  671. package/lib/structures/node/IAutoMovieRecoveryArraySource.d.ts +1 -16
  672. package/lib/structures/node/IAutoMovieRecoveryArtifact.d.ts +1 -14
  673. package/lib/structures/node/IAutoMovieRecoveryArtifactCoverage.d.ts +1 -12
  674. package/lib/structures/node/IAutoMovieRecoveryArtifactInput.d.ts +1 -86
  675. package/lib/structures/node/IAutoMovieRecoveryByteDigest.d.ts +1 -14
  676. package/lib/structures/node/IAutoMovieRecoveryCompletion.d.ts +1 -18
  677. package/lib/structures/node/IAutoMovieRecoveryContourFileMesh.d.ts +1 -35
  678. package/lib/structures/node/IAutoMovieRecoveryFileReceipt.d.ts +1 -13
  679. package/lib/structures/node/IAutoMovieRecoveryFrontierChannel.d.ts +1 -17
  680. package/lib/structures/node/IAutoMovieRecoveryLocalBinding.d.ts +1 -22
  681. package/lib/structures/node/IAutoMovieRecoveryLocalResult.d.ts +1 -24
  682. package/lib/structures/node/IAutoMovieRecoveryMemoryPeaks.d.ts +1 -14
  683. package/lib/structures/node/IAutoMovieRecoveryMemoryUsage.d.ts +1 -20
  684. package/lib/structures/node/IAutoMovieRecoveryMeshChunkOwner.d.ts +1 -18
  685. package/lib/structures/node/IAutoMovieRecoveryMeshCounts.d.ts +1 -13
  686. package/lib/structures/node/IAutoMovieRecoveryMeshFrontier.d.ts +1 -19
  687. package/lib/structures/node/IAutoMovieRecoveryMeshFrontierInput.d.ts +1 -25
  688. package/lib/structures/node/IAutoMovieRecoveryMeshSpool.d.ts +1 -60
  689. package/lib/structures/node/IAutoMovieRecoveryMetadata.d.ts +1 -12
  690. package/lib/structures/node/IAutoMovieRecoveryModelCounts.d.ts +1 -14
  691. package/lib/structures/observation/IAutoMovieRecoveryAtlasObservation.d.ts +1 -20
  692. package/lib/structures/observation/IAutoMovieRecoveryAtlasObservationInput.d.ts +1 -54
  693. package/lib/structures/observation/IAutoMovieRecoveryAtlasTessellation.d.ts +1 -18
  694. package/lib/structures/observation/IAutoMovieRecoveryObservationAnchor.d.ts +1 -18
  695. package/lib/structures/observation/IAutoMovieRecoveryObservationChart.d.ts +1 -21
  696. package/lib/structures/observation/IAutoMovieRecoveryObservationChartSeed.d.ts +1 -17
  697. package/lib/structures/observation/IAutoMovieRecoveryObservationEntry.d.ts +1 -27
  698. package/lib/structures/observation/IAutoMovieRecoveryObservationTangents.d.ts +1 -15
  699. package/lib/structures/observation/IAutoMovieRecoveryObservationTransportRefused.d.ts +1 -16
  700. package/lib/structures/observation/IAutoMovieRecoveryObservationTransported.d.ts +1 -33
  701. package/lib/structures/observation/IAutoMovieRecoveryObservedInteriorPoint.d.ts +1 -16
  702. package/lib/structures/observation/IAutoMovieRecoveryObservedPoint.d.ts +1 -14
  703. package/lib/structures/observation/IAutoMovieRecoverySlabObservation.d.ts +1 -132
  704. package/lib/structures/observation/IAutoMovieRecoverySourceLineage.d.ts +1 -33
  705. package/lib/structures/observation/IAutoMovieRecoveryTransportedObservationRow.d.ts +1 -26
  706. package/lib/structures/operation/IAutoMovieRecoveryAnalyticPublication.d.ts +1 -19
  707. package/lib/structures/operation/IAutoMovieRecoveryCompleted.d.ts +1 -16
  708. package/lib/structures/operation/IAutoMovieRecoveryDefaultObservationOptions.d.ts +1 -14
  709. package/lib/structures/operation/IAutoMovieRecoveryInputHashes.d.ts +1 -14
  710. package/lib/structures/operation/IAutoMovieRecoveryObservationOptions.d.ts +1 -15
  711. package/lib/structures/operation/IAutoMovieRecoveryOptions.d.ts +1 -58
  712. package/lib/structures/operation/IAutoMovieRecoveryOutcome.d.ts +1 -15
  713. package/lib/structures/operation/IAutoMovieRecoveryPublication.d.ts +1 -16
  714. package/lib/structures/operation/IAutoMovieRecoveryPublicationOptions.d.ts +1 -13
  715. package/lib/structures/operation/IAutoMovieRecoveryTerminated.d.ts +1 -13
  716. package/lib/typings/AutoMovieRecoveryCurveData.d.ts +1 -17
  717. package/lib/typings/AutoMovieRecoveryCurveFormat.d.ts +1 -9
  718. package/lib/typings/AutoMovieRecoveryObservationProvenance.d.ts +1 -11
  719. package/lib/typings/AutoMovieRecoveryObservationTransport.d.ts +1 -11
  720. package/lib/typings/AutoMovieRecoveryOperator.d.ts +1 -9
  721. package/lib/typings/IAutoMovieRecoveryResult.d.ts +1 -11
  722. package/package.json +6 -6
  723. package/src/compilation/compileAutoMovieRecoveryImageLoft.ts +3 -4
  724. package/src/compilation/compileAutoMovieRecoverySupportLoft.ts +3 -4
  725. package/src/curves/AutoMovieRecoveryCompactApproximation.ts +80 -0
  726. package/src/curves/AutoMovieRecoveryConicApproximation.ts +160 -0
  727. package/src/curves/approximateAutoMovieRecoveryCompactCurves.ts +476 -0
  728. package/src/curves/approximateAutoMovieRecoveryConicsAhn.ts +425 -0
  729. package/src/curves/approximateAutoMovieRecoveryConicsGhosh.ts +472 -0
  730. package/src/curves/convertAutoMovieRecoveryCurves.ts +32 -18
  731. package/src/curves/findAutoMovieRecoveryCubicCriticalParameters.ts +180 -0
  732. package/src/curves/index.ts +5 -0
  733. package/src/fitting/fitAutoMovieRecoveryImageLoft.ts +47 -19
  734. package/src/fitting/fitAutoMovieRecoveryImageSupportLoft.ts +44 -17
  735. package/src/internal/GhoshConicApproximationBalance.ts +189 -0
  736. package/src/internal/GhoshConicApproximationDisplacement.ts +85 -0
  737. package/src/internal/IRecoveryAuthorityRecord.ts +1 -11
  738. package/src/internal/IRecoveryChartLeafControls.ts +1 -63
  739. package/src/internal/IRecoveryChartLeafFit.ts +1 -117
  740. package/src/internal/IRecoveryDiskChart.ts +1 -79
  741. package/src/internal/IRecoveryMultiBoundaryChart.ts +1 -64
  742. package/src/internal/IRecoveryOpenContinuationRow.ts +1 -23
  743. package/src/internal/IRecoveryOpenSlabGraph.ts +1 -94
  744. package/src/internal/RecoveryAnnularChart.ts +10 -18
  745. package/src/internal/RecoveryAtlasObservationChart.ts +49 -59
  746. package/src/internal/RecoveryAtlasObservationCreases.ts +12 -19
  747. package/src/internal/RecoveryAtlasObservationFeatures.ts +21 -38
  748. package/src/internal/RecoveryAtlasObservationNormals.ts +8 -7
  749. package/src/internal/RecoveryAtlasObservationPublish.ts +45 -50
  750. package/src/internal/RecoveryAtlasObservationSource.ts +36 -30
  751. package/src/internal/RecoveryBezierFit.ts +74 -89
  752. package/src/internal/RecoveryChartAreaObservations.ts +35 -35
  753. package/src/internal/RecoveryChartAssembly.ts +54 -57
  754. package/src/internal/RecoveryChartBatch.ts +24 -38
  755. package/src/internal/RecoveryChartBoundary.ts +46 -40
  756. package/src/internal/RecoveryChartBoundaryNetwork.ts +8 -42
  757. package/src/internal/RecoveryChartBoundaryNetworkAugment.ts +25 -21
  758. package/src/internal/RecoveryChartBoundaryNetworkBindings.ts +32 -16
  759. package/src/internal/RecoveryChartBoundaryNetworkRegistry.ts +65 -58
  760. package/src/internal/RecoveryChartBoxSolve.ts +5 -20
  761. package/src/internal/RecoveryChartCollar.ts +7 -29
  762. package/src/internal/RecoveryChartControlRelations.ts +7 -34
  763. package/src/internal/RecoveryChartFit.ts +15 -230
  764. package/src/internal/RecoveryChartFitPrepare.ts +49 -48
  765. package/src/internal/RecoveryChartFitReport.ts +71 -57
  766. package/src/internal/RecoveryChartFitRows.ts +5 -21
  767. package/src/internal/RecoveryChartFitSolve.ts +27 -28
  768. package/src/internal/RecoveryChartFitSystem.ts +9 -22
  769. package/src/internal/RecoveryChartLeafAssembly.ts +28 -37
  770. package/src/internal/RecoveryChartLeafControls.ts +9 -6
  771. package/src/internal/RecoveryChartLeafFit.ts +98 -65
  772. package/src/internal/RecoveryChartMap.ts +8 -57
  773. package/src/internal/RecoveryChartPhysicalJet.ts +5 -39
  774. package/src/internal/RecoveryChartReachableBox.ts +5 -46
  775. package/src/internal/RecoveryChartRefinementClosure.ts +9 -30
  776. package/src/internal/RecoveryChartSurface.ts +20 -60
  777. package/src/internal/RecoveryDiskChart.ts +34 -25
  778. package/src/internal/RecoveryEventRegion.ts +16 -147
  779. package/src/internal/RecoveryEventRegionCells.ts +54 -49
  780. package/src/internal/RecoveryEventRegionPorts.ts +35 -23
  781. package/src/internal/RecoveryEventRegionSource.ts +11 -14
  782. package/src/internal/RecoveryEventRegionTopology.ts +52 -45
  783. package/src/internal/RecoveryFeatureChartCuts.ts +56 -74
  784. package/src/internal/RecoveryFeatureChartCutsFans.ts +6 -5
  785. package/src/internal/RecoveryFeatureChartCutsSeams.ts +46 -60
  786. package/src/internal/RecoveryFeatureChartCutsSubdivide.ts +35 -56
  787. package/src/internal/RecoveryFeatureChartCutsTopology.ts +23 -29
  788. package/src/internal/RecoveryFeatureChartPreparation.ts +26 -35
  789. package/src/internal/RecoveryLocalResult.ts +1 -36
  790. package/src/internal/RecoveryLocalRunReport.ts +1 -52
  791. package/src/internal/RecoveryMultiBoundaryChart.ts +17 -11
  792. package/src/internal/RecoveryOpenSlabGraph.ts +40 -54
  793. package/src/internal/RecoveryScalarIndex.ts +8 -9
  794. package/src/internal/RecoverySlabGraph.ts +37 -57
  795. package/src/internal/admitRecoveryCameraMap.ts +6 -5
  796. package/src/internal/admitRecoveryCameraPair.ts +9 -10
  797. package/src/internal/admitRecoveryCameraScene.ts +5 -5
  798. package/src/internal/admitRecoveryMapCurvature.ts +1 -1
  799. package/src/internal/analyzeRecoveryMultiBoundarySurface.ts +15 -18
  800. package/src/internal/assembleRecoveryMapCurvature.ts +8 -6
  801. package/src/internal/assertRecoveryImageChart.ts +3 -11
  802. package/src/internal/bindRecoveryOrderedFits.ts +63 -52
  803. package/src/internal/bindRecoverySavedSectionCuts.ts +9 -13
  804. package/src/internal/calibrateRecoveryEpipolarMatrix.ts +9 -13
  805. package/src/internal/chooseRecoverySqpTightening.ts +4 -3
  806. package/src/internal/collectRecoveryContourFaceSupport.ts +7 -5
  807. package/src/internal/collectRecoverySceneSupport.ts +10 -11
  808. package/src/internal/completeRecoverySceneCheckpoint.ts +29 -35
  809. package/src/internal/copyRecoveryUntiltedEstimate.ts +1 -1
  810. package/src/internal/createRecoveryCameraChart.ts +3 -3
  811. package/src/internal/createRecoveryCameraEstimate.ts +20 -20
  812. package/src/internal/createRecoveryCameraMap.ts +23 -19
  813. package/src/internal/createRecoveryCameraScene.ts +29 -26
  814. package/src/internal/createRecoveryFeasibleDiagnostics.ts +5 -2
  815. package/src/internal/createRecoveryFeasibleSqpArc.ts +10 -9
  816. package/src/internal/createRecoveryImageDirectionSolver.ts +5 -3
  817. package/src/internal/createRecoveryMapMetric.ts +4 -2
  818. package/src/internal/createRecoveryMapTriangularMetric.ts +4 -2
  819. package/src/internal/createRecoveryPoseModel.ts +8 -14
  820. package/src/internal/createRecoverySceneSeedReportObserver.ts +8 -9
  821. package/src/internal/describeRecoveryDomains.ts +10 -7
  822. package/src/internal/describeRecoveryNamedDomains.ts +8 -10
  823. package/src/internal/describeRecoveryOpenRun.ts +5 -11
  824. package/src/internal/describeRecoverySceneRegistration.ts +5 -3
  825. package/src/internal/differentiateRecoveryMapProjection.ts +4 -2
  826. package/src/internal/encodeRecoveryDiagnosticNumber.ts +2 -2
  827. package/src/internal/evaluateRecoveryScenePoint.ts +15 -17
  828. package/src/internal/extractRecoveryImageFeatures.ts +7 -19
  829. package/src/internal/extractRecoveryMeshSections.ts +72 -56
  830. package/src/internal/factorRecoveryMapCurvature.ts +6 -4
  831. package/src/internal/factorRecoveryMapDesign.ts +4 -3
  832. package/src/internal/factorRecoveryMapMetric.ts +7 -5
  833. package/src/internal/fitRecoveryEpipolarConsensus.ts +25 -30
  834. package/src/internal/fitRecoveryEpipolarMatrix.ts +11 -7
  835. package/src/internal/fitRecoveryHomography.ts +11 -7
  836. package/src/internal/fitRecoveryHomographyConsensus.ts +21 -26
  837. package/src/internal/fitRecoveryImageProfiles.ts +10 -6
  838. package/src/internal/fitRecoveryResectionConsensus.ts +24 -21
  839. package/src/internal/fitRecoveryResectionDesign.ts +2 -3
  840. package/src/internal/fitRecoveryScalarProfiles.ts +6 -10
  841. package/src/internal/growRecoverySceneLandmarks.ts +17 -20
  842. package/src/internal/index.ts +2 -1
  843. package/src/internal/initializeRecoverySceneSeed.ts +9 -13
  844. package/src/internal/isRecoveryMapIdentityGauge.ts +1 -1
  845. package/src/internal/linearizeRecoveryFeasibleMap.ts +11 -7
  846. package/src/internal/linearizeRecoveryPoseResiduals.ts +5 -6
  847. package/src/internal/linkRecoveryCameraTracks.ts +10 -11
  848. package/src/internal/matchRecoveryImageFeatures.ts +8 -18
  849. package/src/internal/measureRecoveryEpipolarErrors.ts +5 -4
  850. package/src/internal/measureRecoveryFeasibleArithmetic.ts +6 -7
  851. package/src/internal/measureRecoveryHomographyErrors.ts +5 -4
  852. package/src/internal/mesh-observations/CriticalVertex.ts +1 -26
  853. package/src/internal/mesh-observations/CutPoint.ts +1 -35
  854. package/src/internal/mesh-observations/IAutoMovieRecoveryIndexedMesh.ts +1 -23
  855. package/src/internal/mesh-observations/Plane.ts +1 -20
  856. package/src/internal/mesh-observations/Polyline.ts +1 -28
  857. package/src/internal/mesh-observations/V2.ts +1 -9
  858. package/src/internal/mesh-observations/V3.ts +1 -9
  859. package/src/internal/mesh-observations/critical.ts +23 -18
  860. package/src/internal/mesh-observations/cross.ts +8 -2
  861. package/src/internal/mesh-observations/cutExact.ts +60 -51
  862. package/src/internal/mesh-observations/dist.ts +6 -2
  863. package/src/internal/mesh-observations/dot.ts +5 -2
  864. package/src/internal/mesh-observations/len.ts +4 -3
  865. package/src/internal/mesh-observations/mul.ts +8 -6
  866. package/src/internal/mesh-observations/norm.ts +5 -2
  867. package/src/internal/mesh-observations/planeFrame.ts +16 -6
  868. package/src/internal/mesh-observations/signedArea.ts +5 -5
  869. package/src/internal/mesh-observations/sourceOrientation.ts +26 -14
  870. package/src/internal/mesh-observations/sub.ts +8 -6
  871. package/src/internal/mesh-observations/to2.ts +14 -8
  872. package/src/internal/mixRecoveryFeasibleSqpStep.ts +11 -11
  873. package/src/internal/normalizeRecoveryCourse.ts +18 -8
  874. package/src/internal/normalizeRecoveryImagePoints.ts +4 -2
  875. package/src/internal/observeRecoveryCameraSet.ts +4 -2
  876. package/src/internal/observeRecoveryOrderedCuts.ts +35 -26
  877. package/src/internal/observeRecoverySection.ts +27 -67
  878. package/src/internal/observeRecoverySourceSlabs.ts +27 -30
  879. package/src/internal/observeRecoverySourceTerminals.ts +30 -27
  880. package/src/internal/predictRecoveryMapDecrease.ts +1 -1
  881. package/src/internal/prepareRecoveryChartLeafBoundary.ts +24 -21
  882. package/src/internal/prepareRecoveryCheckpointReportCapacity.ts +7 -5
  883. package/src/internal/prepareRecoveryCriticalBrackets.ts +8 -16
  884. package/src/internal/prepareRecoveryDiskBoundary.ts +10 -19
  885. package/src/internal/prepareRecoveryFeasibleMapReporting.ts +9 -7
  886. package/src/internal/prepareRecoveryFeasibleMapWork.ts +7 -5
  887. package/src/internal/prepareRecoveryFeasibleReportCapacity.ts +2 -1
  888. package/src/internal/prepareRecoveryImageSupports.ts +9 -11
  889. package/src/internal/prepareRecoveryLocalContinuation.ts +17 -26
  890. package/src/internal/prepareRecoveryMapJointBlocks.ts +6 -5
  891. package/src/internal/prepareRecoveryMeshIncidence.ts +11 -19
  892. package/src/internal/prepareRecoveryOpenRuns.ts +17 -23
  893. package/src/internal/prepareRecoveryOpenSlabGraph.ts +14 -7
  894. package/src/internal/prepareRecoverySceneFeasibleRouting.ts +6 -4
  895. package/src/internal/prepareRecoverySceneReportCapacity.ts +6 -3
  896. package/src/internal/projectRecoveryMapPoint.ts +5 -7
  897. package/src/internal/readRecoveryEventCurveControls.ts +19 -11
  898. package/src/internal/readRecoveryEventCurveParent.ts +8 -6
  899. package/src/internal/rebindRecoveryCurveAuthorities.ts +82 -60
  900. package/src/internal/reconstructRecovery.ts +48 -45
  901. package/src/internal/reconstructRecoveryOpen.ts +36 -43
  902. package/src/internal/refineRecoveryCameraMap.ts +20 -21
  903. package/src/internal/refineRecoveryCameraMapFeasible.ts +27 -22
  904. package/src/internal/refineRecoveryCameraPose.ts +18 -32
  905. package/src/internal/refineRecoveryChartBoundaryChords.ts +14 -17
  906. package/src/internal/refineRecoveryEpipolarModel.ts +24 -27
  907. package/src/internal/refineRecoveryFeasibleState.ts +12 -12
  908. package/src/internal/refineRecoveryResection.ts +14 -22
  909. package/src/internal/restoreRecoveryCurveBasis.ts +2 -1
  910. package/src/internal/scoreRecoveryCameraResiduals.ts +5 -3
  911. package/src/internal/selectRecoveryCameraPose.ts +19 -23
  912. package/src/internal/selectRecoveryFeasibleTrial.ts +7 -5
  913. package/src/internal/selectRecoveryScalarIntervals.ts +6 -9
  914. package/src/internal/solveRecoveryFeasibleDirection.ts +6 -4
  915. package/src/internal/solveRecoveryMapDesign.ts +10 -9
  916. package/src/internal/solveRecoveryMapJointStep.ts +13 -12
  917. package/src/internal/spendRecoverySceneWork.ts +4 -3
  918. package/src/internal/stepRecoveryMapPose.ts +1 -2
  919. package/src/internal/stepRecoveryMapSeedPose.ts +2 -1
  920. package/src/internal/stepRecoveryRelativePose.ts +5 -7
  921. package/src/internal/triangulateRecoveryCameraPoint.ts +12 -22
  922. package/src/internal/triangulateRecoverySceneTrack.ts +15 -15
  923. package/src/internal/updateRecoveryRegularization.ts +1 -1
  924. package/src/internal/validateRecoveryContourResume.ts +5 -3
  925. package/src/internal/validateRecoveryMapMetricRow.ts +1 -1
  926. package/src/observation/AutoMovieRecoveryEventCurve.ts +34 -21
  927. package/src/observation/AutoMovieRecoveryMeshSections.ts +8 -6
  928. package/src/observation/AutoMovieRecoveryOrderedLineage.ts +15 -259
  929. package/src/observation/estimateAutoMovieRecoveryCameraMap.ts +31 -20
  930. package/src/observation/estimateAutoMovieRecoveryCameraPair.ts +34 -21
  931. package/src/observation/estimateAutoMovieRecoveryCameraScene.ts +31 -20
  932. package/src/observation/observeAutoMovieRecovery.ts +54 -34
  933. package/src/observation/observeAutoMovieRecoveryAtlas.ts +24 -20
  934. package/src/observation/observeAutoMovieRecoveryImages.ts +38 -12
  935. package/src/observation/observeAutoMovieRecoveryPolyline.ts +69 -48
  936. package/src/observation/observeAutoMovieRecoverySections.ts +150 -128
  937. package/src/observation/observeAutoMovieRecoverySlabs.ts +65 -41
  938. package/src/observation/prepareAutoMovieRecoveryInput.ts +3 -4
  939. package/src/observation/resumeAutoMovieRecoveryContours.ts +70 -43
  940. package/src/observation/transportAutoMovieRecoveryObservationChart.ts +61 -41
  941. package/src/reconstruction/AutoMovieRecoveryOpenContinuation.ts +49 -39
  942. package/src/reconstruction/applyAutoMovieRecoveryAnalyticPublication.ts +15 -12
  943. package/src/reconstruction/assembleAutoMovieRecoveryFieldComplex.ts +42 -31
  944. package/src/reconstruction/compileAutoMovieRecoveryAtlas.ts +1 -2
  945. package/src/reconstruction/compileAutoMovieRecoveryEventDomain.ts +102 -62
  946. package/src/reconstruction/compileAutoMovieRecoveryNativeNamedChart.ts +50 -28
  947. package/src/reconstruction/prepareAutoMovieRecoveryAnnularChart.ts +5 -2
  948. package/src/reconstruction/realizeAutoMovieRecoveryAnalyticDomains.ts +25 -17
  949. package/src/reconstruction/realizeAutoMovieRecoveryTensorFamilies.ts +22 -15
  950. package/src/reconstruction/reconstructAutoMovieRecoveryModel.ts +52 -29
  951. package/src/structures/curve/IAutoMovieRecoveryCurveFit.ts +1 -29
  952. package/src/structures/curve/IAutoMovieRecoveryCurveOverride.ts +1 -17
  953. package/src/structures/curve/IAutoMovieRecoveryEventCurveArc.ts +1 -23
  954. package/src/structures/curve/IAutoMovieRecoveryEventCurveCoefficients.ts +1 -15
  955. package/src/structures/curve/IAutoMovieRecoveryEventCurvePiece.ts +1 -17
  956. package/src/structures/curve/IAutoMovieRecoveryEventCurveSource.ts +1 -26
  957. package/src/structures/curve/IAutoMovieRecoveryHermiteCurve.ts +1 -22
  958. package/src/structures/curve/IAutoMovieRecoveryHermiteSpan.ts +1 -23
  959. package/src/structures/curve/IAutoMovieRecoveryOpenContinuation.ts +1 -29
  960. package/src/structures/curve/IAutoMovieRecoveryOpenContinuationInterval.ts +1 -24
  961. package/src/structures/curve/IAutoMovieRecoveryOpenCurveGroup.ts +1 -18
  962. package/src/structures/curve/IAutoMovieRecoveryOpenCurvePair.ts +1 -18
  963. package/src/structures/curve/IAutoMovieRecoveryPolylineInput.ts +1 -33
  964. package/src/structures/curve/IAutoMovieRecoveryTensorConstruction.ts +1 -14
  965. package/src/structures/curve/index.ts +0 -1
  966. package/src/structures/domain/IAutoMovieRecoveryAnalyticDomain.ts +1 -43
  967. package/src/structures/domain/IAutoMovieRecoveryAnalyticDomainsInput.ts +1 -19
  968. package/src/structures/domain/IAutoMovieRecoveryAnalyticPort.ts +1 -15
  969. package/src/structures/domain/IAutoMovieRecoveryAnalyticRealization.ts +1 -32
  970. package/src/structures/domain/IAutoMovieRecoveryAnalyticRealizationInput.ts +1 -18
  971. package/src/structures/domain/IAutoMovieRecoveryAnalyticReport.ts +1 -35
  972. package/src/structures/domain/IAutoMovieRecoveryAnnularChart.ts +1 -14
  973. package/src/structures/domain/IAutoMovieRecoveryAtlasCompilation.ts +1 -26
  974. package/src/structures/domain/IAutoMovieRecoveryAtlasCounts.ts +1 -21
  975. package/src/structures/domain/IAutoMovieRecoveryAtlasGeneration.ts +1 -29
  976. package/src/structures/domain/IAutoMovieRecoveryAtlasPrimitiveRange.ts +1 -33
  977. package/src/structures/domain/IAutoMovieRecoveryAtlasRealization.ts +1 -23
  978. package/src/structures/domain/IAutoMovieRecoveryChartEndpoint.ts +1 -15
  979. package/src/structures/domain/IAutoMovieRecoveryChartPatchBudgetFailure.ts +1 -18
  980. package/src/structures/domain/IAutoMovieRecoveryChartSourcePiece.ts +1 -20
  981. package/src/structures/domain/IAutoMovieRecoveryCoefficientOverride.ts +1 -15
  982. package/src/structures/domain/IAutoMovieRecoveryCoefficientPublication.ts +1 -20
  983. package/src/structures/domain/IAutoMovieRecoveryCurveBinding.ts +1 -18
  984. package/src/structures/domain/IAutoMovieRecoveryDomainAddress.ts +1 -15
  985. package/src/structures/domain/IAutoMovieRecoveryDomainEmission.ts +1 -21
  986. package/src/structures/domain/IAutoMovieRecoveryDomainLedger.ts +1 -25
  987. package/src/structures/domain/IAutoMovieRecoveryDomainLedgerMember.ts +1 -46
  988. package/src/structures/domain/IAutoMovieRecoveryDomainLedgerUnattributed.ts +1 -29
  989. package/src/structures/domain/IAutoMovieRecoveryEndpointControlOwner.ts +1 -15
  990. package/src/structures/domain/IAutoMovieRecoveryEventChart.ts +1 -26
  991. package/src/structures/domain/IAutoMovieRecoveryEventChartInput.ts +1 -22
  992. package/src/structures/domain/IAutoMovieRecoveryEventCompilationPolicy.ts +1 -24
  993. package/src/structures/domain/IAutoMovieRecoveryEventDomainCompilation.ts +1 -31
  994. package/src/structures/domain/IAutoMovieRecoveryFieldComplex.ts +1 -42
  995. package/src/structures/domain/IAutoMovieRecoveryFieldComplexCounts.ts +1 -24
  996. package/src/structures/domain/IAutoMovieRecoveryFieldComplexInput.ts +1 -24
  997. package/src/structures/domain/IAutoMovieRecoveryFieldComplexPiece.ts +1 -14
  998. package/src/structures/domain/IAutoMovieRecoveryFieldComplexPolicy.ts +1 -20
  999. package/src/structures/domain/IAutoMovieRecoveryNativeChartCompilation.ts +1 -21
  1000. package/src/structures/domain/IAutoMovieRecoveryNativeCurveOwner.ts +1 -23
  1001. package/src/structures/domain/IAutoMovieRecoveryNativeEndpoint.ts +1 -15
  1002. package/src/structures/domain/IAutoMovieRecoveryOpenPairAddress.ts +1 -15
  1003. package/src/structures/domain/IAutoMovieRecoveryReconstructedModel.ts +1 -15
  1004. package/src/structures/domain/IAutoMovieRecoveryReconstruction.ts +1 -49
  1005. package/src/structures/domain/IAutoMovieRecoveryTensorBoundary.ts +1 -18
  1006. package/src/structures/domain/IAutoMovieRecoveryTensorFamiliesInput.ts +1 -15
  1007. package/src/structures/domain/IAutoMovieRecoveryTensorFamily.ts +1 -26
  1008. package/src/structures/domain/IAutoMovieRecoveryTensorRealization.ts +1 -26
  1009. package/src/structures/domain/IAutoMovieRecoveryTensorReport.ts +1 -37
  1010. package/src/structures/domain/IAutoMovieRecoveryUnsupportedDomain.ts +1 -18
  1011. package/src/structures/image/AutoMovieRecoveryDiagnosticScalars.ts +1 -18
  1012. package/src/structures/image/IAutoMovieRecoveryCameraConsensus.ts +1 -69
  1013. package/src/structures/image/IAutoMovieRecoveryCameraFeaturePopulation.ts +1 -30
  1014. package/src/structures/image/IAutoMovieRecoveryCameraFile.ts +1 -26
  1015. package/src/structures/image/IAutoMovieRecoveryCameraFiles.ts +1 -31
  1016. package/src/structures/image/IAutoMovieRecoveryCameraHomographyConsensus.ts +1 -36
  1017. package/src/structures/image/IAutoMovieRecoveryCameraMapEstimate.ts +1 -108
  1018. package/src/structures/image/IAutoMovieRecoveryCameraMapFiles.ts +1 -29
  1019. package/src/structures/image/IAutoMovieRecoveryCameraMatch.ts +1 -33
  1020. package/src/structures/image/IAutoMovieRecoveryCameraOptimizerFit.ts +1 -30
  1021. package/src/structures/image/IAutoMovieRecoveryCameraPairEstimate.ts +1 -56
  1022. package/src/structures/image/IAutoMovieRecoveryCameraRelativePose.ts +1 -24
  1023. package/src/structures/image/IAutoMovieRecoveryCameraSceneEstimate.ts +1 -116
  1024. package/src/structures/image/IAutoMovieRecoveryCameraSceneFiles.ts +1 -28
  1025. package/src/structures/image/IAutoMovieRecoveryCameraSource.ts +1 -29
  1026. package/src/structures/image/IAutoMovieRecoveryCurvatureReport.ts +1 -40
  1027. package/src/structures/image/IAutoMovieRecoveryDiagnosticNumber.ts +1 -16
  1028. package/src/structures/image/IAutoMovieRecoveryFeasibleDiagnostics.ts +1 -47
  1029. package/src/structures/image/IAutoMovieRecoveryImageDirectionRank.ts +1 -15
  1030. package/src/structures/image/IAutoMovieRecoveryImageFile.ts +1 -23
  1031. package/src/structures/image/IAutoMovieRecoveryImageFiles.ts +1 -28
  1032. package/src/structures/image/IAutoMovieRecoveryImageFit.ts +1 -48
  1033. package/src/structures/image/IAutoMovieRecoveryImageFitCounts.ts +1 -18
  1034. package/src/structures/image/IAutoMovieRecoveryImageFitPolicy.ts +1 -30
  1035. package/src/structures/image/IAutoMovieRecoveryImageLoftBudget.ts +1 -18
  1036. package/src/structures/image/IAutoMovieRecoveryImageProfileSample.ts +1 -17
  1037. package/src/structures/image/IAutoMovieRecoveryImageRealization.ts +1 -22
  1038. package/src/structures/image/IAutoMovieRecoveryImageSource.ts +1 -15
  1039. package/src/structures/image/IAutoMovieRecoveryMapJointFit.ts +1 -62
  1040. package/src/structures/image/IAutoMovieRecoveryMapLandmark.ts +1 -20
  1041. package/src/structures/image/IAutoMovieRecoveryMapObservation.ts +1 -18
  1042. package/src/structures/image/IAutoMovieRecoveryMapPose.ts +1 -15
  1043. package/src/structures/image/IAutoMovieRecoveryMapResection.ts +1 -39
  1044. package/src/structures/image/IAutoMovieRecoveryRegularizationReport.ts +1 -26
  1045. package/src/structures/image/IAutoMovieRecoveryRegularizationUpdate.ts +1 -37
  1046. package/src/structures/image/IAutoMovieRecoverySceneAttempt.ts +1 -43
  1047. package/src/structures/image/IAutoMovieRecoverySceneLandmark.ts +1 -17
  1048. package/src/structures/image/IAutoMovieRecoverySceneRegistration.ts +1 -24
  1049. package/src/structures/image/IAutoMovieRecoverySceneWork.ts +1 -30
  1050. package/src/structures/image/IAutoMovieRecoverySupportFit.ts +1 -42
  1051. package/src/structures/image/IAutoMovieRecoverySupportFitPolicy.ts +1 -32
  1052. package/src/structures/image/IAutoMovieRecoverySupportGeneration.ts +1 -21
  1053. package/src/structures/image/IAutoMovieRecoverySupportLoftBudget.ts +1 -27
  1054. package/src/structures/image/IAutoMovieRecoverySupportRealization.ts +1 -23
  1055. package/src/structures/image/IAutoMovieRecoverySupportRealizationMetrics.ts +1 -17
  1056. package/src/structures/internal/AutoMovieRecoverySqpCorrection.ts +1 -11
  1057. package/src/structures/internal/IAutoMovieRecoveryCameraSetObservation.ts +1 -21
  1058. package/src/structures/internal/IAutoMovieRecoveryCheckpointReporting.ts +1 -18
  1059. package/src/structures/internal/IAutoMovieRecoveryCurvatureAdmission.ts +1 -18
  1060. package/src/structures/internal/IAutoMovieRecoveryFeasibleArithmetic.ts +1 -18
  1061. package/src/structures/internal/IAutoMovieRecoveryFeasibleCandidate.ts +1 -21
  1062. package/src/structures/internal/IAutoMovieRecoveryFeasibleDirection.ts +1 -80
  1063. package/src/structures/internal/IAutoMovieRecoveryFeasibleDirectionReport.ts +1 -14
  1064. package/src/structures/internal/IAutoMovieRecoveryFeasibleFit.ts +1 -68
  1065. package/src/structures/internal/IAutoMovieRecoveryFeasibleJointOptions.ts +1 -28
  1066. package/src/structures/internal/IAutoMovieRecoveryFeasibleMapLinearization.ts +1 -19
  1067. package/src/structures/internal/IAutoMovieRecoveryFeasibleMapReporting.ts +1 -15
  1068. package/src/structures/internal/IAutoMovieRecoveryFeasibleMapWork.ts +1 -33
  1069. package/src/structures/internal/IAutoMovieRecoveryFeasibleModel.ts +1 -46
  1070. package/src/structures/internal/IAutoMovieRecoveryFeasibleProblem.ts +1 -89
  1071. package/src/structures/internal/IAutoMovieRecoveryFeasibleReportCapacity.ts +1 -19
  1072. package/src/structures/internal/IAutoMovieRecoveryFeasibleTrialSelection.ts +1 -27
  1073. package/src/structures/internal/IAutoMovieRecoveryFeasibleTrials.ts +1 -42
  1074. package/src/structures/internal/IAutoMovieRecoveryLinkedTrack.ts +1 -17
  1075. package/src/structures/internal/IAutoMovieRecoveryMapCurvatureBlocks.ts +1 -15
  1076. package/src/structures/internal/IAutoMovieRecoveryMapCurvatureFit.ts +1 -27
  1077. package/src/structures/internal/IAutoMovieRecoveryMapDesignFactor.ts +1 -29
  1078. package/src/structures/internal/IAutoMovieRecoveryMapDesignFit.ts +1 -18
  1079. package/src/structures/internal/IAutoMovieRecoveryMapElimination.ts +1 -18
  1080. package/src/structures/internal/IAutoMovieRecoveryMapEvaluation.ts +1 -20
  1081. package/src/structures/internal/IAutoMovieRecoveryMapJointBlock.ts +1 -18
  1082. package/src/structures/internal/IAutoMovieRecoveryMapJointPreparation.ts +1 -39
  1083. package/src/structures/internal/IAutoMovieRecoveryMapJointResult.ts +1 -15
  1084. package/src/structures/internal/IAutoMovieRecoveryMapJointStep.ts +1 -29
  1085. package/src/structures/internal/IAutoMovieRecoveryMapLocalCurvature.ts +1 -18
  1086. package/src/structures/internal/IAutoMovieRecoveryMapMetric.ts +1 -53
  1087. package/src/structures/internal/IAutoMovieRecoveryMapMetricFit.ts +1 -21
  1088. package/src/structures/internal/IAutoMovieRecoveryMapMetricScales.ts +1 -15
  1089. package/src/structures/internal/IAutoMovieRecoveryMapProjection.ts +1 -21
  1090. package/src/structures/internal/IAutoMovieRecoveryMapState.ts +1 -18
  1091. package/src/structures/internal/IAutoMovieRecoveryMapTriangularMetric.ts +1 -26
  1092. package/src/structures/internal/IAutoMovieRecoveryResectionConsensus.ts +1 -42
  1093. package/src/structures/internal/IAutoMovieRecoveryResectionDesign.ts +1 -23
  1094. package/src/structures/internal/IAutoMovieRecoveryResectionDesignTrace.ts +1 -49
  1095. package/src/structures/internal/IAutoMovieRecoveryResectionScore.ts +1 -15
  1096. package/src/structures/internal/IAutoMovieRecoveryResectionTrace.ts +1 -52
  1097. package/src/structures/internal/IAutoMovieRecoverySceneCandidate.ts +1 -17
  1098. package/src/structures/internal/IAutoMovieRecoverySceneCheckpoint.ts +1 -40
  1099. package/src/structures/internal/IAutoMovieRecoverySceneCheckpointTrace.ts +1 -33
  1100. package/src/structures/internal/IAutoMovieRecoverySceneFeasibleRouting.ts +1 -26
  1101. package/src/structures/internal/IAutoMovieRecoverySceneGrowth.ts +1 -20
  1102. package/src/structures/internal/IAutoMovieRecoveryScenePointEvaluation.ts +1 -27
  1103. package/src/structures/internal/IAutoMovieRecoverySceneQueue.ts +1 -17
  1104. package/src/structures/internal/IAutoMovieRecoverySceneRay.ts +1 -15
  1105. package/src/structures/internal/IAutoMovieRecoverySceneTriangulation.ts +1 -15
  1106. package/src/structures/internal/IAutoMovieRecoverySqpArc.ts +1 -30
  1107. package/src/structures/internal/IAutoMovieRecoverySqpMix.ts +1 -21
  1108. package/src/structures/internal/IAutoMovieRecoverySqpOptions.ts +1 -27
  1109. package/src/structures/internal/IAutoMovieRecoverySqpReport.ts +1 -78
  1110. package/src/structures/internal/IAutoMovieRecoverySqpTightening.ts +1 -31
  1111. package/src/structures/internal/IAutoMovieRecoveryTrackLinkage.ts +1 -26
  1112. package/src/structures/internal/IAutoMovieRecoveryTrackPair.ts +1 -23
  1113. package/src/structures/internal/IAutoMovieRecoveryUntiltedEstimate.ts +1 -21
  1114. package/src/structures/mesh/IAutoMovieRecoveryContourResume.ts +1 -114
  1115. package/src/structures/mesh/IAutoMovieRecoveryContourResumeInput.ts +1 -24
  1116. package/src/structures/mesh/IAutoMovieRecoveryContourResumePolicy.ts +1 -25
  1117. package/src/structures/mesh/IAutoMovieRecoveryMeshSections.ts +1 -42
  1118. package/src/structures/mesh/IAutoMovieRecoveryPreparedInput.ts +1 -20
  1119. package/src/structures/mesh/IAutoMovieRecoveryRegisteredInput.ts +1 -26
  1120. package/src/structures/mesh/IAutoMovieRecoverySavedSection.ts +1 -38
  1121. package/src/structures/mesh/IAutoMovieRecoverySectionCoverage.ts +1 -30
  1122. package/src/structures/mesh/IAutoMovieRecoverySectionReport.ts +1 -28
  1123. package/src/structures/mesh/IAutoMovieRecoverySectionSummary.ts +1 -24
  1124. package/src/structures/mesh/IAutoMovieRecoverySections.ts +1 -57
  1125. package/src/structures/mesh/IAutoMovieRecoverySectionsInput.ts +1 -40
  1126. package/src/structures/mesh/IAutoMovieRecoverySlabPair.ts +1 -15
  1127. package/src/structures/mesh/IAutoMovieRecoverySlabs.ts +1 -62
  1128. package/src/structures/mesh/IAutoMovieRecoverySlabsInput.ts +1 -35
  1129. package/src/structures/mesh/IAutoMovieRecoverySourceTerminal.ts +1 -45
  1130. package/src/structures/mesh/IAutoMovieRecoveryTerminalSeed.ts +1 -15
  1131. package/src/structures/mesh/IAutoMovieRecoveryTopologyGap.ts +1 -18
  1132. package/src/structures/mesh/IAutoMovieRecoveryUnconsumedEvent.ts +1 -17
  1133. package/src/structures/node/IAutoMovieRecoveryArchiveInput.ts +1 -14
  1134. package/src/structures/node/IAutoMovieRecoveryArchivedModel.ts +1 -20
  1135. package/src/structures/node/IAutoMovieRecoveryArrayFragment.ts +1 -14
  1136. package/src/structures/node/IAutoMovieRecoveryArraySource.ts +1 -18
  1137. package/src/structures/node/IAutoMovieRecoveryArtifact.ts +1 -15
  1138. package/src/structures/node/IAutoMovieRecoveryArtifactCoverage.ts +1 -13
  1139. package/src/structures/node/IAutoMovieRecoveryArtifactInput.ts +1 -105
  1140. package/src/structures/node/IAutoMovieRecoveryByteDigest.ts +1 -15
  1141. package/src/structures/node/IAutoMovieRecoveryCompletion.ts +1 -21
  1142. package/src/structures/node/IAutoMovieRecoveryContourFileMesh.ts +1 -42
  1143. package/src/structures/node/IAutoMovieRecoveryFileReceipt.ts +1 -14
  1144. package/src/structures/node/IAutoMovieRecoveryFrontierChannel.ts +1 -20
  1145. package/src/structures/node/IAutoMovieRecoveryLocalBinding.ts +1 -27
  1146. package/src/structures/node/IAutoMovieRecoveryLocalResult.ts +1 -29
  1147. package/src/structures/node/IAutoMovieRecoveryMemoryPeaks.ts +1 -15
  1148. package/src/structures/node/IAutoMovieRecoveryMemoryUsage.ts +1 -24
  1149. package/src/structures/node/IAutoMovieRecoveryMeshChunkOwner.ts +1 -21
  1150. package/src/structures/node/IAutoMovieRecoveryMeshCounts.ts +1 -14
  1151. package/src/structures/node/IAutoMovieRecoveryMeshFrontier.ts +1 -22
  1152. package/src/structures/node/IAutoMovieRecoveryMeshFrontierInput.ts +1 -32
  1153. package/src/structures/node/IAutoMovieRecoveryMeshSpool.ts +1 -68
  1154. package/src/structures/node/IAutoMovieRecoveryMetadata.ts +1 -12
  1155. package/src/structures/node/IAutoMovieRecoveryModelCounts.ts +1 -15
  1156. package/src/structures/observation/IAutoMovieRecoveryAtlasObservation.ts +1 -24
  1157. package/src/structures/observation/IAutoMovieRecoveryAtlasObservationInput.ts +1 -76
  1158. package/src/structures/observation/IAutoMovieRecoveryAtlasTessellation.ts +1 -21
  1159. package/src/structures/observation/IAutoMovieRecoveryObservationAnchor.ts +1 -21
  1160. package/src/structures/observation/IAutoMovieRecoveryObservationChart.ts +1 -26
  1161. package/src/structures/observation/IAutoMovieRecoveryObservationChartSeed.ts +1 -20
  1162. package/src/structures/observation/IAutoMovieRecoveryObservationEntry.ts +1 -35
  1163. package/src/structures/observation/IAutoMovieRecoveryObservationTangents.ts +1 -17
  1164. package/src/structures/observation/IAutoMovieRecoveryObservationTransportRefused.ts +1 -18
  1165. package/src/structures/observation/IAutoMovieRecoveryObservationTransported.ts +1 -43
  1166. package/src/structures/observation/IAutoMovieRecoveryObservedInteriorPoint.ts +1 -18
  1167. package/src/structures/observation/IAutoMovieRecoveryObservedPoint.ts +1 -15
  1168. package/src/structures/observation/IAutoMovieRecoverySlabObservation.ts +1 -158
  1169. package/src/structures/observation/IAutoMovieRecoverySourceLineage.ts +1 -28
  1170. package/src/structures/observation/IAutoMovieRecoveryTransportedObservationRow.ts +1 -34
  1171. package/src/structures/operation/IAutoMovieRecoveryAnalyticPublication.ts +1 -22
  1172. package/src/structures/operation/IAutoMovieRecoveryCompleted.ts +1 -20
  1173. package/src/structures/operation/IAutoMovieRecoveryDefaultObservationOptions.ts +1 -15
  1174. package/src/structures/operation/IAutoMovieRecoveryInputHashes.ts +1 -15
  1175. package/src/structures/operation/IAutoMovieRecoveryObservationOptions.ts +1 -18
  1176. package/src/structures/operation/IAutoMovieRecoveryOptions.ts +1 -65
  1177. package/src/structures/operation/IAutoMovieRecoveryOutcome.ts +1 -17
  1178. package/src/structures/operation/IAutoMovieRecoveryPublication.ts +1 -18
  1179. package/src/structures/operation/IAutoMovieRecoveryPublicationOptions.ts +1 -13
  1180. package/src/structures/operation/IAutoMovieRecoveryTerminated.ts +1 -14
  1181. package/src/typings/AutoMovieRecoveryCurveData.ts +1 -29
  1182. package/src/typings/AutoMovieRecoveryCurveFormat.ts +1 -9
  1183. package/src/typings/AutoMovieRecoveryObservationProvenance.ts +1 -14
  1184. package/src/typings/AutoMovieRecoveryObservationTransport.ts +1 -14
  1185. package/src/typings/AutoMovieRecoveryOperator.ts +1 -22
  1186. package/src/typings/IAutoMovieRecoveryResult.ts +1 -14
  1187. package/lib/internal/RecoveryAtlasObservationTypes.d.ts +0 -59
  1188. package/lib/internal/RecoveryAtlasObservationTypes.js +0 -3
  1189. package/lib/internal/RecoveryAtlasObservationTypes.js.map +0 -1
  1190. package/lib/structures/curve/IAutoMovieRecoveryConstructionLine.d.ts +0 -16
  1191. package/lib/structures/curve/IAutoMovieRecoveryConstructionLine.js +0 -3
  1192. package/lib/structures/curve/IAutoMovieRecoveryConstructionLine.js.map +0 -1
  1193. package/src/internal/RecoveryAtlasObservationTypes.ts +0 -65
  1194. package/src/structures/curve/IAutoMovieRecoveryConstructionLine.ts +0 -18
@@ -0,0 +1,425 @@
1
+ import type {
2
+ AutoMovieVector2Tuple,
3
+ IAutoMovieConicApproximation,
4
+ IAutoMoviePlanarCurveSource,
5
+ IAutoMovieRegisteredConicArc,
6
+ } from "@automovie/interface";
7
+
8
+ import { AutoMovieRecoveryConicApproximation as C } from "./AutoMovieRecoveryConicApproximation";
9
+
10
+ /**
11
+ * Construct G1 bitangent conics using Ahn's control-triangle subdivision scheme.
12
+ *
13
+ * Basis: Y. J. Ahn, Conic approximation of planar curves, CAD 33 (2001),
14
+ * 867-872, doi:10.1016/S0010-4485(00)00110-X. The public primary abstract and
15
+ * section preview establish endpoint tangent interpolation, positive fullness
16
+ * factor and subdivision into a containing tangent triangle. The inaccessible
17
+ * characterization theorem and its specific error function are NOT reproduced.
18
+ * This explicitly labelled adaptation minimizes a sampled radial-correspondence
19
+ * maximum distance instead: each source point and conic point lie on the same
20
+ * ray from the tangent intersection. Its signed displacement increases with the
21
+ * weight, so bisection balances positive and negative extreme discrepancies.
22
+ *
23
+ * Samples at odd 1/32 intervals validate weights fitted on even intervals.
24
+ * Their distance is an observable discrepancy, never a continuous Hausdorff
25
+ * bound. A complete result only covers the supplied chart within this sampled
26
+ * criterion. Inflections and inadmissible triangles cause bisection; exhausted
27
+ * budgets omit unresolved intervals and return partial. Finite straight charts
28
+ * admit an explicit collinear quadratic, the conic's degenerate case: exactly
29
+ * collinear to roundoff, or, where the control triangle refuses a chart whose
30
+ * curvature keeps its sign, when its samples advance along its chord within
31
+ * toleranceMm of it (a bend below its coordinates' roundoff, between close
32
+ * inflections, refused at every depth otherwise). Such a primitive's end
33
+ * tangents are its chord's, so G1 holds there only to that tolerance's bend.
34
+ * Source callbacks are borrowed and must
35
+ * be deterministic; callback failures or nonfinite data refuse the whole call.
36
+ * Incident endpoint jets request exact right/left limits so supplied breaks
37
+ * preserve genuine source corners without finite-difference displacements.
38
+ *
39
+ * @evidence contracts/development/common.md#meaningful-documentation Documents the paper and inaccessible theorem, alternative error objective, parameterization, sampled validation, straight degeneracy within roundoff or the caller's tolerance with its G1 limit, and refusal/budget effects.
40
+ * @evidence contracts/development/implementation.md#principled-implementation Endpoint tangent intersection fixes the rational quadratic control triangle. Ahn's published triangle subdivision supplies the construction; this declared adaptation uses monotone radial displacement rather than claiming the unavailable characterization or certified bound. A line is the conic's degenerate case (weight one, collinear controls), admitted only where the triangle construction refuses a chart of one curvature sign whose samples lie within the approximation's own tolerance of the chord, so the result stays inside the sampled contract; its end tangents follow the chord, a stated G1 limitation.
41
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure One pure operation owns admission, coefficient fitting and bounded interval subdivision, using the shared recovery contract and no source format or renderer.
42
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No source file, specimen coordinates, fallback mesh, least-squares replacement or unlabelled theorem claim enters the computation. Binary64 roundoff thresholds depend on local scale; tolerance and work budgets come from the caller, and the line admission uses that same tolerance, no constant of its own.
43
+ * @evidence contracts/development/implementation.md#efficient-algorithms With L visited leaves, constant 33-point observation, 48-step scalar bisection and fixed-size validation cost O(L) time; the arc and interval population is bounded by maximumArcs and depth by maximumDepth.
44
+ * @evidence contracts/development/implementation.md#reuse-equivalent-work Each interval's points and derivatives are observed once and reused during all weight iterations; no cross-call cache assumes callback equivalence.
45
+ * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Source callbacks and temporary arrays remain call-local; the returned coefficients contain no source samples, and no file, task or process is acquired.
46
+ */
47
+ export function approximateAutoMovieRecoveryConicsAhn(
48
+ curve: IAutoMoviePlanarCurveSource,
49
+ options: IAutoMovieConicApproximation.IOptions,
50
+ ): IAutoMovieConicApproximation.IResult {
51
+ const method: string =
52
+ "Ahn 2001 triangle construction / sampled radial-minimax adaptation";
53
+ const diagnostics: string[] = C.validate(curve, options);
54
+ const arcs: IAutoMovieRegisteredConicArc[] = [];
55
+ let queries: number = 0;
56
+ let unresolved: number = 0;
57
+ const reasons: Map<string, number> = new Map();
58
+
59
+ /** Assemble evidence without retaining callback closures or observed samples. */
60
+ const result: (
61
+ status: IAutoMovieConicApproximation.IResult["status"],
62
+ ) => IAutoMovieConicApproximation.IResult = (
63
+ status: IAutoMovieConicApproximation.IResult["status"],
64
+ ): IAutoMovieConicApproximation.IResult => ({
65
+ method,
66
+ status,
67
+ arcs: status === "refused" ? [] : arcs,
68
+ diagnostics,
69
+ maximumSampleErrorMm:
70
+ status === "refused"
71
+ ? 0
72
+ : arcs.reduce(
73
+ (maximum: number, arc: IAutoMovieRegisteredConicArc): number =>
74
+ Math.max(maximum, arc.maximumSampleErrorMm),
75
+ 0,
76
+ ),
77
+ certified: false,
78
+ queries,
79
+ });
80
+ if (diagnostics.length !== 0) return result("refused");
81
+ diagnostics.push(
82
+ "Numerical adaptation: Ahn's full characterization theorem/error function was unavailable; radial-correspondence samples do not certify Hausdorff distance or global minimality.",
83
+ );
84
+
85
+ /** Reject corrupt observations rather than creating substitute coordinates. */
86
+ const observe: (
87
+ t: number,
88
+ order?: 1 | 2 | 3,
89
+ side?: "left" | "right",
90
+ ) => Readonly<AutoMovieVector2Tuple> = (
91
+ t: number,
92
+ order?: 1 | 2 | 3,
93
+ side?: "left" | "right",
94
+ ): Readonly<AutoMovieVector2Tuple> => {
95
+ ++queries;
96
+ const p: Readonly<AutoMovieVector2Tuple> =
97
+ order === undefined
98
+ ? curve.evaluate(t)
99
+ : curve.derivative(t, order, side);
100
+ if (p.length !== 2 || !Number.isFinite(p[0]) || !Number.isFinite(p[1]))
101
+ throw new Error(
102
+ `Nonfinite source ${order === undefined ? "point" : "derivative"} at parameter ${t}.`,
103
+ );
104
+ // A source evaluator may reuse a scratch tuple. Snapshot the value now so
105
+ // later source queries cannot change observed points or returned controls.
106
+ return [p[0], p[1]];
107
+ };
108
+
109
+ /** Source-minus-origin vectors keep determinants translation invariant. */
110
+ const minus: (
111
+ a: Readonly<AutoMovieVector2Tuple>,
112
+ b: Readonly<AutoMovieVector2Tuple>,
113
+ ) => Readonly<AutoMovieVector2Tuple> = (
114
+ a: Readonly<AutoMovieVector2Tuple>,
115
+ b: Readonly<AutoMovieVector2Tuple>,
116
+ ): Readonly<AutoMovieVector2Tuple> => [a[0] - b[0], a[1] - b[1]];
117
+
118
+ /** A work item retains only source interval, subdivision depth and its cause. */
119
+ interface Interval {
120
+ a: number;
121
+ b: number;
122
+ depth: number;
123
+ }
124
+
125
+ /** A radial correspondence needs no nearest-point solve during weight search. */
126
+ interface Radial {
127
+ u: number;
128
+ apex: number;
129
+ scale: number;
130
+ idealWeight: number;
131
+ }
132
+
133
+ /**
134
+ * Attempt one admissible triangle. Undefined requests source subdivision;
135
+ * nonfinite observations throw and are reported at the operation boundary.
136
+ */
137
+ const fit: (
138
+ interval: Interval,
139
+ ) => IAutoMovieRegisteredConicArc | undefined = (
140
+ interval: Interval,
141
+ ): IAutoMovieRegisteredConicArc | undefined => {
142
+ const points: Readonly<AutoMovieVector2Tuple>[] = [];
143
+ const first: Readonly<AutoMovieVector2Tuple> = observe(
144
+ interval.a,
145
+ 1,
146
+ "right",
147
+ );
148
+ const last: Readonly<AutoMovieVector2Tuple> = observe(
149
+ interval.b,
150
+ 1,
151
+ "left",
152
+ );
153
+ const firstNorm: number = Math.hypot(...first);
154
+ const lastNorm: number = Math.hypot(...last);
155
+ if (firstNorm === 0 || lastNorm === 0) return undefined;
156
+ let curvatureSign: number = 0;
157
+ for (let i: number = 0; i <= 32; ++i) {
158
+ const t: number = interval.a + (interval.b - interval.a) * (i / 32);
159
+ points.push(observe(t));
160
+ if (i % 4 === 0) {
161
+ const d1: Readonly<AutoMovieVector2Tuple> =
162
+ i === 0 ? first : i === 32 ? last : observe(t, 1);
163
+ const d2: Readonly<AutoMovieVector2Tuple> = observe(
164
+ t,
165
+ 2,
166
+ i === 0 ? "right" : i === 32 ? "left" : undefined,
167
+ );
168
+ const turn: number = C.cross(d1, d2);
169
+ const endpoint: boolean = i === 0 || i === 32;
170
+ const jerk: Readonly<AutoMovieVector2Tuple> | undefined = endpoint
171
+ ? observe(t, 3, i === 0 ? "right" : "left")
172
+ : undefined;
173
+
174
+ // A numerical critical root can leave a one-ulp parameter residual at
175
+ // the endpoint. The jerk term bounds the resulting acceleration error,
176
+ // including a large original parameter origin; source jets stay intact.
177
+ const allowance: number = endpoint
178
+ ? 128 *
179
+ Number.EPSILON *
180
+ Math.hypot(...d1) *
181
+ (Math.hypot(...d2) +
182
+ Math.max(Math.abs(t), curve.domain[1] - curve.domain[0]) *
183
+ Math.hypot(...jerk!))
184
+ : 64 *
185
+ Number.EPSILON *
186
+ (Math.abs(d1[0] * d2[1]) + Math.abs(d1[1] * d2[0]));
187
+ if (Math.abs(turn) > allowance) {
188
+ const sign: number = Math.sign(turn);
189
+ if (curvatureSign !== 0 && sign !== curvatureSign) return undefined;
190
+ curvatureSign = sign;
191
+ }
192
+ }
193
+ }
194
+ const p0: Readonly<AutoMovieVector2Tuple> = points[0]!;
195
+ const p2: Readonly<AutoMovieVector2Tuple> = points[32]!;
196
+ const chord: Readonly<AutoMovieVector2Tuple> = minus(p2, p0);
197
+ const chordSquared: number = chord[0] * chord[0] + chord[1] * chord[1];
198
+ const length: number = Math.hypot(...chord);
199
+ if (length === 0) return undefined;
200
+ const determinant: number = C.cross(first, last);
201
+ const relativeRoundoff: number = 64 * Number.EPSILON;
202
+
203
+ // A conic's degenerate case, the line, within the caller's tolerance:
204
+ // the chart is admitted as the collinear primitive when both endpoint
205
+ // tangents point forward along its chord, its samples advance along the
206
+ // chord, and each lies within toleranceMm of it. It is tried only where
207
+ // the conic construction refuses, so no conic admitted otherwise changes.
208
+ // A chart that bends by less than its coordinates' roundoff, such as a
209
+ // near-flat stretch between two close inflections far from the origin,
210
+ // has samples either side of its chord by roundoff, outside every control
211
+ // triangle at every depth, while its end tangents still differ by more
212
+ // than roundoff; without this it was refused and bisected until the arc
213
+ // budget ran out. The primitive's end tangents are the chord's: they
214
+ // differ from the source's by its bend, which the tolerance bounds through
215
+ // the samples' distance from the chord, not by an angle.
216
+ const straight: () => IAutoMovieRegisteredConicArc | undefined = ():
217
+ | IAutoMovieRegisteredConicArc
218
+ | undefined => {
219
+ if (
220
+ first[0] * chord[0] + first[1] * chord[1] <= 0 ||
221
+ last[0] * chord[0] + last[1] * chord[1] <= 0
222
+ )
223
+ return undefined;
224
+ let previous: number = -Infinity;
225
+ let maximum: number = 0;
226
+ for (const p of points) {
227
+ const offset: Readonly<AutoMovieVector2Tuple> = minus(p, p0);
228
+ const along: number =
229
+ (offset[0] * chord[0] + offset[1] * chord[1]) / chordSquared;
230
+ maximum = Math.max(maximum, Math.abs(C.cross(offset, chord)) / length);
231
+ if (
232
+ along < previous ||
233
+ along < 0 ||
234
+ along > 1 ||
235
+ maximum > options.toleranceMm
236
+ )
237
+ return undefined;
238
+ previous = along;
239
+ }
240
+ return {
241
+ domain: [interval.a, interval.b],
242
+ controls: [p0, [(p0[0] + p2[0]) / 2, (p0[1] + p2[1]) / 2], p2],
243
+ weight: 1,
244
+ maximumSampleErrorMm: maximum,
245
+ };
246
+ };
247
+
248
+ // Parallel tangents admit a line only when the entire sampled chart and
249
+ // both forward endpoint tangents are collinear to binary64 roundoff, or
250
+ // within the tolerance of its chord (`straight`).
251
+ if (Math.abs(determinant) <= relativeRoundoff * firstNorm * lastNorm) {
252
+ const scale: number = Math.max(
253
+ length,
254
+ ...points.map((p: Readonly<AutoMovieVector2Tuple>): number =>
255
+ C.distance(p, p0),
256
+ ),
257
+ );
258
+ const allowance: number = relativeRoundoff * scale;
259
+ if (
260
+ first[0] * chord[0] + first[1] * chord[1] <= 0 ||
261
+ last[0] * chord[0] + last[1] * chord[1] <= 0 ||
262
+ Math.abs(C.cross(first, chord)) >
263
+ relativeRoundoff * firstNorm * length ||
264
+ Math.abs(C.cross(last, chord)) > relativeRoundoff * lastNorm * length
265
+ )
266
+ return straight();
267
+ let previous: number = -Infinity;
268
+ let maximum: number = 0;
269
+ for (const p of points) {
270
+ const offset: Readonly<AutoMovieVector2Tuple> = minus(p, p0);
271
+ const along: number =
272
+ (offset[0] * chord[0] + offset[1] * chord[1]) / chordSquared;
273
+ maximum = Math.max(maximum, Math.abs(C.cross(offset, chord)) / length);
274
+ if (along < previous || along < 0 || along > 1 || maximum > allowance)
275
+ return straight();
276
+ previous = along;
277
+ }
278
+ return {
279
+ domain: [interval.a, interval.b],
280
+ controls: [p0, [(p0[0] + p2[0]) / 2, (p0[1] + p2[1]) / 2], p2],
281
+ weight: 1,
282
+ maximumSampleErrorMm: maximum,
283
+ };
284
+ }
285
+
286
+ // Endpoint tangents must meet forward from the start and backward from
287
+ // the end, otherwise positive-weight coefficients cannot follow the arc.
288
+ const startScale: number = C.cross(chord, last) / determinant;
289
+ const endScale: number = C.cross(chord, first) / determinant;
290
+ if (startScale <= 0 || endScale >= 0) return straight();
291
+ const p1: Readonly<AutoMovieVector2Tuple> = [
292
+ p0[0] + startScale * first[0],
293
+ p0[1] + startScale * first[1],
294
+ ];
295
+ if (!p1.every(Number.isFinite)) return straight();
296
+ const side: Readonly<AutoMovieVector2Tuple> = minus(p1, p0);
297
+ const area: number = C.cross(side, chord);
298
+ if (area === 0 || !Number.isFinite(area)) return straight();
299
+ const samples: Radial[] = [];
300
+ let previousU: number = 0;
301
+ for (let i: number = 1; i < 32; ++i) {
302
+ const offset: Readonly<AutoMovieVector2Tuple> = minus(points[i]!, p0);
303
+ const b1: number = C.cross(offset, chord) / area;
304
+ const b2: number = C.cross(side, offset) / area;
305
+ const b0: number = 1 - b1 - b2;
306
+ if (b0 <= 0 || b1 <= 0 || b2 <= 0) return straight();
307
+ const root0: number = Math.sqrt(b0);
308
+ const root2: number = Math.sqrt(b2);
309
+ const u: number = root2 / (root0 + root2);
310
+ if (u <= previousU) return straight();
311
+ previousU = u;
312
+ const base: Readonly<AutoMovieVector2Tuple> = [
313
+ (b0 * p0[0] + b2 * p2[0]) / (b0 + b2),
314
+ (b0 * p0[1] + b2 * p2[1]) / (b0 + b2),
315
+ ];
316
+ const idealWeight: number = b1 / (2 * root0 * root2);
317
+ if (!(idealWeight > 0) || !Number.isFinite(idealWeight))
318
+ return straight();
319
+ samples.push({ u, apex: b1, scale: C.distance(p1, base), idealWeight });
320
+ }
321
+
322
+ /** Signed distance along a fixed apex ray is monotone in positive weight. */
323
+ const residual: (sample: Radial, weight: number) => number = (
324
+ sample: Radial,
325
+ weight: number,
326
+ ): number => {
327
+ const middle: number = 2 * weight * sample.u * (1 - sample.u);
328
+ const denominator: number = (1 - sample.u) ** 2 + middle + sample.u ** 2;
329
+ return (middle / denominator - sample.apex) * sample.scale;
330
+ };
331
+ const fitting: Radial[] = samples.filter(
332
+ (_sample: Radial, i: number): boolean => i % 2 === 1,
333
+ );
334
+ let low: number = Math.min(
335
+ ...fitting.map((sample: Radial): number => Math.log(sample.idealWeight)),
336
+ );
337
+ let high: number = Math.max(
338
+ ...fitting.map((sample: Radial): number => Math.log(sample.idealWeight)),
339
+ );
340
+ for (let iteration: number = 0; iteration < 48 && low < high; ++iteration) {
341
+ const middle: number = (low + high) / 2;
342
+ const weight: number = Math.exp(middle);
343
+ let minimum: number = 0;
344
+ let maximum: number = 0;
345
+ for (const sample of fitting) {
346
+ const error: number = residual(sample, weight);
347
+ minimum = Math.min(minimum, error);
348
+ maximum = Math.max(maximum, error);
349
+ }
350
+ if (minimum + maximum > 0) high = middle;
351
+ else low = middle;
352
+ }
353
+ const weight: number = Math.exp((low + high) / 2);
354
+ const maximum: number = samples.reduce(
355
+ (error: number, sample: Radial): number =>
356
+ Math.max(error, Math.abs(residual(sample, weight))),
357
+ 0,
358
+ );
359
+ if (!Number.isFinite(maximum) || !Number.isFinite(weight) || weight <= 0)
360
+ return straight();
361
+ return {
362
+ domain: [interval.a, interval.b],
363
+ controls: [p0, p1, p2],
364
+ weight,
365
+ maximumSampleErrorMm: maximum,
366
+ };
367
+ };
368
+
369
+ const boundaries: number[] = [
370
+ curve.domain[0],
371
+ ...new Set(curve.breaks),
372
+ curve.domain[1],
373
+ ].sort((a: number, b: number): number => a - b);
374
+ if (boundaries.length - 1 > options.maximumArcs) {
375
+ diagnostics.push(
376
+ "The supplied source intervals already exceed maximumArcs.",
377
+ );
378
+ return result("refused");
379
+ }
380
+ const pending: Interval[] = [];
381
+ for (let i: number = boundaries.length - 2; i >= 0; --i)
382
+ pending.push({ a: boundaries[i]!, b: boundaries[i + 1]!, depth: 0 });
383
+ let leaves: number = pending.length;
384
+ try {
385
+ while (pending.length !== 0) {
386
+ const interval: Interval = pending.pop()!;
387
+ const arc: IAutoMovieRegisteredConicArc | undefined = fit(interval);
388
+ if (
389
+ arc !== undefined &&
390
+ arc.maximumSampleErrorMm <= options.toleranceMm
391
+ ) {
392
+ arcs.push(arc);
393
+ continue;
394
+ }
395
+ const midpoint: number = (interval.a + interval.b) / 2;
396
+ const reason: string =
397
+ arc === undefined
398
+ ? "inadmissible or nonregular tangent triangle"
399
+ : "held-out radial discrepancy exceeds tolerance";
400
+ if (
401
+ interval.depth >= options.maximumDepth ||
402
+ leaves >= options.maximumArcs ||
403
+ midpoint === interval.a ||
404
+ midpoint === interval.b
405
+ ) {
406
+ ++unresolved;
407
+ reasons.set(reason, (reasons.get(reason) ?? 0) + 1);
408
+ continue;
409
+ }
410
+ ++leaves;
411
+ pending.push({ a: midpoint, b: interval.b, depth: interval.depth + 1 });
412
+ pending.push({ a: interval.a, b: midpoint, depth: interval.depth + 1 });
413
+ }
414
+ } catch (error) {
415
+ diagnostics.push(error instanceof Error ? error.message : String(error));
416
+ return result("refused");
417
+ }
418
+ for (const [reason, count] of reasons)
419
+ diagnostics.push(
420
+ `${count} unresolved source interval(s): ${reason}; subdivision budget exhausted.`,
421
+ );
422
+ return result(
423
+ unresolved === 0 ? "complete" : arcs.length === 0 ? "refused" : "partial",
424
+ );
425
+ }