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

Function parseColmapNumberTokens

src/parsers/colmapTextTokens.ts:30–38  ·  view source on GitHub ↗
(tokens: readonly string[])

Source from the content-addressed store, hash-verified

28}
29
30export function parseColmapNumberTokens(tokens: readonly string[]): number[] | null {
31 const values: number[] = [];
32 for (const token of tokens) {
33 const value = parseColmapNumberToken(token);
34 if (value === null) return null;
35 values.push(value);
36 }
37 return values;
38}
39
40export function parseColmapBigIntToken(token: string): bigint | null {
41 const trimmedToken = token.trim();

Callers 6

parseCamerasTextFunction · 0.90
parseRigsTextFunction · 0.90
parseImagesTextFunction · 0.90
parseFramesTextFunction · 0.90
parsePoints3DTextFunction · 0.90

Calls 1

parseColmapNumberTokenFunction · 0.85

Tested by

no test coverage detected