Searched refs:lastThreePoints (Results 1 – 2 of 2) sorted by relevance
90 private List<Point> lastThreePoints = new ArrayList<>(); field in AnglesClassifier.Data121 if (lastThreePoints.isEmpty() in addPoint()122 || (!lastThreePoints.get(lastThreePoints.size() - 1).equals(point) in addPoint()123 && (lastThreePoints.get(lastThreePoints.size() - 1).dist(point) in addPoint()125 if (!lastThreePoints.isEmpty()) { in addPoint()126 length += lastThreePoints.get(lastThreePoints.size() - 1).dist(point); in addPoint()128 lastThreePoints.add(point); in addPoint()129 if (lastThreePoints.size() == 4) { in addPoint()130 lastThreePoints.remove(0); in addPoint()133 lastThreePoints.get(1).getAngle(lastThreePoints.get(0), lastThreePoints.get(2)); in addPoint()
82 private List<Point> lastThreePoints = new ArrayList<>(); field in SpeedAnglesClassifier.Data113 if (lastThreePoints.isEmpty() in addPoint()114 || !lastThreePoints.get(lastThreePoints.size() - 1).equals(speedPoint)) { in addPoint()115 lastThreePoints.add(speedPoint); in addPoint()116 if (lastThreePoints.size() == 4) { in addPoint()117 lastThreePoints.remove(0); in addPoint()120 lastThreePoints.get(1).getAngle(lastThreePoints.get(0), lastThreePoints.get(2)); in addPoint()