function RectangleGeometryUpdater(entity, scene) {
  GroundGeometryUpdater.call(this, {
    entity: entity,
    scene: scene,
    geometryOptions: new RectangleGeometryOptions(entity),
    geometryPropertyName: "rectangle",
    observedPropertyNames: ["availability", "rectangle"],
  });

  this._onEntityPropertyChanged(
    entity,
    "rectangle",
    entity.rectangle,
    undefined,
  );
}
A {@link GeometryUpdater} for rectangles.
Clients do not normally create this class directly, but instead rely on {@link DataSourceDisplay}.
@alias RectangleGeometryUpdater
@constructor

@param {Entity} entity The entity containing the geometry to be visualized.
@param {Scene} scene The scene where visualization is taking place.