C# Класс AForge.IntRange

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
IntRange ( int min, int max )

Initializes a new instance of the IntRange class.

IsInside ( IntRange range ) : bool

Check if the specified range is inside of the range.

IsInside ( int x ) : bool

Check if the specified value is inside of the range.

IsOverlapping ( IntRange range ) : bool

Check if the specified range overlaps with the range.

Описание методов

IntRange() публичный Метод

Initializes a new instance of the IntRange class.
public IntRange ( int min, int max )
min int Minimum value of the range.
max int Maximum value of the range.

IsInside() публичный Метод

Check if the specified range is inside of the range.
public IsInside ( IntRange range ) : bool
range IntRange Range to check.
Результат bool

IsInside() публичный Метод

Check if the specified value is inside of the range.
public IsInside ( int x ) : bool
x int Value to check.
Результат bool

IsOverlapping() публичный Метод

Check if the specified range overlaps with the range.
public IsOverlapping ( IntRange range ) : bool
range IntRange Range to check for overlapping.
Результат bool