You are here: Start » AVL.NET » AVS.AngleBetweenSegments Method
AVS.AngleBetweenSegments Method
Measures the angle between two segments with one of four possible metrics.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void AngleBetweenSegments ( AvlNet.Segment2D inSegment1, AvlNet.Segment2D inSegment2, AvlNet.AngleMetric inAngleMetric, bool inAutodetectOrientation, NullableValue<float> outAbsoluteAngle, NullableValue<float> outDirectedAngle, NullableValue<AvlNet.Arc2D> outArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSegment1 | AvlNet.Segment2D | First segment. | |||
inSegment2 | AvlNet.Segment2D | Second segment. | |||
inAngleMetric | AvlNet.AngleMetric | Chooses one of four possible ways of measuring the angle. | |||
inAutodetectOrientation | bool | True | Autodetects orientation of the segments assuming that these are two consecutive sides of a polygon. Default value: True. | ||
outAbsoluteAngle | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. | |||
outDirectedAngle | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. | |||
outArc | AvlNet.NullableValue<AvlNet.Arc2D> | Can be null to skip this parameter calculation. |