Boost logo

Geometry :

Subject: Re: [geometry] Linestring buffer
From: aimes00 (aimes00_at_[hidden])
Date: 2012-07-19 11:43:55

Hi Barend,

First of all, I don't need rounded end-caps at all! Maybe is an important
feature for some people but I think that it the least important thing!

I've been testing the algorithm for linestrings and it seems to work ok.
I've test around 12000 geometries and I've only got 197 errors. It could
seem a bad result but it is less than the 2% of the tests.

Errors occur when, I don't know why, the algorithm return an empty list.

My test are based in geographic coordinates (over carthesian-based
geometries) and I'm trying to make a buffer of 0.000018 in both sides
(around 2 meters). The lines don't have any strange thing, so I don't have
any clue about the failure. I will try to attach the document which contains
the lines that make it fail. Maybe you'll find the issue quicker than me.

The other 11800 tests looks perfect. Good job.


View this message in context:
Sent from the Boost Geometry mailing list archive at

Geometry list run by mateusz at