{"Entry":{"collection":"func","key":"area","name":"area","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":true,"doc_overhaul":false,"from":"7.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"7.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"84b7f42b5e30dcbd4ae75f8a413e9a5596d1ece75d201ce693f570320ba43423","derived_content_hash":"bcf035a8a95a8ac66cb34a40aeea2f617b6ea940034c352cab339eb93af8a2cb","first_version":"7.1","group":"geometry","group_label":"Geometric Functions And Operators","groups":["geometry"],"imported_at":"2026-09-27T17:57:28.599014+08:00","last_version":"20","name":"area","name_key":"area","position":10000,"present_in":["7.1","7.2","7.3","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:356b49d7d72c568313d84a7b9f0a363b063b21e7fe17cb85bac9281204d136e6","receipt_sha256":"4e5adf7c69885afa190437c4db075e2a8fb9cb55efe71bafa4557bd25e7323f1","repair":"wiki-repair-20261023"},"signature":"area ( geometric_type ) → double precision","signature_count":1,"slug":"area","source_rev":"wiki-repair-20261023:4bd04e9cdf4c84f90256e811df1fe1ff8c5ecf97c1627ea4f1e30f7d54f6712e","summary":"Computes area.","summary_zh":""}},"Definition":{"Collection":"func","Key":"area","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"area","SourceRevision":"wiki-repair-20261023:4bd04e9cdf4c84f90256e811df1fe1ff8c5ecf97c1627ea4f1e30f7d54f6712e","Facts":{"description":"Computes area. Available for box, path, circle. A path input must be closed, else NULL is returned. Also, if the path is self-intersecting, the result may be meaningless.","description_html":"Computes area. Available for \u003ccode class=\"type\"\u003ebox\u003c/code\u003e, \u003ccode class=\"type\"\u003epath\u003c/code\u003e, \u003ccode class=\"type\"\u003ecircle\u003c/code\u003e. A \u003ccode class=\"type\"\u003epath\u003c/code\u003e input must be closed, else NULL is returned. Also, if the \u003ccode class=\"type\"\u003epath\u003c/code\u003e is self-intersecting, the result may be meaningless.","description_zh":"计算面积。适用于 box、path、circle。path 输入必须封闭，否则返回 NULL。同样，如果 path 是自交叉的，结果可能是没有意义的。","description_zh_html":"计算面积。适用于 \u003ccode class=\"type\"\u003ebox\u003c/code\u003e、\u003ccode class=\"type\"\u003epath\u003c/code\u003e、\u003ccode class=\"type\"\u003ecircle\u003c/code\u003e。\u003ccode class=\"type\"\u003epath\u003c/code\u003e 输入必须封闭，否则返回 NULL。同样，如果 \u003ccode class=\"type\"\u003epath\u003c/code\u003e 是自交叉的，结果可能是没有意义的。","doc":{"anchor":"FUNCTIONS-GEOMETRY-FUNC-TABLE","file":"functions-geometry.html","slug":"18"},"group":"geometry","group_label":"Geometric Functions And Operators","lang":"en","layout":"table-new","pages":["functions-geometry.html"],"prose_only":false,"signatures":[{"description":"Computes area. Available for box, path, circle. A path input must be closed, else NULL is returned. Also, if the path is self-intersecting, the result may be meaningless.","description_html":"Computes area. Available for \u003ccode class=\"type\"\u003ebox\u003c/code\u003e, \u003ccode class=\"type\"\u003epath\u003c/code\u003e, \u003ccode class=\"type\"\u003ecircle\u003c/code\u003e. A \u003ccode class=\"type\"\u003epath\u003c/code\u003e input must be closed, else NULL is returned. Also, if the \u003ccode class=\"type\"\u003epath\u003c/code\u003e is self-intersecting, the result may be meaningless.","description_zh":"计算面积。适用于 box、path、circle。path 输入必须封闭，否则返回 NULL。同样，如果 path 是自交叉的，结果可能是没有意义的。","description_zh_html":"计算面积。适用于 \u003ccode class=\"type\"\u003ebox\u003c/code\u003e、\u003ccode class=\"type\"\u003epath\u003c/code\u003e、\u003ccode class=\"type\"\u003ecircle\u003c/code\u003e。\u003ccode class=\"type\"\u003epath\u003c/code\u003e 输入必须封闭，否则返回 NULL。同样，如果 \u003ccode class=\"type\"\u003epath\u003c/code\u003e 是自交叉的，结果可能是没有意义的。","examples":[{"expr":"area(box '(2,2),(0,0)')","result":"4"}],"html":"\u003ccode class=\"function\"\u003earea\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003egeometric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"area ( geometric_type ) → double precision","zh_from":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-geometry.html","sha256":"d1be5d4c3a0c2a807aa75b06b553f7e3ad67abd125a28210b974e1b14241017d"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-GEOMETRY-FUNC-TABLE","file":"functions-geometry.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"area","SourceDatabase":"center","Version":"18","Locale":"en","Title":"area","Summary":"Computes area. Available for box, path, circle. A path input must be closed, else NULL is returned. Also, if the path is self-intersecting, the result may be meaningless.","BodyHTML":"Computes area. Available for \u003ccode\u003ebox\u003c/code\u003e, \u003ccode\u003epath\u003c/code\u003e, \u003ccode\u003ecircle\u003c/code\u003e. A \u003ccode\u003epath\u003c/code\u003e input must be closed, else NULL is returned. Also, if the \u003ccode\u003epath\u003c/code\u003e is self-intersecting, the result may be meaningless.","SourceRevision":"wiki-repair-20261023:4bd04e9cdf4c84f90256e811df1fe1ff8c5ecf97c1627ea4f1e30f7d54f6712e","ContentHash":"c78efc2eb79be9d06e2e72cde68f460cdfd82eb08151bd59b4b1bbe522275a52","Payload":{"description":"Computes area. Available for box, path, circle. A path input must be closed, else NULL is returned. Also, if the path is self-intersecting, the result may be meaningless.","description_html":"Computes area. Available for \u003ccode class=\"type\"\u003ebox\u003c/code\u003e, \u003ccode class=\"type\"\u003epath\u003c/code\u003e, \u003ccode class=\"type\"\u003ecircle\u003c/code\u003e. A \u003ccode class=\"type\"\u003epath\u003c/code\u003e input must be closed, else NULL is returned. Also, if the \u003ccode class=\"type\"\u003epath\u003c/code\u003e is self-intersecting, the result may be meaningless.","signatures":[{"description":"Computes area. Available for box, path, circle. A path input must be closed, else NULL is returned. Also, if the path is self-intersecting, the result may be meaningless.","description_html":"Computes area. Available for \u003ccode class=\"type\"\u003ebox\u003c/code\u003e, \u003ccode class=\"type\"\u003epath\u003c/code\u003e, \u003ccode class=\"type\"\u003ecircle\u003c/code\u003e. A \u003ccode class=\"type\"\u003epath\u003c/code\u003e input must be closed, else NULL is returned. Also, if the \u003ccode class=\"type\"\u003epath\u003c/code\u003e is self-intersecting, the result may be meaningless.","description_zh":"计算面积。适用于 box、path、circle。path 输入必须封闭，否则返回 NULL。同样，如果 path 是自交叉的，结果可能是没有意义的。","description_zh_html":"计算面积。适用于 \u003ccode class=\"type\"\u003ebox\u003c/code\u003e、\u003ccode class=\"type\"\u003epath\u003c/code\u003e、\u003ccode class=\"type\"\u003ecircle\u003c/code\u003e。\u003ccode class=\"type\"\u003epath\u003c/code\u003e 输入必须封闭，否则返回 NULL。同样，如果 \u003ccode class=\"type\"\u003epath\u003c/code\u003e 是自交叉的，结果可能是没有意义的。","examples":[{"expr":"area(box '(2,2),(0,0)')","result":"4"}],"html":"\u003ccode class=\"function\"\u003earea\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003egeometric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"area ( geometric_type ) → double precision","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.1","7.2","7.3","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"03542ed40ef3d7c504ba1e21dc3a0c66e6f5859f761f4ac45bf84458ec5881bf","Text":"area ( geometric_type ) → double precision","Returns":"double precision","Payload":{"description":"Computes area. Available for box, path, circle. A path input must be closed, else NULL is returned. Also, if the path is self-intersecting, the result may be meaningless.","description_html":"Computes area. Available for \u003ccode class=\"type\"\u003ebox\u003c/code\u003e, \u003ccode class=\"type\"\u003epath\u003c/code\u003e, \u003ccode class=\"type\"\u003ecircle\u003c/code\u003e. A \u003ccode class=\"type\"\u003epath\u003c/code\u003e input must be closed, else NULL is returned. Also, if the \u003ccode class=\"type\"\u003epath\u003c/code\u003e is self-intersecting, the result may be meaningless.","description_zh":"计算面积。适用于 box、path、circle。path 输入必须封闭，否则返回 NULL。同样，如果 path 是自交叉的，结果可能是没有意义的。","description_zh_html":"计算面积。适用于 \u003ccode class=\"type\"\u003ebox\u003c/code\u003e、\u003ccode class=\"type\"\u003epath\u003c/code\u003e、\u003ccode class=\"type\"\u003ecircle\u003c/code\u003e。\u003ccode class=\"type\"\u003epath\u003c/code\u003e 输入必须封闭，否则返回 NULL。同样，如果 \u003ccode class=\"type\"\u003epath\u003c/code\u003e 是自交叉的，结果可能是没有意义的。","examples":[{"expr":"area(box '(2,2),(0,0)')","result":"4"}],"html":"\u003ccode class=\"function\"\u003earea\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003egeometric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"area ( geometric_type ) → double precision","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
