Learn R Programming

lidR (version 1.6.1)

extent,LAS-method: Extent

Description

Returns an Extent object of a LAS or LAScatalog object.

Usage

# S4 method for LAS
extent(x, ...)

# S4 method for LAScatalog extent(x, ...)

Arguments

x

An object of the class LAS or LAScatalog

Unused

Value

Extent object from raster

See Also

raster::extent

Examples

Run this code
# NOT RUN {
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
las = readLAS(LASfile)
extent(las)
# }

Run the code above in your browser using DataLab