Purpose

The module CalculateAngle calculates the angle between two vectors.

Windows

Default Panel

../../../Modules/ML/MLCoordUtils1/mhelp/Images/Screenshots/CalculateAngle._default.png

Parameter Fields

Visible Fields

V1

name: v1, type: Vector3, default: 0 0 0, deprecated name: vectorA

Sets the first input vector.

V2

name: v2, type: Vector3, default: 0 0 0, deprecated name: vectorB

Sets the second input vector.

Angle(0-180 degrees)

name: angle, type: Double, persistent: no

Shows the angle between V1 and V2.

angle = arccos((v1/|v1|) * (v2/|v2|)) * (180° / pi)