# doc-cache created by Octave 10.2.0
# name: cache
# type: cell
# rows: 3
# columns: 2
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 16
octave_poly2mask


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 859
 -- Function: octave_poly2mask
      Copyright (C) 2004 Josep Mones i Teixidor <jmones@puntbarra.com>
     
      This program is free software; you can redistribute it and/or modify it under
      the terms of the GNU General Public License as published by the Free Software
      Foundation; either version 3 of the License, or (at your option) any later
      version.
     
      This program is distributed in the hope that it will be useful, but WITHOUT
      ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
      FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
      details.
     
      You should have received a copy of the GNU General Public License along with
      this program; if not, see <http://www.gnu.org/licenses/>.
     *Url*: <http://ltfat.github.io/doc/mulaclab/octave_poly2mask.html>


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 65
 Copyright (C) 2004 Josep Mones i Teixidor <jmones@puntbarra.com>



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 15
polyboolclipper


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1669
 -- Function: polyboolclipper
     function [pc, hc] = polyboolclipper(pa, pb, op, ha, hb, ug);
     
      polyboolclipper : a function to perform boolean set operations on 
                 planar polygons
      
      INPUT:
      pa : EITHER a nx2 matrix of vertices describing a polygon 
           OR a cell array with polygons, each of which is a nx2 matrix
           of vertices (one vertex per row)
      pb : EITHER a nx2 matrix of vertices describing a polygon 
           OR a cell array with polygons, each of which is a nx2 matrix
           of vertices (one vertex per row)
      ha : (Optional) logical array with hole flags for polygons in
           pa. If ha(k) > 0, pa{k} is an interior boundary of a polygon 
           with at least one hole.
      hb : (Optional) logical array with hole flags for polygons in pb.
      op : type of algebraic operation:
            'notb' : difference - points in polygon pa and not in polygon pb
            'and'  : intersection - points in polygon pa and in polygon pb
            'xor'  : exclusive or - points either in polygon pa or in polygon pb
            'or'   : union - points in polygons pa or pb
      ug : (Optional) conversion factor from user coordinates to
           integer grid coordinates. Default is 10^6.
      pc : cell array with the result(s) of the boolean set operation
           of polygons pa and pb (can be more than one polygon)
      hc : logical array with hole flags for each of the output
           polygons. If hc(k) > 0, pc{k} is an interior boundary of a 
           polygon with at least one hole.
     *Url*: <http://ltfat.github.io/doc/mulaclab/polyboolclipper.html>


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 60
function [pc, hc] = polyboolclipper(pa, pb, op, ha, hb, ug);





