Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Faces listed twice in output mesh files of example mesh_polyhedral_domain

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Faces listed twice in output mesh files of example mesh_polyhedral_domain


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Faces listed twice in output mesh files of example mesh_polyhedral_domain
  • Date: Fri, 14 Dec 2018 15:44:22 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:ovAXwhEiievjRnLfIWkwW51GYnF86YWxBRYc798ds5kLTJ7zo8uwAkXT6L1XgUPTWs2DsrQY07qQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KOSMn/mHZisJ+j6xVrxyuqBN934Hab5qYNOZ8c67HYd8WWWRMU8RXWidcAo28dYwPD+8ZMOpWsofyuUABogGlBQmwBePg1DlIjWLw0609yeQhEAbG3BA9FN4KsXrbstL1NKIMXuCp1qnJzTXNYOlK1jfh74jIaBAgrfSCUbltdsfR0k0vFwTfjlWRrozlIymZ1uEJs2WA4OpgUPigi28jqw1rvjevwcIsh5DPi4kIxF7E8iB5z5w0Jd2+UEN7Z8SrH4BLuCGeKYR6WN8tQ2ZtuCs817YIuoa7cTAUxJg7wxPTcf+KfoiS7h79SuqdPC10iXJqdb6nhRu/8lKsxvPzW8S1ylpGsy5In9fWun0P1xHe7NWMROFn8Ue7wzmP0hje6uFaLkAwkqrWM5shzaQxlpoXqEjCEDX2lFjvgK+Ydkgp9fKk6+vgYrXhqZ+cM5F7hhviPaQpn8yzGeU4Mg4QUGiH4emwyqHv8EnjTLhJjvA6iLfVvI7HKcgBpqO0DBdZ0oM55Ba+Czem3s4YnX4CLF9dYxKHi4/pO0vPIPD/EfezmVGskDNwyvDJO73uGJTNLnzZnLj9erZ97lZQyBAvwtBH+5JUFrYBLervVU/+rtPYCgY1PBG1w+b8FNp9y5geWXmUD6+CMKLStEeI6fg1L+mNYo8Vojf9JOI/6/7gl39q0WMaKKKm1J9SZHGjFel9OG2YZ2Dti5EPCzQkpA07GabRhVeLSiJSanD6e6Um5zYnQMKJAIDGS5y3kZKI1zu8BIwXLCgSEVSLC3bva8OBX98DbSuTJolqlTlSBuvpcJMoyRz77Fyy8LFgNOeBonRJ56Km78B84qjorT938DV1C8qH1GTUFjN7m2oJQ3k926Ut+BUhmGfG6rBxhrljLfIW/+lAC15oOpvVzug8ANf3CFqYI4W5DW2+S9DjOgkfC9I8x9hUPhR4EtSmyw/Zhm+kXuNTmLuMC5g5tKnb2iqpKg==

In mesh_polyhedra_domain.cpp replace:

c3t3.output_to_medit(medit_file);

by CGAL::Mesh_3::output_to_medit<C3t3, true, false>(medit_file, c3t3);

Sebastien.

On 12/12/2018 06:13 PM, Dr01TSPC wrote:
Sebastien:

Thank you for the hint. Is there a good place to put

CGAL::Mesh_3::output_to_medit<C3T3, true, false>(ostream, c3t3);

in mesh_polyhedra_domain?

I am very new to CGAL and new to c++.

JUST to be sure. I have seen color info in medit files - following tri info
on each line.
The out put files from mesh_polyhedral_domain have two lines duplicated -
no new info. A section of the Triangles section of an output mesh file is:

.
.
.

Triangles
3032
14 370 228 1
14 370 228 1
129 106 347 1
129 106 347 1
51 149 231 1
51 149 231 1
311 88 513 1
311 88 513 1
237 197 190 1
237 197 190 1
179 187 199 1
.
.
.

Regards,
Tim





--
Sent from: http://cgal-discuss.949826.n4.nabble.com/




Archive powered by MHonArc 2.6.18.

Top of Page