Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Effect of orientation on boolops

Subject: CGAL users discussion list

List archive

[cgal-discuss] Effect of orientation on boolops


Chronological Thread 
  • From: Shriramana Sharma <>
  • To:
  • Subject: [cgal-discuss] Effect of orientation on boolops
  • Date: Wed, 7 Nov 2012 17:11:26 +0530

Hello it's me again.

From the boolops doc I understand that counterclockwise oriented
polygons are considered to be filled and clockwise oriented ones as
"holes".

From the doc it is not clear to me whether, if I perform a union of a
CCW oriented polygon P and a CW oriented one Q, then it would
effectively act as if I had performed difference of P - Q? I mean, a
CW polygon is effectively the negative of the CCW polygon, right?
While the conditions listed in 19.2.1
(http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Boolean_set_operations_2/Chapter_main.html#Subsection_19.2.1)
say that "valid polygons" should be CCW oriented, it is not clear
whether the output of the boolops on polygons with CW orientation is
defined or not.

Could someone please shed light on this? Thanks.

--
Shriramana Sharma



Archive powered by MHonArc 2.6.18.

Top of Page