【发布时间】:2015-11-24 10:55:02
【问题描述】:
给定x,y,我如何检索使用projection_traits_xy_3 从2.5D 构建的2D 约束delaunay 三角剖分的z 坐标?
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Projection_traits_xy_3<K> Gt;
typedef CGAL::Triangulation_vertex_base_2<Gt> Vb;
typedef CGAL::Delaunay_mesh_face_base_2<Gt> Fb;
typedef CGAL::Triangulation_data_structure_2<Vb, Fb> Tds;
typedef CGAL::Constrained_Delaunay_triangulation_2<Gt, Tds> CDT;
我的猜测是我必须检索人脸,但下一步是什么?
CDT::Point query(10,10,?);
CDT::Face_handle face_handle = cdt.locate(query);
【问题讨论】:
标签: cgal