You are here: Start » AVL.NET » AVS.AngleBetweenThreePoints Method

AVS.AngleBetweenThreePoints Method

Measures the angle defined by three consecutive points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AngleBetweenThreePoints
(
	AvlNet.Point2D inPoint1,
	AvlNet.Point2D inPoint2,
	AvlNet.Point2D inPoint3,
	AvlNet.RotationDirection inRotationDirection,
	out float outAbsoluteAngle,
	out float outDirectedAngle,
	out AvlNet.Arc2D outArc
)

Parameters

Name Type Range Default Description
inPoint1AvlNet.Point2DA point on one arm of an angle.
inPoint2AvlNet.Point2DThe middle point.
inPoint3AvlNet.Point2DA point on another arm of the angle.
inRotationDirectionAvlNet.RotationDirectionChooses one of two ways of measuring the angle.
outAbsoluteAnglefloatAngle value used for measurements <0; 360>
outDirectedAnglefloatAngle value used for clockwise transformations <-360; 360>
outArcAvlNet.Arc2DAngle visualization object

Function Overrides

See also