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

Function makePoint

src/utils/sim3dNormalization.test.ts:102–110  ·  view source on GitHub ↗
(point3DId: bigint, xyz: [number, number, number])

Source from the content-addressed store, hash-verified

100}
101
102function makePoint(point3DId: bigint, xyz: [number, number, number]): Point3D {
103 return {
104 point3DId,
105 xyz,
106 rgb: [255, 255, 255],
107 error: 0,
108 track: [],
109 };
110}
111
112function expectVectorClose(actual: number[], expected: number[]): void {
113 expect(actual).toHaveLength(expected.length);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected