GEOMETRY commands


PROGRAM NAME

glinexyz - Create Polylines from ASCII XYZ Data

DESCRIPTION

glinexyz will read in an ASCII file of coordinate information 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, 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
      X value   Y value   Z value
      X value   Y value   Z value
	 .         .         .   
	 .         .         .   
	 .         .         .   
      X value   Y value   Z value
      number of vertices in second connected polyline
      X value   Y value   Z value
	 .         .         .   
	 .         .         .   
	 .         .         .   

A single connected polyline primitive will be created for each successive block of information. The resulting geometry will not contain any color data. To create colored polyline segments, please see "glinecolor."

REQUIRED ARGUMENTS

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

OPTIONAL ARGUMENTS

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

EXAMPLES

SEE ALSO

glinecolor

RESTRICTIONS

REFERENCES

COPYRIGHT

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