Boost logo

Geometry :

Subject: Re: [geometry] Compiling intersection() after registering custom point for use with the model box, ring and polygon
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2014-06-03 21:56:25


2014-06-03 22:03 GMT+02:00 Andrew Hundt <athundt_at_[hidden]>:

> That worked perfectly, thanks! I guess I got confused by the Behavior:
>> GeometryOut is a polygon section. Perhaps it should read Behavior:
>> GeometryOut is a MultiPolygon?
>>
>> Also, while the error messages do make it clear that the geometry type
>> I'm passing isn't supported, what if there were comments or documentation
>> explaining how to work around or diagnose such issues?
>>
>
> Sorry for the double email, but I also figured I should mention that I
> don't think there is any indication in the documentation of intersection
> that describes what the bool return type means.
>
>
> http://www.boost.org/doc/libs/1_55_0/libs/geometry/doc/html/geometry/reference/algorithms/intersection.html
>
>
Thanks for pointing those out. We should fix it before the release. Or
maybe would you like to play with the docs?

The docs for intersection are generated from doxygen comment:
https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/algorithms/intersection.hpp
which includes:
https://github.com/boostorg/geometry/blob/develop/doc/reference/algorithms/intersection.qbk

Regards,
Adam



Geometry list run by mateusz at loskot.net