Grid3
Defines a 3D grid spacing and size.
Regular
Regularly spaced cells.
Fields
type
"Regular"
count
: array of integer, 3 items- The number of cells in the U, V, and W axes. All must be greater than zero.
size
: 3D vector- The block size in the U and V axes. All must be greater than zero.
Tensor
Tensor cells, where each row, column, and layer can have a different size. All sizes must be greater than zero.
Fields
type
"Tensor"
u
:Array
- Array with
Scalar
type storing the size of each cell along the U axis. These sizes must be greater than zero. v
:Array
- Array with
Scalar
type storing the size of each cell along the V axis. These sizes must be greater than zero. w
:Array
- Array with
Scalar
type storing the size of each cell along the W axis. These sizes must be greater than zero.
Schema
{
"oneOf": [
{
"type": "object",
"required": [
"count",
"size",
"type"
],
"properties": {
"count": {
"type": "array",
"items": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"maxItems": 3,
"minItems": 3
},
"size": {
"type": "array",
"items": {
"type": "number",
"format": "double"
},
"maxItems": 3,
"minItems": 3
},
"type": {
"type": "string",
"enum": [
"Regular"
]
}
}
},
{
"type": "object",
"required": [
"type",
"u",
"v",
"w"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Tensor"
]
},
"u": {
"$ref": "#/definitions/Array"
},
"v": {
"$ref": "#/definitions/Array"
},
"w": {
"$ref": "#/definitions/Array"
}
}
}
]
}