OpenBIMRL | Mathematische Vektor und Punkt Funktionen
Klassenpfad: math.tuples.rotate
Drehung eines Vektors

Beschreibung
Dreht einen Vektor um eine bestimmte Achse.
Input
| Input | Name | Typ | Beschreibung |
|---|---|---|---|
| 0 | Vektor | Tuple3d | Vektor der gedreht werden soll |
| 1 | Achse | Tuple3d | Rotationsachse |
| 2 | Winkel | Number | Rotationswinkel (in Bogenmaß) |
Output
| Output | Name | Typ | Beschreibung |
|---|---|---|---|
| 0 | Vektor | Tuple3d | gedrehter Vektor |
Beispiel