Méthode | 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. |
Résultat | bool |
public IsInside ( |
||
range | Range to check. | |
Résultat | bool |
public IsOverlapping ( |
||
range | Range to check for overlapping. | |
Résultat | bool |
public Range ( float min, float max ) : System | ||
min | float | Minimum value of the range. |
max | float | Maximum value of the range. |
Résultat | System |
public ToIntRange ( bool provideInnerRange ) : |
||
provideInnerRange | bool | Specifies if inner integer range must be returned or outer range. |
Résultat |