mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Added jarvis algorithm
This commit is contained in:
parent
c6c5d81f1b
commit
e59559af0f
@ -73,7 +73,7 @@ namespace geometry {
|
|||||||
* Creates convex hull of a set of n points.
|
* Creates convex hull of a set of n points.
|
||||||
* There must be 3 points at least for the convex hull to exist
|
* There must be 3 points at least for the convex hull to exist
|
||||||
*
|
*
|
||||||
* returns an vector array containing points in space
|
* @returns an vector array containing points in space
|
||||||
* which enclose all given points thus forming a hull
|
* which enclose all given points thus forming a hull
|
||||||
*/
|
*/
|
||||||
std::vector<Point> getConvexHull() const {
|
std::vector<Point> getConvexHull() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user