dcel.cpp
资源名称:package.rar [点击查看]
上传用户:chinasdcnc
上传日期:2022-07-02
资源大小:2702k
文件大小:0k
源码类别:
分形几何
开发平台:
Visual C++
- //
- // Delaunay Triangulation
- //
- // Homework of CG lesson (Fall 2009) in Tsinghua University.
- // All rights reserved.
- //
- // temp include, delete later if necessary
- #include "stdafx.h"
- #include "dcel.h"
- DCEL::DCEL(void)
- {
- e[0].num = 0;
- e[1].num = 1;
- e[0].ePrev = &(e[1]);
- e[0].eNext = &(e[1]);
- e[1].ePrev = &(e[0]);
- e[1].eNext = &(e[0]);
- visited = false;
- }