Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["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."],[[["\u003cp\u003eCalculates the angle of a 2D vector represented by \u003ccode\u003e[x, y]\u003c/code\u003e elements.\u003c/p\u003e\n"],["\u003cp\u003eOperates element-wise on the input arrays.\u003c/p\u003e\n"],["\u003cp\u003eTakes two input arrays: \u003ccode\u003eleft\u003c/code\u003e representing the x-coordinate and \u003ccode\u003eright\u003c/code\u003e representing the y-coordinate.\u003c/p\u003e\n"],["\u003cp\u003eReturns an array containing the calculated angles for each corresponding pair of elements from the input arrays.\u003c/p\u003e\n"]]],[],null,["On an element-wise basis, calculates the angle formed by the 2D vector \\[x, y\\].\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------|---------|\n| Array.atan2`(right)` | Array |\n\n| Argument | Type | Details |\n|--------------|-------|-----------------------|\n| this: `left` | Array | The left-hand value. |\n| `right` | Array | The right-hand value. |"]]