Skip to content

OpenBIMRL | Mathematical vector and point functions

Class path: math.tuples.dotProduct

Scalar product

dotProduct1.png

Description

Calculates the scalar 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 Product Number Scalar product vector

Use/Example

dotProduct2.png

Node representation with sample values

Sample file

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