/** * @file MathUtility.h * @brief 常用数学函数集合,都为静态函数 * @author 沙漠乌鸦 * @time 2010-01-12 */ #pragma once #include "UtilityClass.h" class AFX_EXT_CLASS CMathUtility { public: CMathUtility(void); ~CMathUtility(void); /** * @brief 判断两段深度是否相交 * @param [in] depthRange1 第一段深度范围 * [in] depthRange2 第二段深度范围 * @return bool 若相交返回TRUE */ static bool IsOverlap(DEPTHRANGE depthRange1,DEPTHRANGE depthRange2); };