image thumbnail

Intersection of Polyhedron with Plane

version 1.0.0 (1.96 KB) by Ayad Al-Rumaithi
Intersection of Polyhedron with Plane

19 Downloads

Updated 12 Jun 2021

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 (2021). 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!