Method | Description | |
---|---|---|
Equals ( object obj ) : bool |
Check if this instance of Range equal to the specified one.
|
|
GetHashCode ( ) : int |
Get hash code for this instance.
|
|
IsInside ( |
Check if the specified range is inside of the range.
|
|
IsInside ( float x ) : bool |
Check if the specified value is inside of the range.
|
|
IsOverlapping ( |
Check if the specified range overlaps with the range.
|
|
Range ( float min, float max ) : System |
Initializes a new instance of the Range structure.
|
|
ToIntRange ( bool provideInnerRange ) : |
Convert the signle precision range to integer range. If provideInnerRange is set to |
|
ToString ( ) : string |
Get string representation of the class.
|
|
operator ( ) : bool |
Equality operator - checks if two ranges have equal min/max values.
|
public Equals ( object obj ) : bool | ||
obj | object | Another range to check equalty to. |
return | bool |
public IsInside ( |
||
range | Range to check. | |
return | bool |
public IsOverlapping ( |
||
range | Range to check for overlapping. | |
return | bool |
public Range ( float min, float max ) : System | ||
min | float | Minimum value of the range. |
max | float | Maximum value of the range. |
return | System |
public ToIntRange ( bool provideInnerRange ) : |
||
provideInnerRange | bool | Specifies if inner integer range must be returned or outer range. |
return |