Skip to content

Commit

Permalink
meshes3d/intersectPlaneMesh.m: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dlegland committed Nov 24, 2021
1 parent edb3a6c commit 6ed3da5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions matGeom/meshes3d/intersectPlaneMesh.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
% Compute the polygons resulting from plane-mesh intersection.
%
% POLYS = intersectPlaneMesh(P, V, F)
% Computes the interection between a plane and a mesh given by vertex and
% face lists. The result is a cell array of polygons.
%
% The function currently returns at most one polygon in the cell array
% POLYS.
% Computes the intersection between a plane and a mesh. The result is a
% cell array of polygons.
% The plane P is given as:
% P = [X0 Y0 Z0 DX1 DY1 DZ1 DX2 DY2 DZ2]
% The mesh is given as numeric array V of vertex coordinates and an array
% of (triangular) face vertex indices.
%
%
% Example
Expand Down

0 comments on commit 6ed3da5

Please sign in to comment.