MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / get

Function get

src/hooks/pointCloud/usePointCloudData.ts:60–62  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

58function createSequentialPoint3DIdLookup(count: number): Point3DIdLookup {
59 return {
60 get(index: number) {
61 return index >= 0 && index < count ? BigInt(index + 1) : undefined;
62 },
63 };
64}
65

Callers 6

cameraStore.tsFile · 0.50
guideStore.tsFile · 0.50
deletionStore.tsFile · 0.50
exportStore.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected