I explain how many segments compose a circle [here](https://github.com/irstv/H2GIS/blob/daac86bd76645c6ec94b356e24db93ae74fe539c/h2spatial/src/main/java/org/h2gis/h2spatial/internal/function/spatial/operators/ST_Buffer.java#L35).