rotateAround

fun rotateAround(targetPoint: Point, deltaHeading: Double, deltaPitch: Double, deltaRoll: Double): Camera

Creates a copy of the camera with the heading and pitch rotated from a specified target point by the delta angles in degrees.

Return

A copy of the camera with the position moved

Since

200.1.0

Parameters

targetPoint

The point location around which the returned camera is placed. The returned camera is in the same spatial reference as the source camera. If the spatial reference of the point is not specified, it is assumed to be the spatial reference of the camera.

deltaHeading

The delta angle in degrees by which the output camera heading will be rotated around the target point.

deltaPitch

The delta angle in degrees by which the output camera pitch will be rotated around the target point.

deltaRoll

The delta angle in degrees by which the output camera roll will be rotated around the target point.

See also

Throws

if targetPoint is empty