setCenterAndRadius(center, radius, layout) {
    this.setLayout(layout, center, 0);
    if (!this.flatCoordinates) {
      this.flatCoordinates = [];
    }
    /** @type {Array<number>} */
    const flatCoordinates = this.flatCoordinates;
    let offset = deflateCoordinate(flatCoordinates, 0, center, this.stride);
    flatCoordinates[offset++] = flatCoordinates[0] + radius;
    for (let i = 1, ii = this.stride; i < ii; ++i) {
      flatCoordinates[offset++] = flatCoordinates[i];
    }
    flatCoordinates.length = offset;
    this.changed();
  }
Set the center (as {@link module:ol/coordinate~Coordinate coordinate}) and the radius (as
number) of the circle.
@param {!import("../coordinate.js").Coordinate} center Center.
@param {number} radius Radius.
@param {import("./Geometry.js").GeometryLayout} [layout] Layout.
@api