(transformed: Reconstruction)
| 79 | } |
| 80 | |
| 81 | function exportAndReparse(transformed: Reconstruction) { |
| 82 | const ptBuf = writePoints3DBinary(transformed.points3D!); |
| 83 | const imgBuf = writeImagesBinary(transformed.images, null); |
| 84 | return { |
| 85 | points: parsePoints3DBinary(ptBuf), |
| 86 | images: parseImagesBinary(imgBuf), |
| 87 | }; |
| 88 | } |
| 89 | |
| 90 | describe('1-point center: exported data places the picked point at origin', () => { |
| 91 | it('translates the picked point to (0,0,0)', () => { |
no test coverage detected