CGAL 2.5D 三角测量 附加顶点信息
CGAL 2.5D Triangulation Attach vertex info
所以我目前有一个2.5D Delaunay三角测量使用这个设置。
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Triangulation_euclidean_traits_xy_3<K> Gt;
typedef CGAL::Delaunay_triangulation_2<Gt> Delaunay;
typedef K::Point_3 Point_3;
但我想将其他信息附加到每个顶点。我正在使用此设置,因为 3D 数据是 LiDAR,因此受到限制。这种方法效果很好,但我只需要将附加信息附加到每个顶点。
这是我尝试使用的,但Delaunay_triangulation_2模板不允许这么多参数。有什么想法吗?
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Triangulation_vertex_base_with_info_2<unsigned int, K> Vb;
typedef CGAL::Triangulation_data_structure_2<Vb> Tds;
typedef CGAL::Exact_triangulation_euclidean_traits_xy_3<K> Gt;
typedef CGAL::Delaunay_triangulation_2<K,Gt,Tds> Delaunay;
我已经在github上给你一个完整的例子,并提出了一个拉取请求
相关文章:
- 如何循环打印顶点结构
- 正在查找文档以获得PS4平台的C++中的设备信息
- 为什么在运行时没有向我们提供有关分段错误的更多信息?
- 奇怪的(对我来说)返回声明 - 在谷歌上找不到任何关于它的信息
- 如何设置一个范围来提取我想要获得的信息
- D3D11-将混合权重和索引传递到顶点着色器
- 从返回的顶点缓冲区查询顶点结构
- Vulkan 中的动态顶点缓冲区格式设置
- 在顶点着色器中使用 OpenGl 的未声明标识符,我在顶点着色器中绘制三角形时遇到问题
- 系统参数信息A 与 SPI_GETMOUSE 返回 0
- 为什么 gcovr 会生成空覆盖率统计信息?
- 我已经阅读了很多关于 2d 数组的信息,但我在作业中使用它时遇到了麻烦
- 如何将一半传递给顶点着色器?
- 如果有一个几何设计着色器,则如何将信息从顶点着色器传递到碎片着色器
- 如何使用每个顶点的自定义信息创建CGAL约束的delaunay三角测量
- CGAL 2.5D 三角测量 附加顶点信息
- 通过Winsock发送Direct3D顶点信息
- c++和OpenGL, VBO顶点交错与骨信息
- 顶点着色器编译失败,但信息日志中没有消息
- 在opengl阴影映射中存储纹理中的顶点深度信息