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:54:55 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:TlCMJhJ5dwOi7L5IMtmcpTZWNBhigK39O0sv0rFitYgeI/7xwZ3uMQTl6Ol3ixeRBMOHsqgC07ad6/GoGTRZp8rY6TZaKN0EfiRGoP1epxYnDs+BBB+zB9/RRAt+Iv5/UkR49WqwK0lfFZW2TVTTpnqv8WxaQU2nZkJ6KevvB4Hdkdm82fys9J3PeQVIgye2ba9vIBmsogjdq9cajZF+Jqs+xRfFvn9FcPlSyW90OF6fhRnx6tqt8JJ57yhcp/ct/NNcXKvneKg1UaZWByk8PWAv483ruxjDTQ+R6XYZT24bjBlGDRXb4R/jRpv+vTf0ueR72CmBIM35Vqs0Vii476dqUxDnliEKPCMk/W7Ni8xwiKVboA+9pxF63oXZbp2ZOOZ4c6jAe94RWGhPUdtLVyFZH42ycYUPAeoCM+hWoYbyqFkBogexCwS3GOPiyCVFimPq0aA00eksFxzN0gw6H9IJtXTZtNv5OroMXu+u1qbI1inDb/JI1jf79YPGdBchoeuNXbJ3bcra1E0jGQLbgVWXrIzqIS+V1v4Nsmab9eVvSf6vi2k9qwBxpzSjyNonh47ShoIRzVDE7yR5wIEpJdGiTU57ZcWpEJRVty6ANot2RtkuTH1vuCY/07ALv4OwciYNyJQi3RHfavqHfpCO4h35T+meOjN4i2x/dL2jgBay9E6twfD/WMmsyFtGsDZJn93Wun0O1xHf8NaLRuVg8ku72TuDyxjf5+NHLEwui6bWJJ8szqQtmpcXv0nPBC37lUXwgaSLbEsr4PKo5P7iYrj+pp+TKYt0igbmP6QrgMO/AOA4PhEAXmiB5OiwzbPj8E3lTLlQgf02la7ZsJ/eJcsFvKK2HwhV0oM75xa+CTepzsgYkGEZIF5ZfB+LlYvkNlHULPzmE/uznk6gnTd3y/zeO73uGJTNLnzNkLf7erZ97lZRyBE3zdBY/ZJUC7YBIO7pVk/0sNzVFRA5MwmuzObmDNVxzJ8RWWWKAqOBKqPdrUeI5v4zI+mLfIIapDn9JOIh5/L3kHA5mEQdcrW03ZsMc3C1Be9mIkWcYXr0mNgNC2YKvgwkTOzrklKOSzBTZ2zhF547szo0AYbjAYbYTZ22m5SA2j26F9tYfDNoEFeJRD3Teo+NQOsNZSTaBsh7kzsYHfiORogk2A20pSHzwKZgNPuVsGVMrpbkztly+6vWkTk98DV1C4KW1GTbHDI8pX8BWzJjhPM3mkd60FrWifEp0cwdLsRa4rZyail/MJfdy+JgDNWrA1DOe96ITBCtRdD0WGhsHOJ0+McHZgNGI/vnjh3H2HD3UboclrjOG4Ztt6yBhz7+IMFyz3uA364k3QF/Hpl/cFa+j6s6zDD9QpbTmhzAxamvfKUYmiXK8TXbwA==
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.