Searched refs:zdiff (Results 1 – 1 of 1) sorted by relevance
514 int zdiff = zmax - zmin; in ZToDepth() local516 if (zdiff == 0) in ZToDepth()522 if ( zval > zmax+1 ) zval -= zdiff; in ZToDepth()524 T fzval = (T(zval) - T(zmin)) / T(zdiff); in ZToDepth()558 long zdiff = zmax - zmin; in DepthToZ() local574 return long(0.5*(Zp+1)*zdiff) + zmin; in DepthToZ()599 return long(0.5*(Zp+1)*zdiff) + zmin; in DepthToZ()