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

Function findPreferredSplatFile

src/utils/fileClassification.ts:143–149  ·  view source on GitHub ↗
(files: Map<string, File>)

Source from the content-addressed store, hash-verified

141 * Find the preferred splat file in a scanned dataset.
142 */
143export function findPreferredSplatFile(files: Map<string, File>): File | undefined {
144 const preferred = getLocalSplatCandidates(files).reduce<LocalSplatCandidate | null>(
145 getPreferredSplatCandidate,
146 null
147 );
148 return preferred?.file;
149}
150
151/**
152 * Find the largest PLY file in a scanned dataset.

Callers 1

Calls 1

getLocalSplatCandidatesFunction · 0.85

Tested by

no test coverage detected