Method | Description | |
---|---|---|
Clamp ( this i, int min, int max ) : int | ||
Clamp ( int &i, int min, int max ) : void | ||
Intersects ( int index1, int length1, int index2, int length2 ) : bool | ||
IsInRange ( this i, int min, int max ) : bool | ||
IsInRangeHO ( this i, int min, int max ) : bool | ||
ToBinString ( this i, string postfix ) : string | ||
ToBinString ( this i, string prefix, string postfix ) : string | ||
ToHexString ( this i, string prefix ) : string | ||
ToHexString ( this i, string prefix, string postfix ) : string | ||
ToMod ( this i, int mod ) : int | ||
ToMod ( int &i, int mod ) : void | ||
ToPower2 ( this value ) : int | ||
ToPower2 ( int &value ) : void |
public static Clamp ( this i, int min, int max ) : int | ||
i | this | |
min | int | |
max | int | |
return | int |
public static Clamp ( int &i, int min, int max ) : void | ||
i | int | |
min | int | |
max | int | |
return | void |
public static Intersects ( int index1, int length1, int index2, int length2 ) : bool | ||
index1 | int | |
length1 | int | |
index2 | int | |
length2 | int | |
return | bool |
public static IsInRange ( this i, int min, int max ) : bool | ||
i | this | |
min | int | |
max | int | |
return | bool |
public static IsInRangeHO ( this i, int min, int max ) : bool | ||
i | this | |
min | int | |
max | int | |
return | bool |
public static ToBinString ( this i, string postfix ) : string | ||
i | this | |
postfix | string | |
return | string |
public static ToBinString ( this i, string prefix, string postfix ) : string | ||
i | this | |
prefix | string | |
postfix | string | |
return | string |
public static ToHexString ( this i, string prefix ) : string | ||
i | this | |
prefix | string | |
return | string |
public static ToHexString ( this i, string prefix, string postfix ) : string | ||
i | this | |
prefix | string | |
postfix | string | |
return | string |
public static ToMod ( this i, int mod ) : int | ||
i | this | |
mod | int | |
return | int |
public static ToMod ( int &i, int mod ) : void | ||
i | int | |
mod | int | |
return | void |