Boost logo

Geometry :

Subject: Re: [geometry] Suggestion for doc: intersects vs. overlaps
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-02-08 13:37:41


On 8-2-2012 13:42, Volker Schöch wrote:
>
> I found the subtle difference between intersects and overlaps in the
> mail archives:
>
> > The OGC definition for "overlaps" is that there should be an overlap
> in the interior. While "intersects" is the inverse of disjoint, so
> anything which touches or overlaps.
>
> http://lists.boost.org/geometry/2009/06/0343.php
>
> It would certainly be helpful to have this difference highlighted in
> the documentation. A sentence like "for all geometries that do not
> have an extent, such as points and lines, overlaps returns false" (if
> that is true, I don't know) would be icing on the cake. Currently
> (1.48.0) there is no hint as to what the difference is between the two
> algorithms, and there is not even a cross-link between the two man
> pages, which I hereby suggest, too.
>
> Just had to get this off my chest, no reply required.
>

Thanks! Message is clear, will be clarified in the docs.

Regards, Barend



Geometry list run by mateusz at loskot.net