lseg ( box ) → lsegExtracts box's diagonal as a line segment.
lseg(box '(1,0),(-1,0)') → [(1,0),(-1,0)]
Functions / Geometric Functions And Operators
Extracts box's diagonal as a line segment.
Reading PG 18current·documented in 27 of 27 versions, 7.1 to 20
lseg ( box ) → lsegExtracts box's diagonal as a line segment.
lseg(box '(1,0),(-1,0)') → [(1,0),(-1,0)]
lseg ( point, point ) → lsegConstructs line segment from two endpoints.
lseg(point '(-1,0)', point '(1,0)') → [(-1,0),(1,0)]
Definition snapshot: b7bd9cda · English manual source