Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Linear cell complex: compilation error calling make_triangle()

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 12:20:01 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:TZI0aBCNpP+Lt6rIwqnlUyQJP3N1i/DPJgcQr6AfoPdwSP7+ocbcNUDSrc9gkEXOFd2CrakU1ayG6Ou4ByQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTpkbDpsMWNKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxcK08CLBZFz87KHsd5cvxtBCFQxHcyGEbVzA5jxtMBwHY6Ryycp70syL8uqIp1zSbOcn/ULU5Hzir6qZiThPAjCYdNiV/+2fNkYp+lvQI81qauxVjztuMM8muP/1kc/aFcA==

Hi Pranav,

A linear cell complex must have a cell attribute with point associated with its 0-cells.

Thus you need to modify your dart info structure:

struct DartInfo
{
template<class C>
struct Dart_wrapper
{
typedef CGAL::Dart<3, C > Dart;

typedef CGAL::Cell_attribute_with_point< Refs > Vertex_attribute;

typedef Cell_attribute<C, LCC::Dart_handle> Facet_attribute;
typedef cpp11::tuple<Vertex_attribute, void, Facet_attribute> Attributes;
};
};

Guillaume


Le 12/01/2016 11:54, Pranav a écrit :
Hi,

I am trying to create a Linear cell complex with a 'LCC::Dart_handle'
attribute associated with 2-cells. But it seems like I am calling
make_triangle in wrong way resulting in compilation errors. For example,
while compiling the following code:
https://gist.github.com/pranavkantgaur/8f90bf095a61c5d8e3b8

I get errors like:
*/usr/local/include/CGAL/Combinatorial_map.h:547:7: error: invalid
application of ‘sizeof’ to incomplete type
‘boost::STATIC_ASSERTION_FAILURE<false>’
CGAL_static_assertion_msg(Helper::template
Dimension_index/::value>=0,
*











--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Linear-cell-complex-compilation-error-calling-make-triangle-tp4661481.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




Archive powered by MHonArc 2.6.18.

Top of Page