Reference·JavaScript · @bimworks/viewer3dJavaScript

ObjectDistanceMode

Type alias in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Type alias

TypeScript#
type ObjectDistanceMode = "shortest" | "vertical" | "horizontal";

Which distance an object distance measurement reports: "shortest" the 3D distance between the surfaces; "vertical" the shortest segment parallel to Z (the footprints of the objects must overlap, otherwise there is no result); "horizontal" the shortest segment parallel to the XY plane (the height ranges must overlap)