搜索资源列表
IsInsidePolygon
- 点在闭合区域内判断,做这个测试时只注重算法测试,所以没有对于浮点数相等比较的问题作特别处理.-point in the region closed judgment, to do this test focused only on test algorithms, there is no equivalent for the float to the question of comparison for special treatment.
Interpolation
- /************************************************************************* * 函数名称: * Interpolation() * 参数: * LPSTR lpDIBBits - 指向源DIB图像指针 * LONG lWidth - 源图像宽度(象素数) * LONG lHeight - 源图像高度(象素数) * FLOAT x - 插值元素的x坐标 * FLOAT y
ZoomDIB
- /************************************************************************* * 函数名称: * ZoomDIB() * 参数: * LPSTR lpDIB - 指向源DIB的指针 * float fXZoomRatio - X轴方向缩放比率 * float fYZoomRatio - Y轴方向缩放比率 * 返回值: * HGLOBAL - 缩放成功返回新DIB句柄,否则返回
test9_25_3_1
- 选取一个浮点数,并产生一些随机数,把浮点数转化为整数型-Select a float, and generate some random numbers, the floating-point number into integer
Transform
- 包括以下函数 1)平移(tx,ty,tz)的矩阵Txyz void matTxyz(float Txyz[4][4],float tx,float ty,float tz) 2)绕x轴旋转theta角的矩阵Rx void matRx(float Rx[4][4],float theta) 3)绕y轴旋转theta角的矩阵Ry void matRy(float Ry[4][4],float theta) 4)绕z轴旋转theta角的矩阵Rz void matRz(float Rz[4][4]
