Re: [Math] Allow empty "ConvexHull2D"

2015-06-10 Thread Luc Maisonobe
Le 10/06/2015 15:16, Gilles a écrit : > On Wed, 10 Jun 2015 14:45:41 +0200, Thomas Neidhart wrote: >> On 06/10/2015 01:44 PM, Gilles wrote: >>> On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: On 06/09/2015 11:42 PM, Gilles wrote: > On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neid

Re: [Math] Allow empty "ConvexHull2D"

2015-06-10 Thread Gilles
On Wed, 10 Jun 2015 14:45:41 +0200, Thomas Neidhart wrote: On 06/10/2015 01:44 PM, Gilles wrote: On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart

Re: [Math] Allow empty "ConvexHull2D"

2015-06-10 Thread Thomas Neidhart
On 06/10/2015 01:44 PM, Gilles wrote: > On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: >> On 06/09/2015 11:42 PM, Gilles wrote: >>> On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: > On 06/01/2015 03:52 PM, luc wrote: >>>

Re: [Math] Allow empty "ConvexHull2D"

2015-06-10 Thread Gilles
On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon,

RE: [Math] Allow empty "ConvexHull2D"

2015-06-10 Thread Gilles
List Subject: Re: [Math] Allow empty "ConvexHull2D" On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On M

RE: [Math] Allow empty "ConvexHull2D"

2015-06-10 Thread Andy Turner
Neidhart [mailto:thomas.neidh...@gmail.com] Sent: 10 June 2015 11:24 To: Commons Users List Subject: Re: [Math] Allow empty "ConvexHull2D" On 06/09/2015 11:42 PM, Gilles wrote: > On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: >> On 06/01/2015 09:36 PM, Thomas Neidha

Re: [Math] Allow empty "ConvexHull2D"

2015-06-10 Thread Thomas Neidhart
On 06/09/2015 11:42 PM, Gilles wrote: > On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: >> On 06/01/2015 09:36 PM, Thomas Neidhart wrote: >>> On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : > Hello. > > On Mon, 01 Jun 2015 15:03:47 +0200, luc wro

Re: [Math] Allow empty "ConvexHull2D"

2015-06-09 Thread Gilles
On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01 14:38, Gilles a écrit : Hi. Hi Gilles, I

Re: [Math] Allow empty "ConvexHull2D"

2015-06-09 Thread Thomas Neidhart
On 06/01/2015 09:36 PM, Thomas Neidhart wrote: > On 06/01/2015 03:52 PM, luc wrote: >> Le 2015-06-01 15:27, Gilles a écrit : >>> Hello. >>> >>> On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01 14:38, Gilles a écrit : > Hi. Hi Gilles, > I have a question regarding

RE: [Math] Allow empty "ConvexHull2D"

2015-06-01 Thread Gilles
;continuous" way; nothing "exceptional" occurs. If I want apply some geometrical operation to the region that encloses the shape why should the code handle differently empty and non-empty regions? Gilles -Original Message- From: Gilles [mailto:gil...@harfang.homelinux.org]

Re: [Math] Allow empty "ConvexHull2D"

2015-06-01 Thread Gilles
On Mon, 01 Jun 2015 15:52:11 +0200, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01 14:38, Gilles a écrit : Hi. Hi Gilles, I have a question regarding public Region createRegion() throws InsufficientDataException in Conve

Re: [Math] Allow empty "ConvexHull2D"

2015-06-01 Thread Thomas Neidhart
On 06/01/2015 03:52 PM, luc wrote: > Le 2015-06-01 15:27, Gilles a écrit : >> Hello. >> >> On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: >>> Le 2015-06-01 14:38, Gilles a écrit : Hi. >>> >>> Hi Gilles, I have a question regarding public Region createRegion() throws Insufficient

Re: [Math] Allow empty "ConvexHull2D"

2015-06-01 Thread luc
Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01 14:38, Gilles a écrit : Hi. Hi Gilles, I have a question regarding public Region createRegion() throws InsufficientDataException in ConvexHull2D. It throws the exception when the numb

Re: [Math] Allow empty "ConvexHull2D"

2015-06-01 Thread Gilles
Hello. On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01 14:38, Gilles a écrit : Hi. Hi Gilles, I have a question regarding public Region createRegion() throws InsufficientDataException in ConvexHull2D. It throws the exception when the number of points is < 3. One can imagine th

Re: [Math] Allow empty "ConvexHull2D"

2015-06-01 Thread luc
Le 2015-06-01 14:38, Gilles a écrit : Hi. Hi Gilles, I have a question regarding public Region createRegion() throws InsufficientDataException in ConvexHull2D. It throws the exception when the number of points is < 3. One can imagine that rather than aborting it could return an "empty R

RE: [Math] Allow empty "ConvexHull2D"

2015-06-01 Thread Shriver, Daniel
it is only for invalid computations you'd be simply recreating it as something other than an exception). -Original Message- From: Gilles [mailto:gil...@harfang.homelinux.org] Sent: Monday, June 01, 2015 8:38 AM To: user@commons.apache.org Subject: [Math] Allow empty "ConvexH

[Math] Allow empty "ConvexHull2D"

2015-06-01 Thread Gilles
Hi. I have a question regarding public Region createRegion() throws InsufficientDataException in ConvexHull2D. It throws the exception when the number of points is < 3. One can imagine that rather than aborting it could return an "empty Region" (which would seamlessly work with further ope