Subject: CGAL users discussion list
List archive
- From: Efi Fogel <>
- To:
- Subject: Re: [cgal-discuss] Visibility_2 segmentation fault
- Date: Wed, 23 Dec 2015 08:37:20 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:5+M1cRXvNh4qbYJPt0wVIfNJ8Y/V8LGtZVwlr6E/grcLSJyIuqrYZheAt8tkgFKBZ4jH8fUM07OQ6PC+HzBfqs/Z6DgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2NJVkXz2PlOftbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN/dwcbsNBzsvNyU55dbgqALYZQqJ/HoVFGsMwTRSBA2QwR/7Frn2vSb+/r5w1iiUOsL7SZg7XD2j6+FgTxq+23RPDCIw7GyC0p84t6lcuh/0/xE=
On Tue, Dec 22, 2015 at 9:33 PM, Mateus Bellomo <> wrote:
No, of course not. The geometric embedding of an edge e is an open curve c, and the endpoints of the curve c are the geometric embeddings of the 2 vertices incident to the edge e. Similarly, the geometric embedding of a face f are the points in the interior of the face, and the curves on the boundary are the geometric embeddings of the edges incident to the face f.
Hello,I want to compute the visibility region of a point q inside a polygon (without holes) that is an Arrangement_2 face. I'm trying to use compute_visibility(q, f, out_arr) but I'm getting segmentation fault. The manual [1] says that q must be in the interior of face f and I'm using a point that belongs to an edge (in fact it is the extreme of an edge). It is considered a point to belongs an edge to be interior of a face?
No, of course not. The geometric embedding of an edge e is an open curve c, and the endpoints of the curve c are the geometric embeddings of the 2 vertices incident to the edge e. Similarly, the geometric embedding of a face f are the points in the interior of the face, and the curves on the boundary are the geometric embeddings of the edges incident to the face f.
I also noticed that is another compute_visibility(q, e, out_arr) where q belong to edge e. But I didn't understand what happens if q is an extreme point of e.
What is an extreme point of an edge?
Thanks in advance.Mateus
- [cgal-discuss] Visibility_2 segmentation fault, Mateus Bellomo, 12/22/2015
- Re: [cgal-discuss] Visibility_2 segmentation fault, Efi Fogel, 12/23/2015
- Re: [cgal-discuss] Visibility_2 segmentation fault, Mateus Bellomo, 12/23/2015
- Re: [cgal-discuss] Visibility_2 segmentation fault, Efi Fogel, 12/23/2015
- Re: [cgal-discuss] Visibility_2 segmentation fault, Mateus Bellomo, 12/23/2015
- Re: [cgal-discuss] Visibility_2 segmentation fault, Efi Fogel, 12/23/2015
Archive powered by MHonArc 2.6.18.