Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Question about 2D Visibility
- Date: Fri, 24 May 2019 09:39:40 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:osDohRzFVeinxuDXCy+O+j09IxM/srCxBDY+r6Qd2+IWIJqq85mqBkHD//Il1AaPAdyCrasd1qGP6fyocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmSexbalvIBmrrQjdudQajZVtJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lL9VrgyvpxJ/wIDabo+aO/V8cazBct0XXnZBU8RLWiBdHo+xYYkCAuwcNuhYtYn9oF4OoAOwCQexGuzg0SVHhmTq3a07zeshFxzN0gonH9IUsXTUq8n1P7oWXe600qbIyjDDYO1K2Tfn6InGcgouru2QXbJ3a8rQyUwjGw3YhViXsozlOzSV1v4Ms2ic8+psT+evi2o8pgF+pzig3MYsio3Tio0JzVDE8Dx0zYAoLtO2T057ZMSrEJpWtyyCMYt5WNgtTHpsuCkk0LEJpZm7fC0SxJs7yB7QcfiHf5KP4hL5W+acJypzinF9eL+nmRq+7Uytxvf/W8S0ylpGsDRJnsTWun0N2RHf8sqKR/hn8ku/1juC1hrf5vxALE06j6bWKZ4sz7gtnZQJq0vDBDX5mEDuga+WaEok/u+o5vziYrr8p5+cM5Z4iw/kMqgzg8C/D+Q1PwYUU2iU/uS807Lj/UnnT7lQkvI2lazZvIjbJcQduKG5HxdY3pg/5xu7FTur09QVkWMZIF5bZR6LlYjkNl/WLPD9F/i/glCskDlxx/DBO73sGo7NLnzEkLf7fLZ97FJcxBA2zdBb/J9UBbQBL+jyWk/1rtDXEhg5Mwmsz+b9FNp9zp8eWX6IAqKBLKzSvkWH5uY2L+aRZY8VoyryK+U+5/71lnI5gl8cfayx3ZQNcny4H/JmI1+YYXX2mNsBH30K7UICS7nhh1SGFDJSfH2vRLkU5zchCYvgA52QaJqqhenL5yqxF4ZKZ21AQnSLC3bva83EdPoLbS+OON5PmzcYUqKwCsVpgQqqsxX7zKYhK+789SgRtJal399wsb6A3Sou/CB5WpzOm1qGSHt5yztRG20GmZtnqEk48W+tlLBiiqUBR9NW7vJNFAw9MMyElrEoO5XJQgvEO+yxZhOmT9GhW2xjS9swx5oReR84FYj5yB/E2CWuDvkekLnZXMVloJKZ5GD4IoNG81iD0aAgi1c8Rc4WbD+pg6d+807YAIubykg=
You can use the same function as from the other example, each example
is using different functions documented here:
https://doc.cgal.org/latest/Visibility_2/classVisibility__2.html
What you have to do also is the locate part to get the face of the
arrangement containing your query point, like in the other example.
Sebastien.
On 5/24/19 9:35 AM, Andy Li wrote:
Thanks for your reply.
I noticed the example which you gave. But this example applies to simple
polygon, not for the polygon with holes. The following example shows the 2D
visibility of the boundary point of the polygon with holes, not for the
inside point. Could you show me how to use this code to do that, please?
Thank you.
https://doc.cgal.org/latest/Visibility_2/Visibility_2_2general_polygon_example_8cpp-example.html
Best regards,
Andy Li
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Question about 2D Visibility, Andy Li, 05/21/2019
- Re: [cgal-discuss] Question about 2D Visibility, Sebastien Loriot (GeometryFactory), 05/24/2019
- Re: [cgal-discuss] Question about 2D Visibility, Andy Li, 05/24/2019
- Re: [cgal-discuss] Question about 2D Visibility, Andy Li, 05/24/2019
- Re: [cgal-discuss] Question about 2D Visibility, Sebastien Loriot (GeometryFactory), 05/24/2019
- Re: [cgal-discuss] Question about 2D Visibility, Sebastien Loriot (GeometryFactory), 05/24/2019
Archive powered by MHonArc 2.6.18.