Hi,
I'm curious what's the difference DSL_sysCoordinates::UncheckedValue() and DSL_sysCoordinates::CheckedValue() ?
I did a little testing, and it seems that they have the same effects? Just curious if there's any special cases when using one is better (more correct) than the other one?
Thanks.
UncheckedValue v.s CheckedValue
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: UncheckedValue v.s CheckedValue
There's no difference. DSL_sysCoordinates is more or less legacy code You can obtain the same functionality (converting the vector of ints representing the coords in multi-dimensional matrix to integer index) with DSL_Dmatrix::CoordinatesToIndex or DSL_Dmatrix::NextCoordinates.alamy wrote:I'm curious what's the difference DSL_sysCoordinates::UncheckedValue() and DSL_sysCoordinates::CheckedValue() ?