文件名称:SmoothDraw
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-12-07
- 文件大小:
- 1.81mb
- 下载次数:
- 0次
- 提 供 者:
- 籍**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
程序用于根据设定坐标绘制圆滑曲线,而后等间隔采样,将点坐标逐个输出。
曾用于舵机查表控制。
在SmoothDrawDlg.h内可以设定点坐标。
在SmoothDrawDlg.c内可以设定输出格式,不同按钮可以输出不同文件对应不同格式。
程序尚不完善,不可以随意修改点数,修改点数后须相应改变计算程序。
算法核心m_deal(),采用取三角形两边中点而后连线的方式将折线近似圆滑,效果不错。-Procedures used to set according to the coordinate drawing a smooth curve, and then the equal interval sampling, will coordinate each output.Has been used for steering look-up table control.In SmoothDrawDlg.h can set point coordinate.In SmoothDrawDlg.c you can set the output format, different button can output different file corresponding to different formats.Procedure is not perfect, can not modify the number of points must be changed, modified calculation program.Core algorithm ), m_deal ( by triangles on both sides of the midpoint and a way to connect the polyline is smooth, the effect of good.
曾用于舵机查表控制。
在SmoothDrawDlg.h内可以设定点坐标。
在SmoothDrawDlg.c内可以设定输出格式,不同按钮可以输出不同文件对应不同格式。
程序尚不完善,不可以随意修改点数,修改点数后须相应改变计算程序。
算法核心m_deal(),采用取三角形两边中点而后连线的方式将折线近似圆滑,效果不错。-Procedures used to set according to the coordinate drawing a smooth curve, and then the equal interval sampling, will coordinate each output.Has been used for steering look-up table control.In SmoothDrawDlg.h can set point coordinate.In SmoothDrawDlg.c you can set the output format, different button can output different file corresponding to different formats.Procedure is not perfect, can not modify the number of points must be changed, modified calculation program.Core algorithm ), m_deal ( by triangles on both sides of the midpoint and a way to connect the polyline is smooth, the effect of good.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SmoothDraw\Debug\SmoothDraw.exe
..........\.....\SmoothDraw.ilk
..........\.....\SmoothDraw.obj
..........\.....\SmoothDraw.pch
..........\.....\SmoothDraw.pdb
..........\.....\SmoothDraw.res
..........\.....\SmoothDrawDlg.obj
..........\.....\StdAfx.obj
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\Debug
..........\ReadMe.txt
..........\Readme_By_Jhc888007.txt
..........\res\SmoothDraw.ico
..........\...\SmoothDraw.rc2
..........\res
..........\resource.h
..........\SmoothDraw.aps
..........\SmoothDraw.clw
..........\SmoothDraw.cpp
..........\SmoothDraw.dsp
..........\SmoothDraw.dsw
..........\SmoothDraw.h
..........\SmoothDraw.opt
..........\SmoothDraw.plg
..........\SmoothDraw.rc
..........\SmoothDrawDlg.cpp
..........\SmoothDrawDlg.h
..........\StdAfx.cpp
..........\StdAfx.h
SmoothDraw
..........\SmoothDraw.ncb