Home Search

DriveWorks Pro 22

Send Feedback


This function calculates the cross product of two vectors, and returns the result as a pipe-bar delimited list.


VectorCross([Vector 1], [Vector 2])


Vector 1 is a pipe-bar delimited list representing the first vector (X|Y|Z).

Vector 2 is a pipe-bar delimited list representing the second vector (X|Y|Z).


VectorCross("1|1|1","2|8|5")Will return the cross product of the two vectors, -3|-3|6.
Floating Point Precision

Due to floating point precision, some calculations may not be as precise as expected.

This can be avoided by following the advice in the topic Info: Floating Point Precision.

Please see How To: Understanding Vector Functions for more information on Vectors, all the Vector functions provided in DriveWorks and use case examples.