Boost logo

Geometry :

Subject: [geometry] touches compile error
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2012-11-26 06:49:09


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.

Regards,
Adam


Geometry list run by mateusz at loskot.net