You are here: Start » FIL.NET » Invoke.AngleBetweenSegments
Measures the angle between two segments with one of four possible metrics.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void AngleBetweenSegments ( Fil.Segment2D inSegment1, Fil.Segment2D inSegment2, Fil.AngleMetric inAngleMetric, bool inAutodetectOrientation, Optional<float> outAbsoluteAngle, Optional<float> outDirectedAngle, Optional<Fil.Arc2D> outArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegment1 | Fil.Segment2D | First segment. | ||
![]() | inSegment2 | Fil.Segment2D | Second segment. | ||
![]() | inAngleMetric | Fil.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 | Ftl.Optional<float> | Angle value used for measurements <0; 360>. | ||
![]() | outDirectedAngle | Ftl.Optional<float> | Angle value used for clockwise transformations <-360; 360>. | ||
![]() | outArc | Ftl.Optional<Fil.Arc2D> | Angle visualization object. |