innerShell()
Local rule:
Iterate all positions in vG
- If voxel is found :
Find sum of all voxels inside the surrounding sphere with radius R
- If sum is the maximum (we are 100% submerged in a voxel body) :
Delete the voxel in the iterating position
Library function:
Notes
- Need margins as large as the radius R
- Use addMargin(vG,R)
Tutorial example:
|