|
SOLUTIONS
|
Search for all pages containing GraphicsComplex
BUILT-IN MATHEMATICA 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
.
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
. - 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 
VertexNormals Automatic vertex normals corresponding to each 
VertexTextureCoordinates None vertex texture coordinates for each 
- 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.
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



