تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعرض هذه الدالة مساحة الشكل الهندسي. تبلغ مساحة النقاط وسلاسل الخطوط 0، ومساحة الأشكال الهندسية المتعددة هي مجموع مساحات مكوناتها (يتم احتساب المساحات المتقاطعة عدة مرات).
الاستخدام
المرتجعات
Geometry.area(maxError, proj)
عدد عائم
الوسيطة
النوع
التفاصيل
هذا: geometry
هندسة
إدخال الشكل الهندسي
maxError
ErrorMargin، القيمة التلقائية: null
الحدّ الأقصى لمقدار الخطأ المسموح به عند إجراء أي عملية إعادة إسقاط ضرورية.
proj
التوقّع، القيمة التلقائية: null
في حال تحديدها، ستكون النتيجة بوحدات نظام الإحداثيات لهذا الإسقاط. بخلاف ذلك، ستكون بالمتر المربع.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Calculates the area of a given geometry, with the area of points and lines being 0."],["For multi-geometries, the total area is the sum of its components' areas, including overlaps."],["Returns the area in square meters by default or in the units of a specified projection."],["Accepts an optional `maxError` parameter for reprojection tolerance and a `proj` parameter for specifying the output projection."]]],["The `Geometry.area()` method calculates the area of a given geometry. Points and line strings have an area of 0. Multi-geometries' areas are calculated by summing their components' areas, counting intersecting areas multiple times. The method returns a float value. It accepts `maxError` for reprojection tolerance and `proj` to define the output coordinate system, defaulting to square meters if unspecified.\n"]]