(overrides: Partial<GlobalStats> = {})
| 143 | } |
| 144 | |
| 145 | export function buildGlobalStats(overrides: Partial<GlobalStats> = {}): GlobalStats { |
| 146 | return { |
| 147 | minError: 0, |
| 148 | maxError: 0, |
| 149 | avgError: 0, |
| 150 | minTrackLength: 0, |
| 151 | maxTrackLength: 0, |
| 152 | avgTrackLength: 0, |
| 153 | totalObservations: 0, |
| 154 | totalPoints: 0, |
| 155 | ...overrides, |
| 156 | }; |
| 157 | } |
| 158 | |
| 159 | export function buildReconstruction(options: ReconstructionBuilderOptions = {}): Reconstruction { |
| 160 | const cameras = options.cameras ?? [buildCamera()]; |
no outgoing calls