VisionX V4VEC3TO2VisionX V4
NAME

vec3to2 − convert 3D vectors to 2D vectors

SYNOPSIS

vec3to2 [if=<infile>] [of=<outfile>] [-p] [-zx] [zy] [-zd] [-azd] [-x] [-y] [-z]

DESCRIPTION

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.

CONSTRAINTS

Contraints go here

OPTIONS

-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.

AUTHOR

A. P. Reeves