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, 14 Nov 2012 17:02:29 +0530

Hello and thanks for your reply.

On Tue, Nov 13, 2012 at 1:12 PM, Efi Fogel
<>
wrote:
> If the input does not comply with the precondition, that is, the input
> polygons are invalid according to the specification in the manual, the
> results are nondeterministic.

Well that is what I was asking, wasn't I? I asked in a previous mail
in this thread:

"""Or is it just that for "invalid" polygons the output is undefined, and
maybe sometimes right and sometimes wrong?"""

IMHO it should be mentioned in the documentation that for invalid
polygons, proper results of operations cannot be expected.

> The program may halt and output wrong results or run forever, who cares, at
> least I don't. It's not worth it.

Fine, but I can always check for the orientation and reverse it using
functions that CGAL itself provides, right? It's just that you guys
don't do it by default because it can be costly (and perhaps not what
the user intended to happen), right?

--
Shriramana Sharma



Archive powered by MHonArc 2.6.18.

Top of Page