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

Function isSphericalCameraModel

src/utils/cameraModelRegistry.ts:83–85  ·  view source on GitHub ↗
(id: CameraModelId)

Source from the content-addressed store, hash-verified

81}
82
83export function isSphericalCameraModel(id: CameraModelId): boolean {
84 return getCameraModelFamily(id) === 'spherical';
85}
86
87export function cameraModelHasPinholeIntrinsics(id: CameraModelId): boolean {
88 return getCameraModelFamily(id) !== 'spherical';

Callers 6

isSphericalFamilyFunction · 0.90
TrackballControlsFunction · 0.90
getAutoAdjustedFovFunction · 0.90
getImageFlyToPoseFunction · 0.90

Calls 1

getCameraModelFamilyFunction · 0.85

Tested by

no test coverage detected