Array 1D, Array 2D, Array3D
Create array datasets.
Syntax
model.result().dataset().create(<dtag>,"Array1D");
model.result().dataset().create(<dtag>,"Array2D");
model.result().dataset().create(<dtag>,"Array3D");
model.result().dataset(<dtag>).set(property, <value>);
Description
model.result().dataset().create(<dtag>,"Array1D") creates a 1D array dataset feature named <dtag>.
model.result().dataset().create(<dtag>,"Array2D") creates a 2D array dataset feature named <dtag>.
model.result().dataset().create(<dtag>,"Array3D") creates a 3D array dataset feature named <dtag>.
This dataset takes data from another dataset and adds an array of copies in cells as a linear, rectangular (2D), or three-dimensional (3D) array of cells.
The following properties are available for Array 1D, Array 2D, and Array 3D:
Theta and phi angles for the rotation, if type is set to linear and axistype is set to spherical for a 3D Array dataset.
Axis coordinates (x, y, and z) for the rotation, if type is set to linear and axistype is set to cartesian for a 3D Array dataset.
x | y | z | cartesian | spherical
The axis type for a rotation, if type is set to linear for a 3D Array dataset.
corner | center
If hasvar is true: an integer variable that identify the current cell in the array.
If hasvar is true: an integer array that identify the current cell in the array.
none | dataset name
{"0","0"} (2D); {"0","0","0"} (3D)
auto | manual
on | off
1 (1D); {1, 1} (2D); {1, 1,1} (3D)
auto | manual
{"0","0"} (2D); {"0","0","0"} (3D)
If inputmethod is manual: The coordinates (position) of the base point. If base is set to corner, it is the lower-left corner of the base cell.
The angle increment, in radians, for a rotation, if type is set to linear for a 2D or 3D Array dataset.
The center of rotation, if type is set to linear for a 2D Array dataset.
Point on axis of rotation, if type is set to linear for a 3D Array dataset.
{"1","1"} (2D); {"1","1","1"} (3D)
If inputmethod is manual: The size of the input.
If hasvar is true: The name of space variables, which evaluate to the coordinates in the dataset’s coordinate system.
linear | rectangular | three-dimensional
rectangular (2D); three-dimensional (3D)