OpenBIMRL | Mathematical vector and point functions
Class path: math.tuples.vector2Pt
Vector from two points

Description
Creates a vector from two points.
Input
| Input | Name | Type | Description |
|---|---|---|---|
| 0 | Point A | Tuple3d | Start point |
| 1 | Point B | Tuple3d | Target point |
| 2 | normalized? | Boolean | Specify whether the output should be normalized |
Output
| Output | Name | Type | Description |
|---|---|---|---|
| 0 | Vector | Tuple3d | generated vector |
| 1 | Length | Number | Vector length |
Use/Example
Sample file
Download of a sample file so that the user can test the usage himself