Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Segment Intersection to form cell decomposition
- Date: Fri, 15 Jun 2018 09:21:07 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:AfbAPxJsP/3lMQdNY9mcpTZWNBhigK39O0sv0rFitYgeIvzxwZ3uMQTl6Ol3ixeRBMOHs68C07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwVFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QrcoVDms7apmRgbkhDsIOjUk9G3aitB8gKddrRm8pRJw3pTUbZmIOvRgcKPTfdAUS2RPUcleVSNOHoyyYpATD+cDJ+tUs5XxqlUMoBa4GAKiBPnvyjhNhnLu06E0zvouHhrc0ww7A9IOsWrbrNPoP6kUVuC11qjIzTLfb/hL3Tvz6ZbHchckof6SQbJwa8rQx0k1GAzZklWQrpblPjOQ2ugDrmOW6PFgVeaoi249qgFxpSSvyt0pionNnY8VxVXE+j94wIYxP9G3VEl7Ydu9HZZWqiqUOYx2QsY4TGFpviY30rsGtoSgcycRzJQo2QTTZOCAc4iN5B/oSeWfIS9giX57ZL6ygwy+/Eugx+HmS8W4zlVHojBYntTOt30Bzx7e58udRvdj8Uqs2CyD2x3X5+xKO0w5l6rWJpg8ybAqjJUTq17MHirulUX2kqCWckIk9/Ct6+v9Y7XmooaQNoFuig3iK6gulNGzDOY5PwQUUGib/uO81LLn/ULnWrlFkvo2kqzBvJDbI8QUuLK5DhdL3oo/7xuzFTSr3dQCkXUaMl5IewiLg5XrNlzPOPz4CO2wg1WokDdl3fDGObjhD43WLnjHl7fhZ7d960lAyAYpyNBf44lZCr4EIP3pW0/xsMbUAQM+Mwyx2+rnEsly1psCWWKTBa+UKL/dsVCS6eIrOuWDeY4VuC3hJPg4/P7ulmQ0mUQdfKmsxZsYcmq0HvVgI0WDYHrjmM0NEWkQvll2cOu/g1KLVXtfZm25QrknzjA9EoOvS4nZFa63h7nUlhy2FJRNemFLDBioFm3pcJnMG9gBbyefPtVwvDUPSb+7Ws5rnUW1sAjgyr17aO/Q0iIdvJPnktNy4ruAxlkJ6TVoApHFgCm2RGZukzZVH2ZnjpA6mlR0zxK46YY9hvVZEdJJ4PYQC1U1MJfdy6pxDNWgA1udLOfMc06vR5CdOR90Vsg4moZcbEN0GtHkhRfGjXLzXu0l0oeTDZlxyZrymnj8I8EnlSTD3aglykY8Go5BbDL4wKF48AfXCsjClEDLz6s=
I understood that you were only interested in the unbounded face.
But if you iterator over all the faces of the arrangement you can also get bounded faces.
Something like:
Face_const_iterator fit;
std::cout << arr.number_of_faces() << " faces:" << std::endl;
for (fit = arr.faces_begin(); fit != arr.faces_end(); ++fit)
{
}
Sebastien.
On 06/13/2018 05:06 AM, Anne wrote:
Is there anyway to extract the vertices (in order clockwise or counter
clockwise) for each of the holes (cells)? I have tried the code with five
segments (as given in the code sample) and it just produce only one hole (As
I imagine, it should produce ~ 7 holes in total).
For example, I insert an image here for better explanation about my problem,
could you suggest the way to get the vertices & edges for each bounded faces
(e.g., F1, F2,F3,F4) which formed by intersecting the line Segments (1, 2,
...,6)
Thank you.
<http://cgal-discuss.949826.n4.nabble.com/file/t375966/cell_decomposition.jpg>
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Segment Intersection to form cell decomposition, Anne, 06/11/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Sebastien Loriot (GeometryFactory), 06/12/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Anne, 06/12/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Anne, 06/13/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Sebastien Loriot (GeometryFactory), 06/15/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Anne, 06/15/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Sebastien Loriot (GeometryFactory), 06/15/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Anne, 06/15/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Sebastien Loriot (GeometryFactory), 06/15/2018
- Re: [cgal-discuss] Segment Intersection to form cell decomposition, Sebastien Loriot (GeometryFactory), 06/12/2018
Archive powered by MHonArc 2.6.18.