writeSurfaceOrPolygonMember(node, polygon, objectStack) {
    const child = this.GEOMETRY_NODE_FACTORY_(polygon, objectStack);
    if (child) {
      node.appendChild(child);
      this.writeSurfaceOrPolygon(child, polygon, objectStack);
    }
  }
@param {Node} node Node.
@param {import("../geom/Polygon.js").default} polygon Polygon geometry.
@param {Array<*>} objectStack Node stack.