private double tangent(Point p1, Point p2) {
    return (p2.getY() - p1.getY()) / (p2.getX() - p1.getX());
  }
Execute the query in a particular smooth iteration
library-udf/src/main/java/org/apache/iotdb/library/match/PatternExecutor.java