GridSurface

A surface defined by a 2D grid a height on each grid vertex.

Attribute Locations

  • Vertices puts attribute values on the grid vertices.

  • Primitives puts attribute values on the grid cells.

Fields

grid: Grid2
2D grid definition, which can be regular or tensor.
heights: Array or null
Array with Scalar type storing the offset of each grid vertex from the place. Heights may be positive or negative. Will be absent from flat 2D grids.
orient: Orient2
Position and orientation of the surface.

Schema

{
  "type": "object",
  "required": [
    "grid",
    "orient",
    "type"
  ],
  "properties": {
    "grid": {
      "$ref": "#/definitions/Grid2"
    },
    "heights": {
      "anyOf": [
        {
          "$ref": "#/definitions/Array"
        },
        {
          "type": "null"
        }
      ]
    },
    "orient": {
      "$ref": "#/definitions/Orient2"
    },
    "type": {
      "type": "string",
      "enum": [
        "GridSurface"
      ]
    }
  }
}