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 16:18:32 +0000
- Accept-language: en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:CWFo8xZSnGbZYXaVMRDO4m7/LSx+4OfEezUN459isYplN5qZpsiyYB7h7PlgxGXEQZ/co6odzbaO4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM38H/ZhNFsjKxVoxyhqR5ww4/Ib4+aO/VzZb/dcsgGSWZdQspdSy5MD4WhZIUPFeoBOuNYopH6qVQUtxS+HxWsC/3pyjRVgXH22rM10/8/HgHAwQctGNcOv27Oo9XvKKcdT+a1w7HNzTXEcfxWwiny6I7TfxAhvPGMW65wcdHUyUY1EQPJlEmfqYvgPz6M0OkGrmaV7+1lVe21im4nrRl8ojizxscwkonJnZsZx17e+iph2Ik1Pt25SEtjYdG+CpdQtieaN5F3Qsw4WW1otjw6xaUduZ+7ZCQK0I4nxxnYa/yJa4iI5RPjVOCNITtimH1lf7e/iw6u/kinzO38SNe70VlToidFnNnMtm0N1xjX6sSeSvZ98Ems1S+P2gDd9O1LP081lbbBK5E/x74/iIMfvETNHi/3nkX5ka6WeVk69eiz8ujqYrvmq5GFO4J0hAHzMbghmtSnAeghLAQBQ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GZVKTqx0Z4cCT2m0aYXjzdp3g9vhWmVT6UW4L1IAws6gPxSIOQ/TxwpVgGEeqGa7lC3w6jt5iDwv5v6a1SXU3+nkQx8AN3VGQkFikFHwOo29iZYRW03+PFthrwes+Uuvn/sTn694NWSGGR4ZLRizFHlrV+6LjpTHZsdO7J0ytiAODLa8fFaGUbv0pV0R1CaxRjIClgB+TCmjv9DCpzI/kHiUdSohrGffZdp1zBGZ79vZF6YIg2g2ARJggDySPWCSetmk+dLOx8XGori3Ejr5DpRdenGyi5uYtCyg+WBmRxa4mqLrlw==
Thank you, Sebastien.
I overlooked this feature because I was still working with version 4.10 (and
its documentation). So I'm planning to upgrade soon 😉
Nice weekend!
Maarten
-----Original Message-----
From:
<>
On Behalf Of Sebastien Loriot (GeometryFactory)
Sent: Friday, 22 February, 2019 11:43
To:
Subject: Re: [cgal-discuss] [EXTERNAL] Re: retrieve associated information
with halfspaces after a halfspace intersection
Would this be sufficient:
https://urldefense.proofpoint.com/v2/url?u=https-3A__doc.cgal.org_latest_Convex-5Fhull-5F3_Convex-5Fhull-5F3-5F2extreme-5Findices-5F3-5F8cpp-2Dexample.html&d=DwICaQ&c=XEmjTyjfAPcP2RtAp-6FGA&r=m_cDzmT5gx2T28-wSEGolLNtn-S-ReoPoEIWT7yrZso&m=i8LVh5KRPscA4QVq8VepWDjbZG43LNRri4XyM97xaP0&s=J8TCWGY5Bkv78ABJorZYHFcFI6pkFyH9H7RFYgLdrUE&e=
or you need the convex hull as well?
Sebastien.
On 2/22/19 11:29 AM, Maarten Moesen wrote:
> 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_sy
> mpa_info_cgal-2Ddiscuss&d=DwID-g&c=XEmjTyjfAPcP2RtAp-6FGA&r=m_cDzmT5gx
> 2T28-wSEGolLNtn-S-ReoPoEIWT7yrZso&m=TuWVJou7bxkrmeicvRgCHkeSePSF-004JH
> holzs0xC4&s=yqFO0y5NWJn6LDPWxCcvhks_OMacWN4c6IxiHIjvdSo&e=
>
>
>
--
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=DwICaQ&c=XEmjTyjfAPcP2RtAp-6FGA&r=m_cDzmT5gx2T28-wSEGolLNtn-S-ReoPoEIWT7yrZso&m=i8LVh5KRPscA4QVq8VepWDjbZG43LNRri4XyM97xaP0&s=IuJ0mbn7erQbDM388hzYYjNR7VqaevDhSYGQhOlDZnc&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.