Article directory
1. Introduction
The vertex clustering method concentrates all vertices falling in voxels of a given size onto a single vertex. The process is somewhat similar to point cloud voxel downsampling, and then reconnects the patches based on the clustered vertices to achieve Mesh simplification purposes.
2. Implement the code
#define _USE_MATH_DEFINES
#include <iostream>
#include <unordered_map&