You are here: Start » FIL.NET » Invoke.AngleBetweenSegments

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
inSegment1Fil.Segment2DFirst segment.
inSegment2Fil.Segment2DSecond segment.
inAngleMetricFil.AngleMetricChooses one of four possible ways of measuring the angle.
inAutodetectOrientationboolTrueAutodetects orientation of the segments assuming that these are two consecutive sides of a polygon. Default value: True.
outAbsoluteAngleFtl.Optional<float>Angle value used for measurements <0; 360>.
outDirectedAngleFtl.Optional<float>Angle value used for clockwise transformations <-360; 360>.
outArcFtl.Optional<Fil.Arc2D>Angle visualization object.

See also