Method | Description | |
---|---|---|
GetBoundsCheckedCoordinate ( int index, int count, OutOfBoundsHandler handler ) : int |
Checks coordinates for over-/underflow and does the correction based on the given OutOfBoundsMode.
|
|
GetBoundsCheckedCoordinate ( int index, int count, OutOfBoundsMode mode ) : int |
Checks coordinates for over-/underflow and does the correction based on the given OutOfBoundsMode.
|
|
GetHandlerOrCrash ( OutOfBoundsMode mode ) : OutOfBoundsHandler |
Gets the out of bounds handler or crashes.
|
Method | Description | |
---|---|---|
_ConstantExtension ( int index, int count, bool overflow, bool underflow ) : int | ||
_HalfSampleSymmetric ( int index, int count, bool overflow, bool underflow ) : int | ||
_WholeSampleSymmetric ( int index, int count, bool overflow, bool underflow ) : int | ||
_WrapAround ( int index, int count, bool overflow, bool underflow ) : int |
public static GetBoundsCheckedCoordinate ( int index, int count, OutOfBoundsHandler handler ) : int | ||
index | int | The coordinate index. |
count | int | The sample count. |
handler | OutOfBoundsHandler | The handler. |
return | int |
public static GetBoundsCheckedCoordinate ( int index, int count, OutOfBoundsMode mode ) : int | ||
index | int | The coordinate index. |
count | int | The sample count. |
mode | OutOfBoundsMode | The mode. |
return | int |
public static GetHandlerOrCrash ( OutOfBoundsMode mode ) : OutOfBoundsHandler | ||
mode | OutOfBoundsMode | The mode. |
return | OutOfBoundsHandler |