/usr/share/octave/packages/octclip-1.0.8/doc-cache is in octave-octclip 1.0.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | # doc-cache created by Octave 4.0.3
# name: cache
# type: cell
# rows: 3
# columns: 1
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 11
oc_polybool
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1603
-- 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, so they are treated as
if each one stored a single polygon.
X is a column vector containing the X coordinates of the vertices
of the resultant polygon(s).
Y is a column vector containing the Y coordinates of the vertices
of the 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: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This function performs boolean operations between two polygons using the
Greiner
|