Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Error in: faces_around_face() with CGAL::Surface_Mesh

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Error in: faces_around_face() with CGAL::Surface_Mesh


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Error in: faces_around_face() with CGAL::Surface_Mesh
  • Date: Fri, 2 Jun 2017 07:17:20 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:hRWqfhMULFvCxI+6uNsl6mtUPXoX/o7sNwtQ0KIMzox0IvXyrarrMEGX3/hxlliBBdydsKMazbeJ++C4ACpbsMnH6ChDOLV3FDY7yuwu3DYcSPafDkP6KPO4JwcbJ+9lEGFfwnegLEJOE9z/bVCB6le77DoVBwmtfVEtfre9FYHdldm42P6v8JPPfQpImCC9YbRvJxmqsAndrMcbjI9jJ6oryhbEoGZDd+BKyW91P16ekRLx68Wq8JJ/7yhcvu8q+tJdX6n9Y6k3QrtUASg8PWwy+MPlqwTIQxGV5nsbXGUWkx5IDBbA4RrnQJr/sTb0u/Rk1iWCMsL4Ub47WTK576d2UxDokzsINyQ48G7MlMN9ir9QrQ+7qBx+x47UZ5yVNOZ7c6jAc94WWXZNU8BMXCFHH4iybZYAD/AZMOhFsYf9qVsArRy9CweiCuzgxT1HiWP506Ahz+QsExvL0BA8E98AsHnZqsj+OqcIUeCyyanF1TvPYe5I1jjm8ofIaQwhofCSUrJ2bMHfz04vFxnEjlWXtYzuIjeZ2OUTvGic6upvS/6vi3Qnqg9xuDeg2tssio7ThoMVz1zI+zhyzYEuJd28T057e9+kEJxMty2AMot2RtgvQ25tuCkgy70GvYS3czQNyJQi3hPSbeGMfYaP4hLmTumRIDF4iWpjeL2lnBm96kygxfPmWsao11ZKqyxImcTPuHAVzxHe6MeKRuFg8ku/2TuDzQPe5v9eLU00i6bXM5wsz70qmpYNvknOHzX6lFjygaKYbEkp+Oil5uL6abv8vJCcLZV7igTmP6QuhMO/BeM4PxALX2eB+OS80KTv/EP8QLlWl/E2nKnUvI7AKcQUoa65BABV0oI95BqlEzim19EYkWEGLFJDZh2Hk5DkNlPBLfziEPuznVShnC1oyvzYJLHsAovBImDGkLj7fLZ970BcyBA0zdBa/59UEbUBIPXpWk/ws9zYEgU1Mwmww+v8B9V905kRWWOLAqODLKzStlqI6vo1I+aQfI8VpCr9K/896vHygn82g1sdcbC00psWc3C3AulmI16CYXf3mdcAEWIKvhIkQ+DwiV2CVyRTZ3eoUK4m6DE7EtHuMYCWTY+khPmN3TywA4ZNTmFAEFGFV3nyJKueXPJZIhmfKMZ6jj0JU/CFTJUg0g3m9CD3zL9qMvDF1CQTqZX5xZk/r7nIkRYo9DtoScGZ+26IRmBw2GgPQmllj+hEvUVhxwLbguBDiPtCGIkL6g==
  • Organization: GeometryFactory

The iterator also goes over border halfedges so you might get some
invalid faces for those. You can filter them using is_border(f,mesh).

Sebastien.

On 06/01/2017 08:37 PM, hossan.nazmul wrote:
Hello Everyone,

I am getting an error in CGAL::faces_around_face. for example, I have five
points(p0,p1,p2,p3,p4)I have four faces (f0,f1,f2,f3). I used
CGAL::Surface_Mesh to store these vertices and faces. (See the attached
example code). I can query on the Surface_Mesh. for example,
vertices_around_faces, vertices_around_vertex.
Here is my code: main.cpp
<http://cgal-discuss.949826.n4.nabble.com/file/n4662744/main.cpp>
Problem:
1. Now I would like to find the adjacent faces(?) (faces around face) of a
specific face but I get some wired faces. If I try to see the
vertices_around_face() that the program throws an error? (CGAL Error:
Assertion Violation!). did I miss something? or it's a CGAL error? (if you
run my example code you will see it)
2. How to calculate the intersection of three faces?

Thanks in advance!

Best,
Nazmul



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Error-in-faces-around-face-with-CGAL-Surface-Mesh-tp4662744.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page