Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Boolean operations on Nef Polyhedra

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Boolean operations on Nef Polyhedra


Chronological Thread 
  • From: Christoph Conrad <>
  • To:
  • Subject: Re: [cgal-discuss] Boolean operations on Nef Polyhedra
  • Date: Mon, 23 Mar 2009 14:16:30 +0100

Hi Andreas,

> Other "typical" problems [...]

Thank you for giving hints!

I am running into new problems, for the first one i have a workaround,
the second one is unsolved and advises me to "Please contact the
application's support team for more information".

=== Static vs. dynamic linking - found workaround using CGAL 3.3.1

The first one is that it was not possible to link the program statically
with CGAL 3.4. I instructed the installer to install also the static
libs, but linking fails cause of missing libs. I found that other people
on the list ran into exactly the same problem, with no solution found in
the thread. Why static linking? Cause using dlls gave obscure manifest
error messages.

I switched to CGAL 3.3.1, which worked as expected with static linking.

=== Program abortion - "Please contact the application's support team
for more information"

Preface: Both of my input off files for subtracting can be read without
problems with the mesh viewer from Helmut Cantzler
(<http://mview.sourceforge.net>). Two files, first describing a bone and
second describing a template. The bone should be subtracted from the
template.

CGAL does complain about the template after reading the file.

Polyhedron P2;
(*p_in) >> P2;
if ( !*p_in) { /* read error */ }

I switched on validation output with

P2.is_valid(true);

The whole output has no error or warning message, as in the bone file in
any place only "structure is valid". Very mysterious.

Ok, so i thought of ignoring that if ( !*p_in) part and subtracting the
two polygons after constructing anyway. After five minutes and eating up
1.5 gig workset the program aborts with

,----
| This application has requested the Runtime to terminate it in an unusual
| way. Please contact the application's support team for more information.
`----

Complexity:
bone: 188776 vertices 378284 triangle facets
template: 1193 vertices 2382 triangle facets

Mhmmmm - now i am really stuck. Do you have any additional idea what to
do aside of buying more memory? ;-)

Kind regards,
Christoph



Archive powered by MHonArc 2.6.16.

Top of Page