On 18 Aug 2003 11:43:26 +0200, Gabriel Dos Reis wrote
> Guillaume Melquiond <[EMAIL PROTECTED]> writes:
> 
> | In the case of a 1-dimension space, connected and convex set are
> | equals: they are segments (or half-line or line or empty). Date
> | manipulated by the date-time library are in a 1-dimension space 
> (the | real line) and periods are segments (non-empty bounded convex 
> | sets). So when you have two periods, the smallest period enclosing 
> | these two is also the convex hull of them. Hence the name I  suggested.
> 
> that is fine for some mathematically oriented mind.  However, it is a
> terrible name.


Here is how I explain it:

   Combines two periods and any gap between them such that 
     start = min(p1.start, p2.start)
     end   = max(p1.end  , p2.end)

   Or graphically: 

           [---p1---)
                          [---p2---)
    result:
           [-----------p3----------) 

Jeff

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to