Subject: CGAL users discussion list
List archive
[cgal-discuss] Access the indices of vertices, edges and facets from power diagram
Chronological Thread
- From: BRYang <>
- To:
- Subject: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram
- Date: Mon, 17 Jun 2019 21:32:58 -0500 (CDT)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Fail ; spf=Pass
- Ironport-phdr: 9a23:CNvryBOZTSpBoR4o7k4l6mtUPXoX/o7sNwtQ0KIMzox0LPT6rarrMEGX3/hxlliBBdydt6sdzbOI4+u9CSQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagfL9+Ngi6oATSu8UZgYZvKbs6xwfUrHdPZ+lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRneVgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gyoBKjU38nzYitZogaxVoByvuR9xzZPbb46JO/RzZb/dcNEGSWZdQspdSzJND4WhZIUPFeoBOuNYopHgqlUSrxSxHw+sBOzywTJPhn75xrc63v8uEAHDwQwsBcwBv2nJrNnvKKgSV/m4wa/VxjvNaPNW3C3y6InOch05p/GDR6l/ftHVyUYxDQ/KklKQqYnjMjiI1eoNq3CW4/dkWO+rkWIqpQJ8riKsy8otkIXEh4MYx1bZ/itj2ok1P8e3SEtjbN6kDpRQsyaaOpNwQs4tWW1ovjw1xaYdtp6/YicG0ogoxxnaa/CfcoiI5AzsVPqJLDtlgH9ofKizihix/ES6yeDxV9O43VdLoyZdl9nDrHEN1xjd6sidTft9+1+s2DaU2ADJ8exFLkU0lbfBJ5E/37Ewi4AfvljFHiPugkX5kLeWdlk4+uiv8+nofrrmqYWYN4Ntlw7+M78uldCiAeQjKQgDRHOb+OS51L3750L1WrRKjvsskqnYqp/WP8obprTqSzNSh40s4hL6Aza928kDhlEGKkhEcVSJldvHIVbLddrCPP65jBz4gT1x7+DDI/vsDoiLJX6Vw+SpRqp090MJkFl79ttY/Z8BUuhdcsK2YVf4sZnjNjF8Kxa9mry1GNBgkI4SRCSEBP3Baf6AgRqz/usqZtK0SsoVtTL6cqV34aKoi3Yzk1sQO6Ku2MlOMSHqLrFdO0ycJEHUrJIEGGYOsBA5SbWw2k2HTHhea2v0VKRuujw=
Hi, I am trying to compute the power diagram of some spheres, and access the
indices of the vertices.
For now, I access the vertices, edges and facets with the
Finite_vertices_iterator fvi, Finite_edges_iterator fei and
Finite_facets_iterator ffi, and access the vertices as follows:
//vertex:
fvi->point()
//two vertices of edge:
fei->first->vertex(fei->second)->point()
fei->first->vertex(fei->third)->point()
//three vertices of facet:
ffi->first->vertex(0)->point()
ffi->first->vertex(1)->point()
ffi->first->vertex(2)->point()
Am I doing it right?
The other problem is that is there a way to access the indices of vertices
of the edges and faces? Thank you!
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, BRYang, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, Mael, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, BRYang, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, BRYang, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, Mael, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, BRYang, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, Mael, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, BRYang, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, BRYang, 06/20/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, Sebastien Loriot (GeometryFactory), 06/20/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, Sebastien Loriot (GeometryFactory), 06/20/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, Mael, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, BRYang, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, Mael, 06/18/2019
- Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram, Mael, 06/18/2019
Archive powered by MHonArc 2.6.18.