st_bbox | R Documentation |
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 class 'LAS'
st_bbox(obj, ...)
## S3 method for class 'LASheader'
st_bbox(obj, ...)
## S3 method for class 'LAScatalog'
st_bbox(obj, ...)
## S3 method for class 'LAScluster'
st_bbox(obj, ...)
## S4 method for signature 'LAS'
ext(x, ...)
## S4 method for signature 'LASheader'
ext(x, ...)
## S4 method for signature 'LAScatalog'
ext(x, ...)
## S4 method for signature 'LAScluster'
ext(x, ...)
obj , x |
An object of class |
... |
unused |
A bbox
from sf, or a SpatExtent
from terra
.
f <- system.file("extdata", "example.las", package="rlas")
las <- readLAS(f)
st_bbox(las)
ext(las)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.