[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["`atan2()` calculates the angle formed by a 2D vector represented by its x and y coordinates (left and right inputs respectively)."],["It returns the angle in radians, ranging from -π to π."],["The function is accessed using `ee.Number(left).atan2(right)`, where `left` represents the x-coordinate and `right` represents the y-coordinate."],["Examples demonstrate how `atan2()` is used to find angles for various points in a 2D plane."]]],["The `atan2` function calculates the angle of a 2D vector [x, y]. It takes two numeric inputs: `left` as x and `right` as y. The function returns a number representing the angle. For example, `atan2(1, 0)` represents the point (1,0) returning an angle of 0. The point (0,1) `atan2(0,1)` returns an angle of π/2. `atan2(-1,0)` returns π, and `atan2(0,-1)` returns -π/2.\n"]]