193 this.
Dims= [dim1 dim2 dim3];
200 this.
Inner= find(convn(ones(m,
k,dim3),cat(3,[0 0 0; 0 1 0; 0 0 0],[0 1 0;1 0 1; 0 1 0],[0 0 0; 0 1 0; 0 0 0]),
" same ") == 6);
253 this.
Edges.FTR=
L(1,end,1);
255 this.
Edges.FBoL=
L(end,1,1);
257 this.
Edges.FBoR=
L(end,end,1);
259 this.
Edges.BaTL=
L(1,1,end);
261 this.
Edges.BaTR=
L(1,end,end);
263 this.
Edges.BaBoL=
L(end,1,end);
265 this.
Edges.BaBoR=
L(end,end,end);
275 #if 0 //mtoc++: 'get.Points'
276 function value =
Points() {
277 value = prod(this.
Dims);
284 #if 0 //mtoc++: 'get.IndexMatrix'
286 value = zeros(this.
Dims);
294 #if 0 //mtoc++: 'get.F'
295 function value =
F() {
296 value = this.
Sides.F;
303 #if 0 //mtoc++: 'get.Ba'
304 function value =
Ba() {
305 value = this.
Sides.BA;
312 #if 0 //mtoc++: 'get.T'
313 function value =
T() {
314 value = this.
Sides.T;
321 #if 0 //mtoc++: 'get.Bo'
322 function value =
Bo() {
323 value = this.
Sides.Bo;
330 #if 0 //mtoc++: 'get.L'
331 function value =
L() {
332 value = this.
Sides.L;
339 #if 0 //mtoc++: 'get.R'
340 function value =
R() {
341 value = this.
Sides.R;
Bo
The bottom side interior point indices.
T
The top side interior point indices.
Dims
A 1x3 row vector containing the dimensions in x,y and z direction.
RectGrid3D(dim1, dim2, dim3)
Edges
A struct with the fields.
reshape
hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape ...
Matlab's base handle class (documentation generation substitute)
Sides
A struct with fields F, Ba, L, R, T, Bo denoting the indices of the interior points of the respective...
IndexMatrix
A matrix of size dim1 x dim2 x dim3 containing the linear indices of the entry at each entry...
Corners
A struct with the fields.
Inner
The indices of the rectangular interior points.
F
The front side interior points indices.
Points
The total number of points in the grid.
Ba
The back side interior point indices.
R
The right side interior point indices.
L
The left side interior point indices.
Rect3D: Rectangular three-dimensional grid.