Skip to main content

triangle-mesh

schema/objects/triangle-mesh/2.2.0/triangle-mesh.schema.json

A discretization of a 3D domain into triangles. The triangles are defined by triplets of indices into a vertex list. Optionally, parts and edges can be specified.

triangles

The vertices and triangle indices of the mesh.

vertices : Table of vertex coordinates. Columns: x, y, z.

indices : Table of 0-based indices into vertices. Each triple is a triangle. Columns: n0, n1, n2.

parts

A structure defining triangle chunks the mesh is composed of. Parts allow us to share common sections of one volume or surface with another. Parts are made up from chunks of triangle indices.

chunks Each chunk is a tuple defining the first index and the length of a chunk of vertices. If triangle_indices is defined, the chunk refers to a segment of the triangle_indices array, Otherwise, the chunk refers to a segment of the triangles array. Chunks do not have to include all triangles, and chunks can overlap. Columns: offset, count.

attributes — the parts can have an optional attribute list in the standard manner.

triangle_indices An optional index array into the triangle indices set. This is used to define chunks if the mesh triangle indices do not contain contiguous chunks.

edges

An optional structure defining edges and edge chunks of the mesh. An optional attribute can be associated with each edge.

indices : Edges defined by tuples of indices into the vertex list. Columns: start, end.

parts : An optional structure defining edge chunks the mesh is composed of.

parts

chunks: Tuple defining the first index and the length of a chunk of edges. The chunk refers to a segment of the edges array. Chunks do not have to include all edges, and chunks can overlap. Columns: offset, count

Properties

triangle-mesh (v2.2.0)

A mesh composed of triangles. The triangles are defined by triplets of indices into a vertex list. Optionally, parts and edges can be defined.

PropertyTypeDescriptionFlags
nameStringName of the object.⬆️ ✅
uuidbase-object-propertiesIdentifier of the object.⬆️ ✅
descriptionStringOptional field for adding additional description to uniquely identify this object.⬆️
extensionsObjectExtended properties that may be associated to the object, but not specified in the schema⬆️
tagsObjectKey-value pairs of user-defined metadata⬆️
lineagelineageInformation about the history of the object⬆️
bounding_boxbounding-boxBounding box of the spatial data.⬆️ ✅
coordinate_reference_systemcrsCoordinate system of the spatial data⬆️ ✅
trianglestrianglesThe vertices and triangle indices of the mesh.⬆️ ✅
partsembedded-triangulated-meshA structure defining triangle chunks the mesh is composed of.⬆️
schemaString
edgestriangle-meshAn optional structure defining edges and edge chunks of the mesh.

Legend

FlagDescription
⬆️Inherited property
Required property