Grid2
Defines a 2D grid spacing and size.
Regular
Regularly spaced cells.
Fields
type
"Regular"
count
: array of integer, 2 items- The number of cells in the U and V axes. Both must be greater than zero.
size
: array of number, 2 items- The cell size in the U and V axes. Both must be greater than zero.
Tensor
Tensor cells, where each row and column can have a different size.
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.
Schema
{
"oneOf": [
{
"type": "object",
"required": [
"count",
"size",
"type"
],
"properties": {
"count": {
"type": "array",
"items": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"maxItems": 2,
"minItems": 2
},
"size": {
"type": "array",
"items": {
"type": "number",
"format": "double"
},
"maxItems": 2,
"minItems": 2
},
"type": {
"type": "string",
"enum": [
"Regular"
]
}
}
},
{
"type": "object",
"required": [
"type",
"u",
"v"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Tensor"
]
},
"u": {
"$ref": "#/definitions/Array"
},
"v": {
"$ref": "#/definitions/Array"
}
}
}
]
}