Boost logo

Geometry :

Subject: Re: [geometry] How to repair self-intersections
From: yohann.benedic_at_[hidden]
Date: 2014-04-02 08:34:45

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

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;


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.

Yohann Bénédic
Wireless Engineering and Propagation
Research Engineer
tel. +33 384 544 338


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