Opened 8 years ago

Closed 8 years ago

#10770 closed Bugs (fixed)

Buffer fails for large distances

Reported by: Barend Gehrels Owned by: Barend Gehrels
Milestone: Boost 1.58.0 Component: geometry
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

As reported by Grzegorz

See boost.2283326.n4.nabble.com/boost-geometry-buffer-distance-strategies-tp4668469p4668825.html

By the way, I was playing with different strategies combinations and I found out that when using only boost buffer strategies:

double points_per_circle = 36; double distance = 130; bg::strategy::buffer::distance_symmetric<double> distance_strategy(distance);

bg::strategy::buffer::end_flat end_strategy; bg::strategy::buffer::point_circle point_strat(points_per_circle); bg::strategy::buffer::side_straight sideStrat; bg::strategy::buffer::join_round joinStrat(points_per_circle);

the buffer function can still fail (produce no output) when the distance is higher than 128 (e.g, 128, 130, 150, 300, 400). But this happens up to a certain value, where the buffer function starts producing a correct output (e.g., distances 900, 1000).

Change History (3)

comment:1 by Barend Gehrels, 8 years ago

Status: newassigned

comment:2 by Barend Gehrels, 8 years ago

Needs intersecting piece-sides too (like for flat-ends for linestrings)

comment:3 by Barend Gehrels, 8 years ago

Milestone: To Be DeterminedBoost 1.58.0
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.