[Liblas-commits] hg-main-tree: set buffer spatial bounds

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Apr 27 14:51:22 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/1d45396b90a8
changeset: 681:1d45396b90a8
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Wed Apr 27 11:51:08 2011 -0700
description:
set buffer spatial bounds

diffstat:

 src/drivers/las/Reader.cpp |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 8a7143e61209 -r 1d45396b90a8 src/drivers/las/Reader.cpp
--- a/src/drivers/las/Reader.cpp	Wed Apr 27 11:48:14 2011 -0700
+++ b/src/drivers/las/Reader.cpp	Wed Apr 27 11:51:08 2011 -0700
@@ -226,6 +226,8 @@
 
     delete[] buf;
 
+    data.setSpatialBounds( lasHeader.getBounds() );
+
     return numPoints;
 }
 


More information about the Liblas-commits mailing list