Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Linear cell complex: compilation error calling make_triangle()
Chronological Thread
- From: Guillaume Damiand <>
- To:
- Subject: Re: [cgal-discuss] Linear cell complex: compilation error calling make_triangle()
- Date: Tue, 12 Jan 2016 13:11:59 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:jxf2xRLmtsMB37/1rdmcpTZWNBhigK39O0sv0rFitYgUL/rxwZ3uMQTl6Ol3ixeRBMOAu6wC27Gd6vmocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWC0YLnjKvrotX6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86Fpy8kVWqrze+E0TKdTES89G2Ez/szi8xfZHiWV4X5JfXgXlh5BHg3IpD3zW5b4tCey4uVg2S2eNNDzQPY4UDGj5qFnYBvpkiYccTU/6nqRhNYm3/ETmw6ouxEqm92cW4qSLvcrJq4=
Le 12/01/2016 12:42, Pranav a écrit :
Hi Guillaume,
Thanks it solved the problem. But I would like to know the reason why we
need to /explicitly/ attach an attribute with 0-cell if we have already
declared it to be a linear cell complex which implicitly means CMap with
0-cells having points/coordinates information?
Because Linear_cell_complex is a generic class, having an item class as template argument, and you can use any attribute associated with 0-cells.
This item class must be a model of the LinearCellComplexItems concept, which requires to that 0-attributes are enabled, and associated with a type of attribute being a model of the CellAttributeWithPoint concept.
When you define your own model of the LinearCellComplexItems concept, you need to satisfy this requirement.
With regards,
Pranav
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Linear-cell-complex-compilation-error-calling-make-triangle-tp4661481p4661483.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
===================================================================
Guillaume DAMIAND
CNRS - LIRIS UMR 5205
Université Claude Bernard
Bâtiment Nautibus (710)
43 Boulevard du 11 Novembre 1918
69622 Villeurbanne Cedex (France)
-------------------------------------------------------------------
Tél: +33 (0)4.72.43.14.34 Fax: +33 (0)4.72.43.15.36
Mail:
Web: http://liris.cnrs.fr/guillaume.damiand/
===================================================================
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
- [cgal-discuss] Linear cell complex: compilation error calling make_triangle(), Pranav, 01/12/2016
- Re: [cgal-discuss] Linear cell complex: compilation error calling make_triangle(), Guillaume Damiand, 01/12/2016
- Re: [cgal-discuss] Linear cell complex: compilation error calling make_triangle(), Pranav, 01/12/2016
- Re: [cgal-discuss] Linear cell complex: compilation error calling make_triangle(), Guillaume Damiand, 01/12/2016
- Re: [cgal-discuss] Linear cell complex: compilation error calling make_triangle(), Pranav, 01/12/2016
- Re: [cgal-discuss] Linear cell complex: compilation error calling make_triangle(), Guillaume Damiand, 01/12/2016
Archive powered by MHonArc 2.6.18.