The following functions can be used to create polylines and polygons:
make-polyline [Function]
Arguments: point-seq
&key
closed
make-polyline* [Function]
Arguments: coord-seq
&key
closed
Summary: Returns an object of class standard-polyline consisting of the segments connecting each of the points in point-seq (or the points represented by the coordinate pairs in coord-seq ).
If closed is t , then the segment connecting the first point and the last point is included in the polyline. The default for closed is nil .
These functions capture their mutable inputs; the consequences of modifying those objects are unspecified.
make-polygon [Function]
make-polygon* [Function]
Summary: Returns an object of class standard-polygon consisting of the area contained in the boundary that is specified by the segments connecting each of the points in point-seq (or the points represented by the coordinate pairs in coord-seq ).
These functions capture their mutable inputs; the consequences of modifying those objects are unspecified.
Common Lisp Interface Manager 2.0 User's Guide - 7 Aug 2017