CGAL::Polyhedron_3 demo - failing intersection -


i started using cgal demos find intersection of 2 polyhedra. met problem when 2 polyhedra share vertices , edges. program extis "segmentation fault" call. assume problem refers shared vertices, since other case see no problem. polyhedra e.g. rhombic triacontahedra or truncated tiracontahedra (the latter concave). problem of demo program or cgal algorithm itself?

input off files use: https://www.dropbox.com/s/nywdv80yzr0wpxp/henley_3d.off https://www.dropbox.com/s/slxzfwhchpuix2p/henley_shift_3d.off

i'm using cgal ubuntu 10.04 under virtualmachine win7 x64 host.

i grateful you. best, radek

first problem, polyhedra inconsistently oriented (which explain checkerboard coloration when open them in demo.

second problem have non triangular facets not problem nef if vertices of facets coplanar (which not case).

to fix can use "orient polygon soup" plugin , "inside outside" plugin fix orientation. plugin "triangulated facets" before creating nef polyhedra.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -