Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Choosing a representative in a 3D Periodic Delaunay Tessellation

Subject: CGAL users discussion list

List archive

[cgal-discuss] Choosing a representative in a 3D Periodic Delaunay Tessellation


Chronological Thread 
  • From: Michael Klatt <>
  • To:
  • Subject: [cgal-discuss] Choosing a representative in a 3D Periodic Delaunay Tessellation
  • Date: Fri, 1 Feb 2019 18:50:01 -0600 (CST)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Neutral ; spf=Pass
  • Ironport-phdr: 9a23:RJaehhCEb8Xs5fZzZXX8UyQJP3N1i/DPJgcQr6AfoPdwSPv5p8bcNUDSrc9gkEXOFd2Cra4c26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJOT43/n/UhMJtg61UvB2vqgdjw4PWfI2ZKOZycr/Dcd4cWGFPXtxRVytEAo6kaIUPDvYOPeZCoIbjo1sFsB6wBQ22C+Pz1j9Dm3j73ag70+s9EQHJxhIvH9YUvHTXqNX6LrsSUfyuwanG1zrDcula1irj54XRdB0qvP+CXbV1ccXLyEkvERvIjlOKpoP+JDyV0voCv3KH4OpnUOKijXMspQJpojW328shjo3Eipgbx13H7yl0w4c4Kce5RUN6Z9OvDYFeuDuAN4RsR8MvW2Fotzg+yr0BoZO7eicHxI4hxxHFcPOIaIyI7Qz5WOmNJjd4gWppeLO5hxms7Uit0vDwW82w3VpQoCdIkcPAu3MM2hDJ68WKS+Nx/kK71jaO0wDT5PtEIUcxlafDLp4hw6I/lpoJvkvdGi/6gkb2jKuMeUU45uil8Ornba/7ppOGKoB7lBnyMr4ylcynHeQ4Lg8OUnCH9uSzzrLj+VT1T6hLjv0tjqbZrYvaJd8Aq66iAw5V154j5AylAzen1tQYh3gHI0hfdBKJlYi6c23Jdfv3BPP6j1W3mypw3NjHOKfgC9PDNCvtirDkKJN84E5VxQ577tRW+44cXrQAK/L6V0u3t9jREgMRPQWpherqXoYunrgCUH6CV/fKeJjZtkWFs7p2cru8IbQNsTO4EMALovvnjHs3g1gYLfun1IZRZH3qRK06cXXcWmLlh5I6KUlPphA3HL7kgUDEXTMBPy/vDZJ53SkyDcedNamGRo2ph+XcjiHnWJtfbGpCBxaHFnK6Log=

Dear all,

To triangulate a point set in the three-dimensional flat torus,
CGAL::Periodic_3_Delaunay_triangulation_3 offers a very good solution to my
needs, switching between Delaunay and Voronoi tessellations.

For each vertex, I want to first iterate over all incident edges and then
(for each edge) circulate over all cells incident to the given edge.
My current code relies on the functions
OutputIterator incident_edges (Vertex_handle v, OutputIterator edges)
const
and
Cell_circulator incident_cells (Edge e) const
Thus I obtain a Cell_handle.

How can I choose the representative (tetrahedron in Euclidean space) that
has the initial vertex as one of its four vertices?

For example, if the vertex for which I pick an incident edge has coordinates
(0.1,0.1,0.1), I would like to obtain a tetrahedron whose other points have
negative coordinates, rather than the tetrahedron that is at the opposite
end of the 1- or 27-sheeted covering space.
The latter is the result of my attempt using
T.tetrahedron(T.periodic_tetrahedron(cit));
(due to my CGAL version 4.7).

Of course, I can manually translate the tetrahedron, but is there a built-in
solution?

Thank you very much!
Best regards,

Michael




--
Sent from: http://cgal-discuss.949826.n4.nabble.com/



Archive powered by MHonArc 2.6.18.

Top of Page