Subject: CGAL users discussion list
List archive
- From: Chris Theis <>
- To:
- Subject: [cgal-discuss] Assertion during conversion of polyhedron to nef-polyhedron
- Date: Thu, 14 Feb 2013 09:18:56 -0800 (PST)
Hello,
I am currently trying to convert basic primitives (sphere, cylinder,
ellipsoid etc.) which I built as polyhedra into nef-polyhedra. This works
fine for my cylinders, boxes and elliptical cylinders. However, I experience
asserts when I try with sphere, ellipsoid or cones. I receive the following
error message:
CGAL error: assertion violation!
Expression: pe_prev->is_border() ||
internal::Plane_constructor<Plane>::get_plane(pe_prev->facet(),pe_prev->facet()->plane()).has_on(pe_prev->opposite()->vertex()->point())
File: polyhedron_3_to_nef_3.hf
Line: 254
At first I thought it might be due to the fact that for those bodies I do
not use a planar quad mesh exclusively but for example the sphere has a
triangle strip at the top and at the bottom where the triangles coincide in
one point. I have changed this by introducing very small planar caps at
those positions, but the assertion still remains.
Does somebody have a suspicion or an idea what could be the cause? As I
construct the meshes for those primitives myself within the program, I am
flexible to change them in a way that the conversion would work.
Thanks a lot for your help.
Cheers
Chris
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Assertion-during-conversion-of-polyhedron-to-nef-polyhedron-tp4656730.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Assertion during conversion of polyhedron to nef-polyhedron, Chris Theis, 02/14/2013
- [cgal-discuss] Re: Assertion during conversion of polyhedron to nef-polyhedron, Chris Theis, 02/14/2013
- Re: [cgal-discuss] Re: Assertion during conversion of polyhedron to nef-polyhedron, Sebastien Loriot (GeometryFactory), 02/15/2013
- [cgal-discuss] Re: Assertion during conversion of polyhedron to nef-polyhedron, Chris Theis, 02/14/2013
Archive powered by MHonArc 2.6.18.