Skip to content

OpenBIMRL | Mathematical vector and point functions

Class path: math.tuples.crossProduct

Cross product

crossProduct1.png

Description

Calculates the cross product of two vectors.

Input

Input Name Type Description
0 Vector A Tuple3d First vector
1 Vector B Tuple3d Second vector
2 normalized? Boolean Specify whether the output is to be normalized

Output

Output Name Type Description
0 Vector Tuple3d Cross product vector
1 Length Number Vector length

Use/Example

crossProduct2.png

Node representation with sample values

Sample file

Download of a sample file so that the user can test the usage himself