I need to be able to produce Minkowski difference of an arbitrary BoundaryMeshRegion and a cylinder.
Needs["NDSolve`FEM`"];
c1 = BoundaryMeshRegion[ToBoundaryMesh[Cylinder[{{0, 0, -5}, {0, 0, 5}}, 5]]];
c2 = BoundaryMeshRegion[ToBoundaryMesh[Cylinder[{{0, 0, -1}, {0, 0, 1}}, 1]]];
RegionErosion[c1, c2]
It produces nothing:
However,
RegionErosion[Cylinder[{{0, 0, -5}, {0, 0, 5}}, 5], Cylinder[{{0, 0, -1}, {0, 0, 1}}, 1]]
does work:
So, is there any way to apply erosion to a mesh, or it's just not possible with current RegionErosion implementation?