POLYGONS3D Description of functions operating on 3D polygons. A 3D polygon is simply a set of 3D points (called vertices) which are assumed to be located in the same plane. Several functions are provided for computing basic geometrical parameters (centroid, angles), or intersections with lines or planes. See also: polygonArea3d, triangleArea3d, polygonCentroid3d, polygon3dNormalAngle intersectLinePolygon3d, intersectLineTriangle3d, intersectRayPolygon3d clipConvexPolygon3dHP drawPolygon3d, drawPolyline3d, fillPolygon3d ------ Author: David Legland e-mail: david.legland@grignon.inra.fr Created: 2008-10-13, using Matlab 7.4.0.287 (R2007a) Copyright 2008 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas.
0001 function polygons3d(varargin) 0002 %POLYGONS3D Description of functions operating on 3D polygons. 0003 % 0004 % A 3D polygon is simply a set of 3D points (called vertices) which are 0005 % assumed to be located in the same plane. 0006 % Several functions are provided for computing basic geometrical 0007 % parameters (centroid, angles), or intersections with lines or planes. 0008 % 0009 % See also: 0010 % polygonArea3d, triangleArea3d, polygonCentroid3d, polygon3dNormalAngle 0011 % intersectLinePolygon3d, intersectLineTriangle3d, intersectRayPolygon3d 0012 % clipConvexPolygon3dHP 0013 % drawPolygon3d, drawPolyline3d, fillPolygon3d 0014 % 0015 % ------ 0016 % Author: David Legland 0017 % e-mail: david.legland@grignon.inra.fr 0018 % Created: 2008-10-13, using Matlab 7.4.0.287 (R2007a) 0019 % Copyright 2008 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas.