# Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

# GraphicsComplex

GraphicsComplex[{pt1,pt2,},data]
represents a graphics complex in which coordinates given as integers i in graphics primitives in data are taken to be pti.

## Details and OptionsDetails and Options

• GraphicsComplex works in both 2D and 3D.
• GraphicsComplex[{pt1,pt2,},data] effectively replaces integers i that appear as coordinates in data by the corresponding pti.
• GraphicsComplex provides a convenient way to build up meshes or simplicial complexes in which vertices of polygons are shared.
• GraphicsComplex is treated like a single primitive in Graphics and Graphics3D.
• In GraphicsComplex[pts,data], data can be any nested list of graphics primitives and directives.
• The following options can be given:
•  ContentSelectable Automatic whether to allow contents to be selected VertexColors Automatic vertex colors corresponding to each pti VertexNormals Automatic vertex normals corresponding to each pti VertexTextureCoordinates None vertex texture coordinates for each pti
• GraphicsComplex[{pt1,pt2,},data,VertexColors->{c1,c2,}] replaces Polygon[{i,j,}] by Polygon[{pti,ptj,},VertexColors->{ci,cj,}].
• The VertexNormals and VertexTextureCoordinates option works the same way.
• Normal[GraphicsComplex[pts,data]] substitutes coordinates to give an ordinary list of graphics primitives and directives.

## ExamplesExamplesopen allclose all

### Basic Examples  (3)Basic Examples  (3)

Polygons and lines in 2D:

 In[1]:=
 In[2]:=
 Out[2]=

Polygons and lines in 3D:

 In[1]:=
 In[2]:=
 In[3]:=
 Out[3]=

Use built-in PolyhedronData:

 In[1]:=
 In[2]:=
 Out[2]//Short=
 In[3]:=
 Out[3]=