- simplgeneticlgorith /* This a simple genetic algorithm implementation where the */ /* evaluation function takes positive values only and the */ /* fitness of an individual is the same as the value of the */ /* objective function
- control 字绘按钮控件
- nutchtutorial nutch turorial
- you optiFDTD计算MIM波导缺陷结构
- ExcelHelper 介绍使用VC++调用excel文件的操作方法
- matlab-code-vrp matlab code vrp using sa
文件名称:line2
-
所属分类:
- 标签属性:
- 上传时间:2017-05-22
-
文件大小:2.23mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
绘制任意斜率的直线段
设计CLine直线类,其数据成员为直线段的起点坐标P0和终点坐标P1,成员函数为MoveTo()和LineTo()函数。
CLine类的LineTo()函数使用中点Bresenham算法绘制任意斜率k的直线段,包括k=±∞、k>1、0≤k≤1、-1≤k<0和k<-1五种情况。
在屏幕客户区按下鼠标左键选择直线的起点,保持鼠标左键按下并移动鼠标到另一位置,弹起鼠标左键绘制任意斜率的直线段。
在状态栏动态显示鼠标光标移动时的位置坐标。-The slope of the plot any straight line segments
Design CLine linear class, its data members for the straight line segment of P0 starting point coordinates and end coordinates P1, member function to MoveTo () and LineTo () function.
CLine class LineTo () function USES the midpoint Bresenham algorithm to draw any slope k line segment, including k + up, k > 1, 0 k 1 or less, or less- 1 k or less < < 0 and k- 1 five kinds of situations.
The client area in screen by pressing the left mouse button to choose the starting point of straight line, keep the left mouse button pressed and moving the mouse to another location, bounce the slope of the left key of mouse to draw any straight line segments.
In the dynamic display of the status bar moves the mouse cursor position coordinates.
设计CLine直线类,其数据成员为直线段的起点坐标P0和终点坐标P1,成员函数为MoveTo()和LineTo()函数。
CLine类的LineTo()函数使用中点Bresenham算法绘制任意斜率k的直线段,包括k=±∞、k>1、0≤k≤1、-1≤k<0和k<-1五种情况。
在屏幕客户区按下鼠标左键选择直线的起点,保持鼠标左键按下并移动鼠标到另一位置,弹起鼠标左键绘制任意斜率的直线段。
在状态栏动态显示鼠标光标移动时的位置坐标。-The slope of the plot any straight line segments
Design CLine linear class, its data members for the straight line segment of P0 starting point coordinates and end coordinates P1, member function to MoveTo () and LineTo () function.
CLine class LineTo () function USES the midpoint Bresenham algorithm to draw any slope k line segment, including k + up, k > 1, 0 k 1 or less, or less- 1 k or less < < 0 and k- 1 five kinds of situations.
The client area in screen by pressing the left mouse button to choose the starting point of straight line, keep the left mouse button pressed and moving the mouse to another location, bounce the slope of the left key of mouse to draw any straight line segments.
In the dynamic display of the status bar moves the mouse cursor position coordinates.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
line2/
line2/Debug/
line2/Debug/MainFrm.obj
line2/Debug/StdAfx.obj
line2/Debug/line.obj
line2/Debug/line2.exe
line2/Debug/line2.ilk
line2/Debug/line2.obj
line2/Debug/line2.pch
line2/Debug/line2.pdb
line2/Debug/line2.res
line2/Debug/line2Doc.obj
line2/Debug/line2View.obj
line2/Debug/vc60.idb
line2/Debug/vc60.pdb
line2/MainFrm.cpp
line2/MainFrm.h
line2/ReadMe.txt
line2/Resource.h
line2/StdAfx.cpp
line2/StdAfx.h
line2/line.cpp
line2/line.h
line2/line2.aps
line2/line2.clw
line2/line2.cpp
line2/line2.dsp
line2/line2.dsw
line2/line2.h
line2/line2.ncb
line2/line2.opt
line2/line2.plg
line2/line2.rc
line2/line2Doc.cpp
line2/line2Doc.h
line2/line2View.cpp
line2/line2View.h
line2/res/
line2/res/Toolbar.bmp
line2/res/line2.ico
line2/res/line2.rc2
line2/res/line2Doc.ico
line2/Debug/
line2/Debug/MainFrm.obj
line2/Debug/StdAfx.obj
line2/Debug/line.obj
line2/Debug/line2.exe
line2/Debug/line2.ilk
line2/Debug/line2.obj
line2/Debug/line2.pch
line2/Debug/line2.pdb
line2/Debug/line2.res
line2/Debug/line2Doc.obj
line2/Debug/line2View.obj
line2/Debug/vc60.idb
line2/Debug/vc60.pdb
line2/MainFrm.cpp
line2/MainFrm.h
line2/ReadMe.txt
line2/Resource.h
line2/StdAfx.cpp
line2/StdAfx.h
line2/line.cpp
line2/line.h
line2/line2.aps
line2/line2.clw
line2/line2.cpp
line2/line2.dsp
line2/line2.dsw
line2/line2.h
line2/line2.ncb
line2/line2.opt
line2/line2.plg
line2/line2.rc
line2/line2Doc.cpp
line2/line2Doc.h
line2/line2View.cpp
line2/line2View.h
line2/res/
line2/res/Toolbar.bmp
line2/res/line2.ico
line2/res/line2.rc2
line2/res/line2Doc.ico
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。