Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


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

On Wed, Nov 7, 2012 at 6:25 PM, Efi Fogel
<>
wrote:
> There is no such thing as a CW oriented (valid) polygon.

If so, can you please explain this (see the points of Q in the second case):

$ ./do_intersect
P = [ 3 vertices: (-1 1) (0 -1) (1 1) ]
Q = [ 3 vertices: (-1 -1) (1 -1) (0 1) ]
The two polygons intersect in their interior.
$ ./do_intersect-alt
P = [ 3 vertices: (-1 1) (0 -1) (1 1) ]
Q = [ 3 vertices: (0 1) (1 -1) (-1 -1) ]
The two polygons intersect in their interior.

--
Shriramana Sharma



Archive powered by MHonArc 2.6.18.

Top of Page