mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-12 23:15:52 +08:00
Fix #4
This commit is contained in:
@@ -45,10 +45,16 @@
|
|||||||
#include <vector> /// for std::vector
|
#include <vector> /// for std::vector
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* @namespace geometry::grahamscan
|
* @namespace geometry
|
||||||
* @brief geometric algorithms
|
* @brief geometric algorithms
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
namespace geometry::grahamscan {
|
namespace geometry {
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* @namespace graham scan
|
||||||
|
* @brief convex hull algorithm
|
||||||
|
*******************************************************************************/
|
||||||
|
namespace grahamscan {
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* @struct Point
|
* @struct Point
|
||||||
@@ -222,4 +228,5 @@ std::vector<Point> convexHull(std::vector<Point> points, uint64_t size) {
|
|||||||
|
|
||||||
return result; // return resultant vector with Convex Hull co-ordinates.
|
return result; // return resultant vector with Convex Hull co-ordinates.
|
||||||
}
|
}
|
||||||
} // namespace geometry::grahamscan
|
} //namespace grahamscan
|
||||||
|
} // namespace geometry
|
||||||
|
|||||||
Reference in New Issue
Block a user