Subject: CGAL users discussion list
List archive
- From: Monique Teillaud <>
- To:
- Subject: Re: [cgal-discuss] how to solve this error
- Date: Wed, 28 Oct 2009 14:40:51 +0100
pratihast22089 wrote:
Hi ,
I am trying to run one simple program, i got the following error :
Hi,
I recognize one of the usual exercices I am giving to students... you probably found it on one of my web pages.
My local version of this code is running perfectly well.
typedef CGAL::Simple_cartesian<double> CK;
typedef CGAL::Filtered_kernel<CK> K;
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
This 3 lines do not come from my code. You must choose the kernel you are using.
std::vector<Cell_handle> tris;
Why did you replace
std::vector<K::Triangle_3> tris;
by this vector of Cell_handles?
Of course it cannot work when you are trying to get a triangle from a cell by writing tris.push_back(T.triangle(*tit));
A cell is not a facet.
as a beginner , i tried alot but i couldnot define the appropriate Vector
type to run this program.
Improving you capabilities in copy-pasting would help ;)
Having a look at the CGAL manual would also be good.
--
Monique Teillaud
INRIA Sophia Antipolis - Méditerranée
http://www.inria.fr/sophia/members/Monique.Teillaud/
- [cgal-discuss] how to solve this error, pratihast22089, 10/28/2009
- Re: [cgal-discuss] how to solve this error, Monique Teillaud, 10/28/2009
Archive powered by MHonArc 2.6.16.