Qt实现绘制任意边的多边形,用绘制直线的方法实现,仅供学习参考,多谢关注
自己写的多边形裁剪算法(计算机图形学作业),鼠标左键拖拉改变多边形的顶点坐标实现拖动,鼠标右键拖动实现裁剪窗口的拖动,点击裁剪按钮实现裁剪功能,点击清空缓存按钮实现清空裁剪以便进行下一次的裁剪
一个基于DouglasPeucker的多边形压缩算法
根据节点和弧段自动构建多边形,显示拓扑关系及邻近矩阵
多边形填充 计算机图形学 c++ 代码加文档
正多边形 C++ MFC void CMy1View::OnDraw(CDC* pDC)
利用win32的api函数设计多边形游戏,实现求最大值的运算过程,可视化界面。
多边形偏移
用MFC开发的界面,功能:多边形的输入,计算面积、周长。
此多边形算法在VC和linux上面均验证过,定位点非常准确,并且是简单的.c文件,便于直接调用