We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5e4e07 commit 0098880Copy full SHA for 0098880
1 file changed
src/main/java/com/thealgorithms/geometry/ConvexHull.java
@@ -85,6 +85,7 @@ public static List<Point> convexHullRecursive(List<Point> points) {
85
}
86
87
// Implementation of Graham's scan algorithm to ensure CCW order
88
+ // See: https://en.wikipedia.org/wiki/Graham_scan
89
// Find the bottom-most, left-most point
90
Point start = Collections.min(points);
91
// Sort points by polar angle with respect to start
0 commit comments