Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
ee.Algorithms.GeometryConstructors.Rectangle
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen köşe noktalarından dikdörtgen bir çokgen oluşturur.
Kullanım | İadeler |
---|
ee.Algorithms.GeometryConstructors.Rectangle(coordinates, crs, geodesic, evenOdd) | Geometri |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
coordinates | Liste | Dikdörtgenin önce düşük, sonra yüksek köşeleri; x,y sırasındaki Noktalar veya Sayı çiftleri listesi olarak. |
crs | Projeksiyon, varsayılan: null | Koordinatların koordinat referans sistemi. Varsayılan değer, girişlerin projeksiyonudur. Burada sayıların EPSG:4326 olduğu varsayılır. |
geodesic | Boole, varsayılan: null | Yanlışsa kenarlar projeksiyonda düzdür. Doğruysa kenarlar, Dünya yüzeyindeki en kısa yolu takip edecek şekilde eğrilir. Varsayılan değer, girişlerin jeodezik durumu veya girişler sayıysa doğrudur. |
evenOdd | Boole değeri, varsayılan: true | Doğruysa poligon iç kısımları, çift/tek kuralıyla belirlenir. Bu kuralda, sonsuzluktaki bir noktaya ulaşmak için tek sayıda kenarı geçen bir nokta içeride kabul edilir. Aksi takdirde, çokgenler sol iç kuralını kullanır. Bu kuralda, köşeler belirli bir sırada yüründüğünde iç kısımlar kabuğun kenarlarının sol tarafında yer alır. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\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. |"]]