Intersection of Polyhedron with Plane

Intersection of Polyhedron with Plane
98 Downloads
Updated 21 Sep 2024

View License

Finds the intesection of polyhedron with a plane in y-direction with example file. The polyhedron faces should be divided into triangles. The intersection results in one or more polygons defined by vertices and edges.
[VV,EE]=Polyhedron_Plane(V,F,YPlane)
Input:
V: (Nv,3) polyhedron vertix matrix
F: (Nf,3) polyhedron faces matrix
YPlane: The plane of intersection of the equation y=YPlane
Output:
VV: (Nv2,3) polygon(s) vertix matrix
EE: (Ne2,3) polygon(s) edges matrix

Cite As

Ayad Al-Rumaithi (2024). Intersection of Polyhedron with Plane (https://www.mathworks.com/matlabcentral/fileexchange/94035-intersection-of-polyhedron-with-plane), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Added website

1.0.0