Basic HTML version of Foils prepared March 4 1998

Foil 143 IndexedLineSet Fields - I

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 98. by Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox

VRML2.0 IndexedLineSet Fields
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 Nov 29 1998