Learn R Programming

lidR (version 3.1.1)

area: Surface covered by a LAS* object

Description

Surface covered by a LAS* object. For LAS point clouds it is computed based on the convex hull of the points. For a LAScatalog it is computed as the sum of the bounding boxes of the files. For overlapping tiles the value may be larger than the total covered area because some regions are sampled twice. For a LASheader it is computed with the bounding box. The function npoints does what the user may expect it to do and the function density is equivalent to npoints(x)/area(x). As a consequence for the same file area applied on a LASheader or on a LAS can return slightly different values.

Usage

area(x, ...)

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

# S4 method for LASheader area(x, ...)

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

npoints(x, ...)

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

# S4 method for LASheader npoints(x, ...)

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

density(x, ...)

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

# S4 method for LASheader density(x, ...)

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

Arguments

x

An object of the class LAS*.

...

unused.

Value

numeric. A number. Notice that for area the measure is in the same units as the coordinate reference system.