Subject: CGAL users discussion list
List archive
- From: Efi Fogel <>
- To:
- Subject: Re: [cgal-discuss] Effect of orientation on boolops
- Date: Tue, 13 Nov 2012 09:42:20 +0200
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.
The program may halt and output wrong results or run forever, who cares, at least I don't. It's not worth it.
If I recall the original question, you can define a polygon-with-holes without an outer boundary and with several holes.
You can also obtain such a polygon-with-holes by providing the complement of the holes as input polygons to the complement Boolean operation.
The program may halt and output wrong results or run forever, who cares, at least I don't. It's not worth it.
If I recall the original question, you can define a polygon-with-holes without an outer boundary and with several holes.
You can also obtain such a polygon-with-holes by providing the complement of the holes as input polygons to the complement Boolean operation.
On Mon, Nov 12, 2012 at 12:42 PM, Moore Rollo (THE ROYAL MARSDEN NHS FOUNDATION TRUST) <> wrote:
greetings all; Efi, is this in the manner of the halting problem?the explanation being at a different level to the problem itself.{regards; Rollo}[deletia]
Or is it just that for "invalid" polygons the output is undefined, and
maybe sometimes right and sometimes wrong?
IMHO not checking for validity seems a good way to lead to pitfalls,
but I'm not an expert programmer so I'd appreciate an explanation as
to why things are the way they are.
Checking for validity, sometimes, is more expensive then running the procedure itself.
If we could check for validity, perhaps we could have also fix those invalid polygons....
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
********************************************************************************************************************
--
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
- Re: [cgal-discuss] Effect of orientation on boolops, (continued)
- Re: [cgal-discuss] Effect of orientation on boolops, Efi Fogel, 11/07/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/07/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Efi Fogel, 11/07/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/07/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Efi Fogel, 11/08/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/08/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Efi Fogel, 11/08/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/08/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Sebastien Loriot (GeometryFactory), 11/08/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/08/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Efi Fogel, 11/08/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/07/2012
- Message not available
- RE: [cgal-discuss] Effect of orientation on boolops, Moore Rollo (THE ROYAL MARSDEN NHS FOUNDATION TRUST), 11/12/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Efi Fogel, 11/13/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/14/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Sebastien Loriot (GeometryFactory), 11/14/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/14/2012
- RE: [cgal-discuss] Effect of orientation on boolops, Moore Rollo (THE ROYAL MARSDEN NHS FOUNDATION TRUST), 11/12/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Efi Fogel, 11/07/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Shriramana Sharma, 11/07/2012
- Re: [cgal-discuss] Effect of orientation on boolops, Efi Fogel, 11/07/2012
Archive powered by MHonArc 2.6.18.