Hi,

I want to determine the unit vectorse1,e2ande3i a 3D space.

e1 = (e1x,e1y,e1z)

e2 = (e2x,e2y,e2z)

e3 = (e3x,e3y,e3z)

e1x, e1y, e1zande2zis known.

I dont know if it makes any difference bute3zwill always be positive soe3might be written ase3=(sx,sy,1)*t.

e1,e2, ande3shall have length1and be perpendicular to each other so the following equations holds,

e3 = CrossProduct(e1,e2)

e2 = CrossProduct(e3,e1)

DotProduct(e1,e2) = 0

DotProduct(e1,e3) = 0

DotProduct(e2,e3) = 0

Anyone know how I could solve this?