Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3
- Date: Wed, 15 Nov 2017 16:12:10 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:zx1xYhaKZ4gVV2Iuk1RzNvT/LSx+4OfEezUN459isYplN5qZpsWybnLW6fgltlLVR4KTs6sC0LWG9f24EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i762xdJRU66bVY9ZrmtW92as8Pi3O+7/9jfYh5DmSGmSbJ0NhS/6wvL5ecMho43YJ08wBLSvnpFfaxywnlpIk7b3znx4cK94IRy3S1bp/U75o8KGfHhe6MiTLtESjEiG28w7czv8xLESF3ctTMnTmwKn08QUED+5xbgU8Ks6iY=
Your input is not valid, the "top" and "bottom" faces are not exactly coplanar. The error goes away if you triangulate the faces before
(using for example CGAL::Polygon_mesh_processing::triangulate_faces())..
Sebastien.
On 11/15/2017 03:13 PM, sdobashi wrote:
Dear Sebastien,
At least for the example trc1.off - trc2.off, the assertions bellow seem to
fail:
Nef_3\include\CGAL\Nef_3\polygon_mesh_to_nef_3.h
line 263, 264
CGAL_assertion(ss_circle.has_on(sp));
CGAL_assertion(ss_circle.has_on(sv_prev->point()));
line 294, 295, 296
CGAL_assertion(ss_plane.has_on(sv_prev->point()));
CGAL_assertion(ss_circle.has_on(sp_0));
CGAL_assertion(ss_circle.has_on(sv_prev->point()));
Nef_S2\include\CGAL\Nef_S2\Sphere_direction.h
line 105
CGAL_assertion(d1.has_on(p) && d2.has_on(p) && d3.has_on(p));
Nef_S2\include\CGAL\Nef_S2\Sphere_segment.h
line 61
CGAL_assertion(c.has_on(p1)&&c.has_on(p2));
In Release mode, the subtraction works fine for the truncated right cone
example.
thanks,
S Dobashi
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3, sdobashi, 11/07/2017
- Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3, Sebastien Loriot (GeometryFactory), 11/14/2017
- Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3, sdobashi, 11/15/2017
- Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3, sdobashi, 11/15/2017
- Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3, Sebastien Loriot (GeometryFactory), 11/15/2017
- Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3, sdobashi, 11/15/2017
- Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3, sdobashi, 11/15/2017
- Re: [cgal-discuss] Rectangular tube is capped on the surface when converting Nef_Polyhedron_3 to Polyhedron_3, Sebastien Loriot (GeometryFactory), 11/14/2017
Archive powered by MHonArc 2.6.18.