Calc.IsAngleBetween Method

Checks if an angle lies between two other angles, in the given direction.
Public Shared Function IsAngleBetween( _ 
ByVal queryangle As Double, _ 
ByVal startangle As Double, _ 
ByVal endangle As Double, _ 
ByVal dir As Direction
) As Boolean
This language is not supported or no code example is available.
public static bool IsAngleBetween( 
double queryangle
double startangle
double endangle
Direction dir 
)
This language is not supported or no code example is available.
public:  
static bool IsAngleBetween( 
double queryangle
double startangle
double endangle
Direction dir 
)
This language is not supported or no code example is available.
public static function IsAngleBetween( 
queryangle : double
startangle : double
endangle : double
dir : Direction 
) : boolean;
This language is not supported or no code example is available.

Parameters

queryangle
double

The angle to look up.

startangle
double

The start angle of the span to look in.

endangle
double

The end angle of the span to look in.

dir
Direction

Direction of the span from startangle to endangle.

Return Value

bool

true if the angle is included in the specified span.

.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