Profile
No self-introduction
Centroid of ConvexHull
no vote
1. This program gets some points coordinate as input.
Input File Format:
Line 1: Number of points
Other Lines: x y
2. Then it computes the convex hull using Graham scan algorithm.
3. Finally it calculates the centroid of that convex hull using the following formula:
sara357340 2016-08-23 No more~
Follows 0
Fans 0
- Email: support@codeforge.com
© 2011-2024CodeForge Dev Team All rights reserved