Program Summary
| Filename |
vecdraw.pl
|
| Author |
Marvin Simkin
|
| Program Created |
2003-03-10
|
| Last Updated |
Jan 28 13:06
|
| Purpose |
draw vectors
|
| syntax |
vecdraw.pl [length] < vector.asc | drawiv.pl
|
| length |
length can appear in data or on command line or default is 1
|
| vector.asc |
see input format below
|
| drawiv.pl |
program to create VRML 1.0 from this program's output
|
Discussion
This will read data in ASCII format and output line instructions
that drawiv.pl can turn into a VRML 1.0 world.
Input format examples:
138.138 35.0932 0. 25
135.893 33.8627 0. -69
138.517 34.9871 0. 4
138.138 35.0932 0. -33
135.893 33.8627 0. 81
137.885 34.9078 0. -32
137.885 34.9078 0. -59
135.573 34.8603 0. 48
140.855 35.7022 0. 19
134.458 34.0572 0. 55
This represents the X Y and Z location of a starting point,
followed by a direction (in DEGREES) in which a line should be drawn.
The length of the line could appear in an optional 5th column,
or on the command line, or default to 1.
Output data format:
line:X1 Y1 Z1,X2 Y2 Z2
| Written by |
Marvin Simkin |
| Filename |
vecdraw.html |
| Last updated |
April 5, 2005 |
|
|
|