/usr/share/octave/packages/geometry-1.7.0/meshes3d/doc-cache is in octave-geometry 1.7.0-1build1.
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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 | # Created by Octave 3.8.0, Tue Feb 25 00:02:56 2014 UTC <root@aatxe>
# name: cache
# type: cell
# rows: 3
# columns: 4
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 10
createCube
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 887
-- Function File: [V,E,F] = createCube ()
-- Function File: [V,F] = createCube ()
-- Function File: MESH = createCube ()
Create a 3D mesh representing the unit cube
[V E F] = createCube Create a unit cube, as a polyhedra
representation. c has the form [V E F], where V is a 8-by-3 array
with vertices coordinates, E is a 12-by-2 array containing indices
of neighbour vertices, and F is a 6-by-4 array containing vertices
array of each face.
[V F] = createCube; Returns only the vertices and the face vertex
indices.
MESH = createCube; Returns the data as a mesh structure, with
fields 'vertices', 'edges' and 'faces'.
Example
[n e f] = createCube;
drawMesh(n, f);
See also: meshes3d, drawMesh, createOctahedron, createTetrahedron,
createDodecahedron, createIcosahedron, createCubeOctahedron.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 43
Create a 3D mesh representing the unit cube
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 20
createCubeOctahedron
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 725
-- Function File: [V, E, F] = createCubeOctahedron ()
-- Function File: MESH = createCubeOctahedron ()
Create a 3D mesh representing a cube-octahedron
[V E F] = createCubeOctahedron; Cubeoctahedron can be seen either
as a truncated cube, or as a truncated octahedron. V is the
12-by-3 array of vertex coordinates E is the 27-by-2 array of edge
vertex indices F is the 1-by-14 cell array of face vertex indices
[V F] = createCubeOctahedron; Returns only the vertices and the
face vertex indices.
MESH = createCubeOctahedron; Returns the data as a mesh structure,
with fields 'vertices', 'edges' and 'faces'.
See also: meshes3d, drawMesh, createCube, createOctahedron.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 47
Create a 3D mesh representing a cube-octahedron
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
drawMesh
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1348
-- Function File: H = drawMesh (VERTICES, FACES)
-- Function File: H = drawMesh (MESH)
-- Function File: H = drawMesh (..., COLOR)
-- Function File: H = drawMesh (..., NAME,VALUE)
Draw a 3D mesh defined by vertices and faces
drawMesh(VERTICES, FACES) Draws the 3D mesh defined by vertices
VERTICES and the faces FACES. vertices is a [NVx3] array containing
coordinates of vertices, and FACES is either a [NFx3] or [NFx4]
array containing indices of vertices of the triangular or
rectangular faces. FACES can also be a cell array, in the content
of each cell is an array of indices to the vertices of the current
face. Faces can have different number of vertices.
drawMesh(MESH) Where mesh is a structure with fields 'vertices' and
'faces', draws the given mesh.
drawMesh(..., COLOR) Use the specified color to render the mesh
faces.
drawMesh(..., NAME, VALUE) Use one or several pairs of parameter
name/value to specify drawing options. Options are the same as the
'patch' function.
H = drawMesh(...); Also returns a handle to the created patch.
WARNING: This function doesn't work with gnuplot (as of version
4.1)
Example:
[v f] = createSoccerBall;
drawMesh(v, f);
See also: polyhedra, meshes3d, patch.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 44
Draw a 3D mesh defined by vertices and faces
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
meshes3d_Contents
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3700
-- Function File: meshes3d_Contents ()
MESHES3D 3D Surface Meshes Version 1.0 21-Mar-2011 .
Creation, vizualization, and manipulation of 3D surface meshes or
polyhedra.
Meshes and Polyhedra are represented by a couple of variables {V,
F}: V: Nv-by-3 array of vertices: [x1 y1 z1; ... ; xn yn zn]; F: is
either a NF-by-3 or NF-by-4 array containing reference for vertices
of each face, or a NF-by-1 cell array, where each cell is an array
containing a variable number of node indices. For some functions,
the array E of edges is needed. It consists in a NE-by-2 array
containing indices of source and target vertices.
The library provides function to create basic polyhedric meshes
(the 5 platonic solids, plus few others), as well as functions to
perform basic computations (surface area, normal angles, face
centroids ...). The 'MengerSponge' structure is an example of mesh
that is not simply connected (multiple tunnels in the structure).
The drawMesh function is mainly a wrapper to the Matlab 'patch'
function, allowing passing arguments more quickly.
Example
# create a soccer ball mesh and display it
[n e f] = createSoccerBall;
drawMesh(n, f, 'faceColor', 'g', 'linewidth', 2);
axis equal;
General functions meshFace - Return the vertex indices of a face in
a mesh computeMeshEdges - Computes edges array from face array
meshEdgeFaces - Compute index of faces adjacent to each edge of a
mesh faceCentroids - Compute centroids of a mesh faces faceNormal -
Compute normal vector of faces in a 3D mesh
Measures on meshes meshSurfaceArea - Surface area of a polyhedral
mesh trimeshSurfaceArea - Surface area of a triangular mesh
meshEdgeLength - Lengths of edges of a polygonal or polyhedral mesh
meshDihedralAngles - Dihedral at edges of a polyhedal mesh
polyhedronNormalAngle - Compute normal angle at a vertex of a 3D
polyhedron polyhedronMeanBreadth - Mean breadth of a convex
polyhedron
Basic processing triangulateFaces - Convert face array to an array
of triangular faces meshReduce - Merge coplanar faces of a
polyhedral mesh minConvexHull - Return the unique minimal convex
hull of a set of 3D points polyhedronSlice - Intersect a convex
polyhedron with a plane. checkMeshAdjacentFaces - Check if
adjacent faces of a mesh have similar orientation clipMeshVertices
- Clip vertices of a surfacic mesh and remove outer faces
clipConvexPolyhedronHP - Clip a convex polyhedron by a plane
Typical polyhedra polyhedra - Index of classical polyhedral meshes
createCube - Create a 3D mesh representing the unit cube
createOctahedron - Create a 3D mesh representing an octahedron
createCubeOctahedron - Create a 3D mesh representing a
cube-octahedron createIcosahedron - Create a 3D mesh representing
an Icosahedron. createDodecahedron - Create a 3D mesh representing
a dodecahedron createTetrahedron - Create a 3D mesh representing a
tetrahedron createRhombododecahedron - Create a 3D mesh
representing a rhombododecahedron createTetrakaidecahedron - Create
a 3D mesh representing a tetrakaidecahedron
Less typical polyhedra createSoccerBall - Create a 3D mesh
representing a soccer ball createMengerSponge - Create a cube with
an inside cross removed steinerPolytope - Create a steiner polytope
from a set of vectors
Drawing functions drawFaceNormals - Draw normal vector of each face
in a mesh drawMesh - Draw a 3D mesh defined by vertices and faces
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 52
MESHES3D 3D Surface Meshes Version 1.0 21-Mar-2011 .
|