Subject: CGAL users discussion list
List archive
RE: [cgal-discuss] [EXTERNAL] Re: retrieve associated information with halfspaces after a halfspace intersection
Chronological Thread
- From: Maarten Moesen <>
- To: "" <>
- Subject: RE: [cgal-discuss] [EXTERNAL] Re: retrieve associated information with halfspaces after a halfspace intersection
- Date: Fri, 22 Feb 2019 10:29:59 +0000
- Accept-language: en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:oobj4RLzWMLwpRDBtNmcpTZWNBhigK39O0sv0rFitYgXKP76rarrMEGX3/hxlliBBdydt6oUzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlLiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkHKTA37X3XhMJzgqJVoh2hpgBwzYHbb4yOKPp+Z7/Rcc8GSWZdQMpcUTFKDIOmb4sICuoMJeFWoJPnqFsUsRuxGw+sD/7oxD9PmHD2xrM10+I8GgzB2QwvBcgBsG7IrNrrMqcdSeW1zK7WwjXYcfxW3yzw6IjVchAnvfGMRrdwftDXyUU1CwzFiVCQpJXjMjiI2OoNtG2b4PBhVeKpk2Mnsxtxoj+oxscikonJgYMVylbY9Slj3Ik1Iti4RUhmatCnCJtdryCXOolsTs88TWxkpTw2xqAJtJO4ZiQG1YkrywPHZ/Cad4WF7AjvWPiPLTtlnn5oe7ayiwyv/UWv0uH8WNe73VVWoidAl9TDrGwB1xLd58WCRPZy4lmu1DaK2gzO9+1JIUM5mK/BJJI/wbM8ipweulnZECDsgkX5lqqWe10k+ue27+TnZa3rppqTNoNokA7yK7giltCjDesiPAgBQ3SX9fmm2L375U35QLJKjuYqkqbHrZ/WP9gUpqm8AwNN04Yj7QiwDyu+3dkZn3QLNkxJdRyag4TzJl3DL/P1Ae2ij1ixjTtn3/XGMafgApXJIHjDirDhfbNl5k5E0goz08tf6opUB7wFIP/+W1L9ud3DARAjMwG5zP7qCNBn2YwEQ2KPHrGWMKXKvl+N4eIgPfKMa5ETuDvmK/gl+vjujWMimV8YZ6ap24EbZ2y/HvRjO0mZe2bjgs8dEWcWuQozVPDliFKYXj5Xfnq9QqM85ionB4K7FofDXZuggKeB3Se+Bp1ZfHpKClGKEXfydoWLQe0AaCyIIpwprzofSLL0S5M9zQr880jn0b5rI+TZ/DYV84r50997/+rSkw10/jtxSNrHlHyXSzZpy2MUWyctmftWlntm21Kb2O55heZZHJpd/cRSQwIiPKndyeJ9PNv9UwaEJPuFSU2tX869Tz1kYs0Q75oBLU0oK/injCzS3SSDO7QtzYaXLYRxrIzz9jbrcsNKwFrU0ZV8gEl8fpEfcHKdq4F48yz1G4iMqACjmqGScok94xKS5X2x1m3AuRRkTTFOc6LYAnoPZVHToNXy+HnNZJ+tBI8qCjBvjJbadolqatrtn04eVNy/ds+LcnufvD+hWDC35LXSSKbSRHU21zvdC1MztCUa9kmgaQNgJzegg0PcEjBVEhziNhDQ9rw0o3yySgo4zhqBclZ6/7uz4B8cw/KGAbtH1b0NvGItqi5/AU2m99PQEduJ4QR7KvZye9Q4tXJO3HjFugo1G5utNK1kzgobeg1to07o4BBwB55Nl+AqsXU21w97L+ST11YXJGDQ5oz5JrCCcjq6xxuocaODggiPgubTwb8G7bEDk3umuQioEkQ49HA+j4tVzn2A/ZDDCkwZVpejCx9rpSg/nKnTZ2wG362RzWdlaPXmsiLEx8ksDe1jwRGlLY8GbfG0UTTqGshfPPCAbewnn1/zPkABLLhbsfZsZ8qofKPfnrazPOF7gD+qy29A5dIl3w==
Dear Sebastien,
Dear CGAL community,
Thank you for your answer. Indeed, it doesn't look too hard.
I'm now having a similar question about convex_hull_3: what is the
recommended way to keep track of the vertices in the convex hull?
For example: if I have originally a large vector or list of points, possibly
with some info associated with them. How can I efficiently determine which
points are in the convex hull? Can I access from the resulting convex
polyhedron the original iterator? Can I associate some info to each point?
Best regards,
Maarten
-----Original Message-----
From:
<>
On Behalf Of Sebastien Loriot (GeometryFactory)
Sent: Friday, 22 February, 2019 09:50
To:
Subject: [EXTERNAL] Re: [cgal-discuss] retrieve associated information with
halfspaces after a halfspace intersection
With the current code there is no entry in the API. However it should not be
not hard to do it. Indeed, looking at the
halfspace_intersection_with_constructions_3.h for example, you'll see that
when a new face is created in build_dual_polyhedron (which is building the
dual of the dual, i.e. the final intersection) we iterate over vertices of
the convex hull of the dual (one vertex = one plane) so we could add a
property in the API to add that information.
Best regards,
Sebastien.
On 2/22/19 8:19 AM, Maarten Moesen wrote:
> Dear CGAL community,
>
> From a large vector of planes (halfspaces), in which each plane has
> some information attached, I'd like to create a convex polyhedron
> using
>
> CGAL::halfspace_intersection_3() and
> halfspace_intersection_with_constructions_3().
>
> How can I efficiently identify in the resulting polyhedron which
> planes where selected, so that I can efficiently retrieve the
> information associated to each selected plane?
>
> Best regards,
>
> Maarten
>
> --
>
> Maarten Moesen, PHD
>
> Polymer Physicist Computational Modeling
>
> HUNTSMAN (Europe) BVBA
>
> Everslaan 45
>
> B-3078 Everberg
>
> Belgium
>
> VAT: BE - 0468.807.829
>
> Office Phone: 0032 (0) 2 758 9962
>
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://urldefense.proofpoint.com/v2/url?u=https-3A__sympa.inria.fr_sympa_info_cgal-2Ddiscuss&d=DwID-g&c=XEmjTyjfAPcP2RtAp-6FGA&r=m_cDzmT5gx2T28-wSEGolLNtn-S-ReoPoEIWT7yrZso&m=TuWVJou7bxkrmeicvRgCHkeSePSF-004JHholzs0xC4&s=yqFO0y5NWJn6LDPWxCcvhks_OMacWN4c6IxiHIjvdSo&e=
- [cgal-discuss] retrieve associated information with halfspaces after a halfspace intersection, Maarten Moesen, 02/22/2019
- Re: [cgal-discuss] retrieve associated information with halfspaces after a halfspace intersection, Sebastien Loriot (GeometryFactory), 02/22/2019
- RE: [cgal-discuss] [EXTERNAL] Re: retrieve associated information with halfspaces after a halfspace intersection, Maarten Moesen, 02/22/2019
- Re: [cgal-discuss] [EXTERNAL] Re: retrieve associated information with halfspaces after a halfspace intersection, Sebastien Loriot (GeometryFactory), 02/22/2019
- RE: [cgal-discuss] [EXTERNAL] Re: retrieve associated information with halfspaces after a halfspace intersection, Maarten Moesen, 02/22/2019
- Re: [cgal-discuss] [EXTERNAL] Re: retrieve associated information with halfspaces after a halfspace intersection, Sebastien Loriot (GeometryFactory), 02/22/2019
- RE: [cgal-discuss] [EXTERNAL] Re: retrieve associated information with halfspaces after a halfspace intersection, Maarten Moesen, 02/22/2019
- Re: [cgal-discuss] retrieve associated information with halfspaces after a halfspace intersection, Sebastien Loriot (GeometryFactory), 02/22/2019
Archive powered by MHonArc 2.6.18.