Click or drag to resize

RMathAreIntervalsOverlappingCO Method

Tests if the interval [a0, a1) is overlapping with the interval [b0, b1). The return value is true if the intervals overlap. Because the end of the intervals are open, the return value is false if for instance a1==b0.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool AreIntervalsOverlappingCO(
	double a0,
	double a1,
	double b0,
	double b1
)

Parameters

a0  Double
The start of the first interval (inclusive).
a1  Double
The end of the first interval (exclusive).
b0  Double
The start of the second interval (inclusive).
b1  Double
The end of the second interval (exclusive).

Return Value

Boolean
True if both intervals overlap; otherwise, false.
See Also