- 4
- 0
- 约9.53千字
- 约 7页
- 2017-08-24 发布于安徽
- 举报
Delaunay三角网算法(用C#语言实现)
这是我翻译的一个VB6.0的delaunay(简称D三角网)三角网的算法,里面的变量设置还需要修改一下,由于C#的强类型检查,所以比VB6.0要麻烦一些,由于篇幅受限所以就不考虑程式的布局样式了using System;using System.Collections.Generic;using System.Text;using System.Windows.Forms;namespace Delaunay{???? public struct dVertex???? {???????? public long x;???????? public long y;???????? public long z;???? }???? public struct dTriangle???? {???????? public long vv0;???????? public long vv1;???????? public long vv2;???? }???? public class Delaunay???? {???????? public const int MaxVertices = 500;???????? public const int MaxTriangles = 1000;??
原创力文档

文档评论(0)