public double sizeEucl() {
    return Math.sqrt(
        Math.pow(
                this.getPoints().get(this.getPoints().size() - 1).getX()
                    - this.getPoints().get(0).getX(),
                2)
            + Math.pow(
                this.getPoints().get(this.getPoints().size() - 1).getY()
                    - this.getPoints().get(0).getY(),
                2));
  }
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