]> Creatis software - CreaPhase.git/blob - octave_packages/geometry-1.5.0/octclip/doc-cache
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / geometry-1.5.0 / octclip / doc-cache
1 # Created by Octave 3.6.2, Sun Jun 10 09:53:40 2012 UTC <root@brouzouf>
2 # name: cache
3 # type: cell
4 # rows: 3
5 # columns: 1
6 # name: <cell-element>
7 # type: sq_string
8 # elements: 1
9 # length: 11
10 oc_polybool
11
12
13 # name: <cell-element>
14 # type: sq_string
15 # elements: 1
16 # length: 1545
17  -- Function File: [X,Y,NPOL,NINT,NPERT] = _oc_polybool(SUB,CLIP,OP)
18  -- Function File: [X,Y,NPOL,NINT,NPERT] = _oc_polybool(SUB,CLIP)
19      This function performs boolean operations between two polygons
20      using the Greiner-Hormann algorithm
21      (http://davis.wpi.edu/~matt/courses/clipping/).
22
23      SUB is a two column matrix containing the X and Y coordinates of
24      the vertices for the subject polygon.
25
26      CLIP is a two column matrix containing the X and Y coordinates of
27      the vertices for the clipper polygon.
28
29      OP is a text string containing the operation to perform between
30      SUB and CLIP. Possible values are:
31
32         * 'AND' Intersection of SUB and CLIP (value by default).
33
34         * 'OR' Union of SUBT and CLIP.
35
36         * 'AB' Operation SUB - CLIP.
37
38         * 'BA' Operation of CLIP - SUB.
39
40      For the matrices SUB and CLIP, the first point is not needed to be
41      repeated at the end (but is permitted). Pairs of (NaN,NaN)
42      coordinates in SUB and/or CLIP are omitted.
43
44      X is a column vector containing the X coordinates of the vertices
45      for.  resultant polygon(s).
46
47      Y is a column vector containing the Y coordinates of the vertices
48      for.  resultant polygon(s).
49
50      NPOL is the number of output polygons.
51
52      NINT is the number of intersections between SUB and CLIP.
53
54      NPERT is the number of perturbed points of the CLIP polygon in any
55      particular case (points in the oborder of the other polygon)
56      occurs see http://davis.wpi.edu/~matt/courses/clipping/ for
57      details.
58
59
60
61
62 # name: <cell-element>
63 # type: sq_string
64 # elements: 1
65 # length: 80
66 This function performs boolean operations between two polygons using the
67 Greiner
68
69
70
71
72