Boost logo

Geometry :

Subject: Re: [geometry] How to repair self-intersections
From: yohann.benedic_at_[hidden]
Date: 2014-04-29 04:44:27


Hi everyone,

Any comments on my compilation problem below?

Thank you.

Yohann Bénédic wrote

> Hi Adam,
>
> Following your suggestion to John, I am trying the dissolve algorithm to correct my non-simple polygons (ie. remove self intersections). I am using the one from the following branch:
>
> Adam Wulkiewicz wrote
> > https://github.com/boostorg/geometry/blob/develop/include/boost/geomet
> > ry/extensions/algorithms/dissolve.hpp
>
> I am using boost/geometry 1.54 except for the dissolve.hpp file which comes from the branch.
> I am trying to compile a simple example:
> void test ()
> {
> typedef boost::geometry::model::d2::point_xy<double> boostPoint;
> typedef boost::geometry::model::polygon< boostPoint > boostPolygon;
> typedef boostPolygon::ring_type boostRing;
>
> boostRing ring1,ring2;
> boost::geometry::dissolve(ring1,ring2);
>
> return;
> }
>
> The compiler complains that there is no apply member in boost::geometry::dispatch::dissolve. I also tried it with the rescale to interger branch with no luck.
>
> Is there anything I can do about it?
>
> Thanx for your time.

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


Geometry list run by mateusz at loskot.net