Element: prism.vertex[ ]

Type

point

Description

The coordinates of all vertices in the prism primitive. The size of the array is the number of control facet edges multiplied by two (the value of the element prism.num_lines), some of which can be invisible. The order of vertices within the array is as follows:

  1. Control vertices

  2. Auxiliary vertices

The number of auxiliary vertices is always the same as the number of control vertices. Where zero-length auxiliary edges occur, auxiliary vertices are repeated. Changing any of the vertex values will redraw the prism.

The maximum number of vertices in a prism primitive is 21845.