Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Re: Problems loading ply files using Polyhedron_incremental_builder_3
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: Problems loading ply files using Polyhedron_incremental_builder_3
- Date: Tue, 27 Dec 2011 12:13:30 +0100
Time4Breakfast wrote:
I don't want to have a polyhedron that is invalid, but I'm looking for aSure, but you'll agree that there is a difference between building a
solution to load data, that forms an invalid polyhedron into my program.
The scan data is loadable with all of the standard 3D programs, e.g.
meshlab, 3ds max, ... So there has to be a way to load and display the data.
valid Polyhedron_3 representing a manifold and loading a soup of
triangles for display.
How can I catch the exception, that is thrown by CGAL, if an erroneousYou should not try catching those exceptions, because as I said you will
face/halfedge is found and tell CGAL to ignore it (or do something else) in
order to create a valid polyhedron in the end?
end up with an invalid data-structure that you'll try to make valid
afterward (and the public API will probably not be sufficient to do it).
Instead you should do the fixing inside the modifier by using test_facet
function for example.
See here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Polyhedron_ref/Class_Polyhedron_incremental_builder_3.html
Sebastien.
The difficulty I see with off format is the huge amount of ply files
(several hundreds) I have to work with. I think it is easier to solve the
loading problem, than to convert all my files into off.
Greetings
time4breakfast
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Problems-loading-ply-files-using-Polyhedron-incremental-builder-3-tp4233251p4236816.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Problems loading ply files using Polyhedron_incremental_builder_3, Time4Breakfast, 12/25/2011
- Re: [cgal-discuss] Problems loading ply files using Polyhedron_incremental_builder_3, Sebastien Loriot (GeometryFactory), 12/26/2011
- [cgal-discuss] Re: Problems loading ply files using Polyhedron_incremental_builder_3, Time4Breakfast, 12/27/2011
- Re: [cgal-discuss] Re: Problems loading ply files using Polyhedron_incremental_builder_3, Sebastien Loriot (GeometryFactory), 12/27/2011
- [cgal-discuss] Re: Problems loading ply files using Polyhedron_incremental_builder_3, Time4Breakfast, 12/27/2011
- Re: [cgal-discuss] Problems loading ply files using Polyhedron_incremental_builder_3, Sebastien Loriot (GeometryFactory), 12/26/2011
Archive powered by MHonArc 2.6.16.