VisionX V4 | VEC3TO2 | VisionX V4 |
vec3to2 − convert 3D vectors to 2D vectors |
vec3to2 [if=<infile>] [of=<outfile>] [-p] [-zx] [zy] [-zd] [-azd] [-x] [-y] [-z] |
Vec3to2 extracts subsets of dimensions from 3D vectors. This program ONLY affects 3D vectors in a file. By default the first two dimesnions (x and y) are selected and a 2D vector with just these values replaces the original 3D vector. The optional flags modify this behavior. |
Contraints go here |
-p |
Set option to inhibit file packing. |
||
-zx |
Select z and x elements. |
||
-zy |
Select z and y elements. |
||
-zd |
Select z and mag(x,y) elements. |
||
-azd |
Select z and mag(x,y) and scale first pt to 0,0. |
||
-x |
Select only the x element for a 1-D vector result. |
||
-y |
Select only the y element for a 1-D vector result. |
||
-z |
Select only the z element for a 1-D vector result. |
A. P. Reeves |