stoolAt function

List<CatalogShape> stoolAt(
  1. double cx,
  2. double cy
)

A bar stool at (cx, cy): its seat (Ø 380), then a Ø 300 footrest.

Implementation

List<CatalogShape> stoolAt(double cx, double cy) => [
      CatalogCircle(_p(cx, cy), stoolRadius),
      CatalogCircle(_p(cx, cy), _footrestRadius),
    ];