docs: public static Element svgCircleSegment(SVGPlot svgp, double centerx, double centery, double angleStart, double angleDelta, double innerRadius, double outerRadius) {
      final DoubleWrapper tmp = new DoubleWrapper(); // To return cosine
      double sin1st = FastMath.sinAndCos(angleStart, tmp);
      double cos1st = tmp.value;
  
      double sin2nd = FastMath.sinAndCos(angleStart + angleDelta, tmp);
      double cos2nd = tmp.value; // Note: tmp is modified!
  
      double inner1stx = centerx + (innerRadius * sin1st);
      double inner1sty = centery - (innerRadius * cos1st);
      double outer1stx = centerx + (outerRadius * sin1st);
      double outer1sty = centery - (outerRadius * cos1st);
  
      double inner2ndx = centerx + (innerRadius * sin2nd);
      double inner2ndy = centery - (innerRadius * cos2nd);
      double outer2ndx = centerx + (outerRadius * sin2nd);
      double outer2ndy = centery - (outerRadius * cos2nd);
  
      double largeArc = angleDelta >= Math.PI ? 1 : 0;
      SVGPath path = new SVGPath(inner1stx, inner1sty).lineTo(outer1stx, outer1sty) //
          .ellipticalArc(outerRadius, outerRadius, 0, largeArc, 1, outer2ndx, outer2ndy) //
          .lineTo(inner2ndx, inner2ndy);
      if(innerRadius > 0) {
        path.ellipticalArc(innerRadius, innerRadius, 0, largeArc, 0, inner1stx, inner1sty);
      }
  
      return path.makeElement(svgp);
    }