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

Function isPerspectiveCameraModel

src/utils/cameraModelPolicy.ts:105–107  ·  view source on GitHub ↗
(modelId: CameraModelId)

Source from the content-addressed store, hash-verified

103}
104
105export function isPerspectiveCameraModel(modelId: CameraModelId): boolean {
106 return PERSPECTIVE_CAMERA_MODELS.includes(modelId);
107}
108
109export function isFisheyeCameraModel(modelId: CameraModelId): boolean {
110 return FISHEYE_CAMERA_MODELS.includes(modelId);

Calls

no outgoing calls

Tested by

no test coverage detected