Spring 2024 CSC591 Computational Geometry Project on the Centerpoint Theorem.
We base our implementation on Matoušek's proof in Section 1.4 of Lectures on Discrete Geometry.
We calculate the compact convex closures
We find the intersection of all
A centerpoint
The center region
The center region can be equivalently defined as the intersection of all halfspaces that contain at least
-
$|P|$ , length of input set, should be$> 2$ - See
requirements.txt
for required packages - There are many more efficient algorithms to find the centerpoint. Our program only shows the center region via the method described in the proof.