Bounding box of a LAS*
object. st_bbox()
extends sf
, and ext()
extends terra
. The values returned are similar to their
parent functions.
# S3 method for LAS
st_bbox(obj, ...)# S3 method for LASheader
st_bbox(obj, ...)
# S3 method for LAScatalog
st_bbox(obj, ...)
# S3 method for LAScluster
st_bbox(obj, ...)
# S4 method for LAS
ext(x, ...)
# S4 method for LASheader
ext(x, ...)
# S4 method for LAScatalog
ext(x, ...)
# S4 method for LAScluster
ext(x, ...)
A bbox
from sf, or a SpatExtent
from terra
.
An object of class LAS*
.
unused
f <- system.file("extdata", "example.las", package="rlas")
las <- readLAS(f)
st_bbox(las)
ext(las)
Run the code above in your browser using DataLab