writeLineStringOrCurveMember(node, line, objectStack) {
    const child = this.GEOMETRY_NODE_FACTORY_(line, objectStack);
    if (child) {
      node.appendChild(child);
      this.writeCurveOrLineString(child, line, objectStack);
    }
  }
@param {Element} node Node.
@param {import("../geom/LineString.js").default} line LineString geometry.
@param {Array<*>} objectStack Node stack.