C# Class AForge.IntRange

显示文件 Open project: atosorigin/Kinect Class Usage Examples

Public Methods

Method Description
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.

Method Details

IntRange() public method

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() public method

Check if the specified range is inside of the range.
public IsInside ( IntRange range ) : bool
range IntRange Range to check.
return bool

IsInside() public method

Check if the specified value is inside of the range.
public IsInside ( int x ) : bool
x int Value to check.
return bool

IsOverlapping() public method

Check if the specified range overlaps with the range.
public IsOverlapping ( IntRange range ) : bool
range IntRange Range to check for overlapping.
return bool