box ( circle ) → boxComputes box inscribed within the circle.
box(circle '<(0,0),2>') → (1.414213562373095,1.414213562373095),(-1.414213562373095,-1.414213562373095)
Functions / Geometric Functions And Operators
Computes box inscribed within the circle.
Reading PG 18current·documented in 27 of 27 versions, 7.1 to 20
box ( circle ) → boxComputes box inscribed within the circle.
box(circle '<(0,0),2>') → (1.414213562373095,1.414213562373095),(-1.414213562373095,-1.414213562373095)
box ( point ) → boxConverts point to empty box.
box(point '(1,0)') → (1,0),(1,0)
box ( point, point ) → boxConverts any two corner points to box.
box(point '(0,1)', point '(1,0)') → (1,1),(0,0)
box ( polygon ) → boxComputes bounding box of polygon.
box(polygon '((0,0),(1,1),(2,0))') → (2,1),(0,0)
Definition snapshot: b7bd9cda · English manual source