angle2()
This named function with three arguments calculates the angle between
arrows defined by the first
two arguments. The third argument is used to
define the sign of the resulting angle. It is interpreted as an arrow
which defines the rotation direction to rotate the arrow from the first
argument to the arrow of the second argument. If this results in angles
more than 180 degrees a negativ angle is given instead.
Arguments and result types
| argument
1 |
argument
2 |
argument
3 |
result |
| 3d
vector |
3d
vector |
3d
vector |
double |
Examples
angle2(A,B,t)