I have a three-dimensional triangular grid, and I'm looking for an algorithm to offset all boundary boundaries limitless borders the boundaries of the grid inward along the surface of a triangular grid.
I looked at Clipper as indicated in the Algorithm for inflation / deflation (offset, buffering) of polygons , but it does not cope with 3D and does not save a triangular grid, and I'm not sure that re-triangulating the resulting borders will correspond to the original input grid easier to solve the problem.
Any suggestions on how I can do this?

source share