Calc.AngleEquals Method
Checks if two angles are equal with a small tolerance.
Public Shared Function AngleEquals( _
ByVal angle1 As Double, _
ByVal angle2 As Double, _
Optional ByVal acc As Double = Calc.Epsilon _
) As Boolean
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
angle1
-
double
The first angle to compare.
-
angle2
-
double
The last angle to compare.
-
acc
-
double
Return Value
bool
true if the angles are about the same. This is, if they represent the same direction, not if they are numerically equal.
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8