triangles
schema/components/triangles/1.2.0/triangles.schema.json
The triangles component defines a set of triangles by their vertices and connectivity.
vertices— An array of 3D coordinates.indices— An index array of vertex triplets (i, j, k), each defining a triangle. Indices are 0-based.
An optional attribute list can be associated with both vertices and indices.
Used by: triangle-mesh.
See also: quadrilaterals, hexahedrons, tetrahedra, segments (other cell types).
Properties
triangles (v1.2.0)
Triangles are made up of vertices and indices.
| Property | Type | Description | Flags |
|---|---|---|---|
| vertices | triangles | Vertex coordinates. Columns: x, y, z. | ✅ |
| indices | triangles | 0-based indices into the vertices. Each triple is a triangle. Columns: n0, n1, n2. | ✅ |
Legend
| Flag | Description |
|---|---|
| ⬆️ | Inherited property |
| ✅ | Required property |