POLYHEDRONSLICE Intersect a convex polyhedron with a plane. SLICE = polyhedronSlice(NODES, FACES, PLANE) NODES: a Nx3 array FACES: either a cell array or a Nf*3 or Nf*4 array PLANE: a plane representation [x0 y0 z0 dx1 dy1 dz1 dx2 dy2 dz2]. return the intersection polygon of the polyhedra with the plane, in the form of a set of ordered points. Works only for convex polyhedra. Example polyhedronSlice See also polyhedra, clipConvexPolyhedronHP, intersectPlaneMesh
Package: matgeom