PatternGeneratorJRL::ComputeConvexHull Class Reference

#include <Mathematics/ConvexHull.hh>

Public Member Functions

 ComputeConvexHull ()
 
 ~ComputeConvexHull ()
 
void DoComputeConvexHull (std::vector< CH_Point > aVecOfPoints, std::vector< CH_Point > &TheConvexHull)
 

Detailed Description

This class compute the convex hull in 2D.

Constructor & Destructor Documentation

◆ ComputeConvexHull()

PatternGeneratorJRL::ComputeConvexHull::ComputeConvexHull ( )

◆ ~ComputeConvexHull()

PatternGeneratorJRL::ComputeConvexHull::~ComputeConvexHull ( )

Member Function Documentation

◆ DoComputeConvexHull()

void PatternGeneratorJRL::ComputeConvexHull::DoComputeConvexHull ( std::vector< CH_Point aVecOfPoints,
std::vector< CH_Point > &  TheConvexHull 
)

Compute the convex hull by applying Graham's algorithm.

Parameters
aVecOfPointsThe set of 2D points on which the convex hull is computed.
TheConvexHullThe set of 2D points which give the convex hull.

The documentation for this class was generated from the following files: