setRotationAboutPoint Method

Set the rotation of this ViewState to the supplied rotation, by rotating it about a point.

setRotationAboutPoint(rotation: Matrix3d, point?: Primitives.Point3d): void

Parameter Type Description
rotation Matrix3d The new rotation matrix for this ViewState.
point Primitives.Point3d The point to rotate about. If undefined, use the ViewState.getTargetPoint.

Defined in

Last Updated: 08 January, 2020