Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] failed to read an OFF file

Subject: CGAL users discussion list

List archive

[cgal-discuss] failed to read an OFF file


Chronological Thread 
  • From: "Qianqian Fang" <>
  • To:
  • Subject: [cgal-discuss] failed to read an OFF file
  • Date: Wed, 10 Sep 2008 17:40:28 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Fdq7TQHoIqRMFw7awy7cwvgK3Pp+mfDySMUM6Gj+C8XiyWlDCbSFsRMCyeXIXjEemN q9fQjBjv0/o/cmJZ4g2IRj8c1WDpZQ4QCEV3ZlespWC9MdSIK18n1ZEbzJ6iJNXd5psC KMY3bwpQwKg2aud4bTn7Cie+idgNpUcddzFdQ=

hi

I used the examples at Surface_mesh_simplification/edge_collapse_enriched_polyhedron.cpp to
simplify a surface mesh. The mesh was saved as an OFF file, and feed to the program
by the following lines:

 Surface surface;
 std::ifstream is(argv[1]) ; is >> surface ;

Unfortunately, after reading the file, the surface returned 0 nodes/elements,
there was no error message or any exception throwed. I checked the nodes
and element info in the off file, they both appears to be normal.

Here is my question: how can I let CGAL to print error/debug message
for IO exceptions? Any compilation flag allow me to turn on the verbose
mode?

The failed off file is also attached. Suggestions are highly appreciated.

Qianqian

Attachment: origmesh.off.gz
Description: GNU Zip compressed data




Archive powered by MHonArc 2.6.16.

Top of Page