OpenBIMRL | Mathematical vector and point functions
Class path: math.tuples.dotProduct
Scalar product

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
Sample file
Download of a sample file so that the user can test the usage himself