Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Access the indices of vertices, edges and facets from power diagram
- Date: Thu, 20 Jun 2019 10:58:10 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:qrIlIhEbX4Qo+xTnePvL+51GYnF86YWxBRYc798ds5kLTJ7zrs6wAkXT6L1XgUPTWs2DsrQY0rCQ6/yrAT1Ioc7Y9ixbKdoUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdaz6FYHIksu4yf259YHNbAVUnjq9Zq55IAmroQnLucQanJVuJrwtxhbGrXdEZ+Bbzn5sKV6Pghrw/Mi98IN+/yhKp/4t68tMWrjmcqolSrBVEC4oOH0v6s3xshnDQwqP5n8CXWgTjxFFHQvL4gzkU5noqif1ufZz1yecPc3tULA7Qi+i4LtxSB/pkygIKTg0+3zKh8NqjaJbpBWhpwFjw4PRfYqYOuZycr/bcNgHQ2dKQ8RfWDFbAo6kcoUBD/QPPehboYfzqVQBohmxChWjCu701j9FhGX70bEm3+kvEwzL2hErEdIUsHTTqdX4LKkeX/2rw6bT1zrDdO9W2Tbj54jObxsvp/aMXahxccrW1UkkCgfJgFSOpoziOjOayPgNs3Kb7uRgT+2gl3InqwZrojmvw8sghJTCi4UOylDA8iV52oc1JdqkSEJhZN6kFIBdty6fN4RsQ8MiR3tktzo9yr0DoJO2ejUBxpogxx7acfOHco6I7wrlVOmLOjh3n3Zld6ylixmu9kigz+vxXdS33lZStidJjMXAu3QX2xHQ6sWLUOVx8lm81TqV1w3f9/lILEI3mKbBNZIszb89moAOvUnHECL6gkf7ga+Qe0454Oan8f7nba/jppKEN497lAX+MqM2l8y6G+s4MwwOU3GV+OSmybHv5EP5TbVXgvEsnanZt5faJcsfpqGnGQNazoEj6xOnAzen1tQXg2UHIUpbdB6bi4XlIVLDLfDiAfuhnVigjS1nyvDbMrH5B5XCNHnDkLPvfbZn7E5czRI+zctb55JTELEBIfXzWlPruNzdCh80KAO0w+P9B9V80oMSQ36AAqicMK/Kq1+H+vovI/WQZI8SoDvyN/cl6OTqjXMghFAdfLKp0ocKaHCjBfRrOF6ZYHrpgtcZC2gGpAs+TOrwiF2DSzFffXiyX7hvrg08XYmpBIOGSoG2i6Gaxw+6GIdXbyZIEAOiC3DtIs+/Vv0Fcz6TL8kptjseVL+9A88O2BaruRPg2pRuJfbT4DxZ/9q3z9xy/ezUiVc38RR7Cs2c1yeGSGQizTBAfCM/wK0q+R818VyEy6Ut26UJR+wW3OtAV0IBDbCZyuV7D97oXQeYJ4WGTV+nRpOtBjRjF4tske9LWF50HpCZtj6G3yeuBOVIxbmCBZhx7biFmnasfoByzHHJ0KRnhF4jEJMWaT+Ww5Vn/g2WPLbn1l2Dnv/zJ6sZ1S/JsmyEyDjWsQ==
Sorry, I meant:
vh->point().weight()
Sebastien.
On 6/20/19 10:54 AM, Sebastien Loriot (GeometryFactory) wrote:
Should be vh->point()->weight().
Sebastien.
On 6/20/19 10:49 AM, BRYang wrote:
Hi, Mael.
I have now encountered another problem. That is, we can access the vertex of
regular triangulation with a vertex handle vh by vh->point(), however, since
the vertex isn't defined as a weighted point, we could not get the weight of
the vertex by vh->weight().
A way for solving this is get the nearest vertex handle vh of a weighted
point wp by the "nearest_power_vertex", but I believe that it could be
redundant when the number of weighted points is large. Is there an easy way
for accessing the corresponding weighted point of a vertex?
Thank you!
Best,
Baorong Yang
--
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, BRYang, 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.