OpenBIMRL | Mathematical vector and point functions
Class path: math.tuples.setAmplitude
Set vector length
Description
Sets the length of a vector.
Input
Input | Name | Type | Description |
---|---|---|---|
0 | Vector | Tuple3d | Vector whose length is to be changed |
1 | Length | Number | New length |
Output
Output | Name | Type | Description |
---|---|---|---|
0 | Vector | Tuple3d | Vector with new length |
Use/Example
Sample file
Download of a sample file so that the user can test the usage himself