Learn R Programming

lidR (version 1.2.1)

lasarea: Compute the area covered by of a set a points.

Description

The area is computed by on the convex hull. If the data are not convex, the resulting area is only an approximation.

Usage

lasarea(.las)

Arguments

.las

An object of the class LAS or a numeric array of x coordinates

Value

numeric. The area of the object computed in the same units as the coordinate reference system

Examples

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

lasarea(lidar)
# }

Run the code above in your browser using DataLab