area: Surface covered by a LAS* object

Description Usage Arguments Value

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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.


Jean-Romain/lidR documentation built on March 31, 2020, 2:32 p.m.