Skip to content

How to get the vertex indices of the faces of a spherical Delaunay triangulation? #7476

Answered by MaelRL
stla asked this question in Q&A
Discussion options

You must be logged in to vote

The Triangulation_vertex/face_base_with_info_2 are compatible with the spherical triangulations; just include it in the stack as you would for an Euclidean Delaunay triangulation:

(roughly:)
using K = ...;
using Traits = Projection_on_sphere_traits_3<K>;
using Vbb = Triangulation_vertex_with_info_2<...>;
using Vb =  Triangulation_on_sphere_vertex_base_2<Traits, Vbb>;
using Fb = Triangulation_on_face_vertex_base_2<Traits>;
using Tds = Triangulation_data_structure_2<Vb, Fb>;
using DToS = Delaunay_triangulation_on_sphere_2<Traits, Tds>;

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@stla
Comment options

@afabri
Comment options

afabri May 29, 2023
Collaborator

Answer selected by stla
Comment options

You must be logged in to vote
1 reply
@MaelRL
Comment options

MaelRL May 29, 2023
Collaborator

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants