{"Entry":{"collection":"func","key":"circle","name":"circle","aliases":[],"metadata":{"changed_in":["8.1"],"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":false,"from":"8.0","group_changed":null,"signatures":{"added":["circle ( polygon ) → circle"],"removed":[]},"status":"changed","to":"8.1"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"486f0181452bac5191cf8f29df92cf286b9c1ad87b99504853609af01a16b193","first_version":"7.1","group":"geometry","group_label":"Geometric Functions And Operators","groups":["geometry"],"imported_at":"2026-09-27T17:57:28.61201+08:00","last_version":"20","name":"circle","name_key":"circle","position":10005,"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"],"signature":"circle ( box ) → circle","signature_count":3,"slug":"circle","source_rev":"b7bd9cda","summary":"Computes smallest circle enclosing box.","summary_zh":""}},"Definition":{"Collection":"func","Key":"circle","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"circle","SourceRevision":"b7bd9cda","Facts":{"description":"Computes smallest circle enclosing box.","description_html":"Computes smallest circle enclosing box.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-GEOMETRY-CONV-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 smallest circle enclosing box.","description_html":"Computes smallest circle enclosing box.","description_zh":"","description_zh_html":"","examples":[{"expr":"circle(box '(1,1),(0,0)')","result":"\u003c(0.5,0.5),0.7071067811865476\u003e"}],"html":"\u003ccode class=\"function\"\u003ecircle\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebox\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecircle\u003c/code\u003e","returns":"circle","text":"circle ( box ) → circle","zh_from":""},{"description":"Constructs circle from center and radius.","description_html":"Constructs circle from center and radius.","description_zh":"","description_zh_html":"","examples":[{"expr":"circle(point '(0,0)', 2.0)","result":"\u003c(0,0),2\u003e"}],"html":"\u003ccode class=\"function\"\u003ecircle\u003c/code\u003e ( \u003ccode class=\"type\"\u003epoint\u003c/code\u003e, \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecircle\u003c/code\u003e","returns":"circle","text":"circle ( point, double precision ) → circle","zh_from":""},{"description":"Converts polygon to circle. The circle's center is the mean of the positions of the polygon's points, and the radius is the average distance of the polygon's points from that center.","description_html":"Converts polygon to circle. The circle's center is the mean of the positions of the polygon's points, and the radius is the average distance of the polygon's points from that center.","description_zh":"","description_zh_html":"","examples":[{"expr":"circle(polygon '((0,0),(1,3),(2,0))')","result":"\u003c(1,1),1.6094757082487299\u003e"}],"html":"\u003ccode class=\"function\"\u003ecircle\u003c/code\u003e ( \u003ccode class=\"type\"\u003epolygon\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecircle\u003c/code\u003e","returns":"circle","text":"circle ( polygon ) → circle","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-GEOMETRY-CONV-TABLE","file":"functions-geometry.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"circle","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"circle","Summary":"计算包围矩形框的最小圆。","BodyHTML":"计算包围矩形框的最小圆。\u003cpre\u003ecircle ( box ) → circle\u003c/pre\u003e计算包围矩形框的最小圆。\u003cpre\u003ecircle ( point, double precision ) → circle\u003c/pre\u003e从圆心和半径构造圆。\u003cpre\u003ecircle ( polygon ) → circle\u003c/pre\u003e将多边形转换为圆。圆心是多边形各点位置的平均值，半径是多边形各点到圆心的平均距离。","SourceRevision":"ca936764","ContentHash":"bbbf141ce8f24f1d5dbcc30196e5550494060f7fefd03853c74c93602f81a5f5","Payload":{"description_zh":"计算包围矩形框的最小圆。","description_zh_html":"计算包围矩形框的最小圆。","signatures":[{"description_zh":"计算包围矩形框的最小圆。","description_zh_html":"计算包围矩形框的最小圆。","returns":"circle","text":"circle ( box ) → circle","zh_from":"doc"},{"description_zh":"从圆心和半径构造圆。","description_zh_html":"从圆心和半径构造圆。","returns":"circle","text":"circle ( point, double precision ) → circle","zh_from":"doc"},{"description_zh":"将多边形转换为圆。圆心是多边形各点位置的平均值，半径是多边形各点到圆心的平均距离。","description_zh_html":"将多边形转换为圆。圆心是多边形各点位置的平均值，半径是多边形各点到圆心的平均距离。","returns":"circle","text":"circle ( polygon ) → circle","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"f82d2ab3b1dc686eb280f76a553f9fab4e12693b4dca5e4875d0c84e5e4a6a1d","Text":"circle ( box ) → circle","Returns":"circle","Payload":{"description":"Computes smallest circle enclosing box.","description_html":"Computes smallest circle enclosing box.","description_zh":"","description_zh_html":"","examples":[{"expr":"circle(box '(1,1),(0,0)')","result":"\u003c(0.5,0.5),0.7071067811865476\u003e"}],"html":"\u003ccode class=\"function\"\u003ecircle\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebox\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecircle\u003c/code\u003e","returns":"circle","text":"circle ( box ) → circle","zh_from":""}},{"Version":"18","Ordinal":1,"Hash":"6f2118a93985ed1390e4514d44aca49215a1f9f1a75d9ab33b5f995545f027c6","Text":"circle ( point, double precision ) → circle","Returns":"circle","Payload":{"description":"Constructs circle from center and radius.","description_html":"Constructs circle from center and radius.","description_zh":"","description_zh_html":"","examples":[{"expr":"circle(point '(0,0)', 2.0)","result":"\u003c(0,0),2\u003e"}],"html":"\u003ccode class=\"function\"\u003ecircle\u003c/code\u003e ( \u003ccode class=\"type\"\u003epoint\u003c/code\u003e, \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecircle\u003c/code\u003e","returns":"circle","text":"circle ( point, double precision ) → circle","zh_from":""}},{"Version":"18","Ordinal":2,"Hash":"3edaee791907a7ef3a17b771afb2ae64c3f2db1184635e117b2531b5ba1dbf2d","Text":"circle ( polygon ) → circle","Returns":"circle","Payload":{"description":"Converts polygon to circle. The circle's center is the mean of the positions of the polygon's points, and the radius is the average distance of the polygon's points from that center.","description_html":"Converts polygon to circle. The circle's center is the mean of the positions of the polygon's points, and the radius is the average distance of the polygon's points from that center.","description_zh":"","description_zh_html":"","examples":[{"expr":"circle(polygon '((0,0),(1,3),(2,0))')","result":"\u003c(1,1),1.6094757082487299\u003e"}],"html":"\u003ccode class=\"function\"\u003ecircle\u003c/code\u003e ( \u003ccode class=\"type\"\u003epolygon\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecircle\u003c/code\u003e","returns":"circle","text":"circle ( polygon ) → circle","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
