You are here: Start » FIL.NET » FIS.AngleBetweenVectors Method

FIS.AngleBetweenVectors Method

Measures the angle between two vectors.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void AngleBetweenVectors
(
	FilNet.Vector2D inVector1,
	FilNet.Vector2D inVector2,
	FilNet.RotationDirection? inRotationDirection,
	out float outAbsoluteAngle,
	out float outDirectedAngle
)

Parameters

Name Type Range Default Description
inVector1FilNet.Vector2DStart vector.
inVector2FilNet.Vector2DTarget vector.
inRotationDirectionFilNet.RotationDirection?Clockwise, counter-clockwise or automatic (by smaller angle). Default value: ftl::NIL.
outAbsoluteAnglefloatAngle value used for measurements <0; 360>
outDirectedAnglefloatAngle value used for clockwise transformations <-360; 360>

Function Overrides

See also