setFlatCoordinates(layout, flatCoordinates) {
    this.stride = getStrideForLayout(layout);
    this.layout = layout;
    this.flatCoordinates = flatCoordinates;
  }
@param {import("./Geometry.js").GeometryLayout} layout Layout.
@param {Array<number>} flatCoordinates Flat coordinates.