文件名称:delaunay
- 所属分类:
- 2D图形编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2010-12-11
- 文件大小:
- 54.19kb
- 下载次数:
- 0次
- 提 供 者:
- 798310473@qq.com
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
void CDelaunayView::OnDelaunay()
{
// TODO: Add your command handler code here
CDelaunayDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if(!pDoc->PointList->GetCount())
{
char str[100];
ostrstream osr(str,100);
osr<<"请用鼠标左键在窗口里选择要进行三角剖分的顶点"<<'\n'
<<" 谢谢合作"TriList);
pos4 = pDoc->TriList->GetHeadPosition();
TriAngle* pTriSeed = (TriAngle*)pDoc->TriList->GetAt(pos4);
pos5 = pDoc->PointList->GetHeadPosition();
while(pos5 != NULL)
{
PointCls* pa = (PointCls*)pDoc->PointList->GetNext(pos5);
if(pa->index == pTriSeed->index[0])
{
p1 = pa;
}
if(pa->index == pTriSeed->index[1])
{
p2 = pa;
{
// TODO: Add your command handler code here
CDelaunayDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if(!pDoc->PointList->GetCount())
{
char str[100];
ostrstream osr(str,100);
osr<<"请用鼠标左键在窗口里选择要进行三角剖分的顶点"<<'\n'
<<" 谢谢合作"TriList);
pos4 = pDoc->TriList->GetHeadPosition();
TriAngle* pTriSeed = (TriAngle*)pDoc->TriList->GetAt(pos4);
pos5 = pDoc->PointList->GetHeadPosition();
while(pos5 != NULL)
{
PointCls* pa = (PointCls*)pDoc->PointList->GetNext(pos5);
if(pa->index == pTriSeed->index[0])
{
p1 = pa;
}
if(pa->index == pTriSeed->index[1])
{
p2 = pa;
相关搜索: deluanay
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 2dDelaunay2.zip 列表 vcer.net.url 2dDelaunay2/Delaunay.opt 2dDelaunay2/dataStruct.h 2dDelaunay2/res/Toolbar.bmp 2dDelaunay2/res/DelaunayDoc.ico 2dDelaunay2/res/Delaunay.rc2 2dDelaunay2/res/Delaunay.ico 2dDelaunay2/StdAfx.h 2dDelaunay2/StdAfx.cpp 2dDelaunay2/Delaunay.plg 2dDelaunay2/Delaunay.ncb 2dDelaunay2/Delaunay.h 2dDelaunay2/Delaunay.dsw 2dDelaunay2/Delaunay.dsp 2dDelaunay2/Delaunay.cpp 2dDelaunay2/Delaunay.clw 2dDelaunay2/Delaunay.aps 2dDelaunay2/Delaunay.rc 2dDelaunay2/DelaunayDoc.cpp 2dDelaunay2/DelaunayDoc.h 2dDelaunay2/DelaunayView.cpp 2dDelaunay2/DelaunayView.h 2dDelaunay2/MainFrm.cpp 2dDelaunay2/MainFrm.h 2dDelaunay2/ReadMe.txt 2dDelaunay2/Resource.h