Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] polyhedron to nef-polyhedron conversion error

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] polyhedron to nef-polyhedron conversion error


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] polyhedron to nef-polyhedron conversion error
  • Date: Mon, 11 Jun 2012 15:44:56 +0200

You have either degenerate faces (0-area facets) or facets that are
made of more than 3 points that do not *exactly* lie in a plane.

Sebastien.


On 06/11/2012 03:40 PM, Luis wrote:
Hi,

I am trying to convert polydrons from off files into nef-polydrons.
When I am compiling I get the following errors:

Error !!!!!!!!!!!!!!!!!!!!!!!
CGAL error: assertion violation!
Expression : pe_prev->is_border() || !
internal::Plane_constructor<Plane>::get_pl
ane(pe_prev->facet(),pe_prev->facet()->plane()).is_degenerate()
File : c:\program files\cgal-3.9\include\cgal
\nef_3\polyhedron_3_to_nef_3.
h
Line : 252
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__1919.off
CGAL error: assertion violation!
Expression : e->incident_sface() != SFace_const_handle()
File : c:\program files\cgal-3.9\include\cgal
\nef_s2\sm_const_decorator.h
Line : 319
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__42.off
Error !!!!!!!!!!!!!!!!!!!!!!!
Error !!!!!!!!!!!!!!!!!!!!!!!
Error !!!!!!!!!!!!!!!!!!!!!!!
Error !!!!!!!!!!!!!!!!!!!!!!!
Error !!!!!!!!!!!!!!!!!!!!!!!
Error !!!!!!!!!!!!!!!!!!!!!!!
Error !!!!!!!!!!!!!!!!!!!!!!!
Error !!!!!!!!!!!!!!!!!!!!!!!
CGAL error: assertion violation!
Expression : pe_prev->is_border() || !
internal::Plane_constructor<Plane>::get_pl
ane(pe_prev->facet(),pe_prev->facet()->plane()).is_degenerate()
File : c:\program files\cgal-3.9\include\cgal
\nef_3\polyhedron_3_to_nef_3.
h
Line : 252
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__484.off
Error !!!!!!!!!!!!!!!!!!!!!!!
Error !!!!!!!!!!!!!!!!!!!!!!!
CGAL error: assertion violation!
Expression : pe_prev->is_border() || !
internal::Plane_constructor<Plane>::get_pl
ane(pe_prev->facet(),pe_prev->facet()->plane()).is_degenerate()
File : c:\program files\cgal-3.9\include\cgal
\nef_3\polyhedron_3_to_nef_3.
h
Line : 252
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__563.off
CGAL error: assertion violation!
Expression : e->incident_sface() != SFace_const_handle()
File : c:\program files\cgal-3.9\include\cgal
\nef_s2\sm_const_decorator.h
Line : 319
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__570.off
CGAL error: assertion violation!
Expression : e->incident_sface() != SFace_const_handle()
File : c:\program files\cgal-3.9\include\cgal
\nef_s2\sm_const_decorator.h
Line : 319
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__572.off
CGAL error: assertion violation!
Expression : e->incident_sface() != SFace_const_handle()
File : c:\program files\cgal-3.9\include\cgal
\nef_s2\sm_const_decorator.h
Line : 319
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__573.off
CGAL error: assertion violation!
Expression : e->incident_sface() != SFace_const_handle()
File : c:\program files\cgal-3.9\include\cgal
\nef_s2\sm_const_decorator.h
Line : 319
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__603.off
CGAL error: assertion violation!
Expression : e->incident_sface() != SFace_const_handle()
File : c:\program files\cgal-3.9\include\cgal
\nef_s2\sm_const_decorator.h
Line : 319
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__605.off
CGAL error: assertion violation!
Expression : e->incident_sface() != SFace_const_handle()
File : c:\program files\cgal-3.9\include\cgal
\nef_s2\sm_const_decorator.h
Line : 319
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__646.off
CGAL error: assertion violation!
Expression : e->incident_sface() != SFace_const_handle()
File : c:\program files\cgal-3.9\include\cgal
\nef_s2\sm_const_decorator.h
Line : 319
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
found an exception! BldgElem__649.off

I believe the problem is when changing from polyhedron to nef-polyhedron, any
help works great, thank you.

Luis Rodriguez





Archive powered by MHonArc 2.6.18.

Top of Page