Methods

1. bruteForce(P)

        
            Description: Computes the convex hull using the brute-force approach.
Parameters: P: Array of points.
Returns: Array of point pairs representing the edges of the convex hull.