pub fn execute(algorithm: Algorithm, input_set: &mut Vec<Point2D>) -> Vec<Point2D> {
    match algorithm {
        Algorithm::Graham => graham_scan(input_set),
        Algorithm::Jarvis => jarvis_march(input_set),
        Algorithm::Chan => chans_algorithm(input_set),
    }
}
/// Executes an algorithm for given inputset of point and returns the hull points
Executes an algorithm for given inputset of point and returns the hull points
Executes an algorithm for given inputset of point and returns the hull points
pub fn execute(algorithm: Algorithm, input_set: &mut Vec<Point2D>) -> Vec<Point2D> {
    match algorithm {
        Algorithm::Graham => graham_scan(input_set),
        Algorithm::Jarvis => jarvis_march(input_set),
        Algorithm::Chan => chans_algorithm(input_set),
    }
}
pub fn execute ( algorithm : Algorithm , input_set : & mut Vec < Point2D > ) -> Vec < Point2D > { match algorithm { Algorithm :: Graham => graham_scan ( input_set ) , Algorithm :: Jarvis => jarvis_march ( input_set ) , Algorithm :: Chan => chans_algorithm ( input_set ) , } }
Executes an algorithm for given inputset of point and returns the hull points
Executes an algorithm for given inputset of point and returns the hull points
algorithm
Algorithm
input_set
&mut Vec<Point2D>
algorithm
Algorithm
input_set
&mut Vec<Point2D>