Basic HTML version of Foils prepared April 6 1997

Foil 139 IndexedLineSet Fields - I

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. by Zeynep Ozdemir(Geoffrey C. Fox)


IndexedLineSet defines a geometrical structure as a set of lines and may be used for the geometry field of a Shape node. It has color, coord, colorIndex, colorPerVertex and coordIndex fields
coord holds the set of coordinates,
coordIndex defines the path to connect the coordinates given in the coord field to build a polyline. Each value in the coordIndex is an integer index specifying a coordinate from coord field.
  • It is possible to define several polylines in the coordIndex field. Each polyline connects together a string of coordinate indexes up to the end of the index list or up to an index of -1.
  • The next coordinate index following a -1 starts a new polyline.



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Mar 15 1998