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.
public static bool AngleEquals( 
double angle1
double angle2
double acc = Calc.Epsilon 
)
This language is not supported or no code example is available.
public:  
static bool AngleEquals( 
double angle1
double angle2
double acc 
)
This language is not supported or no code example is available.
public static function AngleEquals( 
angle1 : double
angle2 : double
acc : double 
) : boolean;
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

In this article

Definition