BIM.works SDKs - v3.0.0-beta.168
    Preparing search index...

    Interface CameraLinkBridge

    Converts points between the measurement frames of two linked viewers (Viewer3d.linkCamera). Points are millimetres; the conversion must be rigid (a move and a turn), as through a model loaded in both: other.modelToMeasurementCoordinates(vid, viewer.measurementToModelCoordinates(vid, point))

    interface CameraLinkBridge {
        fromOther(point: vec3): vec3;
        toOther(point: vec3): vec3;
    }
    Index

    Methods

    • A point in the other viewer's measurement frame, in that of the viewer linkCamera was called on

      Parameters

      Returns vec3

    • A point in the measurement frame of the viewer linkCamera was called on, in the other viewer's

      Parameters

      Returns vec3