Skip to content

OpenBIMRL | Mathematical vector and point functions

Class path: math.tuples.rotate

Rotation of a vector

rotate1.png

Description

Dreht einen Vektor um eine bestimmte Achse.

Input

Input Name Type Description
0 Vector Tuple3d Vector to be rotated
1 Axis Tuple3d Rotation axis
2 Angle Number Rotation angle (in radians)

Output

Output Name Type Description
0 Vector Tuple3d rotated vector

Use/Example

rotate2.png

Node representation with sample values

Sample file

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