{'fraction_non_alphanumeric': 0.017252820172528202, 'fraction_numerical': 0.0, 'mean_word_length': 5.056224899598393, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Separation of Critical Points and Flow-Complex-Based Surface Reconstruction

The distance function to surfaces in three dimensions plays a key role in many geometric modeling applications such as medial axis approximations, surface reconstructions, offset computations, feature extractions among others. In many cases, the distance function induced by the surface can be approximated by the distance function induced by a discrete sample of the surface. The critical points of the distance functions are known to be closely related to the topology of the sets inducing them. However, no earlier theoretical result has found a link between topological properties of a geometric object and critical points of the distance to a discrete sample of it. We provide this link by showing that the critical points of the distance function induced by a discrete sample of a surface fall into two disjoint classes: those that lie very close to the surface and those that are near its medial axis. This closeness is precisely quantified and is shown to depend on the sampling density. It turns out that critical points near medial axis can be used to extract topological information about the sampled surface. With this result, we provide a new flow-complex-based surface reconstruction algorithm that, given a tight ε-sample of a surface, approximates the surface geometrically, both in distance and normals, and captures its topology. Furthermore, we show that the same algorithm can be used for curve reconstruction.