CLIPCONVEXPOLYGON3DHP Clip a convex 3D polygon with Half-space.

   POLY2 = clipConvexPolygon3dHP(POLY, PLANE)
   POLY is a N-by-3 array of points, and PLANE is given as:
   [x0 y0 z0 dx1 dy1 dz1 dx2 dy2 dz2].
   The result POLY2 is also an array of 3d points, sometimes smaller than
   poly, and that can be 0-by-3 (empty polygon).

   POLY2 = clipConvexPolygon3dHP(POLY, PT0, NORMAL)
   uses plane with normal NORMAL and containing point PT0.


   See also:
   polygons3d, polyhedra

 ------
 Author: David Legland
 e-mail: david.legland@grignon.inra.fr
 Created: 2007-01-05
 Copyright 2007 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas.

Package: matgeom