clang-format and clang-tidy fixes for ee4cb635

This commit is contained in:
github-actions 2021-11-08 06:38:30 +00:00
parent ee4cb6352f
commit ef83af8370

View File

@ -22,18 +22,18 @@
* points be sorting them with respect to the bottom-most point. Once the points * points be sorting them with respect to the bottom-most point. Once the points
* are sorted, they form a simple closed path. * are sorted, they form a simple closed path.
* The sorting criteria is to use the orientation to compare angles without * The sorting criteria is to use the orientation to compare angles without
* actually computing them (See the compare() function below) because computation * actually computing them (See the compare() function below) because
* of actual angles would be inefficient since trigonometric functions are not *computation of actual angles would be inefficient since trigonometric
* simple to evaluate. *functions are not simple to evaluate.
* *
* Accept or Reject Points * Accept or Reject Points
* Once we have the closed path, the next step is to traverse the path and * Once we have the closed path, the next step is to traverse the path and
* remove concave points on this path using orientation. The first two points in * remove concave points on this path using orientation. The first two points in
* sorted array are always part of Convex Hull. For remaining points, we keep * sorted array are always part of Convex Hull. For remaining points, we keep
* track of recent three points, and find the angle formed by them. Let the three * track of recent three points, and find the angle formed by them. Let the
* points be prev(p), curr(c) and next(n). If the orientation of these points *three points be prev(p), curr(c) and next(n). If the orientation of these
* (considering them in the same order) is not counterclockwise, we discard c, *points (considering them in the same order) is not counterclockwise, we
* otherwise we keep it. *discard c, otherwise we keep it.
* *
* @author [Lajat Manekar](https://github.com/Lazeeez) * @author [Lajat Manekar](https://github.com/Lazeeez)
* *