MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / buildPoint3D

Function buildPoint3D

src/test/builders/colmapBuilders.ts:86–95  ·  view source on GitHub ↗
(overrides: Partial<Point3D> = {})

Source from the content-addressed store, hash-verified

84}
85
86export function buildPoint3D(overrides: Partial<Point3D> = {}): Point3D {
87 return {
88 point3DId: 1n,
89 xyz: [0, 0, 0],
90 rgb: [255, 255, 255],
91 error: 0,
92 track: [],
93 ...overrides,
94 };
95}
96
97export function buildRig(overrides: Partial<Rig> = {}): Rig {
98 const refSensorId = overrides.refSensorId ?? { type: SensorType.CAMERA, id: 1 };

Calls

no outgoing calls

Tested by 2

createParserDepsFunction · 0.72