如何对简单多边形进行delaunay三角剖分并找到它'cgal中任何三角形的s邻居
how can i do delaunay triangulation of simple polygon and find it's neighbors for any triangles in cgal
如何使用CGAl,多边形的Delaunay三角剖分(简单无孔,按cw顺序),并为Delaunay三角形剖分生成的任何三角形获取三角形的邻居列表?
查看用户手册中的示例:http://doc.cgal.org/latest/Triangulation_2/index.html#title29
必须区分多边形内外的面。
当你有一个脸手柄时,你可以得到三个邻居的脸对于i=0、1和2 ,具有函数邻居(i)
请参阅:http://doc.cgal.org/latest/TDS_2/classTriangulationDSFaceBase__2.html
你可以下载我的PHP类delaunay triangulation@phpclasses.org。要找到所有相邻的三角形,你可以下载我们的类voronoi@phpclasse.org。要拉我类的相邻三角形,你需要遍历每个顶点。
相关文章:
- 如果C++类在类方法中具有动态分配,但没有构造函数/析构函数或任何非静态成员,那么它仍然是POD类型吗
- 奇怪的(对我来说)返回声明 - 在谷歌上找不到任何关于它的信息
- 如何在不产生任何垃圾的情况下获得C中的像素
- 为什么我不能在 C++ 中的特定函数重载中调用同一函数的任何其他重载?
- C++映射有2个键,这样任何1个键都可以用来获取值
- Visual Studio(或任何其他工具)能否将地址解释为调用堆栈(boost上下文)的开头
- RtlCaptureStackBackTrace未捕获任何帧
- 链表c++插入,所有情况都已检查,但没有任何工作
- C++模板函数,用于比较任何无符号整数和有符号整数
- Arduino millis() - millis() 怎么能等于 0 以外的任何东西?
- 尝试摆脱任何堆内存分配
- 是否有任何C++功能可以对地图进行排序?
- 打印时有二叉树问题.用户输入不打印任何内容
- 共享指针和具有自定义删除程序的唯一指针之间的语法差异背后的任何原因
- 在C++行尾写一个分号或多个分号是否会改变任何内容
- C++类型特征,以查看是否可以<uint32_t>对类型"K"的任何变量调用"static_cast(k)"
- C++ 将 CIN 值存储到任何类型的数组中
- 为什么瓦尔格林德在不释放恶意内存后没有报告任何问题?
- GStreamer在开始任何播放之前进行搜索
- 如何对简单多边形进行delaunay三角剖分并找到它'cgal中任何三角形的s邻居