Boost logo

Geometry :

Subject: Re: [geometry] touches compile error
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-11-26 17:19:59


Hi Adam,

On 26-11-2012 12:49, Adam Wulkiewicz wrote:
> Hi,
>
> Should bg::touches() work for Boxes at this point or is it
> intentionally not implemented yet? I've got a compile error in VS2012.
>
> For two boxes of the same type
>
> bg::touches(qbox, qbox);
>
> it wants to pass a Box to ring_return_type<>
>
> d:\lib\boost_geometry\boost\geometry\core\ring_type.hpp(163): error
> C2039: 'type' : is not a member of
> 'boost::geometry::core_dispatch::ring_return_type<GeometryTag,Geometry>'
> with
> [
> GeometryTag=boost::geometry::box_tag,
> Geometry=const B
> ]
>
> and there is no MPL_ASSERT telling that this is not implemented yet.

Thanks, shall be looked at.

Regards, Barend


Geometry list run by mateusz at loskot.net