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

Function toBinaryPoint3DId

src/parsers/colmapWriterUtils.ts:39–41  ·  view source on GitHub ↗
(id: Point3DId)

Source from the content-addressed store, hash-verified

37}
38
39export function toBinaryPoint3DId(id: Point3DId): bigint {
40 return id === UNMATCHED_POINT3D_ID ? COLMAP_INVALID_POINT3D_ID : id;
41}
42
43export function toTextPoint3DId(id: Point3DId): string {
44 return id === UNMATCHED_POINT3D_ID ? '-1' : id.toString();

Callers 1

writeImagesBinaryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected