setRadians Method

Reinitialize this rectangle using angles specified in radians.

setRadians(west: number0, south: number0, east: number0, north: number0): void

@note If north is less than south, they will be swapped.

Parameter Type Description
west number The western longitude in radians, in [-pi, pi].
south number The southern latitude in radians, in [-pi/2, pi/2].
east number The eastern latitude in radians, in [-pi, pi].
north number The northern latitude in radians, in [-pi/2, pi/2].

Returns - void

Defined in

Last Updated: 17 December, 2024