public double size() {
    return this.getPoints().get(this.getPoints().size() - 1).getX()
        - this.getPoints().get(0).getX();
  }
section copy, but where the tangents are not copied, and the next array is set to null *
library-udf/src/main/java/org/apache/iotdb/library/match/model/Section.java