writeCurveSegments_(node, line, objectStack) {
    const child = createElementNS(node.namespaceURI, 'LineStringSegment');
    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.
@private