zoomToVolume Method

Zoom the view to a volume of space in world coordinates.

zoomToVolume(volume: Readonly<WritableLowAndHighXYZ> | Readonly<WritableLowAndHighXY>, options?: ViewChangeOptions): void

Parameter Type Description
volume Readonly<WritableLowAndHighXYZ> | Readonly<WritableLowAndHighXY> The low and high corners, in world coordinates.
options ViewChangeOptions options that control how the view change works

Returns - void

Defined in

Last Updated: 29 November, 2022