circle ( box ) → circleComputes smallest circle enclosing box.
circle(box '(1,1),(0,0)') → <(0.5,0.5),0.7071067811865476>
Functions / Geometric Functions And Operators
Computes smallest circle enclosing box.
Reading PG 18current·documented in 27 of 27 versions, 7.1 to 20
circle ( box ) → circleComputes smallest circle enclosing box.
circle(box '(1,1),(0,0)') → <(0.5,0.5),0.7071067811865476>
circle ( point, double precision ) → circleConstructs circle from center and radius.
circle(point '(0,0)', 2.0) → <(0,0),2>
circle ( polygon ) → circleConverts 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.
circle(polygon '((0,0),(1,3),(2,0))') → <(1,1),1.6094757082487299>
Definition snapshot: b7bd9cda · English manual source