Skip to content

Commit

Permalink
buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Dec 24, 2024
1 parent 7b5f807 commit 457d24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LASRreaders/LASio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ bool LASio::open(const Chunk& chunk, std::vector<std::string> filters)
if (chunk.shape == ShapeType::CIRCLE)
lasreadopener->set_inside_circle((chunk.xmin+chunk.xmax)/2, (chunk.ymin+chunk.ymax)/2, (chunk.xmax-chunk.xmin)/2 + chunk.buffer + EPSILON);
else
lasreadopener->set_inside_rectangle(chunk.xmin - chunk.buffer, chunk.ymin - chunk.buffer, chunk.xmax + chunk.buffer + EPSILON, chunk.ymax + chunk.buffer + EPSILON);
lasreadopener->set_inside_rectangle(chunk.xmin - chunk.buffer - EPSILON, chunk.ymin - chunk.buffer - EPSILON, chunk.xmax + chunk.buffer + EPSILON, chunk.ymax + chunk.buffer + EPSILON);

lasreader = lasreadopener->open();
if (!lasreader)
Expand Down

0 comments on commit 457d24e

Please sign in to comment.