简体   繁体   中英

Ensuring that all points are on the convex hull of a triangulation

I currently have a program that takes in a set of points, triangulates it using CGAL, and then extracts the convex hull of these points. However, I was wondering, instead of finding the convex hull of the points, how can I create a triangulation such that all points are on the convex hull of the triangulation? I don't want any code, but was wondering how I would go about implementing this in CGAL. Please let me know if you need any more clarification, and any help would be awesome!

Cgal uses incremental algorithm. Maybe you can check when a point shares more then 2 vertices in the triangulation and if so mark it as visited and delete all newly formed triangles.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM