ee.Algorithms.GeometryConstructors.Rectangle
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
از گوشه های داده شده یک چند ضلعی مستطیلی می سازد.
استفاده | برمی گرداند | ee.Algorithms.GeometryConstructors.Rectangle(coordinates, crs , geodesic , evenOdd ) | هندسه |
استدلال | تایپ کنید | جزئیات | coordinates | فهرست کنید | گوشه های پایین و سپس بالای مستطیل، به عنوان لیستی از نقاط یا جفت اعداد به ترتیب x,y. |
crs | Projection، پیش فرض: null | سیستم مرجع مختصات مختصات. پیشفرض پیشبینی ورودیها است که در آن Numbers EPSG:4326 در نظر گرفته میشود. |
geodesic | Boolean، پیشفرض: null | اگر نادرست باشد، لبه ها در برآمدگی مستقیم هستند. اگر درست باشد، لبهها برای دنبال کردن کوتاهترین مسیر روی سطح زمین خمیده میشوند. حالت پیشفرض، وضعیت ژئودزیکی ورودیها است، یا اگر ورودیها عدد باشند، درست است. |
evenOdd | بولی، پیش فرض: درست است | اگر درست باشد، فضای داخلی چند ضلعی با قانون زوج/فرد تعیین می شود، جایی که یک نقطه در داخل است اگر از تعداد فرد یال عبور کند تا به نقطه ای در بی نهایت برسد. در غیر این صورت، چند ضلعی ها از قانون سمت چپ استفاده می کنند، جایی که قسمت های داخلی در سمت چپ لبه های پوسته در هنگام راه رفتن رئوس به ترتیب داده شده قرار دارند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eCreates a rectangular polygon using specified corner points.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of coordinate system, edge curvature (straight or geodesic), and polygon interior calculation (even/odd or left-inside rule).\u003c/p\u003e\n"],["\u003cp\u003eAccepts corner points as a list of Points or coordinate pairs (x,y).\u003c/p\u003e\n"],["\u003cp\u003eDefaults to EPSG:4326 coordinate system if not specified and geodesic edges if input is numerical.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.GeometryConstructors.Rectangle\n\nConstructs a rectangular polygon from the given corner points.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------------------------------------|----------|\n| `ee.Algorithms.GeometryConstructors.Rectangle(coordinates, `*crs* `, `*geodesic* `, `*evenOdd*`)` | Geometry |\n\n| Argument | Type | Details |\n|---------------|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coordinates` | List | The low and then high corners of the Rectangle, as a list of Points or pairs of Numbers in x,y order. |\n| `crs` | Projection, default: null | The coordinate reference system of the coordinates. The default is the projection of the inputs, where Numbers are assumed to be EPSG:4326. |\n| `geodesic` | Boolean, default: null | If false, edges are straight in the projection. If true, edges are curved to follow the shortest path on the surface of the Earth. The default is the geodesic state of the inputs, or true if the inputs are numbers. |\n| `evenOdd` | Boolean, default: true | If true, polygon interiors will be determined by the even/odd rule, where a point is inside if it crosses an odd number of edges to reach a point at infinity. Otherwise polygons use the left-inside rule, where interiors are on the left side of the shell's edges when walking the vertices in the given order. |"]]