CameraLinkBridge
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
TypeScript#
interface CameraLinkBridgeConverts 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))
Members#
| Member | Kind | Description |
|---|---|---|
| fromOther | Method | A point in the other viewer's measurement frame, in that of the viewer linkCamera was called on |
| toOther | Method | A point in the measurement frame of the viewer linkCamera was called on, in the other viewer's |
fromOther#
A point in the other viewer's measurement frame, in that of the viewer linkCamera was called on
Parameters#
| Name | Type | Description |
|---|---|---|
point |
vec3 |
toOther#
A point in the measurement frame of the viewer linkCamera was called on, in the other viewer's
Parameters#
| Name | Type | Description |
|---|---|---|
point |
vec3 |