id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6021,Cannot compile code to compute convex hull of multipoint geometry,Crispin Cooper ,Barend Gehrels,"Hello once again... Attached is a program to compute the convex hull of a multipoint geometry. Compilation fails (msvc). Compilation works if either a polygon is used instead of a multipoint, or the convex_hull function is not called. Compiler output pasted below. Many thanks for developing this useful library, I hope this is me failing to use it correctly rather than problems your end! 1>------ Build started: Project: boost_geom_test, Configuration: Debug Win32 ------ 1>Compiling... 1>boost_geom_test_no_multipoint.cpp 1>d:\boost\boost_1_47_0\boost\geometry\algorithms\detail\for_each_range.hpp(115) : error C2039: 'apply' : is not a member of 'boost::geometry::dispatch::for_each_range' 1> with 1> [ 1> Tag=boost::geometry::multi_point_tag, 1> Geometry=boost::geometry::model::multi_point>, 1> Actor=boost::geometry::strategy::convex_hull::detail::get_extremes,0>,boost::geometry::greater,0>>, 1> IsConst=true 1> ] 1> d:\boost\boost_1_47_0\boost\geometry\strategies\agnostic\hull_graham_andrew.hpp(294) : see reference to function template instantiation 'void boost::geometry::detail::for_each_range>(const Geometry &,Actor &)' being compiled 1> with 1> [ 1> InputGeometry=boost::geometry::model::multi_point>, 1> InputRange=range_type, 1> RangeIterator=range_iterator, 1> StrategyLess=boost::geometry::less,0>, 1> StrategyGreater=boost::geometry::greater,0>, 1> Geometry=boost::geometry::model::multi_point>, 1> Actor=boost::geometry::strategy::convex_hull::detail::get_extremes,0>,boost::geometry::greater,0>> 1> ] 1> d:\boost\boost_1_47_0\boost\geometry\strategies\agnostic\hull_graham_andrew.hpp(274) : while compiling class template member function 'void boost::geometry::strategy::convex_hull::graham_andrew::apply(const InputGeometry &,boost::geometry::strategy::convex_hull::graham_andrew::partitions &) const' 1> with 1> [ 1> InputGeometry=boost::geometry::model::multi_point>, 1> OutputPoint=point_type 1> ] 1> d:\boost\boost_1_47_0\boost\geometry\algorithms\convex_hull.hpp(179) : see reference to class template instantiation 'boost::geometry::strategy::convex_hull::graham_andrew' being compiled 1> with 1> [ 1> InputGeometry=boost::geometry::model::multi_point>, 1> OutputPoint=point_type 1> ] 1> d:\test\boost_geom_test\boost_geom_test_no_multipoint.cpp(20) : see reference to function template instantiation 'void boost::geometry::convex_hull,boost::geometry::model::polygon>(const Geometry1 &,Geometry2 &)' being compiled 1> with 1> [ 1> Point=boost::geometry::model::d2::point_xy, 1> Geometry1=boost::geometry::model::multi_point>, 1> Geometry2=boost::geometry::model::polygon> 1> ] 1>d:\boost\boost_1_47_0\boost\geometry\algorithms\detail\for_each_range.hpp(115) : error C3861: 'apply': identifier not found 1>d:\boost\boost_1_47_0\boost\geometry\algorithms\detail\for_each_range.hpp(115) : error C2039: 'apply' : is not a member of 'boost::geometry::dispatch::for_each_range' 1> with 1> [ 1> Tag=boost::geometry::multi_point_tag, 1> Geometry=boost::geometry::model::multi_point>, 1> Actor=boost::geometry::strategy::convex_hull::detail::assign_range,std::allocator>>,boost::geometry::strategy::side::side_by_triangle>, 1> IsConst=true 1> ] 1> d:\boost\boost_1_47_0\boost\geometry\strategies\agnostic\hull_graham_andrew.hpp(307) : see reference to function template instantiation 'void boost::geometry::detail::for_each_range>(const Geometry &,Actor &)' being compiled 1> with 1> [ 1> InputGeometry=boost::geometry::model::multi_point>, 1> InputRange=range_type, 1> RangeIterator=range_iterator, 1> Container=std::vector,std::allocator>>, 1> SideStrategy=boost::geometry::strategy::side::side_by_triangle, 1> Geometry=boost::geometry::model::multi_point>, 1> Actor=boost::geometry::strategy::convex_hull::detail::assign_range,std::allocator>>,boost::geometry::strategy::side::side_by_triangle> 1> ] 1>d:\boost\boost_1_47_0\boost\geometry\algorithms\detail\for_each_range.hpp(115) : error C3861: 'apply': identifier not found 1>Build log was saved at ""file://d:\test\boost_geom_test\Debug\BuildLog.htm"" 1>boost_geom_test - 4 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ",Bugs,closed,Boost 1.49.0,geometry,Boost 1.47.0,Showstopper,fixed,convex hull multipoint,