Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 signature 'LAS'
area(x, ...)

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

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

npoints(x, ...)

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

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

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

density(x, ...)

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

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

## S4 method for signature '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.


lidR

Airborne LiDAR Data Manipulation and Visualization for Forestry Applications

v3.1.2
GPL-3
Authors
Jean-Romain Roussel [aut, cre, cph], David Auty [aut, ctb] (Reviews the documentation), Florian De Boissieu [ctb] (Fixed bugs and improved catalog features), Andrew Sánchez Meador [ctb] (Implemented wing2015() for segment_snags()), Bourdon Jean-François [ctb] (Contributed to Roussel2020() for track_sensor()), Gatziolis Demetrios [ctb] (Implemented Gatziolis2019() for track_sensor())
Initial release
2021-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.