Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Hole vertices to CGAL::bounded_side_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Hole vertices to CGAL::bounded_side_2


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Hole vertices to CGAL::bounded_side_2
  • Date: Fri, 15 Mar 2013 07:05:30 +0100
  • Organization: GeometryFactory

I don't know what you refers to but an option is to use the following example:

http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_2/Chapter_main.html#Subsection_37.8.2

And use the locate function of the triangulation to check is it is
inside a face of the domain.

Sebastien.

On 03/01/2013 12:33 PM, Feanoreal wrote:
Hello everyone.

I need to check if point lands in polygon with holes, but i can't figured
out how i can get first and last vertices of holes to paste in fuction
CGAL::ON_UNBOUNDED_SIDE . symmR.front().holes_begin() ,
symmR.front().holes_end() not working.

CGAL::bounded_side_2 ( intR.front().outer_boundary().vertices_begin() ,
intR.front().outer_boundary().vertices_end() , point_to_check, Kernel()) -
working.

CGAL::bounded_side_2(symmR.front().holes_begin() , symmR.front().holes_end()
, point_to_check, Kernel()) - not working.

How can i paste<ForwardIterator first> and<ForwardIterator last> of symmR
hole to this function?

Thank you very much!

Andrey.

P.S. previous topic have been rejected, so i create a new - hope i doesn't
doublepost it. And sorry for possible mistakes.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Hole-vertices-to-CGAL-bounded-side-2-tp4656810.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page