mesh_xsections() is a Matlab function returning cross-sections of a triangulation mesh with a set of planes. Each cross-section is a cell array with one or more polygons (consecutive points in 3D). The function handles meshes with duplicated vertices (by fusing them) and open boundary edges (by cutting across the edge). It also removes duplicated faces and slightly budges mesh vertices if the plane happens to intersect them. mesh_xsections executes in a matter of seconds on meshes with hundreds of thousands of vertices.
Yury (2021). mesh_xsections (https://github.com/caiuspetronius/mesh_xsections), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!