Method RoundUpAndIncrementIfOdd
RoundUpAndIncrementIfOdd(double)
Rounds up the given coordinate value to the nearest integer and increments it by 1 if the result is odd.
public static int RoundUpAndIncrementIfOdd(double value)
Parameters
value
doubleThe coordinate value to process.
Returns
- int
An integer that is the rounded-up value incremented by 1 if it is odd.