Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: Re: [cgal-discuss] Re: question about running cgal example in qt-creator.
- Date: Wed, 05 Jun 2013 11:17:33 +0200
- Organization: GeometryFactory
Le mercredi 05 juin 2013 06:38:23 éåç¥ a écrit :
> Hi, Laurent,
>
> I have another question. Yes, because of the working directory
> problem, so the program read a unexist file and I got the !empty()
> exception (The AABB_tree is empty). The working directory of qt-creator
> launching the program is
>
> /home/huayiwei/work/program/meshGenerator/example/Regular_triangulation
> /Mesh_3/build/
>
> But the data is in
>
> /home/huayiwei/work/program/meshGenerator/example/Regular_triangulation/
> Mesh_3/data/
>
> When the program use following code to input domain data:
>
> // Create domain
>
> Mesh_domain domain("data/fandisk.off");
>
>
> it actually try to read the following file:
>
>
> /home/huayiwei/work/program/meshGenerator/example/Regular_triangulation/Mesh
> _3/build/data/fandisk.off
>
>
> which doesn't exist.
>
>
> My question: when the program try to read a unexist file, it should
> directly 'complain' about it, isn't it?
I agree. The constructor of CGAL::Polyhedral_mesh_domain_with_features_3<..>
should deal with file errors. That is a bug in my opinion.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/03/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., Laurent Rineau (CGAL/GeometryFactory), 06/03/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/04/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/05/2013
- Re: Re: [cgal-discuss] Re: question about running cgal example in qt-creator., Laurent Rineau (CGAL/GeometryFactory), 06/05/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/05/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., 魏华祎, 06/04/2013
- Re: [cgal-discuss] Re: question about running cgal example in qt-creator., Laurent Rineau (CGAL/GeometryFactory), 06/03/2013
Archive powered by MHonArc 2.6.18.