【实例简介】
运用生长法实现DTIN的生成,先生成随机点,然后采用三角形生长算法形成三角形。采用动态数组,所以在三角网产生之后也能将后来产生的点加入到新的三角网之中。
【实例截图】
【核心代码】
DTIN
└── DTIN
├── DTIN
│ ├── bin
│ │ └── Debug
│ │ ├── DTIN.exe
│ │ ├── DTIN.pdb
│ │ ├── DTIN.vshost.exe
│ │ └── DTIN.vshost.exe.manifest
│ ├── DTIN.csproj
│ ├── Form1.cs
│ ├── Form1.Designer.cs
│ ├── Form1.resx
│ ├── Line.cs
│ ├── obj
│ │ └── Debug
│ │ ├── DTIN.csproj.FileListAbsolute.txt
│ │ ├── DTIN.csproj.GenerateResource.Cache
│ │ ├── DTIN.exe
│ │ ├── DTIN.Form1.resources
│ │ ├── DTIN.pdb
│ │ └── DTIN.Properties.Resources.resources
│ ├── Program.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── DTIN.sln
└── DTIN.suo
7 directories, 23 files