You are here: Start » AVL.NET » AVL.AngleBetweenThreePoints(AvlNet.Point2D, AvlNet.Point2D, AvlNet.Point2D, AvlNet.RotationDirection, float, float, AvlNet.Arc2D)
AVL.AngleBetweenThreePoints(AvlNet.Point2D, AvlNet.Point2D, AvlNet.Point2D, AvlNet.RotationDirection, float, float, AvlNet.Arc2D)
| 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 diagArc )
Parameters
- inPoint1
- Type: AvlNet.Point2D
- inPoint2
- Type: AvlNet.Point2D
- inPoint3
- Type: AvlNet.Point2D
- inRotationDirection
- Type: AvlNet.RotationDirection
- outAbsoluteAngle
- Type: System.Single
- outDirectedAngle
- Type: System.Single
- diagArc
- Type: AvlNet.Arc2D
Description
Note that because of inaccuracies of floating-point arithmetic, some geometric operations (including this one) may lead to unpredictable results for degenerated cases. In this filter such a case occurs when some two of the input points are almost equal.
Errors
| Error type | Description |
|---|---|
| DomainError | Unsupported angle metric in AngleBetweenThreePoints. |
