You are here: Start » AVL.NET » Invoke.AngleBetweenDirections

Invoke.AngleBetweenDirections

Measures the rotation angle from first to second direction.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void AngleBetweenDirections
(
	float inDirection1,
	float inDirection2,
	Optional<Avl.RotationDirection> inRotationDirection,
	Avl.AngleRange inAngleRange,
	Optional<float> outAbsoluteAngle,
	Optional<float> outDirectedAngle
)

Parameters

Name Type Range Default Description
inDirection1floatStart direction.
inDirection2floatTarget direction.
inRotationDirectionAtl.Optional<Avl.RotationDirection>Clockwise, counter-clockwise or automatic (by smaller angle). Default value: atl::NIL.
inAngleRangeAvl.AngleRange_0_180Switches between ranges <0; 90), <0; 180) and <0; 360). Default value: _0_180.
outAbsoluteAngleAtl.Optional<float>Angle value used for measurements <0; 360>.
outDirectedAngleAtl.Optional<float>Angle value used for clockwise transformations <-360; 360>.

See also