@automovie/engine 0.0.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (966) hide show
  1. package/README.md +1 -1
  2. package/lib/IAutoMovieFormationPlacement.d.ts +4 -3
  3. package/lib/analysis/index.d.ts +5 -0
  4. package/lib/analysis/index.js +5 -0
  5. package/lib/analysis/index.js.map +1 -1
  6. package/lib/anthropometry/AutoMovieHandAnthropometry.d.ts +47 -0
  7. package/lib/anthropometry/AutoMovieHandAnthropometry.js +53 -0
  8. package/lib/anthropometry/AutoMovieHandAnthropometry.js.map +1 -0
  9. package/lib/anthropometry/index.d.ts +1 -0
  10. package/lib/anthropometry/index.js +18 -0
  11. package/lib/anthropometry/index.js.map +1 -0
  12. package/lib/architecture/appendBuiltRegionDefects.d.ts +1 -1
  13. package/lib/architecture/appendBuiltRegionDefects.js +3 -3
  14. package/lib/architecture/appendBuiltRegionDefects.js.map +1 -1
  15. package/lib/architecture/builtOutlineIsClosed.d.ts +1 -1
  16. package/lib/architecture/builtOutlineIsClosed.js +3 -3
  17. package/lib/architecture/builtOutlineIsClosed.js.map +1 -1
  18. package/{src/architecture/constants/PLANAR_EPSILON.ts → lib/architecture/constants/BUILT_PLANAR_EPSILON.d.ts} +1 -1
  19. package/lib/architecture/constants/{PLANAR_EPSILON.js → BUILT_PLANAR_EPSILON.js} +3 -3
  20. package/lib/architecture/constants/BUILT_PLANAR_EPSILON.js.map +1 -0
  21. package/lib/architecture/constants/index.d.ts +1 -1
  22. package/lib/architecture/constants/index.js +1 -1
  23. package/lib/architecture/constants/index.js.map +1 -1
  24. package/lib/architecture/index.d.ts +157 -117
  25. package/lib/architecture/index.js +171 -158
  26. package/lib/architecture/index.js.map +1 -1
  27. package/lib/cache/index.d.ts +9 -0
  28. package/lib/cache/index.js +26 -0
  29. package/lib/cache/index.js.map +1 -0
  30. package/lib/composition/AutoMovieComposition.d.ts +25 -6
  31. package/lib/composition/AutoMovieComposition.js +4 -3
  32. package/lib/composition/AutoMovieComposition.js.map +1 -1
  33. package/lib/composition/AutoMovieScheduleCut.d.ts +53 -0
  34. package/lib/composition/AutoMovieScheduleCut.js +99 -0
  35. package/lib/composition/AutoMovieScheduleCut.js.map +1 -0
  36. package/lib/composition/AutoMovieScheduleError.d.ts +79 -0
  37. package/lib/composition/AutoMovieScheduleError.js +51 -0
  38. package/lib/composition/AutoMovieScheduleError.js.map +1 -0
  39. package/lib/composition/AutoMovieSchedulePlace.d.ts +56 -0
  40. package/lib/composition/AutoMovieSchedulePlace.js +185 -0
  41. package/lib/composition/AutoMovieSchedulePlace.js.map +1 -0
  42. package/lib/composition/AutoMovieScheduleWalk.d.ts +121 -0
  43. package/lib/composition/AutoMovieScheduleWalk.js +161 -0
  44. package/lib/composition/AutoMovieScheduleWalk.js.map +1 -0
  45. package/lib/composition/IAutoMovieIntent.d.ts +9 -6
  46. package/lib/composition/index.d.ts +12 -7
  47. package/lib/composition/index.js +12 -2
  48. package/lib/composition/index.js.map +1 -1
  49. package/lib/composition/markAutoMovieContacts.d.ts +29 -0
  50. package/lib/composition/markAutoMovieContacts.js +69 -0
  51. package/lib/composition/markAutoMovieContacts.js.map +1 -0
  52. package/lib/composition/resolveAutoMovieContactEvents.d.ts +56 -7
  53. package/lib/composition/resolveAutoMovieContactEvents.js +89 -18
  54. package/lib/composition/resolveAutoMovieContactEvents.js.map +1 -1
  55. package/lib/composition/resolveAutoMovieMutualGoal.d.ts +45 -29
  56. package/lib/composition/resolveAutoMovieMutualGoal.js +123 -60
  57. package/lib/composition/resolveAutoMovieMutualGoal.js.map +1 -1
  58. package/lib/composition/resolveAutoMovieSchedule.d.ts +69 -11
  59. package/lib/composition/resolveAutoMovieSchedule.js +32 -103
  60. package/lib/composition/resolveAutoMovieSchedule.js.map +1 -1
  61. package/lib/constants/index.d.ts +2 -0
  62. package/lib/constants/index.js +2 -0
  63. package/lib/constants/index.js.map +1 -1
  64. package/lib/createAutoMovieGeometryActorReader.js +2 -1
  65. package/lib/createAutoMovieGeometryActorReader.js.map +1 -1
  66. package/lib/describeAutoMovieInstanceSetSubject.js +2 -5
  67. package/lib/describeAutoMovieInstanceSetSubject.js.map +1 -1
  68. package/lib/drawing/index.d.ts +12 -0
  69. package/lib/drawing/index.js +12 -0
  70. package/lib/drawing/index.js.map +1 -1
  71. package/lib/effectRuntime/index.d.ts +7 -0
  72. package/lib/effectRuntime/index.js +7 -0
  73. package/lib/effectRuntime/index.js.map +1 -1
  74. package/lib/film/compileAttach.js +2 -5
  75. package/lib/film/compileAttach.js.map +1 -1
  76. package/lib/film/compileLaunch.d.ts +2 -2
  77. package/lib/film/compileLaunch.js +4 -3
  78. package/lib/film/compileLaunch.js.map +1 -1
  79. package/lib/film/constants/index.d.ts +3 -0
  80. package/lib/film/constants/index.js +3 -0
  81. package/lib/film/constants/index.js.map +1 -1
  82. package/lib/film/index.d.ts +61 -6
  83. package/lib/film/index.js +61 -12
  84. package/lib/film/index.js.map +1 -1
  85. package/lib/film/propAnchorFrame.js +6 -9
  86. package/lib/film/propAnchorFrame.js.map +1 -1
  87. package/lib/film/stageScene.js +3 -10
  88. package/lib/film/stageScene.js.map +1 -1
  89. package/lib/film/staging/index.d.ts +11 -0
  90. package/lib/film/staging/index.js +28 -0
  91. package/lib/film/staging/index.js.map +1 -0
  92. package/lib/film/staging/lowerLightPlacement.js +4 -7
  93. package/lib/film/staging/lowerLightPlacement.js.map +1 -1
  94. package/lib/formationSlotPosition.d.ts +6 -1
  95. package/lib/formationSlotPosition.js +38 -3
  96. package/lib/formationSlotPosition.js.map +1 -1
  97. package/lib/geometry/IAutoMovieMark.d.ts +99 -0
  98. package/lib/geometry/IAutoMovieMark.js +3 -0
  99. package/lib/geometry/IAutoMovieMark.js.map +1 -0
  100. package/lib/geometry/IAutoMovieMeshDefect.d.ts +33 -0
  101. package/lib/geometry/IAutoMovieMeshDefect.js +3 -0
  102. package/lib/geometry/IAutoMovieMeshDefect.js.map +1 -0
  103. package/lib/geometry/constants/index.d.ts +2 -0
  104. package/lib/geometry/constants/index.js +2 -0
  105. package/lib/geometry/constants/index.js.map +1 -1
  106. package/lib/geometry/construction/AutoMovieConstructionAdmission.js +72 -10
  107. package/lib/geometry/construction/AutoMovieConstructionAdmission.js.map +1 -1
  108. package/lib/geometry/construction/AutoMovieConstructionBridgeRealize.d.ts +35 -0
  109. package/lib/geometry/construction/AutoMovieConstructionBridgeRealize.js +155 -0
  110. package/lib/geometry/construction/AutoMovieConstructionBridgeRealize.js.map +1 -0
  111. package/lib/geometry/construction/AutoMovieConstructionContinuationRealize.js +4 -0
  112. package/lib/geometry/construction/AutoMovieConstructionContinuationRealize.js.map +1 -1
  113. package/lib/geometry/construction/AutoMovieConstructionPortRealize.d.ts +1 -1
  114. package/lib/geometry/construction/AutoMovieConstructionPortRealize.js +38 -14
  115. package/lib/geometry/construction/AutoMovieConstructionPortRealize.js.map +1 -1
  116. package/lib/geometry/construction/AutoMovieConstructionSeeds.d.ts +6 -6
  117. package/lib/geometry/construction/AutoMovieConstructionSeeds.js +34 -11
  118. package/lib/geometry/construction/AutoMovieConstructionSeeds.js.map +1 -1
  119. package/lib/geometry/construction/AutoMovieConstructionSplitBand.d.ts +107 -2
  120. package/lib/geometry/construction/AutoMovieConstructionSplitBand.js +452 -16
  121. package/lib/geometry/construction/AutoMovieConstructionSplitBand.js.map +1 -1
  122. package/lib/geometry/construction/AutoMovieConstructionSplitRealize.js +262 -0
  123. package/lib/geometry/construction/AutoMovieConstructionSplitRealize.js.map +1 -1
  124. package/lib/geometry/construction/AutoMovieConstructionSplitSeam.d.ts +28 -2
  125. package/lib/geometry/construction/AutoMovieConstructionSplitSeam.js +51 -12
  126. package/lib/geometry/construction/AutoMovieConstructionSplitSeam.js.map +1 -1
  127. package/lib/geometry/construction/AutoMovieConstructionState.d.ts +11 -0
  128. package/lib/geometry/construction/AutoMovieConstructionState.js +5 -0
  129. package/lib/geometry/construction/AutoMovieConstructionState.js.map +1 -1
  130. package/lib/geometry/construction/AutoMovieLoftCapRead.js +3 -2
  131. package/lib/geometry/construction/AutoMovieLoftCapRead.js.map +1 -1
  132. package/lib/geometry/construction/AutoMovieLoftCapSource.js +21 -1
  133. package/lib/geometry/construction/AutoMovieLoftCapSource.js.map +1 -1
  134. package/lib/geometry/construction/AutoMovieLoftJet.js +7 -5
  135. package/lib/geometry/construction/AutoMovieLoftJet.js.map +1 -1
  136. package/lib/geometry/construction/AutoMovieLoftPoint.js +7 -4
  137. package/lib/geometry/construction/AutoMovieLoftPoint.js.map +1 -1
  138. package/lib/geometry/construction/AutoMovieLoftRelief.d.ts +25 -0
  139. package/lib/geometry/construction/AutoMovieLoftRelief.js +37 -0
  140. package/lib/geometry/construction/AutoMovieLoftRelief.js.map +1 -1
  141. package/lib/geometry/construction/AutoMovieLoftViewRead.js +29 -7
  142. package/lib/geometry/construction/AutoMovieLoftViewRead.js.map +1 -1
  143. package/lib/geometry/construction/AutoMovieLoftViewSource.js +4 -2
  144. package/lib/geometry/construction/AutoMovieLoftViewSource.js.map +1 -1
  145. package/lib/geometry/construction/AutoMovieNaturalSpline.d.ts +20 -0
  146. package/lib/geometry/construction/AutoMovieNaturalSpline.js +37 -0
  147. package/lib/geometry/construction/AutoMovieNaturalSpline.js.map +1 -1
  148. package/lib/geometry/construction/AutoMovieSolidBlendChain.d.ts +9 -1
  149. package/lib/geometry/construction/AutoMovieSolidBlendChain.js +13 -8
  150. package/lib/geometry/construction/AutoMovieSolidBlendChain.js.map +1 -1
  151. package/lib/geometry/construction/AutoMovieSolidBodyMerge.js +2 -0
  152. package/lib/geometry/construction/AutoMovieSolidBodyMerge.js.map +1 -1
  153. package/lib/geometry/construction/AutoMovieSolidClip.d.ts +15 -1
  154. package/lib/geometry/construction/AutoMovieSolidClip.js +306 -38
  155. package/lib/geometry/construction/AutoMovieSolidClip.js.map +1 -1
  156. package/lib/geometry/construction/AutoMovieSolidCycle.d.ts +20 -5
  157. package/lib/geometry/construction/AutoMovieSolidCycle.js +68 -16
  158. package/lib/geometry/construction/AutoMovieSolidCycle.js.map +1 -1
  159. package/lib/geometry/construction/AutoMovieSolidIntersectionWalk.js +89 -41
  160. package/lib/geometry/construction/AutoMovieSolidIntersectionWalk.js.map +1 -1
  161. package/lib/geometry/construction/AutoMovieSolidJoin.d.ts +13 -0
  162. package/lib/geometry/construction/AutoMovieSolidJoin.js +23 -2
  163. package/lib/geometry/construction/AutoMovieSolidJoin.js.map +1 -1
  164. package/lib/geometry/construction/AutoMovieSolidMeshConstraints.d.ts +1 -1
  165. package/lib/geometry/construction/AutoMovieSolidMeshConstraints.js +28 -3
  166. package/lib/geometry/construction/AutoMovieSolidMeshConstraints.js.map +1 -1
  167. package/lib/geometry/construction/AutoMovieSolidMeshLoop.d.ts +4 -4
  168. package/lib/geometry/construction/AutoMovieSolidMeshLoop.js +42 -4
  169. package/lib/geometry/construction/AutoMovieSolidMeshLoop.js.map +1 -1
  170. package/lib/geometry/construction/AutoMovieSolidMeshPlan.d.ts +2 -1
  171. package/lib/geometry/construction/AutoMovieSolidMeshPlan.js +57 -25
  172. package/lib/geometry/construction/AutoMovieSolidMeshPlan.js.map +1 -1
  173. package/lib/geometry/construction/AutoMovieSolidRail.d.ts +40 -0
  174. package/lib/geometry/construction/AutoMovieSolidRail.js +101 -31
  175. package/lib/geometry/construction/AutoMovieSolidRail.js.map +1 -1
  176. package/lib/geometry/construction/AutoMovieSolidRailSolve.d.ts +7 -3
  177. package/lib/geometry/construction/AutoMovieSolidRailSolve.js +115 -18
  178. package/lib/geometry/construction/AutoMovieSolidRailSolve.js.map +1 -1
  179. package/lib/geometry/construction/AutoMovieViewLoft.js +9 -0
  180. package/lib/geometry/construction/AutoMovieViewLoft.js.map +1 -1
  181. package/lib/geometry/construction/IAutoMovieConstructionCurve.d.ts +37 -0
  182. package/lib/geometry/construction/IAutoMovieConstructionCurve.js +3 -0
  183. package/lib/geometry/construction/IAutoMovieConstructionCurve.js.map +1 -0
  184. package/lib/geometry/construction/IAutoMovieLoftChain.d.ts +6 -0
  185. package/lib/geometry/construction/IAutoMovieLoftRelief.d.ts +10 -0
  186. package/lib/geometry/construction/IAutoMovieViewPart.d.ts +9 -1
  187. package/lib/geometry/construction/faceAutoMovieSolidMesh.d.ts +3 -3
  188. package/lib/geometry/construction/faceAutoMovieSolidMesh.js +65 -16
  189. package/lib/geometry/construction/faceAutoMovieSolidMesh.js.map +1 -1
  190. package/lib/geometry/construction/fairAutoMovieSolidMesh.d.ts +45 -0
  191. package/lib/geometry/construction/fairAutoMovieSolidMesh.js +270 -0
  192. package/lib/geometry/construction/fairAutoMovieSolidMesh.js.map +1 -0
  193. package/lib/geometry/construction/gridAutoMovieSolidMesh.d.ts +18 -1
  194. package/lib/geometry/construction/gridAutoMovieSolidMesh.js +139 -7
  195. package/lib/geometry/construction/gridAutoMovieSolidMesh.js.map +1 -1
  196. package/lib/geometry/construction/index.d.ts +82 -2
  197. package/lib/geometry/construction/index.js +82 -2
  198. package/lib/geometry/construction/index.js.map +1 -1
  199. package/lib/geometry/construction/legalizeAutoMovieSolidMesh.d.ts +14 -1
  200. package/lib/geometry/construction/legalizeAutoMovieSolidMesh.js +26 -4
  201. package/lib/geometry/construction/legalizeAutoMovieSolidMesh.js.map +1 -1
  202. package/lib/geometry/construction/markAutoMovieConstructionCurves.d.ts +33 -0
  203. package/lib/geometry/construction/markAutoMovieConstructionCurves.js +51 -0
  204. package/lib/geometry/construction/markAutoMovieConstructionCurves.js.map +1 -0
  205. package/lib/geometry/construction/orientAutoMovieSolidChart.d.ts +1 -1
  206. package/lib/geometry/construction/orientAutoMovieSolidChart.js +28 -4
  207. package/lib/geometry/construction/orientAutoMovieSolidChart.js.map +1 -1
  208. package/lib/geometry/construction/probeAutoMovieSolidMesh.d.ts +11 -5
  209. package/lib/geometry/construction/probeAutoMovieSolidMesh.js +41 -28
  210. package/lib/geometry/construction/probeAutoMovieSolidMesh.js.map +1 -1
  211. package/lib/geometry/construction/realizeAutoMovieConstruction.js +45 -1
  212. package/lib/geometry/construction/realizeAutoMovieConstruction.js.map +1 -1
  213. package/lib/geometry/construction/sampleAutoMovieConstructionCurves.d.ts +31 -0
  214. package/lib/geometry/construction/sampleAutoMovieConstructionCurves.js +234 -0
  215. package/lib/geometry/construction/sampleAutoMovieConstructionCurves.js.map +1 -0
  216. package/lib/geometry/curve/index.d.ts +48 -25
  217. package/lib/geometry/curve/index.js +48 -25
  218. package/lib/geometry/curve/index.js.map +1 -1
  219. package/lib/geometry/extract/index.d.ts +0 -1
  220. package/lib/geometry/extract/index.js +0 -1
  221. package/lib/geometry/extract/index.js.map +1 -1
  222. package/lib/geometry/index.d.ts +87 -53
  223. package/lib/geometry/index.js +87 -50
  224. package/lib/geometry/index.js.map +1 -1
  225. package/lib/geometry/markAutoMovieMeshClearance.d.ts +32 -0
  226. package/lib/geometry/markAutoMovieMeshClearance.js +53 -0
  227. package/lib/geometry/markAutoMovieMeshClearance.js.map +1 -0
  228. package/lib/geometry/measureAutoMovieMeshDefects.d.ts +31 -0
  229. package/lib/geometry/measureAutoMovieMeshDefects.js +244 -0
  230. package/lib/geometry/measureAutoMovieMeshDefects.js.map +1 -0
  231. package/lib/geometry/sweep/index.d.ts +54 -15
  232. package/lib/geometry/sweep/index.js +54 -1
  233. package/lib/geometry/sweep/index.js.map +1 -1
  234. package/lib/index.d.ts +41 -450
  235. package/lib/index.js +41 -660
  236. package/lib/index.js.map +1 -1
  237. package/lib/kinematics/AutoMovieHumanoidDigitSurfaces.d.ts +36 -0
  238. package/lib/kinematics/AutoMovieHumanoidDigitSurfaces.js +67 -0
  239. package/lib/kinematics/AutoMovieHumanoidDigitSurfaces.js.map +1 -0
  240. package/lib/kinematics/AutoMovieHumanoidSurfaceExtents.d.ts +28 -0
  241. package/lib/kinematics/AutoMovieHumanoidSurfaceExtents.js +52 -0
  242. package/lib/kinematics/AutoMovieHumanoidSurfaceExtents.js.map +1 -0
  243. package/lib/kinematics/AutoMovieHumanoidSurfaceRays.d.ts +55 -0
  244. package/lib/kinematics/AutoMovieHumanoidSurfaceRays.js +191 -0
  245. package/lib/kinematics/AutoMovieHumanoidSurfaceRays.js.map +1 -0
  246. package/lib/kinematics/AutoMovieHumanoidSurfaceRegions.d.ts +49 -0
  247. package/lib/kinematics/AutoMovieHumanoidSurfaceRegions.js +147 -0
  248. package/lib/kinematics/AutoMovieHumanoidSurfaceRegions.js.map +1 -0
  249. package/lib/kinematics/IAutoMovieHingedArticulation.d.ts +17 -3
  250. package/lib/kinematics/IAutoMoviePoseRig.d.ts +31 -0
  251. package/lib/kinematics/IAutoMoviePoseRig.js +3 -0
  252. package/lib/kinematics/IAutoMoviePoseRig.js.map +1 -0
  253. package/lib/kinematics/IAutoMovieSwivelNear.d.ts +25 -0
  254. package/lib/kinematics/IAutoMovieSwivelNear.js +3 -0
  255. package/lib/kinematics/IAutoMovieSwivelNear.js.map +1 -0
  256. package/lib/kinematics/IAutoMovieSwivelSeed.d.ts +18 -0
  257. package/lib/kinematics/IAutoMovieSwivelSeed.js +3 -0
  258. package/lib/kinematics/IAutoMovieSwivelSeed.js.map +1 -0
  259. package/lib/kinematics/alternateRigJointAngles.d.ts +27 -0
  260. package/lib/kinematics/alternateRigJointAngles.js +34 -0
  261. package/lib/kinematics/alternateRigJointAngles.js.map +1 -0
  262. package/lib/kinematics/boxExcludedSwivels.d.ts +64 -0
  263. package/lib/kinematics/boxExcludedSwivels.js +187 -0
  264. package/lib/kinematics/boxExcludedSwivels.js.map +1 -0
  265. package/lib/kinematics/constants/HUMANOID_JOINT_AXES.d.ts +16 -2
  266. package/lib/kinematics/constants/HUMANOID_JOINT_AXES.js +19 -4
  267. package/lib/kinematics/constants/HUMANOID_JOINT_AXES.js.map +1 -1
  268. package/lib/kinematics/curlChainUntilContact.d.ts +16 -0
  269. package/lib/kinematics/curlChainUntilContact.js +45 -5
  270. package/lib/kinematics/curlChainUntilContact.js.map +1 -1
  271. package/lib/kinematics/decomposeJointRotation.d.ts +5 -2
  272. package/lib/kinematics/decomposeJointRotation.js +10 -131
  273. package/lib/kinematics/decomposeJointRotation.js.map +1 -1
  274. package/lib/kinematics/decomposeJointRotationOnBasis.d.ts +36 -0
  275. package/lib/kinematics/decomposeJointRotationOnBasis.js +228 -0
  276. package/lib/kinematics/decomposeJointRotationOnBasis.js.map +1 -0
  277. package/lib/kinematics/fitDigitDescent.d.ts +66 -0
  278. package/lib/kinematics/fitDigitDescent.js +142 -0
  279. package/lib/kinematics/fitDigitDescent.js.map +1 -0
  280. package/lib/kinematics/fitDigitToTarget.d.ts +125 -0
  281. package/lib/kinematics/fitDigitToTarget.js +251 -0
  282. package/lib/kinematics/fitDigitToTarget.js.map +1 -0
  283. package/lib/kinematics/hingedArmArticulation.d.ts +55 -7
  284. package/lib/kinematics/hingedArmArticulation.js +273 -84
  285. package/lib/kinematics/hingedArmArticulation.js.map +1 -1
  286. package/lib/kinematics/hingedArmSwivel.d.ts +141 -0
  287. package/lib/kinematics/hingedArmSwivel.js +196 -0
  288. package/lib/kinematics/hingedArmSwivel.js.map +1 -0
  289. package/lib/kinematics/index.d.ts +30 -7
  290. package/lib/kinematics/index.js +30 -5
  291. package/lib/kinematics/index.js.map +1 -1
  292. package/lib/kinematics/jointRomOvershoot.d.ts +13 -9
  293. package/lib/kinematics/jointRomOvershoot.js +21 -17
  294. package/lib/kinematics/jointRomOvershoot.js.map +1 -1
  295. package/lib/kinematics/jointToQuaternion.d.ts +2 -2
  296. package/lib/kinematics/jointToQuaternion.js +4 -19
  297. package/lib/kinematics/jointToQuaternion.js.map +1 -1
  298. package/lib/kinematics/jointToQuaternionOnBasis.d.ts +34 -0
  299. package/lib/kinematics/jointToQuaternionOnBasis.js +50 -0
  300. package/lib/kinematics/jointToQuaternionOnBasis.js.map +1 -0
  301. package/lib/kinematics/markAutoMovieBalance.d.ts +32 -0
  302. package/lib/kinematics/markAutoMovieBalance.js +65 -0
  303. package/lib/kinematics/markAutoMovieBalance.js.map +1 -0
  304. package/lib/kinematics/markAutoMovieRomOvershoot.d.ts +25 -0
  305. package/lib/kinematics/markAutoMovieRomOvershoot.js +43 -0
  306. package/lib/kinematics/markAutoMovieRomOvershoot.js.map +1 -0
  307. package/lib/kinematics/measureAutoMovieHumanoidBody.js +16 -5
  308. package/lib/kinematics/measureAutoMovieHumanoidBody.js.map +1 -1
  309. package/lib/kinematics/normalizeJointAxes.d.ts +15 -7
  310. package/lib/kinematics/normalizeJointAxes.js +52 -12
  311. package/lib/kinematics/normalizeJointAxes.js.map +1 -1
  312. package/lib/kinematics/poseJointCodec.d.ts +71 -0
  313. package/lib/kinematics/poseJointCodec.js +70 -0
  314. package/lib/kinematics/poseJointCodec.js.map +1 -0
  315. package/lib/kinematics/resolveAutoMovieBalanceOutcome.d.ts +112 -0
  316. package/lib/kinematics/resolveAutoMovieBalanceOutcome.js +168 -0
  317. package/lib/kinematics/resolveAutoMovieBalanceOutcome.js.map +1 -0
  318. package/lib/kinematics/resolveAutoMovieCenterOfMass.d.ts +29 -4
  319. package/lib/kinematics/resolveAutoMovieCenterOfMass.js +42 -8
  320. package/lib/kinematics/resolveAutoMovieCenterOfMass.js.map +1 -1
  321. package/lib/kinematics/resolveAutoMovieHumanoidRingModules.d.ts +75 -0
  322. package/lib/kinematics/resolveAutoMovieHumanoidRingModules.js +228 -0
  323. package/lib/kinematics/resolveAutoMovieHumanoidRingModules.js.map +1 -0
  324. package/lib/kinematics/resolveAutoMovieHumanoidSurfaces.d.ts +90 -10
  325. package/lib/kinematics/resolveAutoMovieHumanoidSurfaces.js +183 -258
  326. package/lib/kinematics/resolveAutoMovieHumanoidSurfaces.js.map +1 -1
  327. package/lib/kinematics/resolveAutoMovieMomentum.d.ts +112 -0
  328. package/lib/kinematics/resolveAutoMovieMomentum.js +153 -0
  329. package/lib/kinematics/resolveAutoMovieMomentum.js.map +1 -0
  330. package/lib/kinematics/swingTwistBasis.d.ts +108 -0
  331. package/lib/kinematics/swingTwistBasis.js +116 -0
  332. package/lib/kinematics/swingTwistBasis.js.map +1 -0
  333. package/lib/kinematics/swingTwistExcludedSwivels.d.ts +65 -0
  334. package/lib/kinematics/swingTwistExcludedSwivels.js +138 -0
  335. package/lib/kinematics/swingTwistExcludedSwivels.js.map +1 -0
  336. package/lib/kinematics/swingTwistRange.d.ts +246 -0
  337. package/lib/kinematics/swingTwistRange.js +322 -0
  338. package/lib/kinematics/swingTwistRange.js.map +1 -0
  339. package/lib/kinematics/swingTwistRegion.d.ts +50 -0
  340. package/lib/kinematics/swingTwistRegion.js +212 -0
  341. package/lib/kinematics/swingTwistRegion.js.map +1 -0
  342. package/lib/kinematics/swivelArcs.d.ts +166 -0
  343. package/lib/kinematics/swivelArcs.js +200 -0
  344. package/lib/kinematics/swivelArcs.js.map +1 -0
  345. package/lib/math/Quaternion.d.ts +29 -2
  346. package/lib/math/Quaternion.js +33 -2
  347. package/lib/math/Quaternion.js.map +1 -1
  348. package/lib/math/Transform.d.ts +50 -0
  349. package/lib/math/Transform.js +58 -0
  350. package/lib/math/Transform.js.map +1 -0
  351. package/lib/math/assignAutoMovieMinimumCost.d.ts +18 -0
  352. package/lib/math/assignAutoMovieMinimumCost.js +86 -0
  353. package/lib/math/assignAutoMovieMinimumCost.js.map +1 -0
  354. package/lib/math/bracketedBisection.d.ts +33 -0
  355. package/lib/math/bracketedBisection.js +52 -0
  356. package/lib/math/bracketedBisection.js.map +1 -0
  357. package/lib/math/bracketedRoot.d.ts +32 -0
  358. package/lib/math/bracketedRoot.js +76 -0
  359. package/lib/math/bracketedRoot.js.map +1 -0
  360. package/lib/math/constants/index.d.ts +1 -0
  361. package/lib/math/constants/index.js +18 -0
  362. package/lib/math/constants/index.js.map +1 -0
  363. package/lib/math/index.d.ts +64 -5
  364. package/lib/math/index.js +64 -5
  365. package/lib/math/index.js.map +1 -1
  366. package/lib/math/nearestAngleAlias.d.ts +27 -0
  367. package/lib/math/nearestAngleAlias.js +44 -0
  368. package/lib/math/nearestAngleAlias.js.map +1 -0
  369. package/lib/math/solveAutoMovieHalfPlaneProgram.d.ts +68 -0
  370. package/lib/math/solveAutoMovieHalfPlaneProgram.js +199 -0
  371. package/lib/math/solveAutoMovieHalfPlaneProgram.js.map +1 -0
  372. package/lib/math/tetrahedralizeAutoMovieDelaunay.d.ts +82 -0
  373. package/lib/math/tetrahedralizeAutoMovieDelaunay.js +187 -0
  374. package/lib/math/tetrahedralizeAutoMovieDelaunay.js.map +1 -0
  375. package/lib/measureAutoMovieGeometryReach.js +2 -4
  376. package/lib/measureAutoMovieGeometryReach.js.map +1 -1
  377. package/lib/motion/AirborneTakeoffLinear.d.ts +22 -0
  378. package/lib/motion/AirborneTakeoffLinear.js +58 -0
  379. package/lib/motion/AirborneTakeoffLinear.js.map +1 -0
  380. package/lib/motion/IAutoMovieCrowdAgent.d.ts +113 -0
  381. package/lib/motion/IAutoMovieCrowdAgent.js +3 -0
  382. package/lib/motion/IAutoMovieCrowdAgent.js.map +1 -0
  383. package/lib/motion/IAutoMovieSeededChainFit.d.ts +32 -0
  384. package/lib/motion/IAutoMovieSeededChainFit.js +3 -0
  385. package/lib/motion/IAutoMovieSeededChainFit.js.map +1 -0
  386. package/lib/motion/IAutoMovieSolvedChainPlant.d.ts +20 -0
  387. package/lib/motion/IFitChainToTargetProps.d.ts +59 -0
  388. package/lib/motion/MotionTrajectoryStepper.d.ts +100 -0
  389. package/lib/motion/MotionTrajectoryStepper.js +357 -0
  390. package/lib/motion/MotionTrajectoryStepper.js.map +1 -0
  391. package/lib/motion/basisOf.d.ts +18 -0
  392. package/lib/motion/basisOf.js +25 -0
  393. package/lib/motion/basisOf.js.map +1 -0
  394. package/lib/motion/carriedAcceleration.d.ts +43 -0
  395. package/lib/motion/carriedAcceleration.js +55 -0
  396. package/lib/motion/carriedAcceleration.js.map +1 -0
  397. package/lib/motion/carriedRate.d.ts +48 -0
  398. package/lib/motion/carriedRate.js +60 -0
  399. package/lib/motion/carriedRate.js.map +1 -0
  400. package/lib/motion/constants/PLANT_RESIDUAL_EPSILON.d.ts +10 -0
  401. package/lib/motion/constants/PLANT_RESIDUAL_EPSILON.js +14 -0
  402. package/lib/motion/constants/PLANT_RESIDUAL_EPSILON.js.map +1 -0
  403. package/lib/motion/constants/index.d.ts +1 -0
  404. package/lib/motion/constants/index.js +1 -0
  405. package/lib/motion/constants/index.js.map +1 -1
  406. package/lib/motion/fitChainBend.d.ts +23 -0
  407. package/lib/motion/fitChainBend.js +293 -0
  408. package/lib/motion/fitChainBend.js.map +1 -0
  409. package/lib/motion/fitChainToTarget.d.ts +11 -13
  410. package/lib/motion/fitChainToTarget.js +12 -283
  411. package/lib/motion/fitChainToTarget.js.map +1 -1
  412. package/lib/motion/fitHingedChainCandidate.d.ts +16 -4
  413. package/lib/motion/fitHingedChainCandidate.js +186 -76
  414. package/lib/motion/fitHingedChainCandidate.js.map +1 -1
  415. package/lib/motion/fitHingedRotationError.d.ts +31 -0
  416. package/lib/motion/fitHingedRotationError.js +107 -0
  417. package/lib/motion/fitHingedRotationError.js.map +1 -0
  418. package/lib/motion/fitSeededChainToTarget.d.ts +20 -0
  419. package/lib/motion/fitSeededChainToTarget.js +32 -0
  420. package/lib/motion/fitSeededChainToTarget.js.map +1 -0
  421. package/lib/motion/gaitMotion.js +7 -13
  422. package/lib/motion/gaitMotion.js.map +1 -1
  423. package/lib/motion/gestureMotion.js +2 -5
  424. package/lib/motion/gestureMotion.js.map +1 -1
  425. package/lib/motion/importedNodeClipToAutoMovieMotion.js +6 -9
  426. package/lib/motion/importedNodeClipToAutoMovieMotion.js.map +1 -1
  427. package/lib/motion/index.d.ts +40 -9
  428. package/lib/motion/index.js +40 -12
  429. package/lib/motion/index.js.map +1 -1
  430. package/lib/motion/inertializeOffset.d.ts +15 -2
  431. package/lib/motion/inertializeOffset.js +16 -3
  432. package/lib/motion/inertializeOffset.js.map +1 -1
  433. package/lib/motion/inertializePose.d.ts +36 -13
  434. package/lib/motion/inertializePose.js +122 -43
  435. package/lib/motion/inertializePose.js.map +1 -1
  436. package/lib/motion/integrateAirborneRotation.d.ts +151 -0
  437. package/lib/motion/integrateAirborneRotation.js +204 -0
  438. package/lib/motion/integrateAirborneRotation.js.map +1 -0
  439. package/lib/motion/integrateMotionTrajectory.d.ts +117 -0
  440. package/lib/motion/integrateMotionTrajectory.js +156 -0
  441. package/lib/motion/integrateMotionTrajectory.js.map +1 -0
  442. package/lib/motion/orientChainEffector.d.ts +1 -1
  443. package/lib/motion/orientChainEffector.js +15 -7
  444. package/lib/motion/orientChainEffector.js.map +1 -1
  445. package/lib/motion/resolveHydrodynamicForce.d.ts +85 -0
  446. package/lib/motion/resolveHydrodynamicForce.js +100 -0
  447. package/lib/motion/resolveHydrodynamicForce.js.map +1 -0
  448. package/lib/motion/sampleMotion.js +2 -5
  449. package/lib/motion/sampleMotion.js.map +1 -1
  450. package/lib/motion/samplePoseVelocity.d.ts +76 -13
  451. package/lib/motion/samplePoseVelocity.js +126 -38
  452. package/lib/motion/samplePoseVelocity.js.map +1 -1
  453. package/lib/motion/smoothMinimum.d.ts +29 -0
  454. package/lib/motion/smoothMinimum.js +40 -0
  455. package/lib/motion/smoothMinimum.js.map +1 -0
  456. package/lib/motion/solveAirborneTakeoff.d.ts +150 -0
  457. package/lib/motion/solveAirborneTakeoff.js +324 -0
  458. package/lib/motion/solveAirborneTakeoff.js.map +1 -0
  459. package/lib/motion/solveDistalTwist.d.ts +62 -0
  460. package/lib/motion/solveDistalTwist.js +152 -0
  461. package/lib/motion/solveDistalTwist.js.map +1 -0
  462. package/lib/motion/speedProfile.d.ts +175 -0
  463. package/lib/motion/speedProfile.js +261 -0
  464. package/lib/motion/speedProfile.js.map +1 -0
  465. package/lib/motion/splitDistalTwist.d.ts +12 -17
  466. package/lib/motion/splitDistalTwist.js +37 -40
  467. package/lib/motion/splitDistalTwist.js.map +1 -1
  468. package/lib/motion/steerAutoMovieCrowd.d.ts +74 -0
  469. package/lib/motion/steerAutoMovieCrowd.js +249 -0
  470. package/lib/motion/steerAutoMovieCrowd.js.map +1 -0
  471. package/lib/motion/steerAutoMovieCrowdGeometry.d.ts +241 -0
  472. package/lib/motion/steerAutoMovieCrowdGeometry.js +470 -0
  473. package/lib/motion/steerAutoMovieCrowdGeometry.js.map +1 -0
  474. package/lib/perform/index.d.ts +10 -0
  475. package/lib/perform/index.js +10 -0
  476. package/lib/perform/index.js.map +1 -1
  477. package/lib/physics/AutoMovieAir.d.ts +21 -0
  478. package/lib/physics/AutoMovieAir.js +26 -0
  479. package/lib/physics/AutoMovieAir.js.map +1 -0
  480. package/lib/physics/AutoMovieGravity.d.ts +22 -0
  481. package/lib/physics/AutoMovieGravity.js +30 -0
  482. package/lib/physics/AutoMovieGravity.js.map +1 -0
  483. package/lib/physics/IAutoMovieHit.d.ts +11 -7
  484. package/lib/physics/IAutoMovieProjectile.d.ts +65 -6
  485. package/lib/physics/IAutoMovieProjectileState.d.ts +6 -4
  486. package/lib/physics/admitMotionGeometry.js +12 -0
  487. package/lib/physics/admitMotionGeometry.js.map +1 -1
  488. package/lib/physics/bindPhysicalWorld.js +16 -4
  489. package/lib/physics/bindPhysicalWorld.js.map +1 -1
  490. package/lib/physics/combinePhysicalMassProperties.d.ts +2 -1
  491. package/lib/physics/combinePhysicalMassProperties.js +8 -90
  492. package/lib/physics/combinePhysicalMassProperties.js.map +1 -1
  493. package/lib/physics/deriveCenterOfMass.js +2 -5
  494. package/lib/physics/deriveCenterOfMass.js.map +1 -1
  495. package/lib/physics/derivePhysicalProfile.js +7 -5
  496. package/lib/physics/derivePhysicalProfile.js.map +1 -1
  497. package/lib/physics/index.d.ts +155 -2
  498. package/lib/physics/index.js +155 -2
  499. package/lib/physics/index.js.map +1 -1
  500. package/lib/physics/markAutoMovieSkeleton.d.ts +33 -0
  501. package/lib/physics/markAutoMovieSkeleton.js +62 -0
  502. package/lib/physics/markAutoMovieSkeleton.js.map +1 -0
  503. package/lib/physics/physicalHullErode.d.ts +25 -0
  504. package/lib/physics/physicalHullErode.js +54 -0
  505. package/lib/physics/physicalHullErode.js.map +1 -0
  506. package/lib/physics/physicalHullFaces.d.ts +56 -0
  507. package/lib/physics/physicalHullFaces.js +151 -0
  508. package/lib/physics/physicalHullFaces.js.map +1 -0
  509. package/lib/physics/physicalHullMass.d.ts +32 -0
  510. package/lib/physics/physicalHullMass.js +80 -0
  511. package/lib/physics/physicalHullMass.js.map +1 -0
  512. package/lib/physics/physicalHullNearest.d.ts +37 -0
  513. package/lib/physics/physicalHullNearest.js +178 -0
  514. package/lib/physics/physicalHullNearest.js.map +1 -0
  515. package/lib/physics/physicalHullSegment.d.ts +34 -0
  516. package/lib/physics/physicalHullSegment.js +276 -0
  517. package/lib/physics/physicalHullSegment.js.map +1 -0
  518. package/lib/physics/physicalInertiaTensor.d.ts +28 -0
  519. package/lib/physics/physicalInertiaTensor.js +58 -0
  520. package/lib/physics/physicalInertiaTensor.js.map +1 -0
  521. package/lib/physics/physicalNativeShape.d.ts +1 -1
  522. package/lib/physics/physicalNativeShape.js +15 -4
  523. package/lib/physics/physicalNativeShape.js.map +1 -1
  524. package/lib/physics/physicalPrincipalAxes.d.ts +28 -0
  525. package/lib/physics/physicalPrincipalAxes.js +96 -0
  526. package/lib/physics/physicalPrincipalAxes.js.map +1 -0
  527. package/lib/physics/physicalShapeBounds.d.ts +2 -1
  528. package/lib/physics/physicalShapeBounds.js +26 -2
  529. package/lib/physics/physicalShapeBounds.js.map +1 -1
  530. package/lib/physics/physicalShapeNearest.d.ts +70 -0
  531. package/lib/physics/physicalShapeNearest.js +201 -0
  532. package/lib/physics/physicalShapeNearest.js.map +1 -0
  533. package/lib/physics/physicalShapeNormal.d.ts +26 -0
  534. package/lib/physics/physicalShapeNormal.js +70 -0
  535. package/lib/physics/physicalShapeNormal.js.map +1 -0
  536. package/lib/physics/physicalShapePairDistance.d.ts +32 -0
  537. package/lib/physics/physicalShapePairDistance.js +124 -0
  538. package/lib/physics/physicalShapePairDistance.js.map +1 -0
  539. package/lib/physics/physicalShapeSegmentDistance.d.ts +16 -20
  540. package/lib/physics/physicalShapeSegmentDistance.js +18 -70
  541. package/lib/physics/physicalShapeSegmentDistance.js.map +1 -1
  542. package/lib/physics/physicalShapeSpan.d.ts +21 -0
  543. package/lib/physics/physicalShapeSpan.js +55 -0
  544. package/lib/physics/physicalShapeSpan.js.map +1 -0
  545. package/lib/physics/physicalShapeSurfaceAnchor.d.ts +1 -1
  546. package/lib/physics/physicalShapeSurfaceAnchor.js +24 -5
  547. package/lib/physics/physicalShapeSurfaceAnchor.js.map +1 -1
  548. package/lib/physics/projectileAt.d.ts +14 -12
  549. package/lib/physics/projectileAt.js +46 -16
  550. package/lib/physics/projectileAt.js.map +1 -1
  551. package/lib/physics/projectileContinue.d.ts +114 -0
  552. package/lib/physics/projectileContinue.js +189 -0
  553. package/lib/physics/projectileContinue.js.map +1 -0
  554. package/lib/physics/projectileDragFlight.d.ts +72 -0
  555. package/lib/physics/projectileDragFlight.js +166 -0
  556. package/lib/physics/projectileDragFlight.js.map +1 -0
  557. package/lib/physics/projectileFirstContact.d.ts +105 -0
  558. package/lib/physics/projectileFirstContact.js +174 -0
  559. package/lib/physics/projectileFirstContact.js.map +1 -0
  560. package/lib/physics/projectileTrajectory.js +3 -2
  561. package/lib/physics/projectileTrajectory.js.map +1 -1
  562. package/lib/physics/solveBallisticLaunch.js +2 -1
  563. package/lib/physics/solveBallisticLaunch.js.map +1 -1
  564. package/lib/physics/solveMovingLaunch.js +2 -1
  565. package/lib/physics/solveMovingLaunch.js.map +1 -1
  566. package/lib/physics/validatePhysicalProfile.js +18 -1
  567. package/lib/physics/validatePhysicalProfile.js.map +1 -1
  568. package/lib/populationRuntime/index.d.ts +6 -0
  569. package/lib/populationRuntime/index.js +6 -0
  570. package/lib/populationRuntime/index.js.map +1 -1
  571. package/lib/populationRuntime/materializeCompiledFormation.js +2 -5
  572. package/lib/populationRuntime/materializeCompiledFormation.js.map +1 -1
  573. package/lib/random/index.d.ts +1 -1
  574. package/lib/random/index.js +1 -0
  575. package/lib/random/index.js.map +1 -1
  576. package/lib/render/index.d.ts +20 -11
  577. package/lib/render/index.js +20 -11
  578. package/lib/render/index.js.map +1 -1
  579. package/lib/resolve/index.d.ts +7 -2
  580. package/lib/resolve/index.js +7 -5
  581. package/lib/resolve/index.js.map +1 -1
  582. package/lib/resolve/lowerSkeletonNodes.js +3 -10
  583. package/lib/resolve/lowerSkeletonNodes.js.map +1 -1
  584. package/lib/rom/clampJointRom.d.ts +11 -3
  585. package/lib/rom/clampJointRom.js +43 -3
  586. package/lib/rom/clampJointRom.js.map +1 -1
  587. package/lib/rom/clampJointToSkeleton.d.ts +25 -2
  588. package/lib/rom/clampJointToSkeleton.js +39 -8
  589. package/lib/rom/clampJointToSkeleton.js.map +1 -1
  590. package/lib/rom/constants/ANKLE_DORSIFLEXION.d.ts +18 -0
  591. package/lib/rom/constants/ANKLE_DORSIFLEXION.js +22 -0
  592. package/lib/rom/constants/ANKLE_DORSIFLEXION.js.map +1 -0
  593. package/lib/rom/constants/DEFAULT_HUMANOID_ROM.d.ts +28 -0
  594. package/lib/rom/constants/DEFAULT_HUMANOID_ROM.js +129 -39
  595. package/lib/rom/constants/DEFAULT_HUMANOID_ROM.js.map +1 -1
  596. package/lib/rom/constants/ROM_TOLERANCE.d.ts +8 -0
  597. package/lib/rom/constants/ROM_TOLERANCE.js +12 -0
  598. package/lib/rom/constants/ROM_TOLERANCE.js.map +1 -0
  599. package/lib/rom/constants/index.d.ts +2 -0
  600. package/lib/rom/constants/index.js +2 -0
  601. package/lib/rom/constants/index.js.map +1 -1
  602. package/lib/rom/index.d.ts +1 -0
  603. package/lib/rom/index.js +1 -0
  604. package/lib/rom/index.js.map +1 -1
  605. package/lib/rom/scanJointRom.d.ts +62 -0
  606. package/lib/rom/scanJointRom.js +117 -0
  607. package/lib/rom/scanJointRom.js.map +1 -0
  608. package/lib/rom/validateJointRom.d.ts +4 -2
  609. package/lib/rom/validateJointRom.js +23 -45
  610. package/lib/rom/validateJointRom.js.map +1 -1
  611. package/lib/service/index.d.ts +9 -0
  612. package/lib/service/index.js +9 -0
  613. package/lib/service/index.js.map +1 -1
  614. package/lib/soft/IAutoMovieSoftBodyBoundarySample.d.ts +2 -0
  615. package/lib/soft/IAutoMovieSoftBodyObserver.d.ts +30 -0
  616. package/lib/soft/IAutoMovieSoftBodyObserver.js +3 -0
  617. package/lib/soft/IAutoMovieSoftBodyObserver.js.map +1 -0
  618. package/lib/soft/applySoftBodyFriction.d.ts +34 -0
  619. package/lib/soft/applySoftBodyFriction.js +52 -0
  620. package/lib/soft/applySoftBodyFriction.js.map +1 -0
  621. package/lib/soft/index.d.ts +22 -0
  622. package/lib/soft/index.js +22 -0
  623. package/lib/soft/index.js.map +1 -1
  624. package/lib/soft/projectSoftCordSelfContact.d.ts +53 -0
  625. package/lib/soft/projectSoftCordSelfContact.js +172 -0
  626. package/lib/soft/projectSoftCordSelfContact.js.map +1 -0
  627. package/lib/soft/simulateSoftBodyCore.d.ts +6 -3
  628. package/lib/soft/simulateSoftBodyCore.js +108 -16
  629. package/lib/soft/simulateSoftBodyCore.js.map +1 -1
  630. package/lib/soft/simulateSoftBodyWithBoundaries.d.ts +3 -2
  631. package/lib/soft/simulateSoftBodyWithBoundaries.js +10 -3
  632. package/lib/soft/simulateSoftBodyWithBoundaries.js.map +1 -1
  633. package/lib/soft/softBodyBudget.js +7 -0
  634. package/lib/soft/softBodyBudget.js.map +1 -1
  635. package/lib/soft/softBodyHeldLoads.d.ts +34 -0
  636. package/lib/soft/softBodyHeldLoads.js +69 -0
  637. package/lib/soft/softBodyHeldLoads.js.map +1 -0
  638. package/lib/soft/solveSoftBodyCompliantSweep.d.ts +48 -0
  639. package/lib/soft/solveSoftBodyCompliantSweep.js +86 -0
  640. package/lib/soft/solveSoftBodyCompliantSweep.js.map +1 -0
  641. package/lib/soft/validateSoftAnchors.d.ts +24 -0
  642. package/lib/soft/validateSoftAnchors.js +74 -0
  643. package/lib/soft/validateSoftAnchors.js.map +1 -0
  644. package/lib/soft/validateSoftBodyDomain.js +6 -48
  645. package/lib/soft/validateSoftBodyDomain.js.map +1 -1
  646. package/lib/soft/validateSoftBounded.d.ts +20 -0
  647. package/lib/soft/validateSoftBounded.js +27 -0
  648. package/lib/soft/validateSoftBounded.js.map +1 -0
  649. package/lib/soft/validateSoftCompliance.d.ts +30 -0
  650. package/lib/soft/validateSoftCompliance.js +54 -0
  651. package/lib/soft/validateSoftCompliance.js.map +1 -0
  652. package/lib/sound/index.d.ts +2 -0
  653. package/lib/sound/index.js +2 -0
  654. package/lib/sound/index.js.map +1 -1
  655. package/lib/text/index.d.ts +1 -0
  656. package/lib/text/index.js +1 -0
  657. package/lib/text/index.js.map +1 -1
  658. package/lib/validation/AffordanceArticulation.d.ts +69 -0
  659. package/lib/validation/AffordanceArticulation.js +142 -0
  660. package/lib/validation/AffordanceArticulation.js.map +1 -0
  661. package/lib/validation/affordanceFollowedTravel.d.ts +19 -0
  662. package/lib/validation/affordanceFollowedTravel.js +43 -0
  663. package/lib/validation/affordanceFollowedTravel.js.map +1 -0
  664. package/lib/validation/affordanceLeadingTravel.d.ts +21 -0
  665. package/lib/validation/affordanceLeadingTravel.js +99 -0
  666. package/lib/validation/affordanceLeadingTravel.js.map +1 -0
  667. package/lib/validation/affordanceTravelRange.d.ts +21 -0
  668. package/lib/validation/affordanceTravelRange.js +39 -0
  669. package/lib/validation/affordanceTravelRange.js.map +1 -0
  670. package/lib/validation/appendShotEventsArtifact.js +12 -0
  671. package/lib/validation/appendShotEventsArtifact.js.map +1 -1
  672. package/lib/validation/constants/index.d.ts +3 -3
  673. package/lib/validation/constants/index.js +3 -3
  674. package/lib/validation/constants/index.js.map +1 -1
  675. package/lib/validation/detectFreeFall.js +2 -1
  676. package/lib/validation/detectFreeFall.js.map +1 -1
  677. package/lib/validation/index.d.ts +52 -4
  678. package/lib/validation/index.js +52 -6
  679. package/lib/validation/index.js.map +1 -1
  680. package/lib/validation/markAutoMovieSlip.d.ts +26 -0
  681. package/lib/validation/markAutoMovieSlip.js +52 -0
  682. package/lib/validation/markAutoMovieSlip.js.map +1 -0
  683. package/lib/validation/validateAffordance.d.ts +3 -3
  684. package/lib/validation/validateAffordance.js +21 -3
  685. package/lib/validation/validateAffordance.js.map +1 -1
  686. package/lib/validation/validateAffordanceArticulation.d.ts +19 -0
  687. package/lib/validation/validateAffordanceArticulation.js +183 -0
  688. package/lib/validation/validateAffordanceArticulation.js.map +1 -0
  689. package/lib/validation/validateBalanceSupport.d.ts +1 -2
  690. package/lib/validation/validateBalanceSupport.js.map +1 -1
  691. package/lib/validation/validateBody.d.ts +2 -2
  692. package/lib/validation/validateBody.js +27 -3
  693. package/lib/validation/validateBody.js.map +1 -1
  694. package/lib/validation/validateFootSkate.d.ts +1 -2
  695. package/lib/validation/validateFootSkate.js.map +1 -1
  696. package/lib/validation/validateGroundContact.d.ts +1 -2
  697. package/lib/validation/validateGroundContact.js.map +1 -1
  698. package/lib/validation/validateJointConstraint.d.ts +1 -1
  699. package/lib/validation/validateJointConstraint.js +9 -1
  700. package/lib/validation/validateJointConstraint.js.map +1 -1
  701. package/lib/validation/validateModel.js +2 -0
  702. package/lib/validation/validateModel.js.map +1 -1
  703. package/lib/validation/validateSelfIntersection.d.ts +1 -2
  704. package/lib/validation/validateSelfIntersection.js.map +1 -1
  705. package/lib/worldBlock.js +6 -9
  706. package/lib/worldBlock.js.map +1 -1
  707. package/package.json +6 -6
  708. package/src/IAutoMovieFormationPlacement.ts +4 -3
  709. package/src/analysis/index.ts +5 -0
  710. package/src/anthropometry/AutoMovieHandAnthropometry.ts +65 -0
  711. package/src/anthropometry/index.ts +1 -0
  712. package/src/architecture/appendBuiltRegionDefects.ts +3 -3
  713. package/src/architecture/builtOutlineIsClosed.ts +3 -3
  714. package/{lib/architecture/constants/PLANAR_EPSILON.d.ts → src/architecture/constants/BUILT_PLANAR_EPSILON.ts} +1 -1
  715. package/src/architecture/constants/index.ts +1 -1
  716. package/src/architecture/index.ts +157 -117
  717. package/src/cache/index.ts +9 -0
  718. package/src/composition/AutoMovieComposition.ts +34 -7
  719. package/src/composition/AutoMovieScheduleCut.ts +141 -0
  720. package/src/composition/AutoMovieScheduleError.ts +108 -0
  721. package/src/composition/AutoMovieSchedulePlace.ts +253 -0
  722. package/src/composition/AutoMovieScheduleWalk.ts +215 -0
  723. package/src/composition/IAutoMovieIntent.ts +9 -7
  724. package/src/composition/index.ts +12 -7
  725. package/src/composition/markAutoMovieContacts.ts +79 -0
  726. package/src/composition/resolveAutoMovieContactEvents.ts +160 -19
  727. package/src/composition/resolveAutoMovieMutualGoal.ts +146 -72
  728. package/src/composition/resolveAutoMovieSchedule.ts +106 -145
  729. package/src/constants/index.ts +2 -0
  730. package/src/createAutoMovieGeometryActorReader.ts +2 -1
  731. package/src/describeAutoMovieInstanceSetSubject.ts +2 -5
  732. package/src/drawing/index.ts +12 -0
  733. package/src/effectRuntime/index.ts +7 -0
  734. package/src/film/compileAttach.ts +2 -5
  735. package/src/film/compileLaunch.ts +5 -4
  736. package/src/film/constants/index.ts +3 -0
  737. package/src/film/index.ts +61 -6
  738. package/src/film/propAnchorFrame.ts +3 -6
  739. package/src/film/stageScene.ts +3 -10
  740. package/src/film/staging/index.ts +11 -0
  741. package/src/film/staging/lowerLightPlacement.ts +3 -7
  742. package/src/formationSlotPosition.ts +54 -7
  743. package/src/geometry/IAutoMovieMark.ts +115 -0
  744. package/src/geometry/IAutoMovieMeshDefect.ts +39 -0
  745. package/src/geometry/constants/index.ts +2 -0
  746. package/src/geometry/construction/AutoMovieConstructionAdmission.ts +98 -13
  747. package/src/geometry/construction/AutoMovieConstructionBridgeRealize.ts +172 -0
  748. package/src/geometry/construction/AutoMovieConstructionContinuationRealize.ts +3 -0
  749. package/src/geometry/construction/AutoMovieConstructionPortRealize.ts +48 -16
  750. package/src/geometry/construction/AutoMovieConstructionSeeds.ts +54 -10
  751. package/src/geometry/construction/AutoMovieConstructionSplitBand.ts +509 -15
  752. package/src/geometry/construction/AutoMovieConstructionSplitRealize.ts +278 -0
  753. package/src/geometry/construction/AutoMovieConstructionSplitSeam.ts +50 -18
  754. package/src/geometry/construction/AutoMovieConstructionState.ts +13 -0
  755. package/src/geometry/construction/AutoMovieLoftCapRead.ts +3 -2
  756. package/src/geometry/construction/AutoMovieLoftCapSource.ts +34 -1
  757. package/src/geometry/construction/AutoMovieLoftJet.ts +10 -5
  758. package/src/geometry/construction/AutoMovieLoftPoint.ts +13 -4
  759. package/src/geometry/construction/AutoMovieLoftRelief.ts +42 -0
  760. package/src/geometry/construction/AutoMovieLoftViewRead.ts +34 -6
  761. package/src/geometry/construction/AutoMovieLoftViewSource.ts +4 -2
  762. package/src/geometry/construction/AutoMovieNaturalSpline.ts +44 -0
  763. package/src/geometry/construction/AutoMovieSolidBlendChain.ts +34 -20
  764. package/src/geometry/construction/AutoMovieSolidBodyMerge.ts +2 -0
  765. package/src/geometry/construction/AutoMovieSolidClip.ts +341 -54
  766. package/src/geometry/construction/AutoMovieSolidCycle.ts +104 -26
  767. package/src/geometry/construction/AutoMovieSolidIntersectionWalk.ts +100 -50
  768. package/src/geometry/construction/AutoMovieSolidJoin.ts +48 -2
  769. package/src/geometry/construction/AutoMovieSolidMeshConstraints.ts +35 -3
  770. package/src/geometry/construction/AutoMovieSolidMeshLoop.ts +55 -4
  771. package/src/geometry/construction/AutoMovieSolidMeshPlan.ts +79 -34
  772. package/src/geometry/construction/AutoMovieSolidRail.ts +124 -22
  773. package/src/geometry/construction/AutoMovieSolidRailSolve.ts +116 -25
  774. package/src/geometry/construction/AutoMovieViewLoft.ts +9 -0
  775. package/src/geometry/construction/IAutoMovieConstructionCurve.ts +42 -0
  776. package/src/geometry/construction/IAutoMovieLoftChain.ts +7 -0
  777. package/src/geometry/construction/IAutoMovieLoftRelief.ts +11 -0
  778. package/src/geometry/construction/IAutoMovieViewPart.ts +10 -1
  779. package/src/geometry/construction/faceAutoMovieSolidMesh.ts +76 -15
  780. package/src/geometry/construction/fairAutoMovieSolidMesh.ts +252 -0
  781. package/src/geometry/construction/gridAutoMovieSolidMesh.ts +173 -8
  782. package/src/geometry/construction/index.ts +82 -2
  783. package/src/geometry/construction/legalizeAutoMovieSolidMesh.ts +28 -2
  784. package/src/geometry/construction/markAutoMovieConstructionCurves.ts +58 -0
  785. package/src/geometry/construction/orientAutoMovieSolidChart.ts +32 -7
  786. package/src/geometry/construction/probeAutoMovieSolidMesh.ts +52 -30
  787. package/src/geometry/construction/realizeAutoMovieConstruction.ts +47 -5
  788. package/src/geometry/construction/sampleAutoMovieConstructionCurves.ts +307 -0
  789. package/src/geometry/curve/index.ts +48 -25
  790. package/src/geometry/extract/index.ts +0 -1
  791. package/src/geometry/index.ts +87 -53
  792. package/src/geometry/markAutoMovieMeshClearance.ts +69 -0
  793. package/src/geometry/measureAutoMovieMeshDefects.ts +327 -0
  794. package/src/geometry/sweep/index.ts +54 -15
  795. package/src/index.ts +41 -450
  796. package/src/kinematics/AutoMovieHumanoidDigitSurfaces.ts +110 -0
  797. package/src/kinematics/AutoMovieHumanoidSurfaceExtents.ts +81 -0
  798. package/src/kinematics/AutoMovieHumanoidSurfaceRays.ts +286 -0
  799. package/src/kinematics/AutoMovieHumanoidSurfaceRegions.ts +189 -0
  800. package/src/kinematics/IAutoMovieHingedArticulation.ts +21 -3
  801. package/src/kinematics/IAutoMoviePoseRig.ts +39 -0
  802. package/src/kinematics/IAutoMovieSwivelNear.ts +26 -0
  803. package/src/kinematics/IAutoMovieSwivelSeed.ts +19 -0
  804. package/src/kinematics/alternateRigJointAngles.ts +41 -0
  805. package/src/kinematics/boxExcludedSwivels.ts +260 -0
  806. package/src/kinematics/constants/HUMANOID_JOINT_AXES.ts +19 -4
  807. package/src/kinematics/curlChainUntilContact.ts +35 -8
  808. package/src/kinematics/decomposeJointRotation.ts +15 -178
  809. package/src/kinematics/decomposeJointRotationOnBasis.ts +310 -0
  810. package/src/kinematics/fitDigitDescent.ts +253 -0
  811. package/src/kinematics/fitDigitToTarget.ts +425 -0
  812. package/src/kinematics/hingedArmArticulation.ts +402 -116
  813. package/src/kinematics/hingedArmSwivel.ts +295 -0
  814. package/src/kinematics/index.ts +30 -12
  815. package/src/kinematics/jointRomOvershoot.ts +30 -19
  816. package/src/kinematics/jointToQuaternion.ts +8 -43
  817. package/src/kinematics/jointToQuaternionOnBasis.ts +84 -0
  818. package/src/kinematics/markAutoMovieBalance.ts +75 -0
  819. package/src/kinematics/markAutoMovieRomOvershoot.ts +52 -0
  820. package/src/kinematics/measureAutoMovieHumanoidBody.ts +31 -9
  821. package/src/kinematics/normalizeJointAxes.ts +66 -12
  822. package/src/kinematics/poseJointCodec.ts +148 -0
  823. package/src/kinematics/resolveAutoMovieBalanceOutcome.ts +293 -0
  824. package/src/kinematics/resolveAutoMovieCenterOfMass.ts +63 -10
  825. package/src/kinematics/resolveAutoMovieHumanoidRingModules.ts +434 -0
  826. package/src/kinematics/resolveAutoMovieHumanoidSurfaces.ts +230 -356
  827. package/src/kinematics/resolveAutoMovieMomentum.ts +253 -0
  828. package/src/kinematics/swingTwistBasis.ts +162 -0
  829. package/src/kinematics/swingTwistExcludedSwivels.ts +204 -0
  830. package/src/kinematics/swingTwistRange.ts +460 -0
  831. package/src/kinematics/swingTwistRegion.ts +298 -0
  832. package/src/kinematics/swivelArcs.ts +245 -0
  833. package/src/math/Quaternion.ts +42 -2
  834. package/src/math/Transform.ts +65 -0
  835. package/src/math/assignAutoMovieMinimumCost.ts +86 -0
  836. package/src/math/bracketedBisection.ts +51 -0
  837. package/src/math/bracketedRoot.ts +72 -0
  838. package/src/math/constants/index.ts +1 -0
  839. package/src/math/index.ts +64 -5
  840. package/src/math/nearestAngleAlias.ts +43 -0
  841. package/src/math/solveAutoMovieHalfPlaneProgram.ts +288 -0
  842. package/src/math/tetrahedralizeAutoMovieDelaunay.ts +264 -0
  843. package/src/measureAutoMovieGeometryReach.ts +2 -4
  844. package/src/motion/AirborneTakeoffLinear.ts +70 -0
  845. package/src/motion/IAutoMovieCrowdAgent.ts +121 -0
  846. package/src/motion/IAutoMovieSeededChainFit.ts +32 -0
  847. package/src/motion/IAutoMovieSolvedChainPlant.ts +20 -0
  848. package/src/motion/IFitChainToTargetProps.ts +67 -0
  849. package/src/motion/MotionTrajectoryStepper.ts +478 -0
  850. package/src/motion/basisOf.ts +29 -0
  851. package/src/motion/carriedAcceleration.ts +56 -0
  852. package/src/motion/carriedRate.ts +61 -0
  853. package/src/motion/constants/PLANT_RESIDUAL_EPSILON.ts +10 -0
  854. package/src/motion/constants/index.ts +1 -0
  855. package/src/motion/fitChainBend.ts +491 -0
  856. package/src/motion/fitChainToTarget.ts +13 -485
  857. package/src/motion/fitHingedChainCandidate.ts +281 -148
  858. package/src/motion/fitHingedRotationError.ts +164 -0
  859. package/src/motion/fitSeededChainToTarget.ts +34 -0
  860. package/src/motion/gaitMotion.ts +6 -10
  861. package/src/motion/gestureMotion.ts +2 -5
  862. package/src/motion/importedNodeClipToAutoMovieMotion.ts +3 -6
  863. package/src/motion/index.ts +40 -9
  864. package/src/motion/inertializeOffset.ts +16 -2
  865. package/src/motion/inertializePose.ts +158 -53
  866. package/src/motion/integrateAirborneRotation.ts +334 -0
  867. package/src/motion/integrateMotionTrajectory.ts +309 -0
  868. package/src/motion/orientChainEffector.ts +19 -13
  869. package/src/motion/resolveHydrodynamicForce.ts +143 -0
  870. package/src/motion/sampleMotion.ts +2 -5
  871. package/src/motion/samplePoseVelocity.ts +168 -41
  872. package/src/motion/smoothMinimum.ts +36 -0
  873. package/src/motion/solveAirborneTakeoff.ts +471 -0
  874. package/src/motion/solveDistalTwist.ts +256 -0
  875. package/src/motion/speedProfile.ts +470 -0
  876. package/src/motion/splitDistalTwist.ts +55 -64
  877. package/src/motion/steerAutoMovieCrowd.ts +381 -0
  878. package/src/motion/steerAutoMovieCrowdGeometry.ts +592 -0
  879. package/src/perform/index.ts +10 -0
  880. package/src/physics/AutoMovieAir.ts +22 -0
  881. package/src/physics/AutoMovieGravity.ts +28 -0
  882. package/src/physics/IAutoMovieHit.ts +13 -7
  883. package/src/physics/IAutoMovieProjectile.ts +82 -6
  884. package/src/physics/IAutoMovieProjectileState.ts +10 -4
  885. package/src/physics/admitMotionGeometry.ts +16 -0
  886. package/src/physics/bindPhysicalWorld.ts +22 -11
  887. package/src/physics/combinePhysicalMassProperties.ts +9 -117
  888. package/src/physics/deriveCenterOfMass.ts +2 -5
  889. package/src/physics/derivePhysicalProfile.ts +3 -1
  890. package/src/physics/index.ts +155 -2
  891. package/src/physics/markAutoMovieSkeleton.ts +69 -0
  892. package/src/physics/physicalHullErode.ts +72 -0
  893. package/src/physics/physicalHullFaces.ts +215 -0
  894. package/src/physics/physicalHullMass.ts +99 -0
  895. package/src/physics/physicalHullNearest.ts +210 -0
  896. package/src/physics/physicalHullSegment.ts +338 -0
  897. package/src/physics/physicalInertiaTensor.ts +75 -0
  898. package/src/physics/physicalNativeShape.ts +31 -9
  899. package/src/physics/physicalPrincipalAxes.ts +114 -0
  900. package/src/physics/physicalShapeBounds.ts +24 -2
  901. package/src/physics/physicalShapeNearest.ts +287 -0
  902. package/src/physics/physicalShapeNormal.ts +105 -0
  903. package/src/physics/physicalShapePairDistance.ts +153 -0
  904. package/src/physics/physicalShapeSegmentDistance.ts +18 -92
  905. package/src/physics/physicalShapeSpan.ts +75 -0
  906. package/src/physics/physicalShapeSurfaceAnchor.ts +33 -14
  907. package/src/physics/projectileAt.ts +61 -20
  908. package/src/physics/projectileContinue.ts +287 -0
  909. package/src/physics/projectileDragFlight.ts +208 -0
  910. package/src/physics/projectileFirstContact.ts +286 -0
  911. package/src/physics/projectileTrajectory.ts +6 -5
  912. package/src/physics/solveBallisticLaunch.ts +2 -1
  913. package/src/physics/solveMovingLaunch.ts +2 -1
  914. package/src/physics/validatePhysicalProfile.ts +20 -1
  915. package/src/populationRuntime/index.ts +6 -0
  916. package/src/populationRuntime/materializeCompiledFormation.ts +3 -6
  917. package/src/random/index.ts +1 -1
  918. package/src/render/index.ts +20 -11
  919. package/src/resolve/index.ts +7 -2
  920. package/src/resolve/lowerSkeletonNodes.ts +3 -10
  921. package/src/rom/clampJointRom.ts +59 -2
  922. package/src/rom/clampJointToSkeleton.ts +52 -15
  923. package/src/rom/constants/ANKLE_DORSIFLEXION.ts +20 -0
  924. package/src/rom/constants/DEFAULT_HUMANOID_ROM.ts +148 -37
  925. package/src/rom/constants/ROM_TOLERANCE.ts +8 -0
  926. package/src/rom/constants/index.ts +2 -0
  927. package/src/rom/index.ts +1 -0
  928. package/src/rom/scanJointRom.ts +169 -0
  929. package/src/rom/validateJointRom.ts +69 -74
  930. package/src/service/index.ts +9 -0
  931. package/src/soft/IAutoMovieSoftBodyBoundarySample.ts +3 -0
  932. package/src/soft/IAutoMovieSoftBodyObserver.ts +36 -0
  933. package/src/soft/applySoftBodyFriction.ts +65 -0
  934. package/src/soft/index.ts +22 -0
  935. package/src/soft/projectSoftCordSelfContact.ts +239 -0
  936. package/src/soft/simulateSoftBodyCore.ts +127 -15
  937. package/src/soft/simulateSoftBodyWithBoundaries.ts +16 -2
  938. package/src/soft/softBodyBudget.ts +11 -0
  939. package/src/soft/softBodyHeldLoads.ts +85 -0
  940. package/src/soft/solveSoftBodyCompliantSweep.ts +107 -0
  941. package/src/soft/validateSoftAnchors.ts +143 -0
  942. package/src/soft/validateSoftBodyDomain.ts +5 -124
  943. package/src/soft/validateSoftBounded.ts +42 -0
  944. package/src/soft/validateSoftCompliance.ts +102 -0
  945. package/src/sound/index.ts +2 -0
  946. package/src/text/index.ts +1 -0
  947. package/src/validation/AffordanceArticulation.ts +173 -0
  948. package/src/validation/affordanceFollowedTravel.ts +40 -0
  949. package/src/validation/affordanceLeadingTravel.ts +108 -0
  950. package/src/validation/affordanceTravelRange.ts +42 -0
  951. package/src/validation/appendShotEventsArtifact.ts +26 -0
  952. package/src/validation/constants/index.ts +3 -3
  953. package/src/validation/detectFreeFall.ts +3 -2
  954. package/src/validation/index.ts +52 -4
  955. package/src/validation/markAutoMovieSlip.ts +65 -0
  956. package/src/validation/validateAffordance.ts +38 -3
  957. package/src/validation/validateAffordanceArticulation.ts +311 -0
  958. package/src/validation/validateBalanceSupport.ts +2 -5
  959. package/src/validation/validateBody.ts +80 -3
  960. package/src/validation/validateFootSkate.ts +1 -1
  961. package/src/validation/validateGroundContact.ts +2 -5
  962. package/src/validation/validateJointConstraint.ts +19 -1
  963. package/src/validation/validateModel.ts +7 -0
  964. package/src/validation/validateSelfIntersection.ts +2 -5
  965. package/src/worldBlock.ts +3 -6
  966. package/lib/architecture/constants/PLANAR_EPSILON.js.map +0 -1
@@ -14,14 +14,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AutoMovieBuiltinTexturePurpose"), exports);
18
+ __exportStar(require("./AutoMovieSemanticMaskVerificationError"), exports);
17
19
  __exportStar(require("./IAutoMovieRenderPlanting"), exports);
18
20
  __exportStar(require("./IAutoMovieRenderPrototypeCost"), exports);
19
21
  __exportStar(require("./IAutoMovieRenderSoftPanel"), exports);
20
22
  __exportStar(require("./IAutoMovieRenderSubject"), exports);
21
23
  __exportStar(require("./IAutoMovieRenderTargetDrift"), exports);
24
+ __exportStar(require("./IAutoMovieRenderTextureResidency"), exports);
25
+ __exportStar(require("./IAutoMovieRenderTextureResident"), exports);
22
26
  __exportStar(require("./IAutoMovieRenderTextureSource"), exports);
27
+ __exportStar(require("./IAutoMovieRenderTextureTarget"), exports);
23
28
  __exportStar(require("./IAutoMovieRenderWaterBody"), exports);
24
29
  __exportStar(require("./IAutoMovieSemanticMaskResolution"), exports);
30
+ __exportStar(require("./assertAutoMovieSemanticMaskCapacity"), exports);
25
31
  __exportStar(require("./autoMovieFluidSurfaceNodeName"), exports);
26
32
  __exportStar(require("./autoMoviePlantingNodeName"), exports);
27
33
  __exportStar(require("./autoMovieRenderDigest"), exports);
@@ -30,34 +36,37 @@ __exportStar(require("./autoMovieRenderSubjectOfCompiledShot"), exports);
30
36
  __exportStar(require("./autoMovieRenderSubjectOfShot"), exports);
31
37
  __exportStar(require("./autoMovieRenderTargetAssets"), exports);
32
38
  __exportStar(require("./autoMovieRenderTargetSummary"), exports);
39
+ __exportStar(require("./autoMovieRenderTextureDigest"), exports);
33
40
  __exportStar(require("./autoMovieRoomVisibility"), exports);
34
41
  __exportStar(require("./autoMovieSemanticMaskNodeIndex"), exports);
35
42
  __exportStar(require("./autoMovieSemanticMaskVerificationFailure"), exports);
36
43
  __exportStar(require("./autoMovieSoftBodyNodeName"), exports);
44
+ __exportStar(require("./autoMovieTextureBindingStateKey"), exports);
45
+ __exportStar(require("./autoMovieTextureFormatBytes"), exports);
46
+ __exportStar(require("./canonicalAutoMovieSemanticMaskPayload"), exports);
37
47
  __exportStar(require("./compareAutoMovieRenderIds"), exports);
38
48
  __exportStar(require("./compareAutoMovieRenderTarget"), exports);
39
49
  __exportStar(require("./constants"), exports);
40
50
  __exportStar(require("./deriveAutoMovieSemanticMask"), exports);
41
51
  __exportStar(require("./digestAutoMovieSemanticMask"), exports);
52
+ __exportStar(require("./encodeAutoMoviePng"), exports);
42
53
  __exportStar(require("./evaluateAutoMovieRenderBudget"), exports);
54
+ __exportStar(require("./measure"), exports);
43
55
  __exportStar(require("./measureAutoMovieRenderInventory"), exports);
44
- __exportStar(require("./measureAutoMovieTextureStorage"), exports);
45
- __exportStar(require("./autoMovieTextureBindingStateKey"), exports);
46
56
  __exportStar(require("./measureAutoMovieRenderTextureClosure"), exports);
47
- __exportStar(require("./sumAutoMovieRenderTextureAllocations"), exports);
48
- __exportStar(require("./autoMovieRenderTextureDigest"), exports);
49
- __exportStar(require("./IAutoMovieRenderTextureResident"), exports);
50
- __exportStar(require("./IAutoMovieRenderTextureResidency"), exports);
51
- __exportStar(require("./IAutoMovieRenderTextureTarget"), exports);
52
57
  __exportStar(require("./measureAutoMovieRenderTextureTarget"), exports);
58
+ __exportStar(require("./measureAutoMovieTextureStorage"), exports);
59
+ __exportStar(require("./measureRenderPopulation"), exports);
60
+ __exportStar(require("./measureRenderSimulation"), exports);
61
+ __exportStar(require("./normalizeAutoMovieShadowFilter"), exports);
53
62
  __exportStar(require("./renderAutoMovieSemanticMaskSidecar"), exports);
63
+ __exportStar(require("./requiredAutoMovieMaterialTexturePurposes"), exports);
54
64
  __exportStar(require("./resolveAutoMovieMaterial"), exports);
55
65
  __exportStar(require("./resolveAutoMovieSemanticMask"), exports);
66
+ __exportStar(require("./resolveAutoMovieShadowProfile"), exports);
56
67
  __exportStar(require("./sealAutoMovieRenderTarget"), exports);
68
+ __exportStar(require("./sumAutoMovieRenderTextureAllocations"), exports);
69
+ __exportStar(require("./texturesOf"), exports);
57
70
  __exportStar(require("./utf8Bytes"), exports);
58
71
  __exportStar(require("./verifyAutoMovieSemanticMask"), exports);
59
- __exportStar(require("./normalizeAutoMovieShadowFilter"), exports);
60
- __exportStar(require("./resolveAutoMovieShadowProfile"), exports);
61
- __exportStar(require("./AutoMovieBuiltinTexturePurpose"), exports);
62
- __exportStar(require("./requiredAutoMovieMaterialTexturePurposes"), exports);
63
72
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/render/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,kEAAgD;AAChD,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,kEAAgD;AAChD,8DAA4C;AAC5C,qEAAmD;AACnD,kEAAgD;AAChD,8DAA4C;AAC5C,0DAAwC;AACxC,0DAAwC;AACxC,yEAAuD;AACvD,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,4DAA0C;AAC1C,mEAAiD;AACjD,6EAA2D;AAC3D,8DAA4C;AAC5C,8DAA4C;AAC5C,iEAA+C;AAC/C,8CAA4B;AAC5B,gEAA8C;AAC9C,gEAA8C;AAC9C,kEAAgD;AAChD,oEAAkD;AAClD,mEAAiD;AACjD,oEAAkD;AAClD,yEAAuD;AACvD,yEAAuD;AACvD,iEAA+C;AAC/C,oEAAkD;AAClD,qEAAmD;AACnD,kEAAgD;AAChD,wEAAsD;AACtD,uEAAqD;AACrD,6DAA2C;AAC3C,iEAA+C;AAC/C,8DAA4C;AAC5C,8CAA4B;AAC5B,gEAA8C;AAC9C,mEAAiD;AACjD,kEAAgD;AAChD,mEAAiD;AACjD,6EAA2D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/render/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,2EAAyD;AACzD,6DAA2C;AAC3C,kEAAgD;AAChD,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,qEAAmD;AACnD,oEAAkD;AAClD,kEAAgD;AAChD,kEAAgD;AAChD,8DAA4C;AAC5C,qEAAmD;AACnD,wEAAsD;AACtD,kEAAgD;AAChD,8DAA4C;AAC5C,0DAAwC;AACxC,0DAAwC;AACxC,yEAAuD;AACvD,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,iEAA+C;AAC/C,4DAA0C;AAC1C,mEAAiD;AACjD,6EAA2D;AAC3D,8DAA4C;AAC5C,oEAAkD;AAClD,gEAA8C;AAC9C,0EAAwD;AACxD,8DAA4C;AAC5C,iEAA+C;AAC/C,8CAA4B;AAC5B,gEAA8C;AAC9C,gEAA8C;AAC9C,uDAAqC;AACrC,kEAAgD;AAChD,4CAA0B;AAC1B,oEAAkD;AAClD,yEAAuD;AACvD,wEAAsD;AACtD,mEAAiD;AACjD,4DAA0C;AAC1C,4DAA0C;AAC1C,mEAAiD;AACjD,uEAAqD;AACrD,6EAA2D;AAC3D,6DAA2C;AAC3C,iEAA+C;AAC/C,kEAAgD;AAChD,8DAA4C;AAC5C,yEAAuD;AACvD,+CAA6B;AAC7B,8CAA4B;AAC5B,gEAA8C"}
@@ -19,20 +19,26 @@ export * from "./applyChannelLimit";
19
19
  export * from "./applyIterativeIK";
20
20
  export * from "./applyLightOverride";
21
21
  export * from "./bindProfile";
22
+ export * from "./blendVec";
22
23
  export * from "./channelIsRotation";
23
24
  export * from "./channelKey";
24
25
  export * from "./childrenIndex";
25
26
  export * from "./composeScene";
27
+ export * from "./constants";
26
28
  export * from "./createSpringState";
27
29
  export * from "./evaluateDrivenCurve";
28
30
  export * from "./formatLightPointer";
29
31
  export * from "./isAutoMovieLightType";
30
32
  export * from "./isLightProperty";
31
33
  export * from "./lowerSkeletonNodes";
34
+ export * from "./orderValueDrivers";
32
35
  export * from "./parseLightPointer";
33
36
  export * from "./placementChildNode";
34
37
  export * from "./placementNodePrefix";
35
38
  export * from "./profileSemanticKeys";
39
+ export * from "./readLocal";
40
+ export * from "./readWorld";
41
+ export * from "./recompose";
36
42
  export * from "./resolveDrivers";
37
43
  export * from "./resolveFrame";
38
44
  export * from "./resolveShotLighting";
@@ -41,5 +47,4 @@ export * from "./sampleClip";
41
47
  export * from "./sampleClipSequence";
42
48
  export * from "./sceneToNodes";
43
49
  export * from "./stepSpring";
44
- export { AUTO_MOVIE_LIGHT_TYPES } from "./constants/AUTO_MOVIE_LIGHT_TYPES";
45
- export { LIGHT_CHANNEL_PROPERTIES } from "./constants/LIGHT_CHANNEL_PROPERTIES";
50
+ export * from "./validateInfluence";
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.LIGHT_CHANNEL_PROPERTIES = exports.AUTO_MOVIE_LIGHT_TYPES = void 0;
18
17
  __exportStar(require("./AutoMovieLightProperty"), exports);
19
18
  __exportStar(require("./IAutoMovieBoundProfile"), exports);
20
19
  __exportStar(require("./IAutoMovieClampOutcome"), exports);
@@ -36,20 +35,26 @@ __exportStar(require("./applyChannelLimit"), exports);
36
35
  __exportStar(require("./applyIterativeIK"), exports);
37
36
  __exportStar(require("./applyLightOverride"), exports);
38
37
  __exportStar(require("./bindProfile"), exports);
38
+ __exportStar(require("./blendVec"), exports);
39
39
  __exportStar(require("./channelIsRotation"), exports);
40
40
  __exportStar(require("./channelKey"), exports);
41
41
  __exportStar(require("./childrenIndex"), exports);
42
42
  __exportStar(require("./composeScene"), exports);
43
+ __exportStar(require("./constants"), exports);
43
44
  __exportStar(require("./createSpringState"), exports);
44
45
  __exportStar(require("./evaluateDrivenCurve"), exports);
45
46
  __exportStar(require("./formatLightPointer"), exports);
46
47
  __exportStar(require("./isAutoMovieLightType"), exports);
47
48
  __exportStar(require("./isLightProperty"), exports);
48
49
  __exportStar(require("./lowerSkeletonNodes"), exports);
50
+ __exportStar(require("./orderValueDrivers"), exports);
49
51
  __exportStar(require("./parseLightPointer"), exports);
50
52
  __exportStar(require("./placementChildNode"), exports);
51
53
  __exportStar(require("./placementNodePrefix"), exports);
52
54
  __exportStar(require("./profileSemanticKeys"), exports);
55
+ __exportStar(require("./readLocal"), exports);
56
+ __exportStar(require("./readWorld"), exports);
57
+ __exportStar(require("./recompose"), exports);
53
58
  __exportStar(require("./resolveDrivers"), exports);
54
59
  __exportStar(require("./resolveFrame"), exports);
55
60
  __exportStar(require("./resolveShotLighting"), exports);
@@ -58,8 +63,5 @@ __exportStar(require("./sampleClip"), exports);
58
63
  __exportStar(require("./sampleClipSequence"), exports);
59
64
  __exportStar(require("./sceneToNodes"), exports);
60
65
  __exportStar(require("./stepSpring"), exports);
61
- var AUTO_MOVIE_LIGHT_TYPES_1 = require("./constants/AUTO_MOVIE_LIGHT_TYPES");
62
- Object.defineProperty(exports, "AUTO_MOVIE_LIGHT_TYPES", { enumerable: true, get: function () { return AUTO_MOVIE_LIGHT_TYPES_1.AUTO_MOVIE_LIGHT_TYPES; } });
63
- var LIGHT_CHANNEL_PROPERTIES_1 = require("./constants/LIGHT_CHANNEL_PROPERTIES");
64
- Object.defineProperty(exports, "LIGHT_CHANNEL_PROPERTIES", { enumerable: true, get: function () { return LIGHT_CHANNEL_PROPERTIES_1.LIGHT_CHANNEL_PROPERTIES; } });
66
+ __exportStar(require("./validateInfluence"), exports);
65
67
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resolve/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,2DAAyC;AACzC,2DAAyC;AACzC,6DAA2C;AAC3C,mEAAiD;AACjD,4DAA0C;AAC1C,2DAAyC;AACzC,iEAA+C;AAC/C,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,+DAA6C;AAC7C,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,2DAAyC;AACzC,0DAAwC;AACxC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,gDAA8B;AAC9B,sDAAoC;AACpC,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B;AAC/B,sDAAoC;AACpC,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,oDAAkC;AAClC,uDAAqC;AACrC,sDAAoC;AACpC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,mDAAiC;AACjC,iDAA+B;AAC/B,wDAAsC;AACtC,wDAAsC;AACtC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,+CAA6B;AAC7B,6EAA4E;AAAnE,gIAAA,sBAAsB,OAAA;AAC/B,iFAAgF;AAAvE,oIAAA,wBAAwB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resolve/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,2DAAyC;AACzC,2DAAyC;AACzC,6DAA2C;AAC3C,mEAAiD;AACjD,4DAA0C;AAC1C,2DAAyC;AACzC,iEAA+C;AAC/C,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,+DAA6C;AAC7C,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,2DAAyC;AACzC,0DAAwC;AACxC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,gDAA8B;AAC9B,6CAA2B;AAC3B,sDAAoC;AACpC,+CAA6B;AAC7B,kDAAgC;AAChC,iDAA+B;AAC/B,8CAA4B;AAC5B,sDAAoC;AACpC,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,oDAAkC;AAClC,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,8CAA4B;AAC5B,8CAA4B;AAC5B,8CAA4B;AAC5B,mDAAiC;AACjC,iDAA+B;AAC/B,wDAAsC;AACtC,wDAAsC;AACtC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,+CAA6B;AAC7B,sDAAoC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.lowerSkeletonNodes = void 0;
4
4
  const MOTION_ROOT_NODE_ID_1 = require("./constants/MOTION_ROOT_NODE_ID");
5
+ const Transform_1 = require("../math/Transform");
5
6
  /**
6
7
  * Lower an admitted skeleton into a fresh identity group root and bone rest nodes. Prefixes concatenate onto node/parent ids and rootParent seats the synthetic root under a placement. Root records are independent; bone rest translation/rotation are borrowed and bone scales are fresh unit vectors.
7
8
  *
@@ -22,11 +23,7 @@ const lowerSkeletonNodes = (props) => {
22
23
  name: null,
23
24
  parent: props.rootParent ?? null,
24
25
  kind: "group",
25
- transform: {
26
- translation: { x: 0, y: 0, z: 0 },
27
- rotation: { x: 0, y: 0, z: 0, w: 1 },
28
- scale: { x: 1, y: 1, z: 1 },
29
- },
26
+ transform: Transform_1.Transform.identity(),
30
27
  mesh: null,
31
28
  camera: null,
32
29
  light: null,
@@ -39,11 +36,7 @@ const lowerSkeletonNodes = (props) => {
39
36
  name: null,
40
37
  parent: bone.parent === null ? rootId : `${prefix}${bone.parent}`,
41
38
  kind: "bone",
42
- transform: {
43
- translation: bone.rest.translation,
44
- rotation: bone.rest.rotation,
45
- scale: { x: 1, y: 1, z: 1 },
46
- },
39
+ transform: Transform_1.Transform.of(bone.rest.translation, bone.rest.rotation),
47
40
  mesh: null,
48
41
  camera: null,
49
42
  light: null,
@@ -1 +1 @@
1
- {"version":3,"file":"lowerSkeletonNodes.js","sourceRoot":"","sources":["../../src/resolve/lowerSkeletonNodes.ts"],"names":[],"mappings":";;;AAEA,yEAAsE;AAEtE;;;;;;;;;;GAUG;AACI,MAAM,kBAAkB,GAIN,CAAC,KAOzB,EAAoB,EAAE;IACrB,MAAM,MAAM,GAAW,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;IAC1C,MAAM,MAAM,GAAW,GAAG,MAAM,GAAG,yCAAmB,EAAE,CAAC;IACzD,MAAM,KAAK,GAAqB;QAC9B;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,KAAK,CAAC,UAAU,IAAI,IAAI;YAChC,IAAI,EAAE,OAAO;YACb,SAAS,EAAE;gBACT,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;gBACjC,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;gBACpC,KAAK,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;aAC5B;YACD,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;SACX;KACF,CAAC;IACF,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK;QACrC,KAAK,CAAC,IAAI,CAAC;YACT,EAAE,EAAE,GAAG,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE;YAC3B,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE;YACjE,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE;gBACT,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW;gBAClC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ;gBAC5B,KAAK,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;aAC5B;YACD,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;SACX,CAAC,CAAC;IACL,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAhDW,QAAA,kBAAkB,GAAlB,kBAAkB,CAgD7B"}
1
+ {"version":3,"file":"lowerSkeletonNodes.js","sourceRoot":"","sources":["../../src/resolve/lowerSkeletonNodes.ts"],"names":[],"mappings":";;;AAEA,yEAAsE;AACtE,iDAA8C;AAE9C;;;;;;;;;;GAUG;AACI,MAAM,kBAAkB,GAIN,CAAC,KAOzB,EAAoB,EAAE;IACrB,MAAM,MAAM,GAAW,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;IAC1C,MAAM,MAAM,GAAW,GAAG,MAAM,GAAG,yCAAmB,EAAE,CAAC;IACzD,MAAM,KAAK,GAAqB;QAC9B;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,KAAK,CAAC,UAAU,IAAI,IAAI;YAChC,IAAI,EAAE,OAAO;YACb,SAAS,EAAE,qBAAS,CAAC,QAAQ,EAAE;YAC/B,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;SACX;KACF,CAAC;IACF,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK;QACrC,KAAK,CAAC,IAAI,CAAC;YACT,EAAE,EAAE,GAAG,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE;YAC3B,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE;YACjE,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,qBAAS,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;YAClE,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;SACX,CAAC,CAAC;IACL,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAxCW,QAAA,kBAAkB,GAAlB,kBAAkB,CAwC7B"}
@@ -1,13 +1,21 @@
1
1
  import { IAutoMovieJointConstraint, IAutoMovieJointPose } from "@automovie/interface";
2
+ import { swingTwistRange } from "../kinematics/swingTwistRange";
2
3
  /**
3
4
  * Project one joint into admitted axis intervals, preserving null rest and forcing specified immobile axes to zero. Specified nonfinite angles first become neutral. A swing cap blends toward the box point nearest neutral; unrestricted multi-turn overrides are outside the bisection's monotonic-segment guarantee.
4
5
  *
6
+ * A ball joint whose constraint declares `swingTwist`, on a bone with axes in its frame (the caller's `rig`, or the humanoid tables' through `swingTwistRange.of`), is instead brought into its range as a rotation (`swingTwistRange.project`: its direction along its great circle from rest, its twist clamped) and read back in the reading the three-angle box prefers; a joint already inside comes back as given.
7
+ *
8
+ * @param joint The joint's clinical angles.
9
+ * @param constraint Its resolved range.
10
+ * @param rig The bone's frame as the caller's rig resolves it; the humanoid tables' when absent.
11
+ * @returns The joint in range.
12
+ *
5
13
  * @evidence contracts/development/implementation.md#principled-implementation Project finite-or-repaired axes into admitted intervals, force specified immobile axes to zero, preserve null rest and blend swing toward the box-nearest-neutral point.
6
14
  * @evidence contracts/development/implementation.md#clear-and-simple-structure Axis projection and combined swing are distinct constraints; swingConeBlend supplies fixed bisection and the result preserves bone identity.
7
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Specified nonfinite angles reset to neutral before box projection; unrestricted multi-turn overrides can violate swing monotonicity, so universal box/cone projection is not certified.
15
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Specified nonfinite angles reset to neutral before box projection; unrestricted multi-turn overrides can violate swing monotonicity, so universal box/cone projection is not certified. For a swing-twist joint the edge tolerance `EDGE` (a millionth of a degree) only absorbs the rounding of reading a rotation back into angles, so a joint on the edge clamps to itself; it hides no real overshoot.
8
16
  * @evidence contracts/development/common.md#meaningful-documentation Docs identify nonfinite repair, null/immobile distinction, degrees and finite ordered constraint premise with remaining cone limitation.
9
- * @evidence contracts/development/implementation.md#efficient-algorithms Three clamps and at most forty fixed swing iterations cost constant work and one fixed-size result.
17
+ * @evidence contracts/development/implementation.md#efficient-algorithms Three clamps and at most forty fixed swing iterations cost constant work and one fixed-size result. A swing-twist joint costs one overshoot test and, only outside the range, one projection and one decomposition, reading the radius table that `swingTwistRange` builds once per constraint and basis and caches.
10
18
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Targeted/full-pose clamps reuse the same joint owner and borrow constraints; changed angles need new projection.
11
19
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns a fresh joint record and no pose population, native handle or task is retained.
12
20
  */
13
- export declare const clampJointRom: (joint: IAutoMovieJointPose, constraint: IAutoMovieJointConstraint) => IAutoMovieJointPose;
21
+ export declare const clampJointRom: (joint: IAutoMovieJointPose, constraint: IAutoMovieJointConstraint, rig?: swingTwistRange.IJoint) => IAutoMovieJointPose;
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.clampJointRom = void 0;
4
+ const decomposeJointRotation_1 = require("../kinematics/decomposeJointRotation");
5
+ const jointToQuaternion_1 = require("../kinematics/jointToQuaternion");
6
+ const swingTwistRange_1 = require("../kinematics/swingTwistRange");
4
7
  const swingConeBlend_1 = require("./swingConeBlend");
5
8
  const clampAxis = (angle, allowed) => {
6
9
  if (angle === null)
@@ -17,15 +20,50 @@ const clampAxis = (angle, allowed) => {
17
20
  /**
18
21
  * Project one joint into admitted axis intervals, preserving null rest and forcing specified immobile axes to zero. Specified nonfinite angles first become neutral. A swing cap blends toward the box point nearest neutral; unrestricted multi-turn overrides are outside the bisection's monotonic-segment guarantee.
19
22
  *
23
+ * A ball joint whose constraint declares `swingTwist`, on a bone with axes in its frame (the caller's `rig`, or the humanoid tables' through `swingTwistRange.of`), is instead brought into its range as a rotation (`swingTwistRange.project`: its direction along its great circle from rest, its twist clamped) and read back in the reading the three-angle box prefers; a joint already inside comes back as given.
24
+ *
25
+ * @param joint The joint's clinical angles.
26
+ * @param constraint Its resolved range.
27
+ * @param rig The bone's frame as the caller's rig resolves it; the humanoid tables' when absent.
28
+ * @returns The joint in range.
29
+ *
20
30
  * @evidence contracts/development/implementation.md#principled-implementation Project finite-or-repaired axes into admitted intervals, force specified immobile axes to zero, preserve null rest and blend swing toward the box-nearest-neutral point.
21
31
  * @evidence contracts/development/implementation.md#clear-and-simple-structure Axis projection and combined swing are distinct constraints; swingConeBlend supplies fixed bisection and the result preserves bone identity.
22
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Specified nonfinite angles reset to neutral before box projection; unrestricted multi-turn overrides can violate swing monotonicity, so universal box/cone projection is not certified.
32
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Specified nonfinite angles reset to neutral before box projection; unrestricted multi-turn overrides can violate swing monotonicity, so universal box/cone projection is not certified. For a swing-twist joint the edge tolerance `EDGE` (a millionth of a degree) only absorbs the rounding of reading a rotation back into angles, so a joint on the edge clamps to itself; it hides no real overshoot.
23
33
  * @evidence contracts/development/common.md#meaningful-documentation Docs identify nonfinite repair, null/immobile distinction, degrees and finite ordered constraint premise with remaining cone limitation.
24
- * @evidence contracts/development/implementation.md#efficient-algorithms Three clamps and at most forty fixed swing iterations cost constant work and one fixed-size result.
34
+ * @evidence contracts/development/implementation.md#efficient-algorithms Three clamps and at most forty fixed swing iterations cost constant work and one fixed-size result. A swing-twist joint costs one overshoot test and, only outside the range, one projection and one decomposition, reading the radius table that `swingTwistRange` builds once per constraint and basis and caches.
25
35
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Targeted/full-pose clamps reuse the same joint owner and borrow constraints; changed angles need new projection.
26
36
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns a fresh joint record and no pose population, native handle or task is retained.
27
37
  */
28
- const clampJointRom = (joint, constraint) => {
38
+ const clampJointRom = (joint, constraint, rig) => {
39
+ // A ball joint gated by swing and twist is brought into its range as a
40
+ // rotation (`swingTwistRange.project`) and read back in the reading the
41
+ // three-angle box prefers.
42
+ const range = constraint.swingTwist === undefined || constraint.swingTwist === null
43
+ ? undefined
44
+ : (rig ?? swingTwistRange_1.swingTwistRange.of(joint.bone));
45
+ if (range !== undefined) {
46
+ // A non-finite angle first becomes its rest, as on every other joint.
47
+ const finite = (value) => (value === null || Number.isFinite(value) ? value : 0);
48
+ const sanitized = {
49
+ bone: joint.bone,
50
+ flexion: finite(joint.flexion),
51
+ abduction: finite(joint.abduction),
52
+ twist: finite(joint.twist),
53
+ };
54
+ const q = (0, jointToQuaternion_1.jointToQuaternion)(sanitized, range.axes, range.frame);
55
+ // A joint on the range's edge within a rounding error is inside, so a
56
+ // clamped joint clamps to itself.
57
+ if (swingTwistRange_1.swingTwistRange.overshoot(q, constraint, range) <= EDGE)
58
+ return sanitized;
59
+ const read = (0, decomposeJointRotation_1.decomposeJointRotation)(swingTwistRange_1.swingTwistRange.project(q, constraint, range), range.axes, range.frame, { bone: joint.bone, constraint: { ...constraint, swingTwist: null } });
60
+ return {
61
+ bone: joint.bone,
62
+ flexion: read.flexion,
63
+ abduction: read.abduction,
64
+ twist: read.twist,
65
+ };
66
+ }
29
67
  const flexion = clampAxis(joint.flexion, constraint.flexion);
30
68
  const abduction = clampAxis(joint.abduction, constraint.abduction);
31
69
  const twist = clampAxis(joint.twist, constraint.twist);
@@ -56,6 +94,8 @@ const clampJointRom = (joint, constraint) => {
56
94
  return { bone: joint.bone, flexion, abduction, twist };
57
95
  };
58
96
  exports.clampJointRom = clampJointRom;
97
+ /** How far past a swing-twist range a joint may lie and count as on its edge, degrees: a millionth, above the rounding of a rotation read back into angles. */
98
+ const EDGE = 1e-6;
59
99
  /**
60
100
  * The point of `allowed` closest to neutral: neutral itself when the range
61
101
  * brackets it, else the nearer bound. This is the swing cone's pull target: the
@@ -1 +1 @@
1
- {"version":3,"file":"clampJointRom.js","sourceRoot":"","sources":["../../src/rom/clampJointRom.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"clampJointRom.js","sourceRoot":"","sources":["../../src/rom/clampJointRom.ts"],"names":[],"mappings":"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"}
@@ -2,7 +2,7 @@ import { IAutoMovieJointPose, IAutoMovieSkeleton } from "@automovie/interface";
2
2
  /**
3
3
  * Clamp one joint using its skeleton override, otherwise the humanoid default table. Unconstrained joints return by identity. This targeted seam lets derived contact/retarget corrections leave authored neighboring joints alone.
4
4
  *
5
- * @evidence contracts/development/implementation.md#principled-implementation Find the skeleton bone and prefer a nonnull override over the humanoid table, returning the original unconstrained joint or a new clamped record.
5
+ * @evidence contracts/development/implementation.md#principled-implementation Find the skeleton bone and prefer a nonnull override over the humanoid table, returning the original unconstrained joint or a new clamped record; a swing-twist joint is clamped in the frame the skeleton resolves for the bone (`swingTwistRange.of`).
6
6
  * @evidence contracts/development/implementation.md#clear-and-simple-structure A one-joint seam permits selective retarget/contact correction without changing authored neighbors.
7
7
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Missing bones retain named-default fallback; this does not establish skeleton membership, identity or physical convergence.
8
8
  * @evidence contracts/development/common.md#meaningful-documentation Docs state precedence, borrowed unconstrained result and targeted use, with numerical clamp limitations delegated.
@@ -10,4 +10,27 @@ import { IAutoMovieJointPose, IAutoMovieSkeleton } from "@automovie/interface";
10
10
  * @evidence contracts/development/implementation.md#reuse-equivalent-work All consumers share getConstraint precedence; repeated standalone bone lookup remains uncached over mutable skeleton contents.
11
11
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns new joints and borrows unchanged joints/constraints, with no retained index, handle or task.
12
12
  */
13
- export declare const clampJointToSkeleton: (joint: IAutoMovieJointPose, skeleton: IAutoMovieSkeleton) => IAutoMovieJointPose;
13
+ export declare function clampJointToSkeleton(joint: IAutoMovieJointPose, skeleton: IAutoMovieSkeleton): IAutoMovieJointPose;
14
+ /**
15
+ * Companion of {@link clampJointToSkeleton}.
16
+ *
17
+ * @evidence contracts/development/common.md#meaningful-documentation States what the companion holds.
18
+ * @evidence contracts/development/design.md#principled-representation One bone's clamp, resolved once.
19
+ * @evidence contracts/development/design.md#minimal-and-owned-surface One function.
20
+ * @evidence contracts/development/design.md#prohibited-design-shortcuts The clamp is `clampJointToSkeleton`'s own, with its lookup taken out of the call.
21
+ */
22
+ export declare namespace clampJointToSkeleton {
23
+ /**
24
+ * One bone's clamp under a skeleton, its override or the humanoid table and
25
+ * its swing-twist frame resolved once, for a caller that clamps the same
26
+ * bone many times within one solve (a sweep's candidates): each call clamps
27
+ * exactly as `clampJointToSkeleton` does with the skeleton as it stood when
28
+ * the clamp was made. Nothing is kept beyond the closure, since a skeleton's
29
+ * contents may change between solves.
30
+ *
31
+ * @param bone The bone.
32
+ * @param skeleton The skeleton.
33
+ * @returns The clamp of a joint of that bone.
34
+ */
35
+ function of(bone: IAutoMovieJointPose["bone"], skeleton: IAutoMovieSkeleton): (joint: IAutoMovieJointPose) => IAutoMovieJointPose;
36
+ }
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.clampJointToSkeleton = void 0;
3
+ exports.clampJointToSkeleton = clampJointToSkeleton;
4
+ const swingTwistRange_1 = require("../kinematics/swingTwistRange");
4
5
  const clampJointRom_1 = require("./clampJointRom");
5
6
  const getConstraint_1 = require("./getConstraint");
6
7
  /**
7
8
  * Clamp one joint using its skeleton override, otherwise the humanoid default table. Unconstrained joints return by identity. This targeted seam lets derived contact/retarget corrections leave authored neighboring joints alone.
8
9
  *
9
- * @evidence contracts/development/implementation.md#principled-implementation Find the skeleton bone and prefer a nonnull override over the humanoid table, returning the original unconstrained joint or a new clamped record.
10
+ * @evidence contracts/development/implementation.md#principled-implementation Find the skeleton bone and prefer a nonnull override over the humanoid table, returning the original unconstrained joint or a new clamped record; a swing-twist joint is clamped in the frame the skeleton resolves for the bone (`swingTwistRange.of`).
10
11
  * @evidence contracts/development/implementation.md#clear-and-simple-structure A one-joint seam permits selective retarget/contact correction without changing authored neighbors.
11
12
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Missing bones retain named-default fallback; this does not establish skeleton membership, identity or physical convergence.
12
13
  * @evidence contracts/development/common.md#meaningful-documentation Docs state precedence, borrowed unconstrained result and targeted use, with numerical clamp limitations delegated.
@@ -14,10 +15,40 @@ const getConstraint_1 = require("./getConstraint");
14
15
  * @evidence contracts/development/implementation.md#reuse-equivalent-work All consumers share getConstraint precedence; repeated standalone bone lookup remains uncached over mutable skeleton contents.
15
16
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns new joints and borrows unchanged joints/constraints, with no retained index, handle or task.
16
17
  */
17
- const clampJointToSkeleton = (joint, skeleton) => {
18
- const bone = skeleton.bones.find((b) => b.bone === joint.bone);
19
- const constraint = (0, getConstraint_1.getConstraint)(joint.bone, bone?.constraint ?? null);
20
- return constraint === null ? joint : (0, clampJointRom_1.clampJointRom)(joint, constraint);
21
- };
22
- exports.clampJointToSkeleton = clampJointToSkeleton;
18
+ function clampJointToSkeleton(joint, skeleton) {
19
+ return clampJointToSkeleton.of(joint.bone, skeleton)(joint);
20
+ }
21
+ /**
22
+ * Companion of {@link clampJointToSkeleton}.
23
+ *
24
+ * @evidence contracts/development/common.md#meaningful-documentation States what the companion holds.
25
+ * @evidence contracts/development/design.md#principled-representation One bone's clamp, resolved once.
26
+ * @evidence contracts/development/design.md#minimal-and-owned-surface One function.
27
+ * @evidence contracts/development/design.md#prohibited-design-shortcuts The clamp is `clampJointToSkeleton`'s own, with its lookup taken out of the call.
28
+ */
29
+ (function (clampJointToSkeleton) {
30
+ /**
31
+ * One bone's clamp under a skeleton, its override or the humanoid table and
32
+ * its swing-twist frame resolved once, for a caller that clamps the same
33
+ * bone many times within one solve (a sweep's candidates): each call clamps
34
+ * exactly as `clampJointToSkeleton` does with the skeleton as it stood when
35
+ * the clamp was made. Nothing is kept beyond the closure, since a skeleton's
36
+ * contents may change between solves.
37
+ *
38
+ * @param bone The bone.
39
+ * @param skeleton The skeleton.
40
+ * @returns The clamp of a joint of that bone.
41
+ */
42
+ function of(bone, skeleton) {
43
+ const found = skeleton.bones.find((b) => b.bone === bone);
44
+ const constraint = (0, getConstraint_1.getConstraint)(bone, found?.constraint ?? null);
45
+ if (constraint === null)
46
+ return (joint) => joint;
47
+ // A joint gated by swing and twist is read in the frame this skeleton
48
+ // resolves for its bone, the frame its angles are written in.
49
+ const rig = swingTwistRange_1.swingTwistRange.of(bone, skeleton);
50
+ return (joint) => (0, clampJointRom_1.clampJointRom)(joint, constraint, rig);
51
+ }
52
+ clampJointToSkeleton.of = of;
53
+ })(clampJointToSkeleton || (exports.clampJointToSkeleton = clampJointToSkeleton = {}));
23
54
  //# sourceMappingURL=clampJointToSkeleton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"clampJointToSkeleton.js","sourceRoot":"","sources":["../../src/rom/clampJointToSkeleton.ts"],"names":[],"mappings":";;;AAOA,mDAAgD;AAChD,mDAAgD;AAEhD;;;;;;;;;;GAUG;AACI,MAAM,oBAAoB,GAGN,CACzB,KAA0B,EAC1B,QAA4B,EACP,EAAE;IACvB,MAAM,IAAI,GAA+B,QAAQ,CAAC,KAAK,CAAC,IAAI,CAC1D,CAAC,CAAiB,EAAW,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,CACtD,CAAC;IACF,MAAM,UAAU,GAAqC,IAAA,6BAAa,EAChE,KAAK,CAAC,IAAI,EACV,IAAI,EAAE,UAAU,IAAI,IAAI,CACzB,CAAC;IACF,OAAO,UAAU,KAAK,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAA,6BAAa,EAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AACxE,CAAC,CAAC;AAfW,QAAA,oBAAoB,GAApB,oBAAoB,CAe/B"}
1
+ {"version":3,"file":"clampJointToSkeleton.js","sourceRoot":"","sources":["../../src/rom/clampJointToSkeleton.ts"],"names":[],"mappings":";;;AAOA,mEAAgE;AAChE,mDAAgD;AAChD,mDAAgD;AAEhD;;;;;;;;;;GAUG;AACH,8BACE,KAA0B,EAC1B,QAA4B;IAE5B,OAAO,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED;;;;;;;GAOG;AACH,WAAiB,oBAAoB;IACnC;;;;;;;;;;;OAWG;IACH,SAAgB,EAAE,CAChB,IAAiC,EACjC,QAA4B;QAE5B,MAAM,KAAK,GAA+B,QAAQ,CAAC,KAAK,CAAC,IAAI,CAC3D,CAAC,CAAiB,EAAW,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAChD,CAAC;QACF,MAAM,UAAU,GAAqC,IAAA,6BAAa,EAChE,IAAI,EACJ,KAAK,EAAE,UAAU,IAAI,IAAI,CAC1B,CAAC;QACF,IAAI,UAAU,KAAK,IAAI;YACrB,OAAO,CAAC,KAA0B,EAAuB,EAAE,CAAC,KAAK,CAAC;QAEpE,sEAAsE;QACtE,8DAA8D;QAC9D,MAAM,GAAG,GAAuC,iCAAe,CAAC,EAAE,CAChE,IAAI,EACJ,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,KAA0B,EAAuB,EAAE,CACzD,IAAA,6BAAa,EAAC,KAAK,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC;IAC1C,CAAC;IAtBe,qBAAA,EAAE,KAsBjB,CAAA;AACH,CAAC,EApCgB,oBAAoB,aAfrB,oBAAoB,GAenB,oBAAoB,QAoCpC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The ankle's dorsiflexion limits, degrees, each with the condition it holds
3
+ * under.
4
+ *
5
+ * - `loaded`: a foot bearing the body's weight, the tibia leaning over the
6
+ * flat foot: 39, the mean maximal weight-bearing lunge of healthy adults
7
+ * measured by inclinometer on the tibia (38.8 +- 5.2 degrees, Konor, Morton,
8
+ * Eckerson and Grindstaff 2012, Int J Sports Phys Ther 7(3):279), to the
9
+ * degree. The range table's foot rows (`DEFAULT_HUMANOID_ROM`) hold it, the
10
+ * most the joint reaches under any condition.
11
+ * - `unloaded`: a foot bearing no weight: 20, the passive non-weight-bearing
12
+ * norm (the AAOS norms as relayed, dorsiflexion 20 and plantarflexion 50,
13
+ * not checked against a primary source here).
14
+ *
15
+ * A planner or an audit that knows whether a foot bears weight reads the
16
+ * limit of that condition.
17
+ */
18
+ export declare const ANKLE_DORSIFLEXION: Readonly<Record<"loaded" | "unloaded", number>>;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ANKLE_DORSIFLEXION = void 0;
4
+ /**
5
+ * The ankle's dorsiflexion limits, degrees, each with the condition it holds
6
+ * under.
7
+ *
8
+ * - `loaded`: a foot bearing the body's weight, the tibia leaning over the
9
+ * flat foot: 39, the mean maximal weight-bearing lunge of healthy adults
10
+ * measured by inclinometer on the tibia (38.8 +- 5.2 degrees, Konor, Morton,
11
+ * Eckerson and Grindstaff 2012, Int J Sports Phys Ther 7(3):279), to the
12
+ * degree. The range table's foot rows (`DEFAULT_HUMANOID_ROM`) hold it, the
13
+ * most the joint reaches under any condition.
14
+ * - `unloaded`: a foot bearing no weight: 20, the passive non-weight-bearing
15
+ * norm (the AAOS norms as relayed, dorsiflexion 20 and plantarflexion 50,
16
+ * not checked against a primary source here).
17
+ *
18
+ * A planner or an audit that knows whether a foot bears weight reads the
19
+ * limit of that condition.
20
+ */
21
+ exports.ANKLE_DORSIFLEXION = { loaded: 39, unloaded: 20 };
22
+ //# sourceMappingURL=ANKLE_DORSIFLEXION.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ANKLE_DORSIFLEXION.js","sourceRoot":"","sources":["../../../src/rom/constants/ANKLE_DORSIFLEXION.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;GAgBG;AACU,QAAA,kBAAkB,GAE3B,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC"}
@@ -31,5 +31,33 @@ import { AutoMovieHumanoidBone, IAutoMovieJointConstraint } from "@automovie/int
31
31
  * pure-plane 180° (arm straight overhead) must stay legal, so no cap below 180
32
32
  * is possible without rejecting canonical overhead poses. The value documents
33
33
  * the sourced anatomical bound rather than gating anything.
34
+ *
35
+ * The shoulders are gated by swing and twist
36
+ * (`IAutoMovieJointConstraint.swingTwist`): the limb may point wherever its
37
+ * flexion and abduction intervals (and the cone) reach, and may turn about
38
+ * its own axis within an interval measured from the rig's rest pose. Their
39
+ * clinical `twist` interval is then a reading only. Read as three angles,
40
+ * the shoulder's twist range is fixed in a frame that turns once about the
41
+ * arm pointing straight ahead, so two arms a fraction of a degree apart there
42
+ * could lie one inside and one far outside it, and an arm on a table with its
43
+ * forearm up (flexion 135, abduction 71) read only 22 degrees of external
44
+ * rotation left. The shoulder's rest is the T-pose, 90 degrees of
45
+ * abduction, where its rotation is measured clinically (external 90,
46
+ * internal 70, as relayed for the AAOS norms and not checked against a
47
+ * primary source here). Measured from that rest, the turn a raised or a
48
+ * lowered arm needs is larger: a hand behind the head reads 128 degrees and
49
+ * a hand clasped behind the back -104 (the reaches of
50
+ * `test_motion_fit_chain_reach`, which the three-angle box admitted). So the
51
+ * interval is [-110, 135], provisional: one interval for every swing, where
52
+ * the anatomical limit depends on the swing (Codman's paradox: the turn a
53
+ * swing adds makes one interval of clinical rotation, internal 70 and external
54
+ * 90 at 90 degrees of abduction, refuse a hand behind the head by 38 degrees
55
+ * and one behind the back by 34). Their swing is capped at `REACH` from the
56
+ * T-pose, so the rest direction's antipode, the arm pointing through the
57
+ * chest, where the twist has no value, lies 50 degrees outside the range. The hips keep the three-angle
58
+ * gate: their twist is proximal, about the rest axis, and measured from rest
59
+ * by swing and twist the turns their box admits run from -106 to 91 degrees
60
+ * (deep flexion with abduction), which no one interval of the clinical 45
61
+ * each way holds: a deadlift's planted feet slid 33.6 mm under it.
34
62
  */
35
63
  export declare const DEFAULT_HUMANOID_ROM: Partial<Record<AutoMovieHumanoidBone, IAutoMovieJointConstraint>>;