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,
	NullableValue<float> outAbsoluteAngle,
	NullableValue<float> outDirectedAngle,
	NullableValue<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.
outAbsoluteAngleAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
outDirectedAngleAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
outArcAvlNet.NullableValue<AvlNet.Arc2D> Can be null to skip this parameter calculation.

Function Overrides

See also