window.kaolin
    Preparing search index...

    Function cameraParametersApproxEqual

    • Returns true if two sets of camera parameters are approximately equal: all 16 view-matrix elements and every intrinsics field agree within eps. Numeric intrinsics are compared with tolerance; non-numeric fields (e.g. classname) must match exactly, and both sides must expose the same set of fields. Any supported view_matrix encoding is accepted (it is flattened before compare).

      Parameters

      • a: CameraParameters

        First camera parameters.

      • b: CameraParameters

        Second camera parameters.

      • eps: number = 1e-4

        Absolute tolerance for numeric comparisons (default 1e-4).

      Returns boolean