ee.Geometry.MultiPoint.aside
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מפעילה פונקציה ומעבירה את האובייקט הזה כארגומנט הראשון, ומחזירה את עצמה. נוח, למשל, כשמבצעים ניפוי באגים:
var c = ee.ImageCollection('foo').aside(print)
.filterDate('2001-01-01', '2002-01-01').aside(print, 'In 2001')
.filterBounds(geom).aside(print, 'In region')
.aside(Map.addLayer, {min: 0, max: 142}, 'Filtered')
.select('a', 'b');
מחזירה את אותו אובייקט, לשרשור.
שימוש | החזרות |
---|
MultiPoint.aside(func, var_args) | ComputedObject |
ארגומנט | סוג | פרטים |
---|
זה: computedobject | ComputedObject | המופע של ComputedObject. |
func | פונקציה | הפונקציה שרוצים להפעיל. |
var_args | VarArgs<Object> | ארגומנטים נוספים להעברה לפונקציה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThe \u003ccode\u003easide()\u003c/code\u003e method allows calling a function with the object as the first argument, useful for debugging or applying actions like printing or adding to the map without interrupting the chain.\u003c/p\u003e\n"],["\u003cp\u003eIt facilitates chaining by returning the original object, enabling further operations like filtering or selecting bands.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003easide()\u003c/code\u003e takes the function to call and any additional arguments for that function.\u003c/p\u003e\n"],["\u003cp\u003eIt's applicable to ComputedObjects like ImageCollections and MultiPoints, offering flexibility in processing and visualizing data within Earth Engine workflows.\u003c/p\u003e\n"]]],[],null,["# ee.Geometry.MultiPoint.aside\n\n\u003cbr /\u003e\n\nCalls a function passing this object as the first argument, and returning itself. Convenient e.g. when debugging:\n\n\u003cbr /\u003e\n\nvar c = ee.ImageCollection('foo').aside(print)\n\n.filterDate('2001-01-01', '2002-01-01').aside(print, 'In 2001')\n\n.filterBounds(geom).aside(print, 'In region')\n\n.aside(Map.addLayer, {min: 0, max: 142}, 'Filtered')\n\n.select('a', 'b');\n\nReturns the same object, for chaining.\n\n| Usage | Returns |\n|------------------------------------|----------------|\n| MultiPoint.aside`(func, var_args)` | ComputedObject |\n\n| Argument | Type | Details |\n|------------------------|-------------------|----------------------------------------------|\n| this: `computedobject` | ComputedObject | The ComputedObject instance. |\n| `func` | Function | The function to call. |\n| `var_args` | VarArgs\\\u003cObject\\\u003e | Any extra arguments to pass to the function. |"]]