X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=CreaPhase.git;a=blobdiff_plain;f=octave_packages%2Fgeometry-1.5.0%2Foctclip%2Fdoc-cache;fp=octave_packages%2Fgeometry-1.5.0%2Foctclip%2Fdoc-cache;h=83158189c6a684393c919673657b6133008a0ff5;hp=0000000000000000000000000000000000000000;hb=f5f7a74bd8a4900f0b797da6783be80e11a68d86;hpb=1705066eceaaea976f010f669ce8e972f3734b05 diff --git a/octave_packages/geometry-1.5.0/octclip/doc-cache b/octave_packages/geometry-1.5.0/octclip/doc-cache new file mode 100644 index 0000000..8315818 --- /dev/null +++ b/octave_packages/geometry-1.5.0/octclip/doc-cache @@ -0,0 +1,72 @@ +# Created by Octave 3.6.2, Sun Jun 10 09:53:40 2012 UTC +# name: cache +# type: cell +# rows: 3 +# columns: 1 +# name: +# type: sq_string +# elements: 1 +# length: 11 +oc_polybool + + +# name: +# type: sq_string +# elements: 1 +# length: 1545 + -- Function File: [X,Y,NPOL,NINT,NPERT] = _oc_polybool(SUB,CLIP,OP) + -- Function File: [X,Y,NPOL,NINT,NPERT] = _oc_polybool(SUB,CLIP) + This function performs boolean operations between two polygons + using the Greiner-Hormann algorithm + (http://davis.wpi.edu/~matt/courses/clipping/). + + SUB is a two column matrix containing the X and Y coordinates of + the vertices for the subject polygon. + + CLIP is a two column matrix containing the X and Y coordinates of + the vertices for the clipper polygon. + + OP is a text string containing the operation to perform between + SUB and CLIP. Possible values are: + + * 'AND' Intersection of SUB and CLIP (value by default). + + * 'OR' Union of SUBT and CLIP. + + * 'AB' Operation SUB - CLIP. + + * 'BA' Operation of CLIP - SUB. + + For the matrices SUB and CLIP, the first point is not needed to be + repeated at the end (but is permitted). Pairs of (NaN,NaN) + coordinates in SUB and/or CLIP are omitted. + + X is a column vector containing the X coordinates of the vertices + for. resultant polygon(s). + + Y is a column vector containing the Y coordinates of the vertices + for. resultant polygon(s). + + NPOL is the number of output polygons. + + NINT is the number of intersections between SUB and CLIP. + + NPERT is the number of perturbed points of the CLIP polygon in any + particular case (points in the oborder of the other polygon) + occurs see http://davis.wpi.edu/~matt/courses/clipping/ for + details. + + + + +# name: +# type: sq_string +# elements: 1 +# length: 80 +This function performs boolean operations between two polygons using the +Greiner + + + + +