Skip to main content

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.

PropertyTypeDescriptionFlags
verticestrianglesVertex coordinates. Columns: x, y, z.
indicestriangles0-based indices into the vertices. Each triple is a triangle. Columns: n0, n1, n2.

Legend

FlagDescription
⬆️Inherited property
Required property

What is the reason for your feedback?