GEOMETRY commands


PROGRAM NAME

glinecolor - Create Polylines from ASCII XYZ data and a Vis Cmap

DESCRIPTION

glinecolor will read in an ASCII file of coordinate information and color indices and produce a series of connected polyline primitives.

The ASCII input should contain blocks of information, where each block consists of a number indicating how many vertices will be contained in the polyline and then a series of XYZ points and color indices, with one for each vertex. The format of the input ASCII file is illustrated below :

      number of vertices in first connected polyline
      X value   Y value   Z value   color index
      X value   Y value   Z value   color index
      X value   Y value   Z value   color index
	 .         .         .         .
	 .         .         .         .
	 .         .         .         .
      X value   Y value   Z value   color index
      number of vertices in second connected polyline
      X value   Y value   Z value   color index
	 .         .         .         .
	 .         .         .         .
	 .         .         .         .

A single connected polyline primitive will be created for each successive block of information. A color will be stored for each vertex in the line. The color is determined from the provided vis colormap; the ASCII color indicies are used to index into the vis colormap.

REQUIRED ARGUMENTS

-i
type: infile
desc: input ASCII data containing polyline points
-cmap
type: infile
desc: Input vis colormap
-o
type: outfile
desc: output geometry object

OPTIONAL ARGUMENTS

-name
type: string
desc: object name
default: color lines
-close
type: boolean
desc: connect first and last points in list of vertices.
default: false

EXAMPLES

SEE ALSO

plot_xyz

RESTRICTIONS

REFERENCES

COPYRIGHT

Copyright (C) 1996,1997 , The Regents of the University of California. All rights reserved.