Repository navigation
Answered by
Fedr
Sep 20, 2026
Replies: 1 comment 1 reply
1 reply
Answer selected by
Fedr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Your union-of-spheres experiment is the right formulation. MeshLib has it built in, in a more complete form, and a few changes remove the problems you listed.
1. Use the mesh version, not point samples.
WeightedShell::meshShell( mesh, vertWeights, params )(ParametersMetric). Weights are interpolated linearly inside triangles, so the result is the boundary of the union of balls centred at every point of the input surface with radiusparams.offset + w(p). There are no sampling gaps, and since the band C is simply part of the input mesh, "spheres centred on F do not reach the boundary" cannot happen: the shell reaches R because you put weight there, however wide the band is.2. Use the one-…