tetrahedra

5reg

tetrahedra

Replaced by &xml-tri;

Content Model
    tetrahedra ::= (&xml-tet;*)
Attributes
Name | Type
`ntet` | `NUMBER` (required)

&eltdepver;7.0

## Description

This element was used in the past to store all tetrahedra in a 3-dimensional triangulation. Since ®ina; 7.0, these tetrahedra are now stored directly within the &xml-tri; element (which replaces the old &xml-packet; element for triangulation packets), and each tetrahedron is encoded in a &xml-simplex; element (as opposed to the &xml-tet; elements described here).

A &xml-tetrahedra; element stores the entire set of tetrahedra forming a 3-dimensional triangulation.

The total number of tetrahedra must be specified by the `ntet` attribute. The individual tetrahedra are numbered 0, 1, 2, etc., and their face gluings are described by the corresponding child &xml-tet; elements. There must be precisely `ntet` child &xml-tet; elements in total.

### Parents

The following elements contain `tetrahedra`:

- &xml-packet-dim3triangulation;

.

### Children

The following elements occur in `tetrahedra`:

- &xml-tet;

.

## Attributes

`ntet`

- The total number of tetrahedra in this set. Note that there must be precisely this many child &xml-tet; elements.

## Example

The following &xml; snippet represents a triangulation of a two-tetrahedron (1, 1, 2) layered solid torus.

    <tetrahedra ntet="2">
      <tet> 1 78 1 78 -1 -1 -1 -1 </tet>
      <tet> 1 57 1 147 0 78 0 78 </tet>
    </tetrahedra>