A warehouse for the attachments of spatial analytic geometry papers.
Use the least-squares method, two-dimensional and three-dimensional convex hull algorithms to solve the problem of quadric surface enclosure.
Compile and run ./fitting.cpp, note that you need the Eigen library.
For a set of points in a given space, the quadric surface is fitted using the least squares method.
The first line contains one integer
Each of following
parameters
Compile and run ./2dconvexhull.cpp, note that you need the Eigen library.
For a set of points in a given space, find the two-dimensional convex hull of them.
The first line contains one integer
Each of following
Outputs all points on the convex hull.
Compile and run ./3dconvexhull.cpp, note that you need the Eigen library.
For a set of points in a given space, find the three-dimensional convex hull of them.
The first line contains one integer
Each of following
Outputs all points on the convex hull.
There are four data sets for this project in path ./Data.
The first line contains one integer