[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-06。"],[[["`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"]]