<< >> Up Title Contents

project

project <u1>,<v1>,<w1>,<u2>,<v2>,<w2> [ ,<flag> ]

This command calculates the projection of vector <uvw 1> onto the second vector <uvw 2> and the projection of the first vector onto the plane normal to the second vector. The <flag> is a string of four characters that indicates whether the input vectors or the output vectors are given in direct or reciprocal space coordinates.

The four characters correspond to:
    first input vector,
    second input vector,
    projection of vector 1 onto vector 2,
    projection of vector 1 onto the plane normal to vector 2.
"drdd" means: vector one is given in direct space coordinates, vector 2
              is in reciprocal space coordinates (hkl) and the two
              projections are to be given in direct space coordinates.
Any combination of "d" and "r" is allowed.
The two output vectors are stored in the result variable:
"res[1]","res[2]","res[3]" projection of vector 1 onto vector 2
"res[4]","res[5]","res[6]" projection of vector 1 onto plane normal to
                           vector 2


<< >> Up Title Contents