mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Fix #4
This commit is contained in:
parent
44fd62764f
commit
2957fd21d0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user